What is {subtopic of} of {history of Tennessee}, that has {Q48460} is {2--768} ?
What is the subtopic of the history of Tennessee, that has Q48460 and is 2768?
What is the subtopic of the history of Tennessee, that has Q48460 and is 2768?
SELECT ?f WHERE { ?f property:Dewey_Decimal_Classification ?c . resource:history_of_Tennessee property:facet_of ?f . FILTER ( CONTAINS ( ?c , '2--768' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5866796> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1269>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1036> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <2--768> . }
SELECT ?answer WHERE { wd:Q5866796 wdt:P1269 ?answer . ?answer wdt:P1036 ?x FILTER(contains(?x , '2--768'))}