Simple Question (Direct)
Simple Question
Q2343277
P27
Q15617994
USER
Which administrative territory does Gordon Bradley belong to ?
(Q2343277,P27,c(Q15617994))
action filter_type
action find
entity Q2343277
relation P27
type Q15617994
['Q2343277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2343277 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
Gordon Bradley
action filter_type
action find
entity Gordon Bradley
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Bradley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gordon_Bradley property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2343277,P27,c(Q15617994))
action filter_type
action find
entity Q2343277
relation P27
type Q15617994
Gordon Bradley belongs to [ANSWER]
['Q2343277', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q2343277 property:P27 ?g . ?g rdf:type ontology:Q15617994 }
United States of America
Gordon Bradley belongs to United States of America
United States of America
action filter_type
action find
entity Gordon Bradley
relation country of citizenship
type designation for an administrative territorial entity
['Gordon Bradley', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Gordon_Bradley property:country_of_citizenship ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2343277
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q2343277
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q2343277 . ?u rdf:type ontology:Q838948 }
Gordon Bradley
action filter_type
action find_reverse
entity Gordon Bradley
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Gordon_Bradley . ?u rdf:type ontology:work_of_art }
[]
work of art
Q3352372
SYSTEM
Once in a Lifetime: The Extraordinary Story of the New York Cosmos
Q3352372
(c(Q838948),P161,Q30)
action filter_type
action find_reverse
entity Q2343277
relation P161
type Q838948
That person stars in [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P161 resource:Q2343277 . ?u rdf:type ontology:Q838948 }
Once in a Lifetime: The Extraordinary Story of the New York Cosmos
That person stars in Once in a Lifetime: The Extraordinary Story of the New York Cosmos
Once in a Lifetime: The Extraordinary Story of the New York Cosmos
action filter_type
action find_reverse
entity Gordon Bradley
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:cast_member resource:Gordon_Bradley . ?u rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3352372
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q3352372,P364,c(Q34770))
action filter_type
action find
entity Q3352372
relation P364
type Q34770
['Q3352372', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q3352372 property:P364 ?n . ?n rdf:type ontology:Q34770 }
Once in a Lifetime: The Extraordinary Story of the New York Cosmos
action filter_type
action find
entity Once in a Lifetime: The Extraordinary Story of the New York Cosmos
relation original language of work
type language
['Once in a Lifetime: The Extraordinary Story of the New York Cosmos', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Once_in_a_Lifetime:_The_Extraordinary_Story_of_the_New_York_Cosmos property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3352372,P364,c(Q34770))
action filter_type
action find
entity Q3352372
relation P364
type Q34770
[ANSWER] was used originally for the creation of that work of art
['Q3352372', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q3352372 property:P364 ?n . ?n rdf:type ontology:Q34770 }
English
English was used originally for the creation of that work of art
English
action filter_type
action find
entity Once in a Lifetime: The Extraordinary Story of the New York Cosmos
relation original language of work
type language
['Once in a Lifetime: The Extraordinary Story of the New York Cosmos', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Once_in_a_Lifetime:_The_Extraordinary_Story_of_the_New_York_Cosmos property:original_language_of_work ?n . ?n rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q5962346
USER
How many classification schemes are that language a part of ?
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action count
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:Q1860 property:P361 ?f . ?f rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
2
action count
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?w ) WHERE { resource:English property:part_of ?f . ?f rdf:type ontology:classification_scheme }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P37
Q43229
USER
Which organizations are known to have English as their official language ?
(c(Q43229),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q43229
[{'concept': 'Q43229'}, 'P37', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P37 resource:Q1860 . ?z rdf:type ontology:Q43229 }
English
action filter_type
action find_reverse
entity English
relation official language
type organization
[{'concept': 'organization'}, 'official language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:official_language resource:English . ?z rdf:type ontology:organization }
[]
organization
Q40970 Q7825 Q15028
SYSTEM
International Olympic Committee, World Trade Organization, International Organization for Standardization
Q20055354 Q20179014 Q15028 Q20179132 Q40970 Q41550 Q19875296 Q20178932 Q7825 Q19958309
(c(Q43229),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q43229
[ANSWERS] are known to have English as their official language
[{'concept': 'Q43229'}, 'P37', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P37 resource:Q1860 . ?z rdf:type ontology:Q43229 }
BusinessCom Networks EIM E.S.C International Organization for Standardization LookAt International Olympic Committee Organisation for Economic Co-operation and Development Lock the Gate Alliance Nanorep World Trade Organization ITLY
International Olympic Committee, World Trade Organization and International Organization for Standardization are known to have English as their official language
International Olympic Committee World Trade Organization International Organization for Standardization
action filter_type
action find_reverse
entity English
relation official language
type organization
[{'concept': 'organization'}, 'official language', 'English']
SELECT DISTINCT ?z WHERE { ?z property:official_language resource:English . ?z rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P6
Q502895
USER
Who are the heads of the government of United States of America ?
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 }
United States of America
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q76 Q9916 Q22686
SYSTEM
Barack Obama, Dwight D. Eisenhower, Donald Trump
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q35236 Q12325 Q33866 Q35648 Q9588 Q9582 Q35041 Q207 Q11813 Q91 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q11869 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action filter_type
action find
entity Q30
relation P6
type Q502895
The heads of the government of United States of America are President [ANSWERS]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q30 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Herbert Hoover James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William McKinley George W. Bush James Madison Abraham Lincoln Jimmy Carter John F. Kennedy Donald Trump James A. Garfield Calvin Coolidge John Tyler Dwight D. Eisenhower Franklin Pierce John Adams Warren G. Harding Lyndon B. Johnson Rutherford B. Hayes Martin Van Buren Benjamin Harrison William Henry Harrison Woodrow Wilson Barack Obama Andrew Johnson Ulysses S. Grant George H. W. Bush George Washington Bill Clinton Harry S. Truman Zachary Taylor Franklin Delano Roosevelt Ronald Reagan James K. Polk
The heads of the government of United States of America are President Barack Obama, Dwight D. Eisenhower and Donald Trump
Barack Obama Dwight D. Eisenhower Donald Trump
action filter_type
action find
entity United States of America
relation head of government
type common name
['United States of America', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:United_States_of_America property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2044
Q502895
USER
And also tell me about Florence?
(Q2044,P6,c(Q502895))
action filter_type
action find
entity Q2044
relation P6
type Q502895
['Q2044', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q2044 property:P6 ?l }
Florence
action filter_type
action find
entity Florence
relation head of government
type common name
['Florence', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Florence property:head_of_government ?l }
[]
common name
Q47563 Q15976266
SYSTEM
Matteo Renzi, Dario Nardella
Q47563 Q15976266
(Q2044,P6,c(Q502895))
action filter_type
action find
entity Q2044
relation P6
type Q502895
[ANSWERS]
['Q2044', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q2044 property:P6 ?l }
Matteo Renzi Dario Nardella
Matteo Renzi Dario Nardella
action filter_type
action find
entity Florence
relation head of government
type common name
['Florence', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Florence property:head_of_government ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q76
P551
Q3947 Q5119
USER
How many houses or capitals were the places of residence of Barack Obama ?
(Q76,P551,c(Q3947)) (Q76,P551,c(Q5119))
action count
action union
action filter_type
action find
entity Q76
relation P551
type Q3947
action filter_type
action find
entity Q76
relation P551
type Q5119
['Q76', 'P551', {'concept': 'Q3947'}] ['Q76', 'P551', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { ?k rdf:type ontology:Q3947 . resource:Q76 property:P551 ?k } UNION { resource:Q76 property:P551 ?k . ?k rdf:type ontology:Q5119 } }
Barack Obama
action count
action union
action filter_type
action find
entity Barack Obama
relation residence
type house
action filter_type
action find
entity Barack Obama
relation residence
type capital
['Barack Obama', 'residence', {'concept': 'house'}] ['Barack Obama', 'residence', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { ?k rdf:type ontology:house . resource:Barack_Obama property:residence ?k } UNION { resource:Barack_Obama property:residence ?k . ?k rdf:type ontology:capital } }
[]
house capital
SYSTEM
2
Q18094 Q35525
(Q76,P551,c(Q3947)) (Q76,P551,c(Q5119))
action count
action union
action filter_type
action find
entity Q76
relation P551
type Q3947
action filter_type
action find
entity Q76
relation P551
type Q5119
[ANSWER]
['Q76', 'P551', {'concept': 'Q3947'}] ['Q76', 'P551', {'concept': 'Q5119'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { ?k rdf:type ontology:Q3947 . resource:Q76 property:P551 ?k } UNION { resource:Q76 property:P551 ?k . ?k rdf:type ontology:Q5119 } }
Honolulu White House
2
action count
action union
action filter_type
action find
entity Barack Obama
relation residence
type house
action filter_type
action find
entity Barack Obama
relation residence
type capital
['Barack Obama', 'residence', {'concept': 'house'}] ['Barack Obama', 'residence', {'concept': 'capital'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { { ?k rdf:type ontology:house . resource:Barack_Obama property:residence ?k } UNION { resource:Barack_Obama property:residence ?k . ?k rdf:type ontology:capital } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q30 Q9916
P161 P495
Q838948
USER
Which works of art have Dwight D. Eisenhower as actor and have United States of America as their place of origin ?
AND((c(Q838948),P161,Q9916), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q9916
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q9916'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?c WHERE { ?c property:P161 resource:Q9916 . ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q838948 }
United States of America Dwight D. Eisenhower
action filter_type
action intersection
action find_reverse
entity Dwight D. Eisenhower
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Dwight D. Eisenhower'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?c WHERE { ?c property:cast_member resource:Dwight_D._Eisenhower . ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
work of art
Q477472 Q15963780 Q3978030
SYSTEM
The True Glory, Carol, Superstar: The Life and Times of Andy Warhol
Q477472 Q15963780 Q3978030
AND((c(Q838948),P161,Q9916), (c(Q838948),P495,Q30))
action filter_type
action intersection
action find_reverse
entity Q9916
relation P161
action find_reverse
entity Q30
relation P495
type Q838948
[ANSWERS] have Dwight D. Eisenhower as actor and have United States of America as their place of origin
{'AND': [[{'concept': 'Q838948'}, 'P161', 'Q9916'], [{'concept': 'Q838948'}, 'P495', 'Q30']]}
SELECT DISTINCT ?c WHERE { ?c property:P161 resource:Q9916 . ?c property:P495 resource:Q30 . ?c rdf:type ontology:Q838948 }
The True Glory Carol Superstar: The Life and Times of Andy Warhol
The True Glory, Carol and Superstar: The Life and Times of Andy Warhol have Dwight D. Eisenhower as actor and have United States of America as their place of origin
The True Glory Carol Superstar: The Life and Times of Andy Warhol
action filter_type
action intersection
action find_reverse
entity Dwight D. Eisenhower
relation cast member
action find_reverse
entity United States of America
relation country of origin
type work of art
{'AND': [[{'concept': 'work of art'}, 'cast member', 'Dwight D. Eisenhower'], [{'concept': 'work of art'}, 'country of origin', 'United States of America']]}
SELECT DISTINCT ?c WHERE { ?c property:cast_member resource:Dwight_D._Eisenhower . ?c property:country_of_origin resource:United_States_of_America . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15963780
P2554
Q502895
USER
Who created the production designs of Carol ?
(Q15963780,P2554,c(Q502895))
action filter_type
action find
entity Q15963780
relation P2554
type Q502895
['Q15963780', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15963780 property:P2554 ?f . ?f rdf:type ontology:Q502895 }
Carol
action filter_type
action find
entity Carol
relation production designer
type common name
['Carol', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Carol property:production_designer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q15839423
SYSTEM
Judy Becker
Q15839423
(Q15963780,P2554,c(Q502895))
action filter_type
action find
entity Q15963780
relation P2554
type Q502895
Ed [ANSWER] created the production designs of Carol
['Q15963780', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15963780 property:P2554 ?f . ?f rdf:type ontology:Q502895 }
Judy Becker
Ed Judy Becker created the production designs of Carol
Judy Becker
action filter_type
action find
entity Carol
relation production designer
type common name
['Carol', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Carol property:production_designer ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15963780
P57
Q502895
USER
Which person served as the directed of Carol ?
(Q15963780,P57,c(Q502895))
action filter_type
action find
entity Q15963780
relation P57
type Q502895
['Q15963780', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15963780 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Carol
action filter_type
action find
entity Carol
relation director
type common name
['Carol', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Carol property:director ?f . ?f rdf:type ontology:common_name }
[]
common name
Q446580
SYSTEM
Todd Haynes
Q446580
(Q15963780,P57,c(Q502895))
action filter_type
action find
entity Q15963780
relation P57
type Q502895
As [ANSWER] served as the directed of Carol
['Q15963780', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q15963780 property:P57 ?f . ?f rdf:type ontology:Q502895 }
Todd Haynes
As Todd Haynes served as the directed of Carol
Todd Haynes
action filter_type
action find
entity Carol
relation director
type common name
['Carol', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Carol property:director ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16736826
Q502895
USER
And what about Inside?
(Q16736826,P57,c(Q502895))
action filter_type
action find
entity Q16736826
relation P57
type Q502895
['Q16736826', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16736826 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Inside
action filter_type
action find
entity Inside
relation director
type common name
['Inside', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Inside property:director ?g . ?g rdf:type ontology:common_name }
[]
common name
Q187261
SYSTEM
Zeki Demirkubuz
Q187261
(Q16736826,P57,c(Q502895))
action filter_type
action find
entity Q16736826
relation P57
type Q502895
[ANSWER]
['Q16736826', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q16736826 property:P57 ?g . ?g rdf:type ontology:Q502895 }
Zeki Demirkubuz
Zeki Demirkubuz
action filter_type
action find
entity Inside
relation director
type common name
['Inside', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Inside property:director ?g . ?g rdf:type ontology:common_name }
[]