Question: Which president of the United States had vice president as John Adams?
SPARQL query: SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/vicePresident> <http://dbpedia.org/resource/John_Adams>  . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Answer: [George Washington] is the officeholder whose vice president is John Adams.