Simple Question (Direct)
Simple Question
Q4086840
P39
Q12737077
USER
What was the position for which Nikolay Bindyukov was appointed ?
(Q4086840,P39,c(Q12737077))
action filter_type
action find
entity Q4086840
relation P39
type Q12737077
['Q4086840', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4086840 property:P39 ?y }
Nikolay Bindyukov
action filter_type
action find
entity Nikolay Bindyukov
relation position held
type occupation
['Nikolay Bindyukov', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Nikolay_Bindyukov property:position_held ?y }
[]
occupation
Q17276321
SYSTEM
member of the State Duma
Q17276321
(Q4086840,P39,c(Q12737077))
action filter_type
action find
entity Q4086840
relation P39
type Q12737077
A [ANSWER]
['Q4086840', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q12737077 . resource:Q4086840 property:P39 ?y }
member of the State Duma
A member of the State Duma
member of the State Duma
action filter_type
action find
entity Nikolay Bindyukov
relation position held
type occupation
['Nikolay Bindyukov', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:occupation . resource:Nikolay_Bindyukov property:position_held ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17276321
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that occupation ?
(Q17276321,P1001,c(Q15617994))
action filter_type
action find
entity Q17276321
relation P1001
type Q15617994
['Q17276321', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q17276321 property:P1001 ?y }
member of the State Duma
action filter_type
action find
entity member of the State Duma
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_State_Duma property:applies_to_jurisdiction ?y }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q17276321,P1001,c(Q15617994))
action filter_type
action find
entity Q17276321
relation P1001
type Q15617994
Of [ANSWER] comes under the supervision of that occupation
['Q17276321', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q17276321 property:P1001 ?y }
Russia
Of Russia comes under the supervision of that occupation
Russia
action filter_type
action find
entity member of the State Duma
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:member_of_the_State_Duma property:applies_to_jurisdiction ?y }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5837501 Q17276321
P1001 P17
Q15617994
USER
Which administrative territories come under the supervision of member of the State Duma or are Darvar-e Fartaq located in ?
OR((Q17276321,P1001,c(Q15617994)), (Q5837501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17276321
relation P1001
action find
entity Q5837501
relation P17
type Q15617994
{'OR': [['Q17276321', 'P1001', {'concept': 'Q15617994'}], ['Q5837501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q17276321 property:P1001 ?u } UNION { resource:Q5837501 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Darvar-e Fartaq member of the State Duma
action filter_type
action union
action find
entity member of the State Duma
relation applies to jurisdiction
action find
entity Darvar-e Fartaq
relation country
type designation for an administrative territorial entity
{'OR': [['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Darvar-e Fartaq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:member_of_the_State_Duma property:applies_to_jurisdiction ?u } UNION { resource:Darvar-e_Fartaq property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q794
SYSTEM
Russia, Iran
Q159 Q794
OR((Q17276321,P1001,c(Q15617994)), (Q5837501,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17276321
relation P1001
action find
entity Q5837501
relation P17
type Q15617994
[ANSWERS] come under the supervision of member of the State Duma or are Darvar-e Fartaq located in
{'OR': [['Q17276321', 'P1001', {'concept': 'Q15617994'}], ['Q5837501', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q17276321 property:P1001 ?u } UNION { resource:Q5837501 property:P17 ?u } } . ?u rdf:type ontology:Q15617994 }
Russia Iran
Russia and Iran come under the supervision of member of the State Duma or are Darvar-e Fartaq located in
Russia Iran
action filter_type
action union
action find
entity member of the State Duma
relation applies to jurisdiction
action find
entity Darvar-e Fartaq
relation country
type designation for an administrative territorial entity
{'OR': [['member of the State Duma', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Darvar-e Fartaq', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:member_of_the_State_Duma property:applies_to_jurisdiction ?u } UNION { resource:Darvar-e_Fartaq property:country ?u } } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q874024
P17
Q83620
USER
Are Alabama State Route 107 present in those administrative territories ?
(Q874024,P17,Q159) (Q874024,P17,Q794)
action is_in
entity prev_answer
action find
entity Q874024
relation P17
['Q874024', 'P17', 'Q159'] ['Q874024', 'P17', 'Q794']
ASK WHERE { resource:Q874024 property:P17 ?v . VALUES ( ?v ) { ( resource:Q159 ) ( resource:Q794 ) } }
Alabama State Route 107
action is_in
entity prev_answer
action find
entity Alabama State Route 107
relation country
['Alabama State Route 107', 'country', 'Russia'] ['Alabama State Route 107', 'country', 'Iran']
ASK WHERE { resource:Alabama_State_Route_107 property:country ?v . VALUES ( ?v ) { ( resource:Russia ) ( resource:Iran ) } }
[]
thoroughfare
SYSTEM
NO
(Q874024,P17,Q159) (Q874024,P17,Q794)
action is_in
entity prev_answer
action find
entity Q874024
relation P17
[ANSWER]
['Q874024', 'P17', 'Q159'] ['Q874024', 'P17', 'Q794']
ASK WHERE { resource:Q874024 property:P17 ?v . VALUES ( ?v ) { ( resource:Q159 ) ( resource:Q794 ) } }
No
action is_in
entity prev_answer
action find
entity Alabama State Route 107
relation country
['Alabama State Route 107', 'country', 'Russia'] ['Alabama State Route 107', 'country', 'Iran']
ASK WHERE { resource:Alabama_State_Route_107 property:country ?v . VALUES ( ?v ) { ( resource:Russia ) ( resource:Iran ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P488
Q7210356
USER
What is Iran a chairperson of ?
(c(Q7210356),P488,Q794)
action filter_type
action find_reverse
entity Q794
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q794']
SELECT DISTINCT ?b WHERE { ?b property:P488 resource:Q794 . ?b rdf:type ontology:Q7210356 }
Iran
action filter_type
action find_reverse
entity Iran
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Iran']
SELECT DISTINCT ?b WHERE { ?b property:chairperson resource:Iran . ?b rdf:type ontology:political_organization }
[]
political organization
Q15911893
SYSTEM
Socialist Workers’ Party of Iran
Q15911893
(c(Q7210356),P488,Q794)
action filter_type
action find_reverse
entity Q794
relation P488
type Q7210356
Iran is a chairperson of [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q794']
SELECT DISTINCT ?b WHERE { ?b property:P488 resource:Q794 . ?b rdf:type ontology:Q7210356 }
Socialist Workers’ Party of Iran
Iran is a chairperson of Socialist Workers’ Party of Iran
Socialist Workers’ Party of Iran
action filter_type
action find_reverse
entity Iran
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Iran']
SELECT DISTINCT ?b WHERE { ?b property:chairperson resource:Iran . ?b rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17276321
P361
Q1752346
USER
What is member of the State Duma a part of ?
(Q17276321,P361,c(Q1752346))
action filter_type
action find
entity Q17276321
relation P361
type Q1752346
['Q17276321', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q17276321 property:P361 ?z . ?z rdf:type ontology:Q1752346 }
member of the State Duma
action filter_type
action find
entity member of the State Duma
relation part of
type assembly
['member of the State Duma', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:member_of_the_State_Duma property:part_of ?z . ?z rdf:type ontology:assembly }
[]
assembly
Q715641
SYSTEM
State Duma
Q715641
(Q17276321,P361,c(Q1752346))
action filter_type
action find
entity Q17276321
relation P361
type Q1752346
The [ANSWER] is member of the [ANSWER] a part of
['Q17276321', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?z WHERE { resource:Q17276321 property:P361 ?z . ?z rdf:type ontology:Q1752346 }
State Duma
The State Duma is member of the State Duma a part of
State Duma
action filter_type
action find
entity member of the State Duma
relation part of
type assembly
['member of the State Duma', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?z WHERE { resource:member_of_the_State_Duma property:part_of ?z . ?z rdf:type ontology:assembly }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q715641 Q7454335 Q6848818
P488
Q502895
USER
Does Sergio Montiel and Mike Siegel serve as a chairman for Q715641 ?
(Q715641,P488,Q7454335) (Q715641,P488,Q6848818)
action is_in
entity Q715641
action intersection
action find_reverse
entity Q7454335
relation P488
action find_reverse
entity Q6848818
relation P488
['Q715641', 'P488', 'Q7454335'] ['Q715641', 'P488', 'Q6848818']
ASK WHERE { resource:Q715641 property:P488 resource:Q7454335 . resource:Q715641 property:P488 resource:Q6848818 }
State Duma Sergio Montiel Mike Siegel
action is_in
entity State Duma
action intersection
action find_reverse
entity Sergio Montiel
relation chairperson
action find_reverse
entity Mike Siegel
relation chairperson
['State Duma', 'chairperson', 'Sergio Montiel'] ['State Duma', 'chairperson', 'Mike Siegel']
ASK WHERE { resource:State_Duma property:chairperson resource:Sergio_Montiel . resource:State_Duma property:chairperson resource:Mike_Siegel }
[]
common name
SYSTEM
NO
(Q715641,P488,Q7454335) (Q715641,P488,Q6848818)
action is_in
entity Q715641
action intersection
action find_reverse
entity Q7454335
relation P488
action find_reverse
entity Q6848818
relation P488
[ANSWER]
['Q715641', 'P488', 'Q7454335'] ['Q715641', 'P488', 'Q6848818']
ASK WHERE { resource:Q715641 property:P488 resource:Q7454335 . resource:Q715641 property:P488 resource:Q6848818 }
No
action is_in
entity State Duma
action intersection
action find_reverse
entity Sergio Montiel
relation chairperson
action find_reverse
entity Mike Siegel
relation chairperson
['State Duma', 'chairperson', 'Sergio Montiel'] ['State Duma', 'chairperson', 'Mike Siegel']
ASK WHERE { resource:State_Duma property:chairperson resource:Sergio_Montiel . resource:State_Duma property:chairperson resource:Mike_Siegel }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q794 Q4907739
P47
Q56061
USER
Does Hacıbəbir share border with Iran ?
(Q794,P47,Q4907739)
action is_in
entity Q4907739
action find
entity Q794
relation P47
['Q794', 'P47', 'Q4907739']
ASK WHERE { resource:Q794 property:P47 resource:Q4907739 }
Iran Hacıbəbir
action is_in
entity Hacıbəbir
action find
entity Iran
relation shares border with
['Iran', 'shares border with', 'Hacıbəbir']
ASK WHERE { resource:Iran property:shares_border_with resource:Hacıbəbir }
[]
administrative territorial entity
SYSTEM
NO
(Q794,P47,Q4907739)
action is_in
entity Q4907739
action find
entity Q794
relation P47
[ANSWER]
['Q794', 'P47', 'Q4907739']
ASK WHERE { resource:Q794 property:P47 resource:Q4907739 }
No
action is_in
entity Hacıbəbir
action find
entity Iran
relation shares border with
['Iran', 'shares border with', 'Hacıbəbir']
ASK WHERE { resource:Iran property:shares_border_with resource:Hacıbəbir }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q159 Q805 Q525796
P530
Q15617994
USER
Does Russia have diplomatic relations with Yemen and Stettfeld ?
(Q159,P530,Q805) (Q159,P530,Q525796)
action is_in
entity Q159
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q525796
relation P530
['Q159', 'P530', 'Q805'] ['Q159', 'P530', 'Q525796']
ASK WHERE { resource:Q159 property:P530 resource:Q525796 . resource:Q159 property:P530 resource:Q805 }
Russia Yemen Stettfeld
action is_in
entity Russia
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Stettfeld
relation diplomatic relation
['Russia', 'diplomatic relation', 'Yemen'] ['Russia', 'diplomatic relation', 'Stettfeld']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Stettfeld . resource:Russia property:diplomatic_relation resource:Yemen }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q159,P530,Q805) (Q159,P530,Q525796)
action is_in
entity Q159
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q525796
relation P530
[ANSWER]
['Q159', 'P530', 'Q805'] ['Q159', 'P530', 'Q525796']
ASK WHERE { resource:Q159 property:P530 resource:Q525796 . resource:Q159 property:P530 resource:Q805 }
YES and NO respectively
action is_in
entity Russia
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Stettfeld
relation diplomatic relation
['Russia', 'diplomatic relation', 'Yemen'] ['Russia', 'diplomatic relation', 'Stettfeld']
ASK WHERE { resource:Russia property:diplomatic_relation resource:Stettfeld . resource:Russia property:diplomatic_relation resource:Yemen }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q1752346 Q1048835
USER
Which political territories have exactly 1 assembly as their legislative body ?
(c(Q1048835),P194,c(Q1752346))
action equal
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
value 1
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?u ) WHERE { ?m property:P194 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1752346 } GROUP BY ?m } . FILTER ( ?u = 1 ) }
action equal
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
value 1
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?u ) WHERE { ?m property:legislative_body ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:assembly } GROUP BY ?m } . FILTER ( ?u = 1 ) }
[]
assembly political territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q31747 Q785 Q193619 Q769 Q664 Q766 Q16 Q35 Q2594990 Q778 Q408 Q183 Q234 Q601252 Q781
(c(Q1048835),P194,c(Q1752346))
action equal
action find_tuple_counts
relation P194
type Q1048835
type Q1752346
value 1
[ANSWERS] have exactly 1 assembly as their legislative body
[{'concept': 'Q1048835'}, 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?u ) WHERE { ?m property:P194 ?l . ?m rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q1752346 } GROUP BY ?m } . FILTER ( ?u = 1 ) }
Irish Free State Jersey Union of South Africa Grenada New Zealand Jamaica Canada Denmark Dominion of New Zealand The Bahamas Australia Germany Flemish Region Banovina of Croatia Antigua and Barbuda
Germany, Australia and Denmark have exactly 1 assembly as their legislative body
Germany Australia Denmark
action equal
action find_tuple_counts
relation legislative body
type political territorial entity
type assembly
value 1
[{'concept': 'political territorial entity'}, 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?u ) WHERE { ?m property:legislative_body ?l . ?m rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:assembly } GROUP BY ?m } . FILTER ( ?u = 1 ) }
[]