what is the {series ordinal} for {Evo Morales} has {position held} as {President of Bolivia} ?
Tell me the series ordinal of the President of Bolivia, Evo Morales.
What are the series ordinal of Evo Morales, the President of Bolivia?
SELECT ?z WHERE { ?s property:position_held resource:President_of_Bolivia . ?s property:series_ordinal ?z . resource:Evo_Morales property:position_held ?s }
select distinct ?value  where {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q42410> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P39> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q373548> .
?statement <http://www.wikidata.org/entity/P1545> ?value. 
} 

SELECT ?value WHERE { wd:Q42410 p:P39 ?s . ?s ps:P39 wd:Q373548 . ?s pq:P1545 ?value}