What is {given name} of {Peggy Lee} that is {series ordinal} is {2} ?
What is Peggy Lee's central name?
What is Peggy Lee's middle name?
SELECT ?i WHERE { ?m property:given_name ?i . FILTER ( CONTAINS ( ?j , '2' ) ) . ?m property:series_ordinal ?j . resource:Peggy_Lee property:given_name ?m }
select distinct ?obj  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q229139> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P735> .
?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:Q229139 p:P735 ?s . ?s ps:P735 ?obj . ?s pq:P1545 ?x filter(contains(?x , '2')) }