Update ontology file to include definitions for rml:FilePath - #174
Conversation
| <http://purl.org/dc/terms/created> "2023-03-14" ; | ||
| <http://purl.org/dc/terms/description> "RML-IO enables the description of input data sources and target output data serialization "@en ; | ||
| <http://purl.org/dc/terms/license> <http://purl.org/NET/rdflicense/cc-by4.0> ; | ||
| <http://purl.org/dc/terms/modified> "2025-01-18" ; |
There was a problem hiding this comment.
Shouldn't this date be updated as well??
| rdfs:domain [ rdf:type owl:Class ; | ||
| owl:unionOf ( <http://w3id.org/rml/FilePath> | ||
| <http://w3id.org/rml/RelativePath> | ||
| ) | ||
| ] ; |
There was a problem hiding this comment.
This change seems to be in contradiction to the RML-IO spec: In Section 3.3 of that spec (you need to scroll a bit further down), there is a table which says that the (only) domain of rml:root is rml:FilePath, not the union of rml:FilePath and rml:RelativePath.
Also, rml:RelativePath is not actually mentioned in the RML-IO spec.
| rdfs:domain [ rdf:type owl:Class ; | ||
| owl:unionOf ( <http://w3id.org/rml/FilePath> | ||
| <http://w3id.org/rml/LogicalSource> | ||
| ) | ||
| ] ; |
There was a problem hiding this comment.
Same type of contradiction for this one: The table a bit further down in Section 3.3 of the RML-IO spec says that the (only) domain of rml:path is rml:FilePath, not the union of rml:FilePath and rml:LogicalSource. And, I don't find an example in the RML-IO spec (and also not in the RML-Core spec) where an rml:LogicalSource has an rml:path property.
Fixes #170 by defining rml:FilePath in the ontology file https://github.com/kg-construct/rml-io/blob/main/ontology/rml-io.owl