what is the {number of children} for {Elton John} has {spouse} as {David Furnish} ?
David Furnish and Elton John have how many children?
How many children does Elton John and his spouse David Furnish have?
SELECT ?n WHERE { ?w property:spouse resource:David_Furnish . resource:Elton_John property:spouse ?w . ?w property:number_of_children ?n }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q2808> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P26> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1174489> .
?statement <http://www.wikidata.org/entity/P1971> ?value. 
} 

SELECT ?value WHERE { wd:Q2808 p:P26 ?s . ?s ps:P26 wd:Q1174489 . ?s pq:P1971 ?value}