What is {husband} of {Paul Simon}, that has {number of children±0} is {1.0} ?
"Who is Paul Simon's husband and has a number of kids+0 who are 1.0?"
"Who's husband is Paul Simon, and has a number of children+0 that are 1.0 ?"
SELECT ?i WHERE { ?i property:number_of_children ?f . resource:Paul_Simon property:spouse ?i . FILTER ( CONTAINS ( ?f , '1.0' ) ) }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q4028> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26>. ?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/P1971> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <1.0> . }
SELECT ?answer WHERE { wd:Q4028 wdt:P26 ?answer . ?answer wdt:P1971 ?x FILTER(contains(?x , '1.0'))}