Question: Was William McKinley educated at the Allegheny College and the New York Law School?
Paraphrase: Did William McKinley receive his education at the Allegheny College and the New York Law School?
SPARQL (Wikidata): ASK WHERE { wd:Q35041 wdt:P69 wd:Q4062566 . wd:Q35041 wdt:P69 wd:Q3339059 }