what is the {series ordinal} for {Pierre Beaumarchais} has {given name} as {Pierre} ?
In what series did Pierre Beaumarchais play a character with his first name?
What are the series ordinal for Pierre Beaumarchais whose given name is Pierre?
SELECT ?w WHERE { ?i property:given_name resource:Pierre . resource:Pierre_Beaumarchais property:given_name ?i . ?i property:series_ordinal ?w }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q70326> .
?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> <http://wikidata.dbpedia.org/resource/Q2093070> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q70326 p:P735 ?s . ?s ps:P735 wd:Q2093070 . ?s pq:P1545 ?value}