What is {school attended} of {Patti Smith}, that has {full title} is {New Jersey State Teachers College at Glassboro} ?
"Which is {school attended} of {Patti Smith}, whose {full title} is {New Jersey State Teachers College at Glassboro} ?"
"Which is {school attended} of {Patti Smith}, whose {full title} is {New Jersey State Teachers College at Glassboro} ?"
SELECT ?a WHERE { ?a property:official_name ?o . resource:Patti_Smith property:educated_at ?a . FILTER ( CONTAINS ( ?o , 'New Jersey State Teachers College at Glassboro' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q557> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69>. ?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/P1448> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <New Jersey State Teachers College at Glassboro> . }
SELECT ?answer WHERE { wd:Q557 wdt:P69 ?answer . ?answer wdt:P1448 ?x FILTER(contains(?x , 'New Jersey State Teachers College at Glassboro'))}