What is {apparent magnitude} of {4 Vesta} that is {applies to part} is {maximum} ?
Tell me 4 Vesta's maximum magniture.
What is the maximum magniture of 4 Vesta?
SELECT ?p WHERE { ?s property:apparent_magnitude ?p . ?s property:applies_to_part resource:maximum . resource:4_Vesta property:apparent_magnitude ?s }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3030> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1215> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P518> <http://wikidata.dbpedia.org/resource/Q10578722>
} 

SELECT ?obj WHERE { wd:Q3030 p:P1215 ?s . ?s ps:P1215 ?obj . ?s pq:P518 wd:Q10578722 }