Question: How many stars are in the same galaxy as Jupiter?
Paraphrase: What is the total number of stars in the galaxy that contains the planet Jupiter?
SPARQL (Wikidata):  select distinct ?sbj where { ?sbj wdt:P398 wd:Q319 . ?sbj wdt:P31 wd:Q3592493 } 
Answer: Sun