What is {astronaut mission} of {David Scott} that is {series ordinal} is {1} ?
As an astronaut what was the first mission of David Scott?
What was David Scott's first mission as an astronaut?
SELECT ?v WHERE { FILTER ( ?p = 1 ) . ?l property:series_ordinal ?p . ?l property:astronaut_mission ?v . resource:David_Scott property:astronaut_mission ?l }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q278656> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P450> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .
?statement <http://www.wikidata.org/entity/P1545> <1>
} 

SELECT ?obj WHERE { wd:Q278656 p:P450 ?s . ?s ps:P450 ?obj . ?s pq:P1545 ?x filter(contains(?x , '1')) }