-
Notifications
You must be signed in to change notification settings - Fork 29
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
skos:prefLabel etc entailment not showing up in rdfs:label #77
Comments
So, to be clear, if you require RDF::Vocab::SKOS.prefLabel.entail(:subPropertyOf).map(&:pname) # => [ "rdfs:label", "skos:prefLabel" ] But, RDF::RDFS.label.entail(:subProperty).map(&:pname) # => [ "rdfs:label" ] and you'd expect it to include everything that has a subPropertyOf relationship back to I'll need to look into this, such entailments work for other vocabularies, as contained within the specs. It may be related to |
indeed:
that's with |
Sorry to take so long to respond to this issue. If you look at the documentation for RDF::Reasoner::RDFS.subProperty, you'll see that it works within the vocabulary in which it is defined as well as vocabularies which import that vocabulary.
So, for RDFS.label.subProperty to include SKOS.prefLabel, SKOS would need to do an |
Hey, just noticed that (after applying
RDF::Reasoner
),skos:prefLabel
/skos:altLabel
/skos:hiddenLabel
.subPropertyOf
points tordfs:label
but not the other other way around. Haven't looked at the code for a while so not sure why that would be the case.The text was updated successfully, but these errors were encountered: