From a28a60e0f43a34c5a78bf956247ee5940fe48c5b Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 12:10:36 +0100 Subject: [PATCH 01/18] added BC-BREAKS.md and first property changes for schema:Thing --- BC-BREAKS.md | 7 ++++++ knowledge/Thing.ttl | 57 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 BC-BREAKS.md create mode 100644 knowledge/Thing.ttl diff --git a/BC-BREAKS.md b/BC-BREAKS.md new file mode 100644 index 0000000..af66124 --- /dev/null +++ b/BC-BREAKS.md @@ -0,0 +1,7 @@ +# Backward Compatibility + +We propose to change the following things: + +* Change object of relation `:accessMode` - `:domainIncludes` from `:CreativeWork` to `:Thing`. +* Change object of relation `:accessModeSufficient` - `:domainIncludes` from `:CreativeWork` to `:Thing`. +* Change object of relation `:accessibilitySummary` - `:domainIncludes` from `:CreativeWork` to `:Thing`. diff --git a/knowledge/Thing.ttl b/knowledge/Thing.ttl new file mode 100644 index 0000000..c682127 --- /dev/null +++ b/knowledge/Thing.ttl @@ -0,0 +1,57 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/41 +# +# This file contains :Thing extensions. +# +:accessMode + :domainIncludes :Thing ; + rdfs:comment """ + a11y: This property now applies to schema:Thing instead of only schema:CreativeWork. + """ ; + todo:item "add :source" . + +:accessModeSufficient + :domainIncludes :Thing ; + rdfs:comment "a11y: This property now applies to schema:Thing instead of only schema:CreativeWork." ; + todo:item "add :source" . + +:accessibilityHumanInterface a rdf:Property ; + rdfs:label "accessibilityHumanInterface" ; + :domainIncludes :Thing ; + :rangeIncludes :Text ; + rdfs:comment """ + Indicates that the resource is compatible with the referenced standardized human interface. + """ + todo:item "extend rdfs:comment, for example ISO-12345" + todo:item "add :source" . + +:physicalAccessibilityControl a rdf:Property ; + rdfs:label "physicalAccessibilityControl" ; + :domainIncludes :Thing ; + :rangeIncludes :Thing ; + todo:item "add :source" ; + todo:item "write rdfs:comment" . + +:physicalAccessibilityFeature a rdf:Property ; + rdfs:label "physicalAccessibilityFeature" ; + :domainIncludes :Thing ; + :rangeIncludes :Thing ; + todo:item "add :source" ; + todo:item "write rdfs:comment" . + +:physicalAccessibilityHazard a rdf:Property ; + rdfs:label "physicalAccessibilityHazard" ; + :domainIncludes :Thing ; + :rangeIncludes :Thing ; + todo:item "add :source" ; + todo:item "write rdfs:comment" . + +:accessibilitySummary + :domainIncludes :Thing ; + rdfs:comment "a11y: Properties domain now applies to schema:Thing instead of only schema:CreativeWork." ; + todo:item "add :source" . From cd70e362a2a09e0eed94097da5f2fd34c30e4fc5 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 12:52:34 +0100 Subject: [PATCH 02/18] basic CI to validate RDF files --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..c787b4a --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +name: CI + +on: push + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: Validate RDF + uses: vemonet/jena-riot-action + with: + input: knowledge/Thing.ttl \ No newline at end of file From 25f04ab54594514648ebb5299f2e3d778595f868 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 12:54:01 +0100 Subject: [PATCH 03/18] fixed jena-riot-action in workflow --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c787b4a..f335961 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,6 +9,6 @@ jobs: - uses: actions/checkout@v2 - name: Validate RDF - uses: vemonet/jena-riot-action + uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Thing.ttl \ No newline at end of file From 8041e2860b96f661504d3000030955cf1999314e Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 12:56:36 +0100 Subject: [PATCH 04/18] fixed validation errors in Thing.ttl --- knowledge/Thing.ttl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/knowledge/Thing.ttl b/knowledge/Thing.ttl index c682127..163ca9d 100644 --- a/knowledge/Thing.ttl +++ b/knowledge/Thing.ttl @@ -26,8 +26,8 @@ :rangeIncludes :Text ; rdfs:comment """ Indicates that the resource is compatible with the referenced standardized human interface. - """ - todo:item "extend rdfs:comment, for example ISO-12345" + """ ; + todo:item "extend rdfs:comment, for example ISO-12345" ; todo:item "add :source" . :physicalAccessibilityControl a rdf:Property ; From ca169746fe90926655a2291ab5e27232bb6ce4f4 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 12:59:38 +0100 Subject: [PATCH 05/18] added .editorconfig --- .editorconfig | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3c44241 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true From b3bff9c761d9d3da600c707106ec3d4fcb34b3ea Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 13:00:41 +0100 Subject: [PATCH 06/18] fixed coding style issues (like trailing white spaces) --- knowledge/Thing.ttl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/knowledge/Thing.ttl b/knowledge/Thing.ttl index 163ca9d..cb90f1c 100644 --- a/knowledge/Thing.ttl +++ b/knowledge/Thing.ttl @@ -3,19 +3,19 @@ @prefix rdf: . @prefix rdfs: . -# +# # @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/41 # # This file contains :Thing extensions. # -:accessMode +:accessMode :domainIncludes :Thing ; rdfs:comment """ - a11y: This property now applies to schema:Thing instead of only schema:CreativeWork. + a11y: This property now applies to schema:Thing instead of only schema:CreativeWork. """ ; todo:item "add :source" . -:accessModeSufficient +:accessModeSufficient :domainIncludes :Thing ; rdfs:comment "a11y: This property now applies to schema:Thing instead of only schema:CreativeWork." ; todo:item "add :source" . @@ -51,7 +51,7 @@ todo:item "add :source" ; todo:item "write rdfs:comment" . -:accessibilitySummary +:accessibilitySummary :domainIncludes :Thing ; rdfs:comment "a11y: Properties domain now applies to schema:Thing instead of only schema:CreativeWork." ; todo:item "add :source" . From b7dc91366f6bf731954748dcf2d18ee69c54098c Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 13:14:22 +0100 Subject: [PATCH 07/18] added example and extented ci.yml --- .github/workflows/ci.yml | 11 ++++++++--- example/Thing.json | 10 ++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 example/Thing.json diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f335961..9230092 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - - name: Validate RDF + + - name: Validate Thing.ttl + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/Thing.ttl + + - name: Validate Thing.json uses: vemonet/jena-riot-action@v3.14 with: - input: knowledge/Thing.ttl \ No newline at end of file + input: example/Thing.json diff --git a/example/Thing.json b/example/Thing.json new file mode 100644 index 0000000..5a966d1 --- /dev/null +++ b/example/Thing.json @@ -0,0 +1,10 @@ +{ + "@context":"https://schema.org", + "@type":"Hotel", + "name": "Wheelchair accessible Hotel", + "physicalAccessibilityFeature": [ + "fullWheelchairAccessible", + "tactileGuideStrips" + ], + "physicalAccessibilityHazard": "noFlashingHazard" +} From 6e18a5f4a084e9a8de21564fc25349f4fc7a22e6 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 13:21:41 +0100 Subject: [PATCH 08/18] removed not working jena-riot-action --- .github/workflows/ci.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9230092..42fceae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,3 @@ jobs: uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Thing.ttl - - - name: Validate Thing.json - uses: vemonet/jena-riot-action@v3.14 - with: - input: example/Thing.json From 2f8f4276fbac4dd8e04c2e333196a97b3227f3b5 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 15:01:55 +0100 Subject: [PATCH 09/18] added Toilet.ttl; extended ci.yml to check it too --- .github/workflows/ci.yml | 2 +- knowledge/Toilet.ttl | 53 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 knowledge/Toilet.ttl diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 42fceae..be75931 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,4 +11,4 @@ jobs: - name: Validate Thing.ttl uses: vemonet/jena-riot-action@v3.14 with: - input: knowledge/Thing.ttl + input: knowledge/Thing.ttl,knowledge/Toilet.ttl diff --git a/knowledge/Toilet.ttl b/knowledge/Toilet.ttl new file mode 100644 index 0000000..178c196 --- /dev/null +++ b/knowledge/Toilet.ttl @@ -0,0 +1,53 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Toilet. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/40 +# + +# +# Classes +# +:Toilet a rdfs:Class + rdfs:subClassOf :Product; + rdfs:label "Toilet" ; + :sameAs ; + rdfs:comment """ + Toilet describes the fixtures in a toilet room itself + ([Wikipedia](https://en.wikipedia.org/wiki/Toilet)). + Can be combined with [[Place]] to describe that it is inside a [[Room]] or [[PublicToilet]] as [[partOf]], for example. + Note that a [[PublicToilet]] can contain multiple [[Toilet]]s. + """ . + +:SquatToilet a rdfs:Class + rdfs:subClassOf :Toilet; + rdfs:label "Squat Toilet" ; + :sameAs ; + rdfs:comment """ + A more specific type of [[Toilet]] for used by squatting. + """ . + +:Urinal a rdfs:Class + rdfs:subClassOf :Toilet; + rdfs:label "Urinal" ; + :sameAs ; + rdfs:comment """ + A more specific type of [[Toilet]] for standing use and a device in which to urinate while standing ([Wikidata](https://www.wikidata.org/wiki/Q152285)). + """ . + +# +# Properties +# + +:spaceOnUsersLeftSide a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "spaceOnUsersLeftSide" ; + rdfs:comment """ + Denotes how much space is on the left side of the user (from their perspective while use). + This is relevant for accessibility. + """ . From 095125c81bf64576b9684a0b444ec6fc1fb97ba9 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 15:09:48 +0100 Subject: [PATCH 10/18] added further ttl-files and example/ParkingFacility.json --- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++-- example/ParkingFacility.json | 7 +++++++ knowledge/EntranceOrExit.ttl | 24 ++++++++++++++++++++++++ knowledge/GroundSurface.ttl | 30 ++++++++++++++++++++++++++++++ knowledge/Place.ttl | 27 +++++++++++++++++++++++++++ knowledge/Product.ttl | 16 ++++++++++++++++ knowledge/Thing.ttl | 14 +++++++------- 7 files changed, 139 insertions(+), 9 deletions(-) create mode 100644 example/ParkingFacility.json create mode 100644 knowledge/EntranceOrExit.ttl create mode 100644 knowledge/GroundSurface.ttl create mode 100644 knowledge/Place.ttl create mode 100644 knowledge/Product.ttl diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index be75931..0d39a11 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,33 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Validate Thing.ttl + # find a way to validate all files at once + - name: Validate uses: vemonet/jena-riot-action@v3.14 with: - input: knowledge/Thing.ttl,knowledge/Toilet.ttl + input: knowledge/EntranceOrExit.ttl + + - name: Validate + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/GroundSurface.ttl + + - name: Validate + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/Place.ttl + + - name: Validate + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/Product.ttl + + - name: Validate + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/Thing.ttl + + - name: Validate + uses: vemonet/jena-riot-action@v3.14 + with: + input: knowledge/Toilet.ttl diff --git a/example/ParkingFacility.json b/example/ParkingFacility.json new file mode 100644 index 0000000..1809c65 --- /dev/null +++ b/example/ParkingFacility.json @@ -0,0 +1,7 @@ +{ + "@context": "https://schema.org/", + "@type":"ParkingFacility", + "name": "Parking facility in front of a hotel.", + "description": "A parking facility which ground surface is dirt.", + "hasGroundSurface": "http://schema.org/GroundSurfaceDirt" +} diff --git a/knowledge/EntranceOrExit.ttl b/knowledge/EntranceOrExit.ttl new file mode 100644 index 0000000..fc43529 --- /dev/null +++ b/knowledge/EntranceOrExit.ttl @@ -0,0 +1,24 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Toilet. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/40 +# + +# +# Classes +# +:EntranceOrExit a rdfs:Class + rdfs:subClassOf :Place ; + rdfs:label "EntranceOrExit" ; + rdfs:comment """ + Describes a physical entrance to a [[Place]]. + If a [[Thing]] is used as an entrance or exit, this type can be combined as multi-type entity with other types like [[Door]], [[Elevator]], [[Escalator]], or [[Ramp]]. + An [[EntranceOrExit]] SHOULD have a name property with the name of the entrance if there are multiple entrances to the same place. + If one or more physical sign(s) exist for the entrance, the value of name SHOULD correspond to what is readable on the sign(s). + """ ; + todo:item "Try to find an appropriate Wikidata entry" . diff --git a/knowledge/GroundSurface.ttl b/knowledge/GroundSurface.ttl new file mode 100644 index 0000000..4aba608 --- /dev/null +++ b/knowledge/GroundSurface.ttl @@ -0,0 +1,30 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Toilet. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:GroundSurfaceEnumeration a rdfs:Class + rdfs:subClassOf :Enumeration ; + rdfs:label "GroundSurface" ; + :sameAs ; + rdfs:comment """ + Describes the quality of a physical ground surface. + Use this to describe road or sidewalk conditions, or to provide indoor accessibility information. + """ . + +:GroundSurfaceDirt a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceDirt" ; + :sameAs . + +:GroundSurfaceAsphalt a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceAsphalt" ; + :sameAs . diff --git a/knowledge/Place.ttl b/knowledge/Place.ttl new file mode 100644 index 0000000..d21c980 --- /dev/null +++ b/knowledge/Place.ttl @@ -0,0 +1,27 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Place. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +:hasEntrance a rdf:Property ; + :domainIncludes :Place ; + :rangeIncludes :EntranceOrExit ; + rdfs:label "hasEntrances" ; + rdfs:comment """ + Describes the entrance(s) and exit(s) from/to this place. + """ . + +:hasGroundSurface a rdf:Property ; + :domainIncludes :Place ; + :rangeIncludes :GroundSurfaceEnumeration ; + rdfs:label "hasGroundSurface" ; + rdfs:comment """ + Describes the ground surface at this place. + This is relevant for accessibility. + """ . diff --git a/knowledge/Product.ttl b/knowledge/Product.ttl new file mode 100644 index 0000000..bbc0ca5 --- /dev/null +++ b/knowledge/Product.ttl @@ -0,0 +1,16 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product. +# + +:isPortable a rdf:Property ; + :domainIncludes :Product ; + :rangeIncludes :Boolean ; + rdfs:label "isPortable" ; + rdfs:comment """ + Denotes a more specific type of [[Product]], which can be moved. For instance a portable [[Toilet]] on festivals and construction sites (see [Wikipedia](https://en.wikipedia.org/wiki/Portable_toilet)). + """ . diff --git a/knowledge/Thing.ttl b/knowledge/Thing.ttl index cb90f1c..6059252 100644 --- a/knowledge/Thing.ttl +++ b/knowledge/Thing.ttl @@ -3,11 +3,11 @@ @prefix rdf: . @prefix rdfs: . -# -# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/41 # # This file contains :Thing extensions. # +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/41 +# :accessMode :domainIncludes :Thing ; rdfs:comment """ @@ -30,6 +30,11 @@ todo:item "extend rdfs:comment, for example ISO-12345" ; todo:item "add :source" . +:accessibilitySummary + :domainIncludes :Thing ; + rdfs:comment "a11y: Properties domain now applies to schema:Thing instead of only schema:CreativeWork." ; + todo:item "add :source" . + :physicalAccessibilityControl a rdf:Property ; rdfs:label "physicalAccessibilityControl" ; :domainIncludes :Thing ; @@ -50,8 +55,3 @@ :rangeIncludes :Thing ; todo:item "add :source" ; todo:item "write rdfs:comment" . - -:accessibilitySummary - :domainIncludes :Thing ; - rdfs:comment "a11y: Properties domain now applies to schema:Thing instead of only schema:CreativeWork." ; - todo:item "add :source" . From 64e24f885c0dc1d2f013453922a107c5f31780fe Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 15:11:15 +0100 Subject: [PATCH 11/18] fixed RDF errors --- knowledge/EntranceOrExit.ttl | 2 +- knowledge/GroundSurface.ttl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/knowledge/EntranceOrExit.ttl b/knowledge/EntranceOrExit.ttl index fc43529..651307e 100644 --- a/knowledge/EntranceOrExit.ttl +++ b/knowledge/EntranceOrExit.ttl @@ -12,7 +12,7 @@ # # Classes # -:EntranceOrExit a rdfs:Class +:EntranceOrExit a rdfs:Class ; rdfs:subClassOf :Place ; rdfs:label "EntranceOrExit" ; rdfs:comment """ diff --git a/knowledge/GroundSurface.ttl b/knowledge/GroundSurface.ttl index 4aba608..23fcd61 100644 --- a/knowledge/GroundSurface.ttl +++ b/knowledge/GroundSurface.ttl @@ -12,7 +12,7 @@ # # Classes # -:GroundSurfaceEnumeration a rdfs:Class +:GroundSurfaceEnumeration a rdfs:Class ; rdfs:subClassOf :Enumeration ; rdfs:label "GroundSurface" ; :sameAs ; From 3d1b315015f8af85084552932eac41c54dbd735a Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 15:17:04 +0100 Subject: [PATCH 12/18] fixed further RDF mistakes in Toilet.ttl --- knowledge/Toilet.ttl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/knowledge/Toilet.ttl b/knowledge/Toilet.ttl index 178c196..bc815bb 100644 --- a/knowledge/Toilet.ttl +++ b/knowledge/Toilet.ttl @@ -12,7 +12,7 @@ # # Classes # -:Toilet a rdfs:Class +:Toilet a rdfs:Class ; rdfs:subClassOf :Product; rdfs:label "Toilet" ; :sameAs ; @@ -23,7 +23,7 @@ Note that a [[PublicToilet]] can contain multiple [[Toilet]]s. """ . -:SquatToilet a rdfs:Class +:SquatToilet a rdfs:Class ; rdfs:subClassOf :Toilet; rdfs:label "Squat Toilet" ; :sameAs ; @@ -31,7 +31,7 @@ A more specific type of [[Toilet]] for used by squatting. """ . -:Urinal a rdfs:Class +:Urinal a rdfs:Class ; rdfs:subClassOf :Toilet; rdfs:label "Urinal" ; :sameAs ; From aaa66c0ee0e4f79ab1fb4b0b9e9526d32cd8db4c Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 15:27:19 +0100 Subject: [PATCH 13/18] added DBpedia links --- knowledge/GroundSurface.ttl | 3 +++ knowledge/Toilet.ttl | 3 +++ 2 files changed, 6 insertions(+) diff --git a/knowledge/GroundSurface.ttl b/knowledge/GroundSurface.ttl index 23fcd61..aaa34e2 100644 --- a/knowledge/GroundSurface.ttl +++ b/knowledge/GroundSurface.ttl @@ -15,6 +15,7 @@ :GroundSurfaceEnumeration a rdfs:Class ; rdfs:subClassOf :Enumeration ; rdfs:label "GroundSurface" ; + :sameAs ; :sameAs ; rdfs:comment """ Describes the quality of a physical ground surface. @@ -23,8 +24,10 @@ :GroundSurfaceDirt a :GroundSurfaceEnumeration ; rdfs:label "GroundSurfaceDirt" ; + :sameAs ; :sameAs . :GroundSurfaceAsphalt a :GroundSurfaceEnumeration ; rdfs:label "GroundSurfaceAsphalt" ; + :sameAs ; :sameAs . diff --git a/knowledge/Toilet.ttl b/knowledge/Toilet.ttl index bc815bb..fc79f66 100644 --- a/knowledge/Toilet.ttl +++ b/knowledge/Toilet.ttl @@ -15,6 +15,7 @@ :Toilet a rdfs:Class ; rdfs:subClassOf :Product; rdfs:label "Toilet" ; + :sameAs ; :sameAs ; rdfs:comment """ Toilet describes the fixtures in a toilet room itself @@ -26,6 +27,7 @@ :SquatToilet a rdfs:Class ; rdfs:subClassOf :Toilet; rdfs:label "Squat Toilet" ; + :sameAs ; :sameAs ; rdfs:comment """ A more specific type of [[Toilet]] for used by squatting. @@ -34,6 +36,7 @@ :Urinal a rdfs:Class ; rdfs:subClassOf :Toilet; rdfs:label "Urinal" ; + :sameAs ; :sameAs ; rdfs:comment """ A more specific type of [[Toilet]] for standing use and a device in which to urinate while standing ([Wikidata](https://www.wikidata.org/wiki/Q152285)). From 2d53ab44b1af908e86bcefe27616349c1c4760a3 Mon Sep 17 00:00:00 2001 From: Konrad Abicht Date: Wed, 20 Jan 2021 16:06:59 +0100 Subject: [PATCH 14/18] added example of elevators (partially) working --- example/ElevatorNotHoldingInLevel3.json | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 example/ElevatorNotHoldingInLevel3.json diff --git a/example/ElevatorNotHoldingInLevel3.json b/example/ElevatorNotHoldingInLevel3.json new file mode 100644 index 0000000..f9f5a72 --- /dev/null +++ b/example/ElevatorNotHoldingInLevel3.json @@ -0,0 +1,28 @@ +{ + "@context": "https://schema.org/", + "@type":"Elevator", + "name": "Working elevator with level 3 not working.", + "hasOperationalStatus": [ + { + "isWorking": "partially", + "validFrom": "2020-01-20 00:07:00", + "validThrough": "2020-01-20 00:18:00", + "connectedFloorLevel": [1, 2] + }, + { + "isWorking": true, + "connectedFloorLevel": [1, 2, 3] + } + ] +} + +{ + "@context": "https://schema.org/", + "@type":"Elevator", + "name": "Not working elevator.", + "hasOperationalStatus": [ + { + "isWorking": false + } + ] +} From 7bf1b66e9f1c7da919d0c2bca5c4279445facdeb Mon Sep 17 00:00:00 2001 From: Hamza Demir Date: Fri, 29 Jan 2021 12:10:11 +0100 Subject: [PATCH 15/18] Create Parking.ttl --- knowledge/Parking.ttl | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 knowledge/Parking.ttl diff --git a/knowledge/Parking.ttl b/knowledge/Parking.ttl new file mode 100644 index 0000000..e69de29 From a74da791d5f1257ba88daa7359ab48a4d06f2389 Mon Sep 17 00:00:00 2001 From: Hamza Demir Date: Wed, 24 Feb 2021 19:44:45 +0100 Subject: [PATCH 16/18] old .ttl files filled with attributes and new .ttl files created --- .github/workflows/ci.yml | 2 +- knowledge/AnimalPolicy.ttl | 69 ++++ knowledge/Door.ttl | 131 ++++++++ knowledge/Elevator.ttl | 70 ++++ knowledge/EntranceOrExit.ttl | 24 -- knowledge/Escalator.ttl | 74 +++++ knowledge/GrabBar.ttl | 62 ++++ knowledge/GroundSurface.ttl | 33 -- knowledge/GroundSurfaceEnumeration.ttl | 355 +++++++++++++++++++++ knowledge/MobilityService.ttl | 66 ++++ knowledge/OperationalStatus.ttl | 85 +++++ knowledge/Organization.ttl | 24 ++ knowledge/Parking.ttl | 0 knowledge/ParkingFacility.ttl | 94 ++++++ knowledge/PhysicalKeyEnumeration.ttl | 40 +++ knowledge/Place.ttl | 29 +- knowledge/Portal.ttl | 95 ++++++ knowledge/Ramp.ttl | 69 ++++ knowledge/Service.ttl | 23 ++ knowledge/Shower.ttl | 82 +++++ knowledge/Stairs.ttl | 80 +++++ knowledge/Toilet.ttl | 100 +++++- knowledge/Vehicle.ttl | 30 ++ knowledge/VerticalDirectionEnumeration.ttl | 32 ++ knowledge/WashBasin.ttl | 64 ++++ 25 files changed, 1671 insertions(+), 62 deletions(-) create mode 100644 knowledge/AnimalPolicy.ttl create mode 100644 knowledge/Door.ttl create mode 100644 knowledge/Elevator.ttl delete mode 100644 knowledge/EntranceOrExit.ttl create mode 100644 knowledge/Escalator.ttl create mode 100644 knowledge/GrabBar.ttl delete mode 100644 knowledge/GroundSurface.ttl create mode 100644 knowledge/GroundSurfaceEnumeration.ttl create mode 100644 knowledge/MobilityService.ttl create mode 100644 knowledge/OperationalStatus.ttl create mode 100644 knowledge/Organization.ttl delete mode 100644 knowledge/Parking.ttl create mode 100644 knowledge/ParkingFacility.ttl create mode 100644 knowledge/PhysicalKeyEnumeration.ttl create mode 100644 knowledge/Portal.ttl create mode 100644 knowledge/Ramp.ttl create mode 100644 knowledge/Service.ttl create mode 100644 knowledge/Shower.ttl create mode 100644 knowledge/Stairs.ttl create mode 100644 knowledge/Vehicle.ttl create mode 100644 knowledge/VerticalDirectionEnumeration.ttl create mode 100644 knowledge/WashBasin.ttl diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d39a11..11546d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: - name: Validate uses: vemonet/jena-riot-action@v3.14 with: - input: knowledge/EntranceOrExit.ttl + input: knowledge/Portal.ttl - name: Validate uses: vemonet/jena-riot-action@v3.14 diff --git a/knowledge/AnimalPolicy.ttl b/knowledge/AnimalPolicy.ttl new file mode 100644 index 0000000..2b48d7a --- /dev/null +++ b/knowledge/AnimalPolicy.ttl @@ -0,0 +1,69 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Intangible > AnimalPolicy. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:AnimalPolicy a rdfs:Class ; + rdfs:subClassOf :Intangible; + rdfs:label "AnimalPolicy" ; + rdfs:comment """ + Provides information about how the operators of an [[Organization]], [[Place]] or [[Service]] deal with + people accompanied by animals. This is relevant for people who need an assistance animal + (e.g. a guide dog), or travel with a pet. + """ . + +# +# Properties +# +:allowsAnyDogs a rdf:Property ; + :domainIncludes :AnimalPolicy ; + :rangeIncludes :Boolean ; + rdfs:label "allowsAnyDogs" ; + rdfs:comment """ + True if the place allows visitors to bring dogs in general, False if bringing them is explicitly + prohibited (with exception of assistance dogs, if allowsAssistanceDogs is True). + """ . + +:allowsAssistanceDogs a rdf:Property ; + :domainIncludes :AnimalPolicy ; + :rangeIncludes :Boolean ; + rdfs:label "allowsAssistanceDogs" ; + rdfs:comment """ + True if the place allows visitors to bring assistance/guide dogs, False if bringing them is + explicitly prohibited. + """ . + +:allowsDogsOnlyWithMuzzle a rdf:Property ; + :domainIncludes :AnimalPolicy ; + :rangeIncludes :Boolean ; + rdfs:label "allowsDogsOnlyWithMuzzle" ; + rdfs:comment """ + True if the place denies entry to visitors bringing a dogs without muzzles, + False if dogs without muzzles are explicitly allowed. + """ . + +:suppliesWaterForAnimals a rdf:Property ; + :domainIncludes :AnimalPolicy ; + :rangeIncludes :Boolean ; + rdfs:label "suppliesWaterForAnimals" ; + rdfs:comment """ + True if the place supplies water for accompanying animals, False if explicitly not. + """ . + +:allowsDogsOnlyWithLeash a rdf:Property ; + :domainIncludes :AnimalPolicy ; + :rangeIncludes :Boolean ; + rdfs:label "allowsDogsOnlyWithLeash" ; + rdfs:comment """ + True if the place denies entry to visitors bringing a dogs without leash, + False if dogs without leash are explicitly allowed. + """ . \ No newline at end of file diff --git a/knowledge/Door.ttl b/knowledge/Door.ttl new file mode 100644 index 0000000..ca0c1a6 --- /dev/null +++ b/knowledge/Door.ttl @@ -0,0 +1,131 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Door. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:Door a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "Door" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A door is a hinged or otherwise movable barrier that allows ingress into and egress from an enclosure. + The created opening in the wall is a doorway or portal. A door's essential and primary purpose is to + provide security by controlling access to the doorway (portal). Conventionally, it is a panel that fits + into the portal of a building, room, or vehicle. Doors are generally made of a material suited to the door's # + task. Doors are commonly attached by hinges, but can move by other means, such as slides or counterbalancing. + ([Wikipedia](https://en.wikipedia.org/wiki/Door)) + """ . + +# +# Properties +# +:isAlwaysOpen a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isAlwaysOpen" ; + rdfs:comment """ + True if the door is always open, False if not. + """ . + +:isAutomatic a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isAutomatic" ; + rdfs:comment """ + True if the door is fully automatic, False if it has to be opened or closed manually. + """ . + +:isSelfClosing a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isSelfClosing" ; + rdfs:comment """ + True if the door closes automatically, False if it has to be closed manually. + """ . + +:isRevolving a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isRevolving" ; + rdfs:comment """ + True if the door is a revolving door, False if not. + """ . + +:isTurnstile a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isTurnstile" ; + rdfs:comment """ + True if the door is a turnstile, False if not. + """ . + +:isTransparent a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Boolean ; + rdfs:label "isTransparent" ; + rdfs:comment """ + True if the door is made of transparent material, False if not. Relevant for people with visual impairments. + """ . + +:openingForce a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "openingForce" ; + rdfs:comment """ + Force needed to open the door completely, given in lbs. This is relevant for accessibility - Interior + doors should require no more than 5 lbs. of force to open. + """ . + +:closingSpeed a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "closingSpeed" ; + rdfs:comment """ + Speed taken for the door from its full open position to the degree where the latch phase begins. + Given in degrees (for doors with a rotational axis) or distance (for linear doors) per time. + """ . + +:latchingSpeed a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "latchingSpeed" ; + rdfs:comment """ + Speed taken for the door to close and latch shut over the last degrees of its closing phase. + Given in degrees (for doors with a rotational axis) or distance (for linear doors) per time. + """ . + +:turningSpaceRadius a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "turningSpaceRadius" ; + rdfs:comment """ + Turning space available for using this door. Relevant for wheelchair and rollator accessibility. + If this attribute is given, it should at least have a minValue property. + """ . + +:needsPhysicalKeyOrCard a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :Text ; + rdfs:label "needsPhysicalKeyOrCard" ; + rdfs:comment """ + Standardized key needed to access this place, e.g. 'radarPhysicalKey' for a RADAR key, or 'euroPhysicalKey' for a Euro key. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Door ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes if the door is currently usable. Can be used for real-time status updates. + """ . + diff --git a/knowledge/Elevator.ttl b/knowledge/Elevator.ttl new file mode 100644 index 0000000..e09f1a8 --- /dev/null +++ b/knowledge/Elevator.ttl @@ -0,0 +1,70 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Vehicle > Elevator. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:Elevator a rdfs:Class ; + rdfs:subClassOf :Vehicle; + rdfs:label "Elevator" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Describes a physical elevator that transports people or goods vertically. If properties of the supertypeVehicle are used, they should describe the + elevator’s cabin, moving platform, or sling. If a cabin or platform is part of the elevator, it's width and depth properties should be included for + saccessibility. + """ . + +# +# Properties +# +:door a rdf:Property ; + :domainIncludes :Elevator ; + :rangeIncludes :Door ; + rdfs:label "door" ; + rdfs:comment """ + List containing descriptions of the elevator’s door(s). + """ . + +:hasDoorsInOppositeDirections a rdf:Property ; + :domainIncludes :Elevator ; + :rangeIncludes :Boolean ; + rdfs:label "hasDoorsInOppositeDirections" ; + rdfs:comment """ + True if the equipment has doors in opposite directions. Relevant for people using a wheelchair, rollator, + cargo bike or pushchair to know if they have to turn. + """ . + +:connectedFloorLevels a rdf:Property ; + :domainIncludes :Elevator ; + :rangeIncludes :Text ; + rdfs:label "connectedFloorLevels" ; + rdfs:comment """ + The connected floor levels in a multi-storey building, as list, if applicable. Since counting systems + vary internationally, the local system should be used where possible. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Elevator ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the facility. Can be used for real-time status updates. + """ . + +:alternativeWays a rdf:Property ; + :domainIncludes :Elevator ; + :rangeIncludes :Thing ; + rdfs:label "alternativeWays" ; + rdfs:comment """ + If there are alternative routes to this elevator, they can be linked using this property. + """ . + diff --git a/knowledge/EntranceOrExit.ttl b/knowledge/EntranceOrExit.ttl deleted file mode 100644 index 651307e..0000000 --- a/knowledge/EntranceOrExit.ttl +++ /dev/null @@ -1,24 +0,0 @@ -@prefix : . -@prefix todo: . -@prefix rdf: . -@prefix rdfs: . - -# -# This file contains information about Thing > Toilet. -# -# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/40 -# - -# -# Classes -# -:EntranceOrExit a rdfs:Class ; - rdfs:subClassOf :Place ; - rdfs:label "EntranceOrExit" ; - rdfs:comment """ - Describes a physical entrance to a [[Place]]. - If a [[Thing]] is used as an entrance or exit, this type can be combined as multi-type entity with other types like [[Door]], [[Elevator]], [[Escalator]], or [[Ramp]]. - An [[EntranceOrExit]] SHOULD have a name property with the name of the entrance if there are multiple entrances to the same place. - If one or more physical sign(s) exist for the entrance, the value of name SHOULD correspond to what is readable on the sign(s). - """ ; - todo:item "Try to find an appropriate Wikidata entry" . diff --git a/knowledge/Escalator.ttl b/knowledge/Escalator.ttl new file mode 100644 index 0000000..990a35c --- /dev/null +++ b/knowledge/Escalator.ttl @@ -0,0 +1,74 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Vehicle > Escalator. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:Escalator a rdfs:Class ; + rdfs:subClassOf :Vehicle; + rdfs:label "Escalator" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + An escalator is a moving staircase which carries people between floors of a building or structure. + It consists of a motor-driven chain of individually linked steps on a track which cycle on a pair of + tracks which keep them horizontal. + """ . + +:Stairlift a rdfs:Class ; + rdfs:subClassOf :Elevator; + rdfs:label "Stairlift" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A stair lift is a mechanical device for lifting people up and down stairs. For sufficiently wide + stairs, a rail is mounted to the treads of the stairs. A chair or lifting platform is attached to + the rail. A person gets onto the chair or platform and is lifted up or down the stairs by the chair + which moves along the rail. + """ . + +# +# Properties +# +:connectedFloorLevels a rdf:Property ; + :domainIncludes :Escalator ; + :rangeIncludes :Text ; + rdfs:label "connectedFloorLevels" ; + rdfs:comment """ + The connected floor levels in a multi-storey building, as list, if applicable. Since counting systems + vary internationally, the local system should be used where possible. + """ . + +:stairs a rdf:Property ; + :domainIncludes :Escalator ; + :rangeIncludes :Stairs ; + rdfs:label "stairs" ; + rdfs:comment """ + Describes the escalator’s staircase. Relevant for passengers if an escalator is out of service, and + there is no alternative route. + """ . + +:handrails a rdf:Property ; + :domainIncludes :Escalator ; + :rangeIncludes :Handrails ; + rdfs:label "handrails" ; + rdfs:comment """ + Provides information about the escalator’s handrails. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Escalator ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the escalator. Can be used for real-time status updates. + """ . + diff --git a/knowledge/GrabBar.ttl b/knowledge/GrabBar.ttl new file mode 100644 index 0000000..3892c30 --- /dev/null +++ b/knowledge/GrabBar.ttl @@ -0,0 +1,62 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > GrabBar. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:GrabBar a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "GrabBar" ; + rdfs:comment """ + Grab bars are safety devices designed to enable a person to maintain balance, lessen fatigue while + standing, hold some of their weight while maneuvering, or have something to grab onto in case of a + slip or fall. A caregiver may use a grab bar to assist with transferring a patient from one place to + another. A worker may use a grab bar to hold on to as he or she climbs, or in case of a fall. + """ . + +# +# Properties +# +:isOnUsersLeftSide a rdf:Property ; + :domainIncludes :GrabBar ; + :rangeIncludes :Boolean ; + rdfs:label "isOnUsersLeftSide" ; + rdfs:comment """ + True if there is a grab bar on left side(from the perspective of somebody using the toilet), + false if not, undefined if condition is unknown. + """ . + +:isOnUsersRightSide a rdf:Property ; + :domainIncludes :GrabBar ; + :rangeIncludes :Boolean ; + rdfs:label "isOnUsersRightSide" ; + rdfs:comment """ + True if there is a grab bar on right side(from the perspective of somebody using the toilet), + false if not, undefined if condition is unknown. + """ . + +:heightFromFloor a rdf:Property ; + :domainIncludes :GrabBar ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "heightFromFloor" ; + rdfs:comment """ + Indicates the grab bar height at the position where they are meant to be held, + measured as distance from the floor. + """ . + +:isFoldable a rdf:Property ; + :domainIncludes :GrabBar ; + :rangeIncludes :Boolean ; + rdfs:label "isFoldable" ; + rdfs:comment """ + True if it is foldable, False if it is fixed (not foldable) + """ . + diff --git a/knowledge/GroundSurface.ttl b/knowledge/GroundSurface.ttl deleted file mode 100644 index aaa34e2..0000000 --- a/knowledge/GroundSurface.ttl +++ /dev/null @@ -1,33 +0,0 @@ -@prefix : . -@prefix todo: . -@prefix rdf: . -@prefix rdfs: . - -# -# This file contains information about Thing > Toilet. -# -# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 -# - -# -# Classes -# -:GroundSurfaceEnumeration a rdfs:Class ; - rdfs:subClassOf :Enumeration ; - rdfs:label "GroundSurface" ; - :sameAs ; - :sameAs ; - rdfs:comment """ - Describes the quality of a physical ground surface. - Use this to describe road or sidewalk conditions, or to provide indoor accessibility information. - """ . - -:GroundSurfaceDirt a :GroundSurfaceEnumeration ; - rdfs:label "GroundSurfaceDirt" ; - :sameAs ; - :sameAs . - -:GroundSurfaceAsphalt a :GroundSurfaceEnumeration ; - rdfs:label "GroundSurfaceAsphalt" ; - :sameAs ; - :sameAs . diff --git a/knowledge/GroundSurfaceEnumeration.ttl b/knowledge/GroundSurfaceEnumeration.ttl new file mode 100644 index 0000000..f25da74 --- /dev/null +++ b/knowledge/GroundSurfaceEnumeration.ttl @@ -0,0 +1,355 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > GroundSurface. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:GroundSurfaceEnumeration a rdfs:Class ; + rdfs:subClassOf :Enumeration ; + rdfs:label "GroundSurfaceEnumeration" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Describes the quality of a physical ground surface. + Use this to describe road or sidewalk conditions, or to provide indoor accessibility information. + """ . + +:GroundSurfacePaved a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfacePaved" ; + rdfs:comment """ + A feature that is predominantly paved; i.e., it is covered with paving stones, concrete or bitumen. + This value gives only a rough description; use a more precise value if possible. + """ . + +:GroundSurfaceAsphalt a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceAsphalt" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Short for asphalt concrete - mineral aggregate bound by asphalt. Most such features are tagged as + paved without specifying exact surface. + """ . + +:GroundSurfaceConcrete a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceConcrete" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Cement based concrete, forming a large surface, typically cast in place and may have predetermined + breaking joints. For pre-fabricated plates, please use concrete:plates or concrete:lanes if you know + how the concrete is laid out and one of these tags fits. + """ . + +:GroundSurfaceConcreteLanes a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceConcreteLanes" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Long, narrow concrete elements for a two-tracked vehicle (motorcars) so that the tires always hit the + concrete. There might be sand, ground, grass, pavers, asphalt, etc. in between them. Note that if you tag + a single-tracked way you just use concrete, since there are no lanes. + """ . + +:GroundSurfaceConcretePlates a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceConcretePlates" ; + :sameAs ; + rdfs:comment """ + Heavy duty plates chained closely together on the short side. Might have tar or sand in between the connections. + """ . + +:GroundSurfacePavingStones a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfacePavingStones" ; + :sameAs ; + rdfs:comment """ + A relatively smooth surface paved with artificial blocks (block pavers, bricks) or natural stones + (flagstones), with a flat top. The gaps between individual paving stones are very narrow, either + because the stones have a perfectly regular shape (rectangular, or any surface-filling shape) or + because they have been carefully selected, fitted and placed in order to form an even, closed surface. + """ . + +:GroundSurfaceSett a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceSett" ; + :sameAs ; + rdfs:comment """ + Sett paving, formed from natural stones cut to a regular shape. The stones do not cover the surface + completely, unlike paving_stones. + """ . + +:GroundSurfaceUnhewnCobblestone a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceUnhewnCobblestone" ; + :sameAs ; + rdfs:comment """ + Raw cobblestone of natural, uncut, rounded stones. Unlike pebblestone firmly connected to the ground. + """ . + +:GroundSurfaceCobblestone a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceCobblestone" ; + :sameAs ; + rdfs:comment """ + Generic value for cobblestone in the colloquial sense. It's better to use a more precise value + such as sett or unhewn_cobblestone + """ . + +:GroundSurfaceMetal a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceMetal" ; + rdfs:comment """ + Used for metal surfaced bridges, or for temporary tracks over fields for normal road vehicles + or site traffic. + """ . + +:GroundSurfaceWood a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceWood" ; + :sameAs ; + rdfs:comment """ + Used for wood surfaced bridges, plank walkways, and garden decking + """ . + +:GroundSurfaceSteppingStones a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceSteppingStones" ; + :sameAs ; + rdfs:comment """ + Stones or plates individually arranged in a row, allowing to walk on, surrounded by an unpaved + medium such as grass or water + """ . + +:GroundSurfaceUnpaved a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceUnpaved" ; + :sameAs ; + rdfs:comment """ + A feature that is predominantly unsealed (unpaved); i.e., it has a loose covering ranging from + compacted stone chippings to earth. Unpaved roads may, in aerial imagery, show evidence of water + along their course; in such circumstances, the waterway should not be tagged as a stream, though + it might appear as such. This value gives only a rough description; use a more precise value if + possible. + """ . + +:GroundSurfaceCompacted a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceCompacted" ; + :sameAs ; + rdfs:comment """ + A mixture of larger (e.g., gravel) and smaller (e.g., sand) parts, compacted (e.g., with a roller), + so the surface is more stable than loose gravel. Used, for example, for park paths, better tracks, + some service ways, … Best sort of ways below paving with asphalt, concrete, paving stones. Sometimes + known as water-bound macadam. Mixture and compacting leads to more grip and stability. + """ . + +:GroundSurfaceFineGravel a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceFineGravel" ; + rdfs:comment """ + A multilayer pavement with a stone or gravel basis and a topmost surface of firm, granular grit, + basalt or quartz, as invented by the Roman empire. Easy to walk, jog, cycle or ride on. In hilly + areas mostly with drainage channels and concave cross-section for proper water shedding. Motorized + vehicles will not move stones if the way is maintained properly, and bicycles tires will not leave + any imprints at least in dry weather. If the topmost surface is eroded or loose gravel aggravate + please use gravel instead. + """ . + +:GroundSurfaceGravel a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceGravel" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Broken/crushed rock with sharp edges, known as ballast on railways. Usually loosely arranged. Typical + size for road and surface construction range between 4 and 8 cm. Gravel can be used as a ground-layer + for compacted. + """ . + +:GroundSurfaceRock a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceRock" ; + :sameAs ; + rdfs:comment """ + Exposed rock or big pieces of rock used to improve path quality. Typically in mountainous areas. + """ . + +:GroundSurfacePebblestone a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfacePebblestone" ; + rdfs:comment """ + Pebbles are stones rounded by waves or river flow. Typical size range from 2 to 8 cm. Describing a + surface in OSM they are loosely arranged. Like gravel pebbles can be used as a building part of compacted. + """ . + +:GroundSurfaceGround a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceGround" ; + rdfs:comment """ + No special surface, the ground itself has marks of human or animal usage. This value gives only a rough + description; if possible, use a more precise value such as grass, clay, sand, earth, gravel or pebblestone. + """ . + +:GroundSurfaceDirt a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceDirt" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Probably very similar to ground. Like all this, it is prone to erosion and therefore often uneven. + Gravel is sometimes mistakenly called dirt. Some compacted surfaces are sometimes called 'dirt' too, + please consider the definition of compacted. + """ . + +:GroundSurfaceEarth a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceEarth" ; + :sameAs ; + rdfs:comment """ + Probably a type of ground. Usually natural, but may also apply to artificial preparations of soil. + Duplicate of dirt. + """ . + +:GroundSurfaceGrass a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceGrass" ; + :sameAs ; + rdfs:comment """ + Grass covered ground. Mostly nice to walk. May turn into surface=dirt or become overgrown and disappear. + """ . + +:GroundSurfaceGrassPaver a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceGrassPaver" ; + :sameAs ; + rdfs:comment """ + A sort of permeable paving using regular cell structure, where the voids in this structure enable + rainwater to drain into the ground and the structure itself increases the load bearing capability. + Often used for parking lots or infrequent used ways like for emergency-vehicles. + """ . + +:GroundSurfaceMud a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceMud" ; + :sameAs ; + rdfs:comment """ + Similar to ground but most of the year wet which gives a soft ground with low carrying capacity. + Mostly found on wetland like swamps or in tidal areas. Sometimes also found on slopes draining onto a way. + """ . + +:GroundSurfaceSand a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceSand" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Small to very small fractions (less than 2mm) of rock. + """ . + +:GroundSurfaceWoodchips a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceWoodchips" ; + :sameAs ; + rdfs:comment """ + Woodchips as a surface + """ . + +:GroundSurfaceSnow a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceSnow" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Winter roads surfaced with compacted snow. + """ . + +:GroundSurfaceIce a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceIce" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Ice roads, winter roads + """ . + +:GroundSurfaceSalt a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceSalt" ; + :sameAs ; + rdfs:comment """ + Dry salt lakes + """ . + +:GroundSurfaceClay a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceClay" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Most common on tennis courts. Sometimes used for other sports: soccer, athletic tracks, boules, etc. + """ . + +:GroundSurfaceTartan a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceTartan" ; + :sameAs ; + rdfs:comment """ + A synthetic, all-weather surface typically used in running and other sport tracks. Although Tartan + is a trademark, it is used as a generic term due to its widespread usage. + """ . + +:GroundSurfaceArtificialTurf a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceArtificialTurf" ; + :sameAs ; + rdfs:comment """ + An all-weather surface made from synthetic fibres to look and feel like natural grass. Often used + for tracks and pitches of sports such as football, baseball, etc. + """ . + +:GroundSurfaceAcrylic a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceAcrylic" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + An artificial surface covered with acrylic resin-bound coating. Often used for tennis courts, + basketball courts, etc. Prominent brands include: DecoTurf, GreenSet and so on. + """ . + +:GroundSurfaceMetalGrid a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceMetalGrid" ; + :sameAs ; + rdfs:comment """ + Metal grids are often used as a surface on industrial-style bridges or stairs. When wet, the surface + can become very slippery, especially for bikes. The surface can also be unsuitable for dogs, due to + the sharp edges and the look-through effect. + """ . + +:GroundSurfaceCarpet a :GroundSurfaceEnumeration ; + rdfs:label "GroundSurfaceCarpet" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Carpet may be used for some sport courts such as indoor tennis courts. + """ . + +# +# Properties +# +:isEven a rdf:Property ; + :domainIncludes :GroundSurface ; + :rangeIncludes :Boolean ; + rdfs:label "isEven" ; + rdfs:comment """ + True if the surface is even and not plastered, False if not even or plastered. + """ . + +:isLevel a rdf:Property ; + :domainIncludes :GroundSurface ; + :rangeIncludes :Boolean ; + rdfs:label "isLevel" ; + rdfs:comment """ + True if the described object can be used step-free and the ground/floor is level, False if not + (e.g. if users have to take a step to use the main functionality). Can be True even if the + ground/floor is not perfectly even but plastered, for example - for this case, you can provide a + surface property instead. + """ . + +:surface a rdf:Property ; + :domainIncludes :GroundSurface ; + :rangeIncludes :Text ; + rdfs:label "surface" ; + rdfs:comment """ + Rating of surface/sidewalk conditions. Use strings from + https://wiki.openstreetmap.org/wiki/Key:surface as values, for example. + """ . + +:slopeAngle a rdf:Property ; + :domainIncludes :GroundSurface ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "slopeAngle" ; + rdfs:comment """ + Angle of the slope that this ground surface has, if applicable. + + """ . + diff --git a/knowledge/MobilityService.ttl b/knowledge/MobilityService.ttl new file mode 100644 index 0000000..2f1046f --- /dev/null +++ b/knowledge/MobilityService.ttl @@ -0,0 +1,66 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Intangible > Service > MobilityService. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:MobilityService a rdfs:Class ; + rdfs:subClassOf :Service; + rdfs:label "MobilityService" ; + rdfs:comment """ + An aggregation of references to services that are usually associated with mobility in public transport. + This is relevant as accessibility information for travellers. + """ . + +# +# Properties +# +:serviceOperator a rdf:Property ; + :domainIncludes :MobilityService ; + :rangeIncludes :Organization ; + rdfs:label "serviceOperator" ; + rdfs:comment """ + The operating organization, if different from the provider. This enables the representation of services + that are provided by an organization, but operated by another organization like a subcontractor. + """ . + +:assistanceOperator a rdf:Property ; + :domainIncludes :MobilityService ; + :rangeIncludes :Organization, + :ContactPoint ; + rdfs:label "assistanceOperator" ; + rdfs:comment """ + Operator of the assistance service for this facility. Helpful for people with impaired mobility. + This enables the representation of services that are provided by an organization, but operated by + another organization like a subcontractor. + """ . + +:facilityManagementOperator a rdf:Property ; + :domainIncludes :MobilityService ; + :rangeIncludes :Organization, + :ContactPoint ; + rdfs:label "facilityManagementOperator" ; + rdfs:comment """ + Operator to be contacted to report service outages and other problems with this facility. + This enables the representation of services that are provided by an organization, but operated by + another organization like a subcontractor. + """ . + +:emergencyOperator a rdf:Property ; + :domainIncludes :MobilityService ; + :rangeIncludes :Organization, + :ContactPoint ; + rdfs:label "emergencyOperator" ; + rdfs:comment """ + Operator to be contacted in case of an emergency. This enables the representation of services that + are provided by an organization, but operated by another organization like a subcontractor. + """ . + diff --git a/knowledge/OperationalStatus.ttl b/knowledge/OperationalStatus.ttl new file mode 100644 index 0000000..ddf1cc0 --- /dev/null +++ b/knowledge/OperationalStatus.ttl @@ -0,0 +1,85 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Intangible > OperationalStatus. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:OperationalStatus a rdfs:Class ; + rdfs:subClassOf :Intangible; + rdfs:label "OperationalStatus" ; + rdfs:comment """ + Describes the current operational status of a [[Thing]]. + """ . + +# +# Properties +# +:facility a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :Thing ; + rdfs:label "facility" ; + rdfs:comment """ + Reference to the facility that has the status described by this resource. + """ . + +:isWorking a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :Boolean ; + rdfs:label "isWorking" ; + rdfs:comment """ + Allows live status update. True if the equipment is currently usable, False if it's out of service. + """ . + +:timestamp a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :Date ; + rdfs:label "timestamp" ; + rdfs:comment """ + Describes when the live status of this equipment was last determined. Important to determine if a + status information is outdated. + """ . + +:sources a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :URL ; + rdfs:label "sources" ; + rdfs:comment """ + Reference to sources for this status information. + """ . + +:alternatives a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :HowTo ; + rdfs:label "alternatives" ; + rdfs:comment """ + One or more HowTos that describe alternative ways a user can take when they can’t use the facility + (for excample because it is out of order). + """ . + +:outOfOrderReason a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :Text ; + rdfs:label "outOfOrderReason" ; + rdfs:comment """ + If the equipment is out of order, this contains a description that can provide more information + about causes of and workarounds for the current outage (e.g. 'in maintenance until December 20, 2025. + Please use the east entrance instead.) + """ . + +:currentVerticalDirection a rdf:Property ; + :domainIncludes :OperationalStatus ; + :rangeIncludes :verticalDirection ; + rdfs:label "currentVerticalDirection" ; + rdfs:comment """ + Current vertical direction ('up' or 'down'). Can be used to provide real-time updates, e.g. for + Elevator or Escalator. + """ . + diff --git a/knowledge/Organization.ttl b/knowledge/Organization.ttl new file mode 100644 index 0000000..b19fe5c --- /dev/null +++ b/knowledge/Organization.ttl @@ -0,0 +1,24 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Organization. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Properties +# +:hasEmployeeAnimalPolicy a rdf:Property ; + :domainIncludes :Organization ; + :rangeIncludes :AnimalPolicy ; + rdfs:label "hasEmployeeAnimalPolicy" ; + rdfs:comment """ + Describes how this organization deals with employees accompanied by animals. + This is relevant for people who need an assistance animal (e.g. a guide dog), + and work at the organization. + """ . + diff --git a/knowledge/Parking.ttl b/knowledge/Parking.ttl deleted file mode 100644 index e69de29..0000000 diff --git a/knowledge/ParkingFacility.ttl b/knowledge/ParkingFacility.ttl new file mode 100644 index 0000000..f3bb30d --- /dev/null +++ b/knowledge/ParkingFacility.ttl @@ -0,0 +1,94 @@ + +# +# Properties +# +:count a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "count" ; + rdfs:comment """ + Defines many wheelchair accessible parking lots are provided + """ . + +:distanceToEntrance a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "distanceToEntrance" ; + rdfs:comment """ + How far away is the parking from the main entrance? If there is a separate wheelchair entrance, the + distance to this entrance MUST be used. + """ . + +:hasDedicatedSignage a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Boolean ; + rdfs:label "hasDedicatedSignage" ; + rdfs:comment """ + True if there is dedicated signage at all relevant turning points from the street to the parking, + false if not, undefined if this is unknown. + """ . + +:isLocatedInside a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Boolean ; + rdfs:label "isLocatedInside" ; + rdfs:comment """ + True if the parking is inside a building or under a roof, false if not, undefined if unknown. + """ . + +:length a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "length" ; + rdfs:comment """ + Length constraint of the parking lots. + """ . + +:location a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Text ; + rdfs:label "location" ; + rdfs:comment """ + Describes where the parking is located. + """ . + +:maxVehicleHeight a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "maxVehicleHeight" ; + rdfs:comment """ + Maximal allowed vehicle height for users of this parking. + """ . + +:neededParkingPermits a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Text ; + rdfs:label "neededParkingPermits" ; + rdfs:comment """ + List of permit names that allow using this parking. + """ . + +:paymentBySpace a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Boolean ; + rdfs:label "paymentBySpace" ; + rdfs:comment """ + True if the parking has to be paid by space, false if not, undefined if unknown. + """ . + +:paymentByZone a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :Boolean ; + rdfs:label "paymentByZone" ; + rdfs:comment """ + True if the parking has to be paid by parking zone, false if not, undefined if unknown. + """ . + +:width a rdf:Property ; + :domainIncludes :ParkingFacility ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "width" ; + rdfs:comment """ + Width constraint of the parking lots. + """ . + diff --git a/knowledge/PhysicalKeyEnumeration.ttl b/knowledge/PhysicalKeyEnumeration.ttl new file mode 100644 index 0000000..2d8cdbf --- /dev/null +++ b/knowledge/PhysicalKeyEnumeration.ttl @@ -0,0 +1,40 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Property > identifier > PhysicalKey. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:PhysicalKeyEnumeration a rdfs:Class ; + rdfs:subClassOf :Enumeration ; + rdfs:label "PhysicalKeyEnumeration" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + Describes the different types of access keys. + """ . + +:PhysicalKeyRadar a :PhysicalKeyEnumeration ; + rdfs:label "PhysicalKeyRadar" ; + rdfs:comment """ + A radar key is a large, silver-coloured skeleton key that opens more than 10,000 locked, disabled + toilets in the UK. The Radar Key Scheme enables these disabled toilets to be locked to prevent + vandalism and misuse, while also being readily available to those who really need them. + """ . + +:PhysicalKeyEuro a :PhysicalKeyEnumeration ; + rdfs:label "PhysicalKeyEuro" ; + :sameAs ; + rdfs:comment """ + Euro key is a locking system which enables people with physical disabilities to access handicapped + facilities free of charge. For example handicapped elevators and ramps, public toilets at motorways, + train stations, in pedestrian zones, shopping centers, museums or public authorities etc. + """ . + diff --git a/knowledge/Place.ttl b/knowledge/Place.ttl index d21c980..78f3677 100644 --- a/knowledge/Place.ttl +++ b/knowledge/Place.ttl @@ -9,9 +9,12 @@ # @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 # +# +# Properties +# :hasEntrance a rdf:Property ; :domainIncludes :Place ; - :rangeIncludes :EntranceOrExit ; + :rangeIncludes :Portal ; rdfs:label "hasEntrances" ; rdfs:comment """ Describes the entrance(s) and exit(s) from/to this place. @@ -19,9 +22,29 @@ :hasGroundSurface a rdf:Property ; :domainIncludes :Place ; - :rangeIncludes :GroundSurfaceEnumeration ; + :rangeIncludes :GroundSurface ; rdfs:label "hasGroundSurface" ; rdfs:comment """ Describes the ground surface at this place. - This is relevant for accessibility. + This is relevant for vehicle mobility and accessibility for people with mobility impairments. + """ . + +:hasVisitorAnimalPolicy a rdf:Property ; + :domainIncludes :Place ; + :rangeIncludes :AnimalPolicy ; + rdfs:label "hasVisitorAnimalPolicy" ; + rdfs:comment """ + Describes how the operators of this place deal with visitors accompanied by animals. + This is relevant for people who need an assistance animal (e.g. a guide dog), or travel with a pet. """ . + +:turningSpaceInside a rdf:Property ; + :domainIncludes :Place ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "turningSpaceInside" ; + rdfs:comment """ + Describes how wide is the space inside that is usable for turning. + If given, the value SHOULD have a minValue property. + This is relevant for wheelchair accessibility, especially for users of electric wheelchairs. + """ . + diff --git a/knowledge/Portal.ttl b/knowledge/Portal.ttl new file mode 100644 index 0000000..ac8bf41 --- /dev/null +++ b/knowledge/Portal.ttl @@ -0,0 +1,95 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Place > Portal. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 + +# +# Classes +# +:Portal a rdfs:Class ; + rdfs:subClassOf :Place; + rdfs:label "Portal" ; + :sameAs ; + rdfs:comment """ + Describes a physical entrance to a [[Place]]. + If a [[Thing]] is used as an entrance or exit, this type can be combined as multi-type entity with other types like [[Door]], [[Elevator]], [[Escalator]], or [[Ramp]]. + An [[PortalisMainPortal]] SHOULD have a name property with the name of the entrance if there are multiple entrances to the same place. + If one or more physical sign(s) exist for the entrance, the value of name SHOULD correspond to what is readable on the sign(s). + """ . + +# +# Properties +# +:isMainPortal a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Boolean ; + rdfs:label "isMainPortal" ; + rdfs:comment """ + True if this is the designated main entrance/exit for the associated place, False if not. + """ . + +:isEntrance a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Boolean ; + rdfs:label "isEntrance" ; + rdfs:comment """ + True if this resource can be used by visitors to enter the Place it is contained in, False if not. + """ . + +:isExit a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Boolean ; + rdfs:label "isExit" ; + rdfs:comment """ + True if this resource can be used by visitors to exit the Place it is contained in, False if not. + """ . + +:origin a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Place, :Thing ; + rdfs:label "origin" ; + rdfs:comment """ + The Place or Thing from which this Portal leads to somewhere else. Use together with the + isUnidirectional property. + """ . + +:destination a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Place, :Thing ; + rdfs:label "destination" ; + rdfs:comment """ + The Place or Thing to which this Portal leads. Use together with the isUnidirectional property. + """ . + +:isUnidirectional a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :Boolean ; + rdfs:label "isUnidirectional" ; + rdfs:comment """ + True if users can only traverse this resource in one direction, False if it can by explicitly used + bidirectionally. If set to True, the order of origin and destination describes the allowed traversal + direction. + """ . + +:groundSurface a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :GroundSurface ; + rdfs:label "groundSurface" ; + rdfs:comment """ + Describes the ground surface traversed when using this entrance or exit. If different surfaces exist, + this should describe the worst one for accessibility. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Portal ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the entrance/exit. Can be used for real-time status updates. + """ . + diff --git a/knowledge/Ramp.ttl b/knowledge/Ramp.ttl new file mode 100644 index 0000000..e0360ea --- /dev/null +++ b/knowledge/Ramp.ttl @@ -0,0 +1,69 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Ramp. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:Ramp a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "Ramp" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A wheelchair ramp can be permanent, semi-permanent or portable. Permanent ramps are designed to be + bolted or otherwise attached in place. Semi-permanent ramps rest on top of the ground or concrete pad + and are commonly used for the short term. Permanent and semi-permanent ramps are usually of aluminum, + concrete or wood. Portable ramps are usually aluminum and typically fold for ease of transport. Portable + ramps are primarily intended for home and building use but can also be used with vans to load an + unoccupied mobility device or to load an occupied mobility device when both the device and the passenger + are easy to handle. + """ . + +# +# Properties +# +:isMobile a rdf:Property ; + :domainIncludes :Ramp ; + :rangeIncludes :Boolean ; + rdfs:label "isMobile" ; + rdfs:comment """ + True if the ramp is removable or mobile, False if it is fixed. Many places have smaller steps at the + entrance, but provide a mobile ramp to compensate this when asked. This ramp is usually installed when + a visitor calls for assistance in advance, uses a designated doorbell, or when they are seen from the + inside. + """ . + +:incline a rdf:Property ; + :domainIncludes :Ramp ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "incline" ; + rdfs:comment """ + Grade as calculated by rise / run or the tangent of the angle of inclination (e.g. '20%'), or given + as angle of the inclination (e.g. '11.3 degrees'). See Wikipedia for a definition. + """ . + +:connectedFloorLevels a rdf:Property ; + :domainIncludes :Ramp ; + :rangeIncludes :Text ; + rdfs:label "connectedFloorLevels" ; + rdfs:comment """ + The connected floor levels in a multi-storey building, as list, if applicable. Since counting systems + vary internationally, the local system should be used where possible. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Ramp ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the ramp. Can be used for real-time status updates. + """ . + diff --git a/knowledge/Service.ttl b/knowledge/Service.ttl new file mode 100644 index 0000000..659a062 --- /dev/null +++ b/knowledge/Service.ttl @@ -0,0 +1,23 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Intangible > Service. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Properties +# +:hasUserAnimalPolicy a rdf:Property ; + :domainIncludes :Service ; + :rangeIncludes :AnimalPolicy ; + rdfs:label "hasUserAnimalPolicy" ; + rdfs:comment """ + Describes how the operators of this service deal with users of the service accompanied by animals. + This is relevant for people who need an assistance animal (e.g. a guide dog), or travel with a pet. + """ . + diff --git a/knowledge/Shower.ttl b/knowledge/Shower.ttl new file mode 100644 index 0000000..e83a228 --- /dev/null +++ b/knowledge/Shower.ttl @@ -0,0 +1,82 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Product > Shower. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/40 +# + +# +# Classes +# +:Shower a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "Shower" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A shower is a place in which a person bathes under a spray of typically warm + or hot water. Indoors, there is a drain in the floor. Most showers have + temperature, spray pressure and adjustable showerhead nozzle. The simplest + showers have a swivelling nozzle aiming down on the user, while more complex + showers have a showerhead connected to a hose that has a mounting bracket. + This allows the showerer to hold the showerhead by hand to spray the water at + different parts of their body. A shower can be installed in a small shower stall + or bathtub with a plastic shower curtain or door. + """ . + +# +# Properties +# +:hasShowerSeat a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :Boolean ; + rdfs:label "hasShowerSeat" ; + rdfs:comment """ + True if the shower has a seat, False if not. + """ . + +:showerSeatIsFoldable a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :Boolean ; + rdfs:label "showerSeatIsFoldable" ; + rdfs:comment """ + True if the shower seat can be folded, False if not. + """ . + +:showerSeatIsRemovable a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :Boolean ; + rdfs:label "showerSeatIsRemovable" ; + rdfs:comment """ + True if the shower seat can be removed from the shower easily, False if not. + """ . + +:hasInShowerGrabBar a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :GrabBar ; + rdfs:label "hasInShowerGrabBar" ; + # ToDo comment anpassen + rdfs:comment """ + True if has grab bars in the bathroom, false if not and undefined if unknown. + """ . + +:hasIntoShowerGrabBar a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :GrabBar ; + rdfs:label "hasIntoShowerGrabBar" ; + # ToDo comment anpassen + rdfs:comment """ + True if there grab bars in the shower, false if not and undefined if unknown. + """ . + +:hasTransferSeat a rdf:Property ; + :domainIncludes :Shower ; + :rangeIncludes :Boolean ; + rdfs:label "hasTransferSeat" ; + rdfs:comment """ + True if the shower has a transfer seat, false if there is no transfer seat. + """ . diff --git a/knowledge/Stairs.ttl b/knowledge/Stairs.ttl new file mode 100644 index 0000000..3369b2f --- /dev/null +++ b/knowledge/Stairs.ttl @@ -0,0 +1,80 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Stairs. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:Stairs a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "Stairs" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A stairway, staircase, stairwell, flight of stairs, or simply stairs, is a construction designed to + bridge a large vertical distance by dividing it into smaller vertical distances, called steps. + Stairs may be straight, round, or may consist of two or more straight pieces connected at angles. + Special types of stairs include escalators and ladders. Some alternatives to stairs are elevators + (also called lifts), stairlifts and inclined moving walkways. + """ . + +# +# Properties +# +:stepHeight a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "stepHeight" ; + rdfs:comment """ + Indicates how high the steps if these stairs are (can be a range). + """ . + +:hasAntiSlipNosing a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :Boolean ; + rdfs:label "hasAntiSlipNosing" ; + rdfs:comment """ + True if all relevant steps are coated with anti-slip material, False if not. + """ . + +:hasHighContrastNosing a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :Boolean ; + rdfs:label "hasHighContrastNosing" ; + rdfs:comment """ + True if all relevant steps have a visually recognizable high contrast nosing, False if not. + """ . + +:connectedFloorLevels a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :Text ; + rdfs:label "connectedFloorLevels" ; + rdfs:comment """ + The connected floor levels in a multi-storey building, as list, if applicable. Since counting systems + vary internationally, the local system should be used where possible. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the stairs. Can be used for real-time status updates. + """ . + +:incline a rdf:Property ; + :domainIncludes :Stairs ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "incline" ; + rdfs:comment """ + Grade as calculated by rise / run or the tangent of the angle of inclination (e.g. '20%'), or given + as angle of the inclination (e.g. '11.3 degrees'). See Wikipedia for a definition. + """ . + diff --git a/knowledge/Toilet.ttl b/knowledge/Toilet.ttl index fc79f66..6f9b928 100644 --- a/knowledge/Toilet.ttl +++ b/knowledge/Toilet.ttl @@ -39,12 +39,40 @@ :sameAs ; :sameAs ; rdfs:comment """ - A more specific type of [[Toilet]] for standing use and a device in which to urinate while standing ([Wikidata](https://www.wikidata.org/wiki/Q152285)). + A more specific type of [[Toilet]] for standing use and a device in which to urinate while + standing ([Wikidata](https://www.wikidata.org/wiki/Q152285)). """ . +:SeatedToilet a rdfs:Class ; + rdfs:subClassOf :Toilet; + rdfs:label "SeatedToilet" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A more specific type of [[Toilet]] for standing use and a device in which to urinate while + standing ([Wikidata](https://www.wikidata.org/wiki/Q152285)). + """ . + + # # Properties # +:isPortable a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "isPortable" ; + rdfs:comment """ + Denotes a more specific type of Toilet, e.g. used on festivals and construction sites + (see https://en.wikipedia.org/wiki/Portable_toilet). + """ . + +:hasWaterSeal a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "hasWaterSeal" ; + rdfs:comment """ + True if the toilet has a water seal, False if not. + """ . :spaceOnUsersLeftSide a rdf:Property ; :domainIncludes :Toilet ; @@ -54,3 +82,73 @@ Denotes how much space is on the left side of the user (from their perspective while use). This is relevant for accessibility. """ . + +:spaceOnUsersRightSide a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "spaceOnUsersRightSide" ; + rdfs:comment """ + How much space is on the right side of the user. + This is relevant for people with mobility impairments. + """ . + +:spaceInFront a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "spaceInFront" ; + rdfs:comment """ + How much space is on the front of the user. + This is relevant for people with mobility impairments. + """ . + +:usageHeight a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "usageHeight" ; + rdfs:comment """ + Indicates the distance of the toilet bowl opening or sitting height to the floor, if applicable. + This is relevant for people with mobility impairments. + """ . + +:hasGrabBars a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :GrabBar ; + rdfs:label "hasGrabBars" ; + # ToDo comment anpassen + rdfs:comment """ + True if the toilet has a pair of grab bars, or a single grab bar on one side, + False if there is no grab rail. + """ . + +:hasTransferSeat a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "hasTransferSeat" ; + rdfs:comment """ + True if the toilet has a transfer seat, false if there is no transfer seat. + """ . + +:hasHeightAdjustableNursingCouch a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "hasHeightAdjustableNursingCouch" ; + rdfs:comment """ + True if the toilet has a height adjustable nursing couch, false if not. + """ . + +:hasElectricCeilingHoist a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "hasElectricCeilingHoist" ; + rdfs:comment """ + True if the toilet has a has an electric ceiling hoist, false if not. + """ . + +:hasAirtightNappyPail a rdf:Property ; + :domainIncludes :Toilet ; + :rangeIncludes :Boolean ; + rdfs:label "hasAirtightNappyPail" ; + rdfs:comment """ + True if the toilet has an airtight nappy pail, false if not. + """ . + diff --git a/knowledge/Vehicle.ttl b/knowledge/Vehicle.ttl new file mode 100644 index 0000000..de5e831 --- /dev/null +++ b/knowledge/Vehicle.ttl @@ -0,0 +1,30 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Product > Vehicle. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Properties +# +:mobilityService a rdf:Property ; + :domainIncludes :Vehicle ; + :rangeIncludes :MobilityService ; + rdfs:label "mobilityService" ; + rdfs:comment """ + Contains accessibility service information for using the vehicle. + """ . + +:operationalStatus a rdf:Property ; + :domainIncludes :Vehicle ; + :rangeIncludes :OperationalStatus ; + rdfs:label "operationalStatus" ; + rdfs:comment """ + Describes current usability of the vehicle. Can be used for real-time status updates. + """ . + diff --git a/knowledge/VerticalDirectionEnumeration.ttl b/knowledge/VerticalDirectionEnumeration.ttl new file mode 100644 index 0000000..b5acc35 --- /dev/null +++ b/knowledge/VerticalDirectionEnumeration.ttl @@ -0,0 +1,32 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Thing > Property > identifier > verticalDirection. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/39 +# + +# +# Classes +# +:VerticalDirectionEnumeration a rdfs:Class ; + rdfs:subClassOf :Enumeration ; + rdfs:label "VerticalDirectionEnumeration" ; + rdfs:comment """ + Describes a vertical direction up or down. Use this when you want to give information about up or down. + """ . + +:VerticalDirectionUp a :VerticalDirectionEnumeration ; + rdfs:label "VerticalDirectionUp" ; + rdfs:comment """ + Use this when the vertical direction is up. + """ . + +:VerticalDirectionDown a :VerticalDirectionEnumeration ; + rdfs:label "VerticalDirectionDown" ; + rdfs:comment """ + Use this when the vertical direction is down. + """ . \ No newline at end of file diff --git a/knowledge/WashBasin.ttl b/knowledge/WashBasin.ttl new file mode 100644 index 0000000..1d6ff22 --- /dev/null +++ b/knowledge/WashBasin.ttl @@ -0,0 +1,64 @@ +@prefix : . +@prefix todo: . +@prefix rdf: . +@prefix rdfs: . + +# +# This file contains information about Product > WashBasin. +# +# @see https://github.com/schemaorg/suggestions-questions-brainstorming/issues/40 +# + +# +# Classes +# +:WashBasin a rdfs:Class ; + rdfs:subClassOf :Product; + rdfs:label "WashBasin" ; + :sameAs ; + :sameAs ; + rdfs:comment """ + A sink — also known by other names including sinker, washbowl, hand basin, + and wash basin—is a bowl-shaped plumbing fixture used for washing hands, + dishwashing, and other purposes. Sinks have taps (faucets) that supply hot and + cold water and may include a spray feature to be used for faster rinsing. + They also include a drain to remove used water; this drain may itself include a + strainer and/or shut-off device and an overflow-prevention device. + Sinks may also have an integrated soap dispenser. + """ . + +# +# Properties +# +:topHeight a rdf:Property ; + :domainIncludes :WashBasin ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "topHeight" ; + rdfs:comment """ + Defines at which height is the wash basin's top + """ . + +:bottomClearance a rdf:Property ; + :domainIncludes :WashBasin ; + :rangeIncludes :QuantitativeValue ; + rdfs:label "bottomClearance" ; + rdfs:comment """ + How high is the space below the basin? This is relevant for + people using a wheelchair. + """ . + +:hasTransferSeat a rdf:Property ; + :domainIncludes :WashBasin ; + :rangeIncludes :Boolean ; + rdfs:label "hasTransferSeat" ; + rdfs:comment """ + True if the wash basin has a transfer seat, false if there is no transfer seat. + """ . + +:heightAdjustable a rdf:Property ; + :domainIncludes :WashBasin ; + :rangeIncludes :Boolean ; + rdfs:label "heightAdjustable" ; + rdfs:comment """ + True if the wash basin is height adjustable, false if not. + """ . From 49cbe7963d6dee70d3b23353c08f09de331e8a5a Mon Sep 17 00:00:00 2001 From: Felix Zappe Date: Thu, 25 Feb 2021 15:32:41 +0100 Subject: [PATCH 17/18] Update CI to test renamed files correctly --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11546d0..1194146 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,32 +9,32 @@ jobs: - uses: actions/checkout@v2 # find a way to validate all files at once - - name: Validate + - name: Validate Portal.ttl uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Portal.ttl - - name: Validate + - name: Validate GroundSurfaceEnumeration.ttl uses: vemonet/jena-riot-action@v3.14 with: - input: knowledge/GroundSurface.ttl + input: knowledge/GroundSurfaceEnumeration.ttl - - name: Validate + - name: Validate Place.ttl uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Place.ttl - - name: Validate + - name: Validate Product.ttl uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Product.ttl - - name: Validate + - name: Validate Thing.ttl uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Thing.ttl - - name: Validate + - name: Validate Toilet.ttl uses: vemonet/jena-riot-action@v3.14 with: input: knowledge/Toilet.ttl From c31680cadb6ede3ce2114dbdc53246713c1ab0c2 Mon Sep 17 00:00:00 2001 From: Hamza Demir Date: Wed, 3 Mar 2021 09:21:03 +0100 Subject: [PATCH 18/18] add commits to .ttl files --- knowledge/Shower.ttl | 6 ++---- knowledge/Toilet.ttl | 4 +--- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/knowledge/Shower.ttl b/knowledge/Shower.ttl index e83a228..b1faa5b 100644 --- a/knowledge/Shower.ttl +++ b/knowledge/Shower.ttl @@ -59,18 +59,16 @@ :domainIncludes :Shower ; :rangeIncludes :GrabBar ; rdfs:label "hasInShowerGrabBar" ; - # ToDo comment anpassen rdfs:comment """ - True if has grab bars in the bathroom, false if not and undefined if unknown. + Describes grab bar that you can use to get into the shower. """ . :hasIntoShowerGrabBar a rdf:Property ; :domainIncludes :Shower ; :rangeIncludes :GrabBar ; rdfs:label "hasIntoShowerGrabBar" ; - # ToDo comment anpassen rdfs:comment """ - True if there grab bars in the shower, false if not and undefined if unknown. + Describes grab bar while using the shower. """ . :hasTransferSeat a rdf:Property ; diff --git a/knowledge/Toilet.ttl b/knowledge/Toilet.ttl index 6f9b928..081280c 100644 --- a/knowledge/Toilet.ttl +++ b/knowledge/Toilet.ttl @@ -114,10 +114,8 @@ :domainIncludes :Toilet ; :rangeIncludes :GrabBar ; rdfs:label "hasGrabBars" ; - # ToDo comment anpassen rdfs:comment """ - True if the toilet has a pair of grab bars, or a single grab bar on one side, - False if there is no grab rail. + Grab Bars next to the toilet. """ . :hasTransferSeat a rdf:Property ;