-
Notifications
You must be signed in to change notification settings - Fork 9
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
New features proposed in issues implemented in the ontology #136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @anaigmo. Some minor comments
ontology/documentation/ontology.ttl
Outdated
@@ -193,7 +200,12 @@ | |||
|
|||
### http://w3id.org/rml/logicalTarget | |||
<http://w3id.org/rml/logicalTarget> rdf:type owl:ObjectProperty ; | |||
rdfs:domain <http://w3id.org/rml/TermMap> ; | |||
rdfs:domain [ rdf:type owl:Class ; | |||
owl:unionOf ( <http://w3id.org/rml/DatatypeMap> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<http://w3id.org/rml/DatatypeMap>
can be removed
ontology/documentation/ontology.ttl
Outdated
@@ -496,6 +496,27 @@ | |||
rdfs:label "Triples Map" . | |||
|
|||
|
|||
### http://w3id.org/rml/URI | |||
<http://w3id.org/rml/URI> rdf:type owl:Class ; | |||
rdfs:comment "Denotes an URI, used with termType."@en ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:comment "Denotes an URI, used with termType."@en ; | |
rdfs:comment "Denotes a URI, used with termType."@en ; |
ontology/rml-core.owl
Outdated
rdfs:domain :TermMap ; | ||
rdfs:domain [ rdf:type owl:Class ; | ||
owl:unionOf ( :TermMap | ||
:DatatypeMap |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:DatatypeMap
can be removed
ontology/rml-core.owl
Outdated
|
||
### http://w3id.org/rml/URI | ||
:URI rdf:type owl:Class ; | ||
rdfs:comment "Denotes an URI, used with termType."@en ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:comment "Denotes an URI, used with termType."@en ; | |
rdfs:comment "Denotes a URI, used with termType."@en ; |
ontology/rml-core.owl
Outdated
### http://w3id.org/rml/baseIRI | ||
:baseIRI rdf:type owl:ObjectProperty ; | ||
rdfs:domain :TriplesMap ; | ||
rdfs:comment "Indicates the base IRI of the RDF graph to be created."@en ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rdfs:comment "Indicates the base IRI of the RDF graph to be created."@en ; | |
rdfs:comment "Indicates the base IRI of the RDF graph to be created with this triples map."@en ; |
Updated files according to @pmaria 's review in last commit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one minor comment on the definition of baseIRI. Once that is fixed we can merge it
ontology/rml-core.owl
Outdated
### http://w3id.org/rml/baseIRI | ||
:baseIRI rdf:type owl:ObjectProperty ; | ||
rdfs:domain :TriplesMap ; | ||
rdfs:comment "Indicates the base IRI of the RDF graph to be created within a triples map."@en ; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Within is a bit odd, with is better since it indicates that this triples map is used to generate a graph with.
rdfs:comment "Indicates the base IRI of the RDF graph to be created within a triples map."@en ; | |
rdfs:comment "Indicates the base IRI of the RDF graph to be created with a triples map."@en ; |
Oki, now that definition is fixed :) |
I looked at @anaigmo and @pmaria's work in the spec and shapes. I just want to confirm, unlike @dachafra's proposal of "pushing it further", Also, do we keep base IRIs as input in the configuration (overwritten by |
Yest that is how I understood it, and how it is defined in the ontology now.
Yes, the former would be my preference as well. I think we should also explicitly define a default in the spec for if no baseIRI is provided via configuration. |
This PR includes new features in the ontology and related documentation, solving the following issues:
rml:UnsafeIRI
andrml:UnsafeURI
to ontology, shapes and specrml:URI
to ontology, shapes and specrml:baseIRI
property to ontology, shapes and specrml:Strategy
andrml:strategy
to RML-CC