Closed lewismc closed 4 years ago
Are they mostly like the case you explain here - i.e. datatype<->annotation properties? Are the annotation properties done thoughtfully/intentionally, or is it a bit crufty? If all those cnflicts were resolved as datatype proeprties, how many clashes woudl be left?
Are they mostly like the case you explain here - i.e. datatype<->annotation properties?
No there are loads of AnnotationProperty<->ObjectProperty illegal declarated puns as well.
Are the annotation properties done thoughtfully/intentionally, or is it a bit crufty?
It would appear that they don't make much sense... so the latter.
If all those cnflicts were resolved as datatype proeprties, how many clashes woudl be left?
I can't tell right now. I would need to go out on a fishing trip here... I don't really want to do that with #165 still open because I'm going to create a mountain-worth of conflicts.
grepping the attached file, it looks like there are over 3000 such WARN log statements. I think this is going to be a big task as well.
I will create a pull request that will amend most of these bad punnings, but there are some that require domain expert knowledge:
hasLowerQuantity
inrelasci.ttl
is delcared as both data and object property.hasQuantity
inrelasci.ttl
is delcared as both data and object property.hasUpperQuantity
inrelasci.ttl
is delcared as both data and object property.rangeOf
inrelasci.ttl
is delcared as both data and object property.
Edit: these have been fixed.
Pull request #171 leaves only the issues in relasci.ttl
open.
I found another illegal construct, that forces a property to be both object and data:
sorelm:hasDimension
is declared as data property and used as such everywhere except in this declaration. Here, allValuesFrom soreps:Space
forces it to be considered an object property.
Possibly the restriction should be a data range instead of a class?
### http://sweetontology.net/reprSpaceReferenceSystem/SpatialReferenceSystem
sorepsrs:SpatialReferenceSystem rdf:type owl:Class ;
rdfs:subClassOf sorep:ReferenceFrame ,
[ rdf:type owl:Restriction ;
owl:onProperty sorelm:hasDimension ;
owl:allValuesFrom soreps:Space
]
Addressed in #171
SWEET makes extensive use of OWL2 punning but does not comply with the restrictions of OWL2 DL.
An example is the initial definition of property hasIntegerValue
... and then the pun, where the same IRI is redefined as follows
Further, In this example, the DatatypeProperty is used to define of NamedIndividuals (which is absolutely fine). The point here is however that the AnnotationProperty is never used.
However it is stated that...
This issue is pervasive.