Simple Question (Direct)
Simple Question
Q2210595
P102
Q43229
USER
Which party does Dmitry Bykov belong to ?
(Q2210595,P102,c(Q43229))
action filter_type
action find
entity Q2210595
relation P102
type Q43229
['Q2210595', 'P102', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q2210595 property:P102 ?e . ?e rdf:type ontology:Q43229 }
Dmitry Bykov
action filter_type
action find
entity Dmitry Bykov
relation member of political party
type organization
['Dmitry Bykov', 'member of political party', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Dmitry_Bykov property:member_of_political_party ?e . ?e rdf:type ontology:organization }
[]
organization
Q4232166
SYSTEM
Russian Opposition Coordination Council
Q4232166
(Q2210595,P102,c(Q43229))
action filter_type
action find
entity Q2210595
relation P102
type Q43229
Dmitry Bykov belongs to [ANSWER]
['Q2210595', 'P102', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q2210595 property:P102 ?e . ?e rdf:type ontology:Q43229 }
Russian Opposition Coordination Council
Dmitry Bykov belongs to Russian Opposition Coordination Council
Russian Opposition Coordination Council
action filter_type
action find
entity Dmitry Bykov
relation member of political party
type organization
['Dmitry Bykov', 'member of political party', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Dmitry_Bykov property:member_of_political_party ?e . ?e rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P466
Q43229 Q1076486 Q811979
USER
Which organizations were the inhabitants of max number of sports venues and architectural structures ?
(c(Q1076486)|c(Q811979),P466,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
[[{'concept': 'Q1076486'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?x WHERE { { ?a property:P466 ?x . ?x rdf:type ontology:Q43229 . ?a rdf:type ontology:Q1076486 } UNION { ?a property:P466 ?x . ?x rdf:type ontology:Q43229 . ?a rdf:type ontology:Q811979 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?m WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } } GROUP BY ?m } . FILTER ( ?c = ?k ) }
action argmax
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
[[{'concept': 'sports venue'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?x WHERE { { ?a property:occupant ?x . ?x rdf:type ontology:organization . ?a rdf:type ontology:sports_venue } UNION { ?a property:occupant ?x . ?x rdf:type ontology:organization . ?a rdf:type ontology:architectural_structure } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?m WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } } GROUP BY ?m } . FILTER ( ?c = ?k ) }
[]
organization sports venue architectural structure
Q2927468 Q971195
SYSTEM
Ohio State Buckeyes, Alabama Crimson Tide
Q2927468 Q971195
(c(Q1076486)|c(Q811979),P466,c(Q43229))
action argmax
action union
action find_reverse_tuple_counts
relation P466
type Q43229
type Q1076486
action find_reverse_tuple_counts
relation P466
type Q43229
type Q811979
Teams [ANSWERS] were the inhabitants of max number of sports venues and architectural structures
[[{'concept': 'Q1076486'}, {'concept': 'Q811979'}], 'P466', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?x WHERE { { ?a property:P466 ?x . ?x rdf:type ontology:Q43229 . ?a rdf:type ontology:Q1076486 } UNION { ?a property:P466 ?x . ?x rdf:type ontology:Q43229 . ?a rdf:type ontology:Q811979 } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?m WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q1076486 ) ( ontology:Q811979 ) } } GROUP BY ?m } . FILTER ( ?c = ?k ) }
Ohio State Buckeyes Alabama Crimson Tide
Teams Ohio State Buckeyes and Alabama Crimson Tide were the inhabitants of max number of sports venues and architectural structures
Ohio State Buckeyes Alabama Crimson Tide
action argmax
action union
action find_reverse_tuple_counts
relation occupant
type organization
type sports venue
action find_reverse_tuple_counts
relation occupant
type organization
type architectural structure
[[{'concept': 'sports venue'}, {'concept': 'architectural structure'}], 'occupant', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?k ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?x WHERE { { ?a property:occupant ?x . ?x rdf:type ontology:organization . ?a rdf:type ontology:sports_venue } UNION { ?a property:occupant ?x . ?x rdf:type ontology:organization . ?a rdf:type ontology:architectural_structure } } GROUP BY ?x } } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) ?m WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:sports_venue ) ( ontology:architectural_structure ) } } GROUP BY ?m } . FILTER ( ?c = ?k ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2927468
P54
Q502895
USER
Who are a member of Ohio State Buckeyes ?
(c(Q502895),P54,Q2927468)
action filter_type
action find_reverse
entity Q2927468
relation P54
type Q502895
[{'concept': 'Q502895'}, 'P54', 'Q2927468']
SELECT DISTINCT ?h WHERE { ?h property:P54 resource:Q2927468 . ?h rdf:type ontology:Q502895 }
Ohio State Buckeyes
action filter_type
action find_reverse
entity Ohio State Buckeyes
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Ohio State Buckeyes']
SELECT DISTINCT ?h WHERE { ?h property:member_of_sports_team resource:Ohio_State_Buckeyes . ?h rdf:type ontology:common_name }
[]
common name
Q891096 Q6239234 Q6370922
SYSTEM
Ford Konno, John Higgins, Karin Sendel
Q6239234 Q6115462 Q5543034 Q5606255 Q5486267 Q5606112 Q15998681 Q1368492 Q7408638 Q6183748 Q6370922 Q891096 Q19665148 Q2326219 Q621106 Q4711468
(c(Q502895),P54,Q2927468)
action filter_type
action find_reverse
entity Q2927468
relation P54
type Q502895
A member of Ohio State Buckeyes are John [ANSWERS]
[{'concept': 'Q502895'}, 'P54', 'Q2927468']
SELECT DISTINCT ?h WHERE { ?h property:P54 resource:Q2927468 . ?h rdf:type ontology:Q502895 }
John Higgins Jack Taylor George Onekea Greg Smith Frank Dooley Greg Paulus Ralph Gilman Yoshi Oyakawa Samantha Cheverton Jerry Holan Karin Sendel Ford Konno Jincy Dunne Dick Cleveland Bill Smith Albert Wiggins
A member of Ohio State Buckeyes are John Ford Konno, John Higgins and Karin Sendel
Ford Konno John Higgins Karin Sendel
action filter_type
action find_reverse
entity Ohio State Buckeyes
relation member of sports team
type common name
[{'concept': 'common name'}, 'member of sports team', 'Ohio State Buckeyes']
SELECT DISTINCT ?h WHERE { ?h property:member_of_sports_team resource:Ohio_State_Buckeyes . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2927468
P138
Q16521
USER
Which taxon is the origin of that organization ?
(Q891096,P138,c(Q16521)) (Q6239234,P138,c(Q16521)) (Q6370922,P138,c(Q16521))
action filter_type
action find
entity Q2927468
relation P138
type Q16521
['Q891096', 'P138', {'concept': 'Q16521'}] ['Q6239234', 'P138', {'concept': 'Q16521'}] ['Q6370922', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16521 . resource:Q2927468 property:P138 ?s }
Ohio State Buckeyes
action filter_type
action find
entity Ohio State Buckeyes
relation named after
type taxon
['Ford Konno', 'named after', {'concept': 'taxon'}] ['John Higgins', 'named after', {'concept': 'taxon'}] ['Karin Sendel', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:taxon . resource:Ohio_State_Buckeyes property:named_after ?s }
[]
taxon
Q1813339
SYSTEM
Aesculus glabra
Q1813339
(Q891096,P138,c(Q16521)) (Q6239234,P138,c(Q16521)) (Q6370922,P138,c(Q16521))
action filter_type
action find
entity Q2927468
relation P138
type Q16521
[ANSWER] is the origin of that organization
['Q891096', 'P138', {'concept': 'Q16521'}] ['Q6239234', 'P138', {'concept': 'Q16521'}] ['Q6370922', 'P138', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16521 . resource:Q2927468 property:P138 ?s }
Aesculus glabra
Aesculus glabra is the origin of that organization
Aesculus glabra
action filter_type
action find
entity Ohio State Buckeyes
relation named after
type taxon
['Ford Konno', 'named after', {'concept': 'taxon'}] ['John Higgins', 'named after', {'concept': 'taxon'}] ['Karin Sendel', 'named after', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:taxon . resource:Ohio_State_Buckeyes property:named_after ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P138
Q43229
USER
How many organizations are the eponym of that taxon ?
(c(Q43229),P138,Q1813339)
action count
action filter_type
action find_reverse
entity Q1813339
relation P138
type Q43229
[{'concept': 'Q43229'}, 'P138', 'Q1813339']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P138 resource:Q1813339 . ?h rdf:type ontology:Q43229 }
action count
action filter_type
action find_reverse
entity Aesculus glabra
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Aesculus glabra']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:named_after resource:Aesculus_glabra . ?h rdf:type ontology:organization }
[]
organization
SYSTEM
1
Q2927468
(c(Q43229),P138,Q1813339)
action count
action filter_type
action find_reverse
entity Q1813339
relation P138
type Q43229
[ANSWER]
[{'concept': 'Q43229'}, 'P138', 'Q1813339']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:P138 resource:Q1813339 . ?h rdf:type ontology:Q43229 }
Ohio State Buckeyes
1
action count
action filter_type
action find_reverse
entity Aesculus glabra
relation named after
type organization
[{'concept': 'organization'}, 'named after', 'Aesculus glabra']
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { ?h property:named_after resource:Aesculus_glabra . ?h rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2580470 Q6239234
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of John Higgins or William S. Hill ?
OR((Q6239234,P27,c(Q15617994)), (Q2580470,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6239234
relation P27
action find
entity Q2580470
relation P27
type Q15617994
{'OR': [['Q6239234', 'P27', {'concept': 'Q15617994'}], ['Q2580470', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?o ) { ( resource:Q2580470 ) ( resource:Q6239234 ) } . ?o property:P27 ?w } . ?w rdf:type ontology:Q15617994 }
William S. Hill John Higgins
action filter_type
action union
action find
entity John Higgins
relation country of citizenship
action find
entity William S. Hill
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Higgins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['William S. Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?o ) { ( resource:William_S._Hill ) ( resource:John_Higgins ) } . ?o property:country_of_citizenship ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q6239234,P27,c(Q15617994)), (Q2580470,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6239234
relation P27
action find
entity Q2580470
relation P27
type Q15617994
[ANSWER] is the countries of citizenship of John Higgins or William S. Hill
{'OR': [['Q6239234', 'P27', {'concept': 'Q15617994'}], ['Q2580470', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?o ) { ( resource:Q2580470 ) ( resource:Q6239234 ) } . ?o property:P27 ?w } . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of John Higgins or William S. Hill
United States of America
action filter_type
action union
action find
entity John Higgins
relation country of citizenship
action find
entity William S. Hill
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['John Higgins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['William S. Hill', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?o ) { ( resource:William_S._Hill ) ( resource:John_Higgins ) } . ?o property:country_of_citizenship ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q984304 Q6239234
P27 P17
Q15617994
USER
Which administrative territories are John Higgins a civilian of or are Madarounfa present in ?
OR((Q6239234,P27,c(Q15617994)), (Q984304,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6239234
relation P27
action find
entity Q984304
relation P17
type Q15617994
{'OR': [['Q6239234', 'P27', {'concept': 'Q15617994'}], ['Q984304', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6239234 property:P27 ?w } UNION { resource:Q984304 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Madarounfa John Higgins
action filter_type
action union
action find
entity John Higgins
relation country of citizenship
action find
entity Madarounfa
relation country
type designation for an administrative territorial entity
{'OR': [['John Higgins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Madarounfa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:John_Higgins property:country_of_citizenship ?w } UNION { resource:Madarounfa property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q1032
SYSTEM
United States of America, Niger
Q30 Q1032
OR((Q6239234,P27,c(Q15617994)), (Q984304,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6239234
relation P27
action find
entity Q984304
relation P17
type Q15617994
The [ANSWERS] are John Higgins a civilian of or are Madarounfa present in
{'OR': [['Q6239234', 'P27', {'concept': 'Q15617994'}], ['Q984304', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q6239234 property:P27 ?w } UNION { resource:Q984304 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America Niger
The United States of America and Niger are John Higgins a civilian of or are Madarounfa present in
United States of America Niger
action filter_type
action union
action find
entity John Higgins
relation country of citizenship
action find
entity Madarounfa
relation country
type designation for an administrative territorial entity
{'OR': [['John Higgins', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Madarounfa', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:John_Higgins property:country_of_citizenship ?w } UNION { resource:Madarounfa property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4452925
P530
Q1048835
USER
Do Tashan have ambassadorial relations with those administrative territories ?
(Q4452925,P530,Q30) (Q4452925,P530,Q1032)
action is_in
entity prev_answer
action find
entity Q4452925
relation P530
['Q4452925', 'P530', 'Q30'] ['Q4452925', 'P530', 'Q1032']
ASK WHERE { VALUES ( ?y ) { ( resource:Q30 ) ( resource:Q1032 ) } . resource:Q4452925 property:P530 ?y }
Tashan
action is_in
entity prev_answer
action find
entity Tashan
relation diplomatic relation
['Tashan', 'diplomatic relation', 'United States of America'] ['Tashan', 'diplomatic relation', 'Niger']
ASK WHERE { VALUES ( ?y ) { ( resource:United_States_of_America ) ( resource:Niger ) } . resource:Tashan property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q4452925,P530,Q30) (Q4452925,P530,Q1032)
action is_in
entity prev_answer
action find
entity Q4452925
relation P530
[ANSWER]
['Q4452925', 'P530', 'Q30'] ['Q4452925', 'P530', 'Q1032']
ASK WHERE { VALUES ( ?y ) { ( resource:Q30 ) ( resource:Q1032 ) } . resource:Q4452925 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Tashan
relation diplomatic relation
['Tashan', 'diplomatic relation', 'United States of America'] ['Tashan', 'diplomatic relation', 'Niger']
ASK WHERE { VALUES ( ?y ) { ( resource:United_States_of_America ) ( resource:Niger ) } . resource:Tashan property:diplomatic_relation ?y }
[]