Question: Is true that Mecca was the capital of Makkah Region and Hejaz Vilayet?
Paraphrase: Was the capital of Makkah Region and Hejaz Vilayet Mecca?
SPARQL (Wikidata): ASK WHERE { wd:Q5806 wdt:P1376 wd:Q234167 . wd:Q5806 wdt:P1376 wd:Q3558385 }