Skip to content

Instantly share code, notes, and snippets.

@RichardWallis
Created August 25, 2016 17:53
Show Gist options
  • Save RichardWallis/05747d4f3abc1278a1938a313744f8ce to your computer and use it in GitHub Desktop.
Save RichardWallis/05747d4f3abc1278a1938a313744f8ce to your computer and use it in GitHub Desktop.
select * where {
{
graph ?g {
?s rdfs:subClassOf <http://schema.org/Enumeration> .
}
}
Union
{
graph ?g{
?s rdfs:subClassOf ?s2.
?s2 rdfs:subClassOf <http://schema.org/Enumeration> .
}
}
Union
{
graph ?g{
?s rdfs:subClassOf ?s3.
?s3 rdfs:subClassOf ?s2.
?s2 rdfs:subClassOf <http://schema.org/Enumeration> .
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment