Question: What is the native label for a political party that includes William Powell (the one that is the member of political party Liberal Democrats) ?
Choices:
українці
Россия
Democratic Unionist Party
Liberal Democrats
ಬೆಂಗಳೂರು
The Royal Victorian Chain
Contae Port Láirge
Universität Leipzig
Αθήνα
Town of Huntington
Program:
function: Find
inputs: Liberal Democrats
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: William Powell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of political party
forward
function: FilterConcept
dependencies: 4
inputs: political party
function: QueryAttr
dependencies: 5
inputs: native label
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "political party" . ?e_1 <member_of_political_party> ?e . ?e_1 <pred:name> "William Powell" . ?e_1 <member_of_political_party> ?e_2 . ?e_2 <pred:name> "Liberal Democrats" .  ?e <native_label> ?pv .  }
Answer: Liberal Democrats