What is the {Wikimedia list article} for {is a list of} of {fairy tale}
Which wiki article contains a list of fairy tales?
What is the wiki article for a list of fairy tales?
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Wikimedia_list_article . ?d property:is_a_list_of resource:fairy_tale }
select distinct ?subj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?subj . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P360> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q699> . ?subj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q13406463> } 
 select distinct ?sbj where { ?sbj wdt:P360 wd:Q699 . ?sbj wdt:P31 wd:Q13406463 } 