Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strategy and strategy are back in the ontology #149

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
.idea/
*__pycache__
.DS_Store
ontology/widoco-1.4.25-jar-with-dependencies_JDK-17.jar
/ontology/tmp
ontology/widoco.jar
5 changes: 5 additions & 0 deletions ontology/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# How to generate the documentation
* Download and install [WIDOCO](https://github.com/dgarijo/Widoco/releases) in this folder. Make sure you do not commit the jar file.
* Run the following command: `java -jar widoco.jar -ontFile rml-core.owl -outFolder tmp -crossRef`

The only things that are generated are the overview and the cross reference sections. These are generated in the folder `./tmp/doc`. The `tmp` folder is ignored. If the generation was successful, move the contents of `./tmp/doc` to `./documentation`.
29 changes: 29 additions & 0 deletions ontology/documentation/ontology.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,19 @@
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Reference Object Map"
} ]
}, {
"@id" : "http://w3id.org/rml/Strategy",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "Denotes a strategy to perform a action (e.g. gather for collections and containers, joins)."
} ],
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ {
"@id" : "http://w3id.org/rml/core/"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "Strategy"
} ]
}, {
"@id" : "http://w3id.org/rml/SubjectMap",
"@type" : [ "http://www.w3.org/2002/07/owl#Class" ],
Expand Down Expand Up @@ -849,6 +862,22 @@
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://www.w3.org/2001/XMLSchema#string"
} ]
}, {
"@id" : "http://w3id.org/rml/strategy",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
"http://www.w3.org/2000/01/rdf-schema#comment" : [ {
"@language" : "en",
"@value" : "A Strategy element to indicate how to perform an action (e.g. gather for collections and containers, join)."
} ],
"http://www.w3.org/2000/01/rdf-schema#isDefinedBy" : [ {
"@id" : "http://w3id.org/rml/core/"
} ],
"http://www.w3.org/2000/01/rdf-schema#label" : [ {
"@value" : "strategy"
} ],
"http://www.w3.org/2000/01/rdf-schema#range" : [ {
"@id" : "http://w3id.org/rml/Strategy"
} ]
}, {
"@id" : "http://w3id.org/rml/subject",
"@type" : [ "http://www.w3.org/2002/07/owl#ObjectProperty" ],
Expand Down
13 changes: 13 additions & 0 deletions ontology/documentation/ontology.nt
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,13 @@ _:genid7 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/20
<http://w3id.org/rml/predicateObjectMap> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://w3id.org/rml/core/> .
<http://w3id.org/rml/predicateObjectMap> <http://www.w3.org/2000/01/rdf-schema#label> "predicate object map" .
#
# http://w3id.org/rml/strategy
<http://w3id.org/rml/strategy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
<http://w3id.org/rml/strategy> <http://www.w3.org/2000/01/rdf-schema#range> <http://w3id.org/rml/Strategy> .
<http://w3id.org/rml/strategy> <http://www.w3.org/2000/01/rdf-schema#comment> "A Strategy element to indicate how to perform an action (e.g. gather for collections and containers, join)."@en .
<http://w3id.org/rml/strategy> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://w3id.org/rml/core/> .
<http://w3id.org/rml/strategy> <http://www.w3.org/2000/01/rdf-schema#label> "strategy" .
#
# http://w3id.org/rml/subject
<http://w3id.org/rml/subject> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#ObjectProperty> .
<http://w3id.org/rml/subject> <http://www.w3.org/2000/01/rdf-schema#domain> <http://w3id.org/rml/TriplesMap> .
Expand Down Expand Up @@ -451,6 +458,12 @@ _:genid10 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2
<http://w3id.org/rml/RefObjectMap> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://w3id.org/rml/core/> .
<http://w3id.org/rml/RefObjectMap> <http://www.w3.org/2000/01/rdf-schema#label> "Reference Object Map" .
#
# http://w3id.org/rml/Strategy
<http://w3id.org/rml/Strategy> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://w3id.org/rml/Strategy> <http://www.w3.org/2000/01/rdf-schema#comment> "Denotes a strategy to perform a action (e.g. gather for collections and containers, joins)."@en .
<http://w3id.org/rml/Strategy> <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <http://w3id.org/rml/core/> .
<http://w3id.org/rml/Strategy> <http://www.w3.org/2000/01/rdf-schema#label> "Strategy" .
#
# http://w3id.org/rml/SubjectMap
<http://w3id.org/rml/SubjectMap> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/07/owl#Class> .
<http://w3id.org/rml/SubjectMap> <http://www.w3.org/2000/01/rdf-schema#subClassOf> <http://w3id.org/rml/TermMap> .
Expand Down
23 changes: 23 additions & 0 deletions ontology/documentation/ontology.rdf
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,18 @@



<!-- http://w3id.org/rml/strategy -->


<owl:ObjectProperty rdf:about="http://w3id.org/rml/strategy">
<rdfs:range rdf:resource="http://w3id.org/rml/Strategy"/>
<rdfs:comment xml:lang="en">A Strategy element to indicate how to perform an action (e.g. gather for collections and containers, join).</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://w3id.org/rml/core/"/>
<rdfs:label>strategy</rdfs:label>
</owl:ObjectProperty>



<!-- http://w3id.org/rml/subject -->


Expand Down Expand Up @@ -741,6 +753,17 @@



<!-- http://w3id.org/rml/Strategy -->


<owl:Class rdf:about="http://w3id.org/rml/Strategy">
<rdfs:comment xml:lang="en">Denotes a strategy to perform a action (e.g. gather for collections and containers, joins).</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://w3id.org/rml/core/"/>
<rdfs:label>Strategy</rdfs:label>
</owl:Class>



<!-- http://w3id.org/rml/SubjectMap -->


Expand Down
15 changes: 15 additions & 0 deletions ontology/documentation/ontology.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,14 @@
rdfs:label "predicate object map" .


### http://w3id.org/rml/strategy
<http://w3id.org/rml/strategy> rdf:type owl:ObjectProperty ;
rdfs:range <http://w3id.org/rml/Strategy> ;
rdfs:comment "A Strategy element to indicate how to perform an action (e.g. gather for collections and containers, join)."@en ;
rdfs:isDefinedBy <http://w3id.org/rml/core/> ;
rdfs:label "strategy" .


### http://w3id.org/rml/subject
<http://w3id.org/rml/subject> rdf:type owl:ObjectProperty ;
rdfs:domain <http://w3id.org/rml/TriplesMap> ;
Expand Down Expand Up @@ -472,6 +480,13 @@
rdfs:label "Reference Object Map" .


### http://w3id.org/rml/Strategy
<http://w3id.org/rml/Strategy> rdf:type owl:Class ;
rdfs:comment "Denotes a strategy to perform a action (e.g. gather for collections and containers, joins)."@en ;
rdfs:isDefinedBy <http://w3id.org/rml/core/> ;
rdfs:label "Strategy" .


### http://w3id.org/rml/SubjectMap
<http://w3id.org/rml/SubjectMap> rdf:type owl:Class ;
rdfs:subClassOf <http://w3id.org/rml/TermMap> ;
Expand Down
Loading
Loading