Simple Question (Direct)
Simple Question
Q19866166
P119
Q43229
USER
Which organization is the place of burial of Humphrey Pearson ?
(Q19866166,P119,c(Q43229))
action filter_type
action find
entity Q19866166
relation P119
type Q43229
['Q19866166', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q19866166 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Humphrey Pearson
action filter_type
action find
entity Humphrey Pearson
relation place of burial
type organization
['Humphrey Pearson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Humphrey_Pearson property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
organization
Q1437214
SYSTEM
Forest Lawn Memorial Park
Q1437214
(Q19866166,P119,c(Q43229))
action filter_type
action find
entity Q19866166
relation P119
type Q43229
In [ANSWER] is the place of burial of Humphrey Pearson
['Q19866166', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?q WHERE { resource:Q19866166 property:P119 ?q . ?q rdf:type ontology:Q43229 }
Forest Lawn Memorial Park
In Forest Lawn Memorial Park is the place of burial of Humphrey Pearson
Forest Lawn Memorial Park
action filter_type
action find
entity Humphrey Pearson
relation place of burial
type organization
['Humphrey Pearson', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?q WHERE { resource:Humphrey_Pearson property:place_of_burial ?q . ?q rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19866166
P58
Q838948
USER
Which work of art is Humphrey Pearson a screenwriter of ?
(c(Q838948),P58,Q19866166)
action filter_type
action find_reverse
entity Q19866166
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q19866166']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q19866166 . ?o rdf:type ontology:Q838948 }
Humphrey Pearson
action filter_type
action find_reverse
entity Humphrey Pearson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Humphrey Pearson']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Humphrey_Pearson . ?o rdf:type ontology:work_of_art }
[]
work of art
Q7836022
SYSTEM
Traveling Husbands
Q7836022
(c(Q838948),P58,Q19866166)
action filter_type
action find_reverse
entity Q19866166
relation P58
type Q838948
The traveling Husbands is Humphrey Pearson a screenwriter of
[{'concept': 'Q838948'}, 'P58', 'Q19866166']
SELECT DISTINCT ?o WHERE { ?o property:P58 resource:Q19866166 . ?o rdf:type ontology:Q838948 }
Traveling Husbands
The traveling Husbands is Humphrey Pearson a screenwriter of
Traveling Husbands
action filter_type
action find_reverse
entity Humphrey Pearson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Humphrey Pearson']
SELECT DISTINCT ?o WHERE { ?o property:screenwriter resource:Humphrey_Pearson . ?o rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19866166
P27
Q15617994
USER
Which administrative territory is the native country of Humphrey Pearson ?
(Q19866166,P27,c(Q15617994))
action filter_type
action find
entity Q19866166
relation P27
type Q15617994
['Q19866166', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q19866166 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Humphrey Pearson
action filter_type
action find
entity Humphrey Pearson
relation country of citizenship
type designation for an administrative territorial entity
['Humphrey Pearson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Humphrey_Pearson property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q19866166,P27,c(Q15617994))
action filter_type
action find
entity Q19866166
relation P27
type Q15617994
[ANSWER] is the native country of Humphrey Pearson
['Q19866166', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q19866166 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
United States of America
United States of America is the native country of Humphrey Pearson
United States of America
action filter_type
action find
entity Humphrey Pearson
relation country of citizenship
type designation for an administrative territorial entity
['Humphrey Pearson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Humphrey_Pearson property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q30
P6
Q502895
USER
How many people have United States of America as their heads of government ?
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q30 property:P6 ?t . ?t rdf:type ontology:Q502895 }
United States of America
action count
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 ( COUNT ( ?t ) AS ?k ) WHERE { resource:United_States_of_America property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
44
Q35171 Q11815 Q11816 Q11817 Q35498 Q11812 Q12306 Q91 Q12325 Q33866 Q35648 Q9588 Q9582 Q11869 Q207 Q11813 Q35236 Q23685 Q9696 Q22686 Q34597 Q36023 Q11881 Q9916 Q12312 Q11806 Q35286 Q9640 Q35686 Q11820 Q35678 Q35041 Q34296 Q76 Q8612 Q34836 Q23505 Q23 Q1124 Q11613 Q11896 Q8007 Q9960 Q11891
(Q30,P6,c(Q502895))
action count
action filter_type
action find
entity Q30
relation P6
type Q502895
[ANSWER]
['Q30', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q30 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Grover Cleveland James Monroe John Quincy Adams Andrew Jackson Chester A. Arthur Thomas Jefferson Millard Fillmore Abraham Lincoln James Buchanan Theodore Roosevelt William Howard Taft Richard Nixon Gerald Ford William Henry Harrison George W. Bush James Madison Herbert Hoover 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 McKinley 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
44
action count
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 ( COUNT ( ?t ) AS ?k ) WHERE { resource:United_States_of_America property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1766821
Q502895
USER
And how about Salce?
(Q1766821,P6,c(Q502895))
action count
action filter_type
action find
entity Q1766821
relation P6
type Q502895
['Q1766821', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q1766821 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Salce
action count
action filter_type
action find
entity Salce
relation head of government
type common name
['Salce', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Salce property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
SYSTEM
1
(Q1766821,P6,c(Q502895))
action count
action filter_type
action find
entity Q1766821
relation P6
type Q502895
[ANSWER]
['Q1766821', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q1766821 property:P6 ?u . ?u rdf:type ontology:Q502895 }
1
action count
action filter_type
action find
entity Salce
relation head of government
type common name
['Salce', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Salce property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1766821
P47
Q1048835
USER
Which political territory has a shared border with Salce ?
(Q1766821,P47,c(Q1048835))
action filter_type
action find
entity Q1766821
relation P47
type Q1048835
['Q1766821', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1766821 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Salce
action filter_type
action find
entity Salce
relation shares border with
type political territorial entity
['Salce', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Salce property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1768963
SYSTEM
Villar del Buey
Q1768963
(Q1766821,P47,c(Q1048835))
action filter_type
action find
entity Q1766821
relation P47
type Q1048835
[ANSWER] has a shared border with Salce
['Q1766821', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q1766821 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Villar del Buey
Villar del Buey has a shared border with Salce
Villar del Buey
action filter_type
action find
entity Salce
relation shares border with
type political territorial entity
['Salce', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Salce property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1768963
P1313
Q12737077
USER
Which occupation is fulfilled by that political territory ?
(Q1768963,P1313,c(Q12737077))
action filter_type
action find
entity Q1768963
relation P1313
type Q12737077
['Q1768963', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1768963 property:P1313 ?h }
Villar del Buey
action filter_type
action find
entity Villar del Buey
relation office held by head of government
type occupation
['Villar del Buey', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Villar_del_Buey property:office_held_by_head_of_government ?h }
[]
occupation
Q26696347
SYSTEM
mayor of Villar del Buey
Q26696347
(Q1768963,P1313,c(Q12737077))
action filter_type
action find
entity Q1768963
relation P1313
type Q12737077
The [ANSWER] is fulfilled by that political territory
['Q1768963', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q12737077 . resource:Q1768963 property:P1313 ?h }
mayor of Villar del Buey
The mayor of Villar del Buey is fulfilled by that political territory
mayor of Villar del Buey
action filter_type
action find
entity Villar del Buey
relation office held by head of government
type occupation
['Villar del Buey', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:occupation . resource:Villar_del_Buey property:office_held_by_head_of_government ?h }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q553036 Q2221906 Q1048835
USER
Which political territories have their location as approximately 1 natural region of Germanys and geographic locations ?
(c(Q1048835),P706,c(Q553036)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
value 1
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?a ) WHERE { { ?h property:P706 ?g . ?g rdf:type ontology:Q553036 . ?h rdf:type ontology:Q1048835 } UNION { ?h property:P706 ?g . ?h rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q2221906 } } GROUP BY ?h } . FILTER ( ?a = 1 ) }
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?a ) WHERE { { ?h property:located_on_terrain_feature ?g . ?g rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:political_territorial_entity } UNION { ?h property:located_on_terrain_feature ?g . ?h rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:geographic_location } } GROUP BY ?h } . FILTER ( ?a = 1 ) }
[]
natural region of Germany geographic location political territorial entity
Q766 Q778 Q5785
SYSTEM
Jamaica, The Bahamas, Cayman Islands
Q13353 Q6139 Q168856 Q5785 Q25228 Q8583 Q170213 Q766 Q8593 Q18221 Q778 Q5700 Q25305
(c(Q1048835),P706,c(Q553036)|c(Q2221906))
action approx
action union
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action find_tuple_counts
relation P706
type Q1048835
type Q2221906
value 1
[ANSWERS] have their location as approximately 1 natural region of Germanys and geographic locations
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q553036'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?a ) WHERE { { ?h property:P706 ?g . ?g rdf:type ontology:Q553036 . ?h rdf:type ontology:Q1048835 } UNION { ?h property:P706 ?g . ?h rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q2221906 } } GROUP BY ?h } . FILTER ( ?a = 1 ) }
Montserrat Havelland Chernivtsi Oblast Cayman Islands Anguilla Vulkaneifel Zakarpattia Oblast Jamaica Mayen-Koblenz Turks and Caicos Islands The Bahamas Lapland British Virgin Islands
Jamaica, The Bahamas and Cayman Islands have their location as approximately 1 natural region of Germanys and geographic locations
Jamaica The Bahamas Cayman Islands
action approx
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type geographic location
value 1
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'natural region of Germany'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?g ) AS ?a ) WHERE { { ?h property:located_on_terrain_feature ?g . ?g rdf:type ontology:natural_region_of_Germany . ?h rdf:type ontology:political_territorial_entity } UNION { ?h property:located_on_terrain_feature ?g . ?h rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:geographic_location } } GROUP BY ?h } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q766 Q778 Q5785
P17
Q62447
USER
Which aerodromes are located in Jamaica, The Bahamas and Cayman Islands ?
(c(Q62447),P17,Q766) (c(Q62447),P17,Q778) (c(Q62447),P17,Q5785)
action union
action filter_type
action find_reverse
entity Q766
relation P17
type Q62447
action filter_type
action find_reverse
entity Q778
relation P17
type Q62447
action filter_type
action find_reverse
entity Q5785
relation P17
type Q62447
[{'concept': 'Q62447'}, 'P17', 'Q766'] [{'concept': 'Q62447'}, 'P17', 'Q778'] [{'concept': 'Q62447'}, 'P17', 'Q5785']
SELECT DISTINCT ?r WHERE { ?r property:P17 ?v . VALUES ( ?v ) { ( resource:Q766 ) ( resource:Q778 ) } }
Jamaica The Bahamas Cayman Islands
action union
action filter_type
action find_reverse
entity Jamaica
relation country
type aerodrome
action filter_type
action find_reverse
entity The Bahamas
relation country
type aerodrome
action filter_type
action find_reverse
entity Cayman Islands
relation country
type aerodrome
[{'concept': 'aerodrome'}, 'country', 'Jamaica'] [{'concept': 'aerodrome'}, 'country', 'The Bahamas'] [{'concept': 'aerodrome'}, 'country', 'Cayman Islands']
SELECT DISTINCT ?r WHERE { ?r property:country ?v . VALUES ( ?v ) { ( resource:Jamaica ) ( resource:The_Bahamas ) } }
[]
aerodrome
Q174140 Q2320308 Q2220544
SYSTEM
Sangster International Airport, Tinson Pen Aerodrome, Ian Fleming International Airport
Q174140 Q2320308 Q2220544 Q1432206 Q2631578 Q11824567 Q2531237 Q16894035 Q16894036 Q12695525 Q16890746 Q7417414 Q3274509 Q16896044 Q3913639 Q16852756 Q1415006 Q3016787 Q3274397 Q12692494 Q16892193 Q2748848 Q4759539 Q20449493 Q12694807 Q16841792 Q7573169 Q7415281 Q20452746 Q2901853 Q7598927 Q651576 Q16842803 Q14932562 Q14932560 Q14932564 Q14932565 Q16858398 Q14932558 Q14932557 Q3914468 Q16890372 Q12694921 Q1655928 Q7230827 Q16899478 Q1708491 Q7051870 Q16858505 Q12692147 Q7607091 Q667980 Q8213905 Q16892344 Q12692117 Q7413238 Q5314630 Q16891368 Q16894338 Q2887446 Q651770 Q12693633 Q7580656 Q16954265 Q16954999 Q5115240 Q20458523 Q12692877 Q3499608 Q7985066 Q2493876 Q6588319 Q16891189 Q1655160 Q12693574 Q16895791 Q665948 Q5341935 Q3275688
(c(Q62447),P17,Q766) (c(Q62447),P17,Q778) (c(Q62447),P17,Q5785)
action union
action filter_type
action find_reverse
entity Q766
relation P17
type Q62447
action filter_type
action find_reverse
entity Q778
relation P17
type Q62447
action filter_type
action find_reverse
entity Q5785
relation P17
type Q62447
[ANSWERS] are located in Jamaica, The Bahamas and Cayman Islands
[{'concept': 'Q62447'}, 'P17', 'Q766'] [{'concept': 'Q62447'}, 'P17', 'Q778'] [{'concept': 'Q62447'}, 'P17', 'Q5785']
SELECT DISTINCT ?r WHERE { ?r property:P17 ?v . VALUES ( ?v ) { ( resource:Q766 ) ( resource:Q778 ) } }
Sangster International Airport Tinson Pen Aerodrome Ian Fleming International Airport Norman Manley International Airport Ken Jones Aerodrome Marlboro Airport Negril Aerodrome Lee Stocking Airport Leaf Cay Airport Walkers Cay Airport Cutlass Bay Airport Sandy Point Airport Clarence A. Bain Airport Ocean Cay Airport Governor's Harbour Airport Castaway Cay Airport Lynden Pindling International Airport Inagua Airport George Town Airport Duncan Town Airport Hawks Nest Airport South Bimini Airport Andros Town International Airport Hog Cay Airport Sampson Cay Airport Big Whale Cay Airport Spanish Cay Airport San Salvador Airport Deep Water Cay Airport Arthur's Town Airport Staniel Cay Airport Mayaguana Airport Black Point Airport Hard Bargain Airport Autec Heliport Mores Island Airport Pitts Town Airport Cat Cay Airport Cape Eleuthera Airport Andros Central Airport Great Harbour Cay Airport Cistern Field Scotland Cay Airport Congo Town Airport Port Nelson Airport Rudder Cut Cay Airport Deadman's Cay Airport Norman's Cay Airport Cay Sal Airport Castaway Cay Airport Stella Maris Airport North Eleuthera Airport New Bight Airport Hog Cay Airport Cape Santa Maria Airport San Andros Airport Duncan Town Airport Fowl Cay Airport Lt. Whale Cay Airport Rock Sound International Airport Marsh Harbour Airport Little Darby Island Airport Spring Point Airport Darby Island Airport Deep Water Cay Airport Chub Cay International Airport Norman Cay Airport Grand Bahama Airport Exuma International Airport West End Airport Grand Bahama International Airport Treasure Cay Airport Farmers Cay Airport Colonel Hill Airport Lee Stocking Island Airport New Providence Airport Owen Roberts International Airport Edward Bodden Airfield Gerrard Smith International Airport
Sangster International Airport, Tinson Pen Aerodrome and Ian Fleming International Airport are located in Jamaica, The Bahamas and Cayman Islands
Sangster International Airport Tinson Pen Aerodrome Ian Fleming International Airport
action union
action filter_type
action find_reverse
entity Jamaica
relation country
type aerodrome
action filter_type
action find_reverse
entity The Bahamas
relation country
type aerodrome
action filter_type
action find_reverse
entity Cayman Islands
relation country
type aerodrome
[{'concept': 'aerodrome'}, 'country', 'Jamaica'] [{'concept': 'aerodrome'}, 'country', 'The Bahamas'] [{'concept': 'aerodrome'}, 'country', 'Cayman Islands']
SELECT DISTINCT ?r WHERE { ?r property:country ?v . VALUES ( ?v ) { ( resource:Jamaica ) ( resource:The_Bahamas ) } }
[]