Created
August 9, 2022 13:47
-
-
Save quoll/32ecbafe87229ddabced1e88f960581f to your computer and use it in GitHub Desktop.
An inefficient approach to identifying intersection membership
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
construct { ?x a ?i } | |
where { ?i owl:intersectionOf ?l . | |
?l rdf:rest*/rdf:first ?c . | |
?x a ?c | |
MINUS { | |
?l rdf:rest*/rdf:first ?d . | |
?l rdf:rest*/rdf:first ?d2 . | |
FILTER ( ?d != ?d2 ) | |
?x a ?d MINUS { ?x a ?d2 } | |
} } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment