Simple Question (Direct)
Simple Question
Q6757114
P108
Q163740
USER
Which nonprofit organization employs Marcia K. Johnson ?
(Q6757114,P108,c(Q163740))
action filter_type
action find
entity Q6757114
relation P108
type Q163740
['Q6757114', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q6757114 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Marcia K. Johnson
action filter_type
action find
entity Marcia K. Johnson
relation employer
type nonprofit organization
['Marcia K. Johnson', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Marcia_K._Johnson property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q49112
SYSTEM
Yale University
Q49112
(Q6757114,P108,c(Q163740))
action filter_type
action find
entity Q6757114
relation P108
type Q163740
[ANSWER] employs Marcia K. Johnson
['Q6757114', 'P108', {'concept': 'Q163740'}]
SELECT DISTINCT ?g WHERE { resource:Q6757114 property:P108 ?g . ?g rdf:type ontology:Q163740 }
Yale University
Yale University employs Marcia K. Johnson
Yale University
action filter_type
action find
entity Marcia K. Johnson
relation employer
type nonprofit organization
['Marcia K. Johnson', 'employer', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?g WHERE { resource:Marcia_K._Johnson property:employer ?g . ?g rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6757114
P27
Q15617994
USER
Which administrative territory is Marcia K. Johnson an inhabitant of ?
(Q6757114,P27,c(Q15617994))
action filter_type
action find
entity Q6757114
relation P27
type Q15617994
['Q6757114', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6757114 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Marcia K. Johnson
action filter_type
action find
entity Marcia K. Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Marcia K. Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marcia_K._Johnson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q6757114,P27,c(Q15617994))
action filter_type
action find
entity Q6757114
relation P27
type Q15617994
[ANSWER] is Marcia K. Johnson an inhabitant of
['Q6757114', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q6757114 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America is Marcia K. Johnson an inhabitant of
United States of America
action filter_type
action find
entity Marcia K. Johnson
relation country of citizenship
type designation for an administrative territorial entity
['Marcia K. Johnson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Marcia_K._Johnson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6757114
P734
Q82799
USER
Which name is associated with Marcia K. Johnson ?
(Q6757114,P734,c(Q82799))
action filter_type
action find
entity Q6757114
relation P734
type Q82799
['Q6757114', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q6757114 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Marcia K. Johnson
action filter_type
action find
entity Marcia K. Johnson
relation family name
type name
['Marcia K. Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Marcia_K._Johnson property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q1158485
SYSTEM
Johnson
Q1158485
(Q6757114,P734,c(Q82799))
action filter_type
action find
entity Q6757114
relation P734
type Q82799
[ANSWER] is associated with Marcia K. [ANSWER]
['Q6757114', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q6757114 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Johnson
Johnson is associated with Marcia K. Johnson
Johnson
action filter_type
action find
entity Marcia K. Johnson
relation family name
type name
['Marcia K. Johnson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Marcia_K._Johnson property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q336645
Q82799
USER
And also tell me about James Hamilton, 5th Duke of Hamilton?
(Q336645,P734,c(Q82799))
action filter_type
action find
entity Q336645
relation P734
type Q82799
['Q336645', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q336645 property:P734 ?f . ?f rdf:type ontology:Q82799 }
James Hamilton, 5th Duke of Hamilton
action filter_type
action find
entity James Hamilton, 5th Duke of Hamilton
relation family name
type name
['James Hamilton, 5th Duke of Hamilton', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:James_Hamilton,_5th_Duke_of_Hamilton property:family_name ?f . ?f rdf:type ontology:name }
[]
name
Q21450552
SYSTEM
Hamilton
Q21450552
(Q336645,P734,c(Q82799))
action filter_type
action find
entity Q336645
relation P734
type Q82799
[ANSWER]
['Q336645', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q336645 property:P734 ?f . ?f rdf:type ontology:Q82799 }
Hamilton
Hamilton
action filter_type
action find
entity James Hamilton, 5th Duke of Hamilton
relation family name
type name
['James Hamilton, 5th Duke of Hamilton', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:James_Hamilton,_5th_Duke_of_Hamilton property:family_name ?f . ?f rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P407
Q34770 Q82799
USER
Which languages are min number of names in ?
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P407 ?z . ?z rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?z } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P407 ?g . ?g rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?g } . FILTER ( ?q = ?c ) }
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?z } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?g } . FILTER ( ?q = ?c ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q37041 Q25167 Q25164 Q36790 Q447117
(c(Q82799),P407,Q447117)
action argmin
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
[ANSWERS]
[{'concept': 'Q82799'}, 'P407', 'Q447117']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P407 ?z . ?z rdf:type ontology:Q34770 . ?s rdf:type ontology:Q82799 } GROUP BY ?z } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P407 ?g . ?g rdf:type ontology:Q34770 . ?u rdf:type ontology:Q82799 } GROUP BY ?g } . FILTER ( ?q = ?c ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse classical Chinese Bokmål Nynorsk Sumerian Old Egyptian
Which languages are min number of names in
Old Egyptian Old Church Slavonic Etruscan
action argmin
action find_reverse_tuple_counts
relation language of work or name
type language
type name
[{'concept': 'name'}, 'language of work or name', 'Old Egyptian']
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?c ) { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?s rdf:type ontology:name } GROUP BY ?z } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:language_of_work_or_name ?g . ?g rdf:type ontology:language . ?u rdf:type ontology:name } GROUP BY ?g } . FILTER ( ?q = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P162
Q838948
USER
Which work of art has been produced by United States of America ?
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P162 resource:Q30 . ?b rdf:type ontology:Q838948 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:producer resource:United_States_of_America . ?b rdf:type ontology:work_of_art }
[]
work of art
Q1193742
SYSTEM
The Thief of Bagdad
Q1193742
(c(Q838948),P162,Q30)
action filter_type
action find_reverse
entity Q30
relation P162
type Q838948
[ANSWER] has been produced by United States of America
[{'concept': 'Q838948'}, 'P162', 'Q30']
SELECT DISTINCT ?b WHERE { ?b property:P162 resource:Q30 . ?b rdf:type ontology:Q838948 }
The Thief of Bagdad
The Thief of Bagdad has been produced by United States of America
The Thief of Bagdad
action filter_type
action find_reverse
entity United States of America
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'United States of America']
SELECT DISTINCT ?b WHERE { ?b property:producer resource:United_States_of_America . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P463
Q874405
USER
What social groups were that administrative territory a member of ?
(Q1193742,P463,c(Q874405))
action filter_type
action find
entity Q30
relation P463
type Q874405
['Q1193742', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P463 ?m . ?m rdf:type ontology:Q874405 }
United States of America
action filter_type
action find
entity United States of America
relation member of
type social group
['The Thief of Bagdad', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:member_of ?m . ?m rdf:type ontology:social_group }
[]
social group
Q782942 Q295875
SYSTEM
Australia Group, ANZUS
Q782942 Q295875
(Q1193742,P463,c(Q874405))
action filter_type
action find
entity Q30
relation P463
type Q874405
[ANSWERS]
['Q1193742', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P463 ?m . ?m rdf:type ontology:Q874405 }
Australia Group ANZUS
What social groups were that administrative territory a member of
Australia Group ANZUS
action filter_type
action find
entity United States of America
relation member of
type social group
['The Thief of Bagdad', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:member_of ?m . ?m rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q447117
P495
Q8425
USER
Which society is the country of origin of Old Egyptian ?
(Q447117,P495,c(Q8425))
action filter_type
action find
entity Q447117
relation P495
type Q8425
['Q447117', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8425 . resource:Q447117 property:P495 ?s }
Old Egyptian
action filter_type
action find
entity Old Egyptian
relation country of origin
type society
['Old Egyptian', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:society . resource:Old_Egyptian property:country_of_origin ?s }
[]
society
Q11768
SYSTEM
Ancient Egypt
Q11768
(Q447117,P495,c(Q8425))
action filter_type
action find
entity Q447117
relation P495
type Q8425
[ANSWER] is the country of origin of Old Egyptian
['Q447117', 'P495', {'concept': 'Q8425'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q8425 . resource:Q447117 property:P495 ?s }
Ancient Egypt
Ancient Egypt is the country of origin of Old Egyptian
Ancient Egypt
action filter_type
action find
entity Old Egyptian
relation country of origin
type society
['Old Egyptian', 'country of origin', {'concept': 'society'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:society . resource:Old_Egyptian property:country_of_origin ?s }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P361
Q451967 Q1190554
USER
How many human actions and events are parts of that society ?
(c(Q451967),P361,Q11768) (c(Q1190554),P361,Q11768) (c(Q451967),P361,Q11768) (c(Q1190554),P361,Q11768)
action count
action union
action filter_type
action find_reverse
entity Q11768
relation P361
type Q451967
action filter_type
action find_reverse
entity Q11768
relation P361
type Q1190554
[{'concept': 'Q451967'}, 'P361', 'Q11768'] [{'concept': 'Q1190554'}, 'P361', 'Q11768'] [{'concept': 'Q451967'}, 'P361', 'Q11768'] [{'concept': 'Q1190554'}, 'P361', 'Q11768']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q451967 ) ( ontology:Q1190554 ) } }
action count
action union
action filter_type
action find_reverse
entity Ancient Egypt
relation part of
type human action
action filter_type
action find_reverse
entity Ancient Egypt
relation part of
type event
[{'concept': 'human action'}, 'part of', 'Ancient Egypt'] [{'concept': 'event'}, 'part of', 'Ancient Egypt'] [{'concept': 'human action'}, 'part of', 'Ancient Egypt'] [{'concept': 'event'}, 'part of', 'Ancient Egypt']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:human_action ) ( ontology:event ) } }
[]
human action event
SYSTEM
3 human actions and 2 events
Q203729 Q180568 Q633560 Q191324 Q206715
(c(Q451967),P361,Q11768) (c(Q1190554),P361,Q11768) (c(Q451967),P361,Q11768) (c(Q1190554),P361,Q11768)
action count
action union
action filter_type
action find_reverse
entity Q11768
relation P361
type Q451967
action filter_type
action find_reverse
entity Q11768
relation P361
type Q1190554
[ANSWER]
[{'concept': 'Q451967'}, 'P361', 'Q11768'] [{'concept': 'Q1190554'}, 'P361', 'Q11768'] [{'concept': 'Q451967'}, 'P361', 'Q11768'] [{'concept': 'Q1190554'}, 'P361', 'Q11768']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q451967 ) ( ontology:Q1190554 ) } }
Battle of Kadesh New Kingdom Battle of Carchemish Middle Kingdom of Egypt Second Intermediate Period of Egypt
3 human actions and 2 events
action count
action union
action filter_type
action find_reverse
entity Ancient Egypt
relation part of
type human action
action filter_type
action find_reverse
entity Ancient Egypt
relation part of
type event
[{'concept': 'human action'}, 'part of', 'Ancient Egypt'] [{'concept': 'event'}, 'part of', 'Ancient Egypt'] [{'concept': 'human action'}, 'part of', 'Ancient Egypt'] [{'concept': 'event'}, 'part of', 'Ancient Egypt']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:human_action ) ( ontology:event ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11768
P180
Q2342494
USER
Which collectable depicts Ancient Egypt ?
(c(Q2342494),P180,Q11768)
action filter_type
action find_reverse
entity Q11768
relation P180
type Q2342494
[{'concept': 'Q2342494'}, 'P180', 'Q11768']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q11768 . ?k rdf:type ontology:Q2342494 }
Ancient Egypt
action filter_type
action find_reverse
entity Ancient Egypt
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Ancient Egypt']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:Ancient_Egypt . ?k rdf:type ontology:collectable }
[]
collectable
Q1200564
SYSTEM
Description de l'Égypte
Q1200564
(c(Q2342494),P180,Q11768)
action filter_type
action find_reverse
entity Q11768
relation P180
type Q2342494
[ANSWER] depicts Ancient Egypt
[{'concept': 'Q2342494'}, 'P180', 'Q11768']
SELECT DISTINCT ?k WHERE { ?k property:P180 resource:Q11768 . ?k rdf:type ontology:Q2342494 }
Description de l'Égypte
Description de l'Égypte depicts Ancient Egypt
Description de l'Égypte
action filter_type
action find_reverse
entity Ancient Egypt
relation depicts
type collectable
[{'concept': 'collectable'}, 'depicts', 'Ancient Egypt']
SELECT DISTINCT ?k WHERE { ?k property:depicts resource:Ancient_Egypt . ?k rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11768
P17
Q15617994
USER
Which administrative territory does Ancient Egypt belong to ?
(Q11768,P17,c(Q15617994))
action filter_type
action find
entity Q11768
relation P17
type Q15617994
['Q11768', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q11768 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Ancient Egypt
action filter_type
action find
entity Ancient Egypt
relation country
type designation for an administrative territorial entity
['Ancient Egypt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ancient_Egypt property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q11768,P17,c(Q15617994))
action filter_type
action find
entity Q11768
relation P17
type Q15617994
Ancient belongs to [ANSWER] [ANSWER]
['Q11768', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q11768 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Egypt
Ancient belongs to Egypt Egypt
Egypt
action filter_type
action find
entity Ancient Egypt
relation country
type designation for an administrative territorial entity
['Ancient Egypt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ancient_Egypt property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q79
P137
Q2424752
USER
Which products can be described as facility operator of that administrative territory ?
(c(Q2424752),P137,Q79)
action filter_type
action find_reverse
entity Q79
relation P137
type Q2424752
[{'concept': 'Q2424752'}, 'P137', 'Q79']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q79 . ?b rdf:type ontology:Q2424752 }
Egypt
action filter_type
action find_reverse
entity Egypt
relation operator
type product
[{'concept': 'product'}, 'operator', 'Egypt']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Egypt . ?b rdf:type ontology:product }
[]
product
Q18015706 Q18011265 Q18011259
SYSTEM
Meteor NF13, Mirage 2000BM, Mirage 2000M
Q18015706 Q18011265 Q18011259
(c(Q2424752),P137,Q79)
action filter_type
action find_reverse
entity Q79
relation P137
type Q2424752
[ANSWERS] can be described as facility operator of that administrative territory
[{'concept': 'Q2424752'}, 'P137', 'Q79']
SELECT DISTINCT ?b WHERE { ?b property:P137 resource:Q79 . ?b rdf:type ontology:Q2424752 }
Meteor NF13 Mirage 2000BM Mirage 2000M
Meteor NF13, Mirage 2000BM and Mirage 2000M can be described as facility operator of that administrative territory
Meteor NF13 Mirage 2000BM Mirage 2000M
action filter_type
action find_reverse
entity Egypt
relation operator
type product
[{'concept': 'product'}, 'operator', 'Egypt']
SELECT DISTINCT ?b WHERE { ?b property:operator resource:Egypt . ?b rdf:type ontology:product }
[]