What is {disease} of {son of} of {Daniel Wayne Smith} ?
what disease does Daniel Wayne Smith's son suffer from?
Which disease does Daniel Wayne Smith's son suffer from?
SELECT ?l WHERE { ?g property:medical_condition ?l . resource:Daniel_Wayne_Smith property:mother ?g }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2566243> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P25>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1050> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q2566243 wdt:P25 ?X . ?X wdt:P1050 ?answer}
borderline personality disorder