What is {astronaut mission} of {Neil Armstrong} that is {series ordinal} is {2} ?
What was astronaut Neil Armstrong's second mission?
What was the second astronaut mission of Neil Armstrong?
SELECT ?g WHERE { ?d property:series_ordinal ?x . ?d property:astronaut_mission ?g . resource:Neil_Armstrong property:astronaut_mission ?d . FILTER ( CONTAINS ( ?x , '2' ) ) }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1615> .
?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> <2>
} 

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