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

884 fix patch #889

Merged
merged 5 commits into from
Jul 19, 2021
Merged
Changes from 4 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
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT DISTINCT ?entity ?property ?value WHERE {
{
VALUES ?property {
owl:equivalentClass
rdfs:subClassOf
}
?entity a owl:Class;
owl:deprecated true ;
?property ?value .
FILTER ( ?value NOT IN (oboInOwl:ObsoleteClass, owl:Thing) )
}
UNION
{
VALUES ?property {
owl:equivalentClass
owl:disjointWith
}
?entity a owl:Class;
Expand All @@ -28,7 +37,7 @@ SELECT DISTINCT ?entity ?property ?value WHERE {
rdfs:subClassOf
}
?entity a owl:Class;
owl:deprecated true .
owl:deprecated true .
?value ?property ?entity .
}
UNION
Expand All @@ -52,6 +61,21 @@ SELECT DISTINCT ?entity ?property ?value WHERE {
?entity ?x ?rest .
?rest a owl:Restriction ;
?property ?value .
FILTER(!isBlank(?entity))
}
UNION
{
VALUES ?property {
owl:someValuesFrom
owl:allValuesFrom
}
?value a owl:Class ;
owl:deprecated true .
?e ?x ?rest .
?rest a owl:Restriction ;
?property ?value .
FILTER(isBlank(?e))
BIND("Use in anonymous expression" as ?entity)
}
}
ORDER BY ?entity
ORDER BY ?entity