What is {motto} of {branch} of {William IV of the United Kingdom} ?
WHAT SAYS ABOUT THE BRANCH OF WILLIAM IV OF UNITED KINGDOM
What is the saying for the branch of William IV of the United Kingdom?
SELECT ?y WHERE { ?q property:motto ?y . resource:William_IV property:military_branch ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q130822> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P241>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1546> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q130822 wdt:P241 ?X . ?X wdt:P1546 ?answer}
Si vis pacem, para bellum