Simple Question (Direct)
Simple Question
Q2576538
P39
Q12737077
USER
Which occupation was a position held by Will Rogers ?
(Q2576538,P39,c(Q12737077))
action filter_type
action find
entity Q2576538
relation P39
type Q12737077
['Q2576538', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2576538 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Will Rogers
action filter_type
action find
entity Will Rogers
relation position held
type occupation
['Will Rogers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Will_Rogers property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q13218630
SYSTEM
United States representative
Q13218630
(Q2576538,P39,c(Q12737077))
action filter_type
action find
entity Q2576538
relation P39
type Q12737077
The [ANSWER] was a position held by Will Rogers
['Q2576538', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q2576538 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
United States representative
The United States representative was a position held by Will Rogers
United States representative
action filter_type
action find
entity Will Rogers
relation position held
type occupation
['Will Rogers', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Will_Rogers property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2576538
P102
Q7210356
USER
Which party does Will Rogers belong to ?
(Q2576538,P102,c(Q7210356))
action filter_type
action find
entity Q2576538
relation P102
type Q7210356
['Q2576538', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q2576538 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Will Rogers
action filter_type
action find
entity Will Rogers
relation member of political party
type political organization
['Will Rogers', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Will_Rogers property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q2576538,P102,c(Q7210356))
action filter_type
action find
entity Q2576538
relation P102
type Q7210356
Will Rogers belongs to [ANSWER]
['Q2576538', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q2576538 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Democratic Party
Will Rogers belongs to Democratic Party
Democratic Party
action filter_type
action find
entity Will Rogers
relation member of political party
type political organization
['Will Rogers', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Will_Rogers property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2576538
P21
Q290
USER
Which sex does Will Rogers belong to ?
(Q2576538,P21,c(Q290))
action filter_type
action find
entity Q2576538
relation P21
type Q290
['Q2576538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2576538 property:P21 ?t . ?t rdf:type ontology:Q290 }
Will Rogers
action filter_type
action find
entity Will Rogers
relation gender
type sex
['Will Rogers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Will_Rogers property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2576538,P21,c(Q290))
action filter_type
action find
entity Q2576538
relation P21
type Q290
Will Rogers belongs to [ANSWER]
['Q2576538', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q2576538 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Will Rogers belongs to male
male
action filter_type
action find
entity Will Rogers
relation gender
type sex
['Will Rogers', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Will_Rogers property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2576538
P27
Q15617994
USER
Which administrative territory is Will Rogers an inhabitant of ?
(Q2576538,P27,c(Q15617994))
action filter_type
action find
entity Q2576538
relation P27
type Q15617994
['Q2576538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2576538 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Will Rogers
action filter_type
action find
entity Will Rogers
relation country of citizenship
type designation for an administrative territorial entity
['Will Rogers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Will_Rogers property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2576538,P27,c(Q15617994))
action filter_type
action find
entity Q2576538
relation P27
type Q15617994
The [ANSWER] is Will Rogers an inhabitant of
['Q2576538', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q2576538 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United States of America
The United States of America is Will Rogers an inhabitant of
United States of America
action filter_type
action find
entity Will Rogers
relation country of citizenship
type designation for an administrative territorial entity
['Will Rogers', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Will_Rogers property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4724847
Q15617994
USER
And what about Ali Hamoudi?
(Q4724847,P27,c(Q15617994))
action filter_type
action find
entity Q4724847
relation P27
type Q15617994
['Q4724847', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4724847 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Ali Hamoudi
action filter_type
action find
entity Ali Hamoudi
relation country of citizenship
type designation for an administrative territorial entity
['Ali Hamoudi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ali_Hamoudi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q794
SYSTEM
Iran
Q794
(Q4724847,P27,c(Q15617994))
action filter_type
action find
entity Q4724847
relation P27
type Q15617994
[ANSWER]
['Q4724847', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q4724847 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Iran
Iran
action filter_type
action find
entity Ali Hamoudi
relation country of citizenship
type designation for an administrative territorial entity
['Ali Hamoudi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Ali_Hamoudi property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q794 Q305933
P27
Q502895
USER
Is Abbas Zandi a citizen of that administrative territory ?
(Q305933,P27,Q794)
action is_in
entity Q794
action find
entity Q305933
relation P27
['Q305933', 'P27', 'Q794']
ASK WHERE { resource:Q305933 property:P27 resource:Q794 }
Iran Abbas Zandi
action is_in
entity Iran
action find
entity Abbas Zandi
relation country of citizenship
['Abbas Zandi', 'country of citizenship', 'Iran']
ASK WHERE { resource:Abbas_Zandi property:country_of_citizenship resource:Iran }
[]
common name
SYSTEM
YES
(Q305933,P27,Q794)
action is_in
entity Q794
action find
entity Q305933
relation P27
[ANSWER]
['Q305933', 'P27', 'Q794']
ASK WHERE { resource:Q305933 property:P27 resource:Q794 }
Yes
action is_in
entity Iran
action find
entity Abbas Zandi
relation country of citizenship
['Abbas Zandi', 'country of citizenship', 'Iran']
ASK WHERE { resource:Abbas_Zandi property:country_of_citizenship resource:Iran }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29552 Q50104
P488
Q502895
USER
Was Debbie Wasserman Schultz the chairperson of Democratic Party ?
(Q29552,P488,Q50104)
action is_in
entity Q50104
action find
entity Q29552
relation P488
['Q29552', 'P488', 'Q50104']
ASK WHERE { resource:Q29552 property:P488 resource:Q50104 }
Democratic Party Debbie Wasserman Schultz
action is_in
entity Debbie Wasserman Schultz
action find
entity Democratic Party
relation chairperson
['Democratic Party', 'chairperson', 'Debbie Wasserman Schultz']
ASK WHERE { resource:Democratic_Party property:chairperson resource:Debbie_Wasserman_Schultz }
[]
common name
SYSTEM
YES
(Q29552,P488,Q50104)
action is_in
entity Q50104
action find
entity Q29552
relation P488
[ANSWER]
['Q29552', 'P488', 'Q50104']
ASK WHERE { resource:Q29552 property:P488 resource:Q50104 }
Yes
action is_in
entity Debbie Wasserman Schultz
action find
entity Democratic Party
relation chairperson
['Democratic Party', 'chairperson', 'Debbie Wasserman Schultz']
ASK WHERE { resource:Democratic_Party property:chairperson resource:Debbie_Wasserman_Schultz }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q35798 Q192350
USER
How many administrative territories are judicially linked to exactly 3 executive branches or ministries ?
(c(Q35798)|c(Q192350),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 3
[[{'concept': 'Q35798'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?h WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 3
[[{'concept': 'executive branch'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?h WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:ministry ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
[]
designation for an administrative territorial entity executive branch ministry
SYSTEM
9
Q801 Q419 Q148 Q1965 Q218 Q36 Q96 Q858 Q176
(c(Q35798)|c(Q192350),P1001,c(Q15617994))
action count
action equal
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q35798
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
value 3
[ANSWER]
[[{'concept': 'Q35798'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?h WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q192350 ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
Israel Peru People's Republic of China New Brunswick Romania Poland Mexico Syria Quebec
9
action count
action equal
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type executive branch
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
value 3
[[{'concept': 'executive branch'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) ?h WHERE { ?d rdf:type ?v . VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:ministry ) } } GROUP BY ?h } . FILTER ( ?n = 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with atleast 94 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 94
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?k property:P530 ?i } GROUP BY ?k } . FILTER ( ?n >= 94 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 94
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?i } GROUP BY ?k } . FILTER ( ?n >= 94 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 94
[ANSWERS] have diplomatic relations with atleast 94 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q15617994 . ?k property:P530 ?i } GROUP BY ?k } . FILTER ( ?n >= 94 ) }
Germany Australia
Germany and Australia have diplomatic relations with atleast 94 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 94
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k property:diplomatic_relation ?i } GROUP BY ?k } . FILTER ( ?n >= 94 ) }
[]