What is {apoapsis} of {Jupiter} that is {relative to} is {Sun} ?
How far away Jupiter is from the sun?
What is the distance of Jupiter from the Sun?
SELECT ?x WHERE { ?r property:relative_to resource:Sun . resource:Jupiter property:apoapsis ?r . ?r property:apoapsis ?x }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q319> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2243> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P2210> <http://wikidata.dbpedia.org/resource/Q525>
} 

SELECT ?obj WHERE { wd:Q319 p:P2243 ?s . ?s ps:P2243 ?obj . ?s pq:P2210 wd:Q525 }