Give me {musical} that {lyrics by} {Stephen Sondheim} and which contains the word {woods} in their name
Tell me me a musical whose title consist of the phrase "woods" and whose lyrics through Stephen Sondheim
Tell me me a musical  whose name consist of the word "woods" and whose lyrics by Stephen Sondheim
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:musical . FILTER ( CONTAINS ( LCASE ( ?h ) , 'woods' ) ) . ?h property:lyrics_by resource:Stephen_Sondheim }
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/Q2743>. ?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/P676> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q153579>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'woods')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q2743 . ?sbj wdt:P676 wd:Q153579 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'woods')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Into the Woods Into the Woods