Give me {tourist attraction} that {main building contractor} {Hazama Corporation} and which that starts with {'p'}
Which is the vacationer attraction of the major constructing contractor of Hazama Corporation which begins with the letter p?
Which is the tourist attraction of the main building contractor of Hazama Corporation which starts with the letter p?
SELECT DISTINCT ?u WHERE { FILTER ( STRSTARTS ( LCASE ( ?u ) , 'p' ) ) . ?u rdf:type ontology:tourist_attraction . ?u property:main_building_contractor resource:Hazama_Ando_Corporation }
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/Q570116>. ?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/P193> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q4410214>. ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'p')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q570116 . ?sbj wdt:P193 wd:Q4410214 . ?sbj rdfs:label ?sbj_label . FILTER(STRSTARTS(lcase(?sbj_label), 'p')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Petronas Towers Petronas Towers