-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update uses of properties to be valid with property validation
- Added property related pages for validation - Minor fixes for validation e.g. remove unused property and one-off uses of a property - Update graph overview and delete an ol query
- Loading branch information
1 parent
351394b
commit cce557f
Showing
24 changed files
with
77 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,7 @@ | ||
{:exclude [tags-and-page-refs-have-pages] | ||
:add-namespaces [logseq.graph-validator.validations.class schema]} | ||
:add-namespaces [logseq.graph-validator.validations.class | ||
logseq.graph-validator.validations.property | ||
schema] | ||
;; These are all used in examples | ||
:property/ignore-list #{:author :project :tag :publication-date :price :qty | ||
:full-title :source}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
type:: [[Class]] | ||
parent:: [[DataType]] | ||
url:: https://schema.org/Boolean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Class]] | ||
parent:: [[Class]] | ||
url:: https://schema.org/DataType | ||
description:: Provides basic data types such as integers, strings, etc. See https://www.w3.org/TR/rdf12-concepts/#section-Datatypes for additional datatypes that could be possible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Class]] | ||
parent:: [[DataType]] | ||
url:: https://schema.org/Text | ||
meta:: Prefer the name string over text as it maps with xsd:string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Class]] | ||
parent:: [[DataType]] | ||
url:: {{docs-base-url StringWithRefs}} | ||
description:: String that can have page references |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Class]] | ||
parent:: [[DataType]] | ||
url:: https://schema.org/URL | ||
meta:: Couldn't use URL since we're case insensitive and url is already taken |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
type:: [[Property]] | ||
url:: https://schema.org/description | ||
rangeIncludes:: [[StringWithRefs]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url domainIncludes}} | ||
description:: A more useful version of rdfs:domain as it can be one of multiple values | ||
sameAs:: https://schema.org/domainIncludes | ||
domainIncludes:: [[Property]] | ||
rangeIncludes:: [[Class]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url initial-version}} | ||
domainIncludes:: [[Feature]] [[Tool]] | ||
rangeIncludes:: [[String]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url meta}} | ||
description:: Meta description field which usually discusses organizing thing instead of thing itself | ||
rangeIncludes:: [[String]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Property]] | ||
url:: https://schema.org/name | ||
rangeIncludes:: [[String]] | ||
unique:: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
--- | ||
title: Page embed | ||
related: [[Block embed]] | ||
tags: [[embed]] | ||
description:: See [[Block embed]] for block version of this | ||
--- | ||
|
||
- Also commonly known as transclusion, page embedding allows an entire page to be displayed within another. | ||
- Create a page embed by: | ||
- Typing `{{{embed [[page name]]}}}` | ||
- | ||
#+BEGIN_TIP | ||
- Typing `{{{embed [[page name]]}}}` | ||
- #+BEGIN_TIP | ||
- Edits made to the embedded content are also made to the referenced content. | ||
- Embedding does not contribute to a page's [[Linked References]] | ||
#+END_TIP | ||
#+END_TIP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
type:: [[Property]] | ||
url:: https://www.w3.org/2000/01/rdf-schema#subClassOf | ||
description:: Used to connect a class with its parent class | ||
domainIncludes:: [[Class]] | ||
rangeIncludes:: [[Class]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url platforms}} | ||
domainincludes:: [[Feature]] [[Tool]] | ||
rangeIncludes:: [[Platform]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url rangeIncludes}} | ||
description:: List of values a property can have | ||
sameAs:: https://schema.org/rangeIncludes | ||
domainIncludes:: [[Property]] | ||
rangeIncludes:: [[Class]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
type:: [[Property]] | ||
url:: https://www.w3.org/2002/07/owl#sameAs | ||
description:: Indicates that two URIs are equivalent | ||
rangeIncludes:: [[Uri]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url supports}} | ||
domainIncludes:: [[Whiteboard/Object]] [[Tool]] | ||
rangeIncludes:: [[String]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
type:: [[Property]] | ||
url:: http://www.w3.org/1999/02/22-rdf-syntax-ns#type | ||
rangeIncludes:: [[Class]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
type:: [[Property]] | ||
url:: {{docs-base-url unique}} | ||
rangeIncludes:: [[Boolean]] | ||
domainIncludes:: [[Property]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
type:: [[Property]] | ||
url:: https://schema.org/url | ||
rangeIncludes:: [[Uri]] | ||
unique:: true |