Skip to content

Instantly share code, notes, and snippets.

@KonradHoeffner
Last active November 17, 2016 14:02
Show Gist options
  • Save KonradHoeffner/1b415cdec5d2e14af3f004af722132e2 to your computer and use it in GitHub Desktop.
Save KonradHoeffner/1b415cdec5d2e14af3f004af722132e2 to your computer and use it in GitHub Desktop.
select distinct ?c ?x
{
?c a owl:Class.
?c rdfs:subClassOf* ?x.
filter(?x = meta:EntityType)
#filter(?x = meta:Function OR ?x = meta:Role OR ?x = meta:EntityType)
filter not exists {?c meta:subTopClass ?x.}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment