Simple Question (Direct)
Simple Question
Q1970048
P937
Q56061
USER
What is the location where Gennady Burbulis worked ?
(Q1970048,P937,c(Q56061))
action filter_type
action find
entity Q1970048
relation P937
type Q56061
['Q1970048', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1970048 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Gennady Burbulis
action filter_type
action find
entity Gennady Burbulis
relation work location
type administrative territorial entity
['Gennady Burbulis', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gennady_Burbulis property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
(Q1970048,P937,c(Q56061))
action filter_type
action find
entity Q1970048
relation P937
type Q56061
The location Gennady Burbulis worked is in [ANSWER]
['Q1970048', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1970048 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Moscow
The location Gennady Burbulis worked is in Moscow
Moscow
action filter_type
action find
entity Gennady Burbulis
relation work location
type administrative territorial entity
['Gennady Burbulis', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Gennady_Burbulis property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1970048
P102
Q7278
USER
Which political party is that person a member of ?
(Q649,P102,c(Q7278))
action filter_type
action find
entity Q1970048
relation P102
type Q7278
['Q649', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7278 . resource:Q1970048 property:P102 ?y }
Gennady Burbulis
action filter_type
action find
entity Gennady Burbulis
relation member of political party
type political party
['Moscow', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_party . resource:Gennady_Burbulis property:member_of_political_party ?y }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q649,P102,c(Q7278))
action filter_type
action find
entity Q1970048
relation P102
type Q7278
The [ANSWER] is that person a member of
['Q649', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q7278 . resource:Q1970048 property:P102 ?y }
Communist Party of the Soviet Union
The Communist Party of the Soviet Union is that person a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Gennady Burbulis
relation member of political party
type political party
['Moscow', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_party . resource:Gennady_Burbulis property:member_of_political_party ?y }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q79854 Q649 Q5773179
P159
Q56061
USER
Does that political party have its head office location at Moscow and Naqasheh ?
(Q79854,P159,Q649) (Q79854,P159,Q5773179)
action is_in
entity Q79854
action intersection
action find_reverse
entity Q649
relation P159
action find_reverse
entity Q5773179
relation P159
['Q79854', 'P159', 'Q649'] ['Q79854', 'P159', 'Q5773179']
ASK WHERE { resource:Q79854 property:P159 resource:Q649 . resource:Q79854 property:P159 resource:Q5773179 }
Communist Party of the Soviet Union Moscow Naqasheh
action is_in
entity Communist Party of the Soviet Union
action intersection
action find_reverse
entity Moscow
relation headquarters location
action find_reverse
entity Naqasheh
relation headquarters location
['Communist Party of the Soviet Union', 'headquarters location', 'Moscow'] ['Communist Party of the Soviet Union', 'headquarters location', 'Naqasheh']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:headquarters_location resource:Moscow . resource:Communist_Party_of_the_Soviet_Union property:headquarters_location resource:Naqasheh }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q79854,P159,Q649) (Q79854,P159,Q5773179)
action is_in
entity Q79854
action intersection
action find_reverse
entity Q649
relation P159
action find_reverse
entity Q5773179
relation P159
[ANSWER]
['Q79854', 'P159', 'Q649'] ['Q79854', 'P159', 'Q5773179']
ASK WHERE { resource:Q79854 property:P159 resource:Q649 . resource:Q79854 property:P159 resource:Q5773179 }
YES and NO respectively
action is_in
entity Communist Party of the Soviet Union
action intersection
action find_reverse
entity Moscow
relation headquarters location
action find_reverse
entity Naqasheh
relation headquarters location
['Communist Party of the Soviet Union', 'headquarters location', 'Moscow'] ['Communist Party of the Soviet Union', 'headquarters location', 'Naqasheh']
ASK WHERE { resource:Communist_Party_of_the_Soviet_Union property:headquarters_location resource:Moscow . resource:Communist_Party_of_the_Soviet_Union property:headquarters_location resource:Naqasheh }
[]