Question: When did Pedro Martinez stop playing for the Boston Red Sox?
SPARQL (Wikidata): SELECT ?value WHERE { wd:Q726918 p:P54 ?s . ?s ps:P54 wd:Q213959 . ?s pq:P582 ?value}