Give me {literary work} that {has edition} {The thousand and one nights, commonly called, in England, the Arabian nights' entertainments} and which contains the word {nights} in their name
Tell me the literary work of the version of The thousand and one nights, usually called, in England as the Arabian night's entertainments and that includes the word nights in it is name?
Tell me the literary work of the edition of The thousand and one nights, commonly called, in England as the Arabian night's entertainments and that contains the word nights in it's name?
SELECT DISTINCT ?w WHERE { FILTER ( CONTAINS ( LCASE ( ?w ) , 'nights' ) ) . ?w rdf:type ontology:literary_work . ?w property:edition resource:The_thousand_and_one_nights,_commonly_called,_in_England,_the_Arabian_nights'_entertainments }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q7725634>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P747> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q60674980>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'nights')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q7725634 . ?sbj wdt:P747 wd:Q60674980 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'nights')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
One Thousand and One Nights One Thousand and One Nights