Simple Question (Direct)
Simple Question
Q708643
P27
Q15617994
USER
Which administrative territory is A. Berriedale Keith an inhabitant of ?
(Q708643,P27,c(Q15617994))
action filter_type
action find
entity Q708643
relation P27
type Q15617994
['Q708643', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q708643 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
A. Berriedale Keith
action filter_type
action find
entity A. Berriedale Keith
relation country of citizenship
type designation for an administrative territorial entity
['A. Berriedale Keith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:A._Berriedale_Keith property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q708643,P27,c(Q15617994))
action filter_type
action find
entity Q708643
relation P27
type Q15617994
[ANSWER] is A. Berriedale Keith an inhabitant of
['Q708643', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q708643 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is A. Berriedale Keith an inhabitant of
United Kingdom
action filter_type
action find
entity A. Berriedale Keith
relation country of citizenship
type designation for an administrative territorial entity
['A. Berriedale Keith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:A._Berriedale_Keith property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q708643
P7
Q502895
USER
Which person has that one as their brother ?
(c(Q502895),P7,Q145)
action filter_type
action find_reverse
entity Q708643
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q145']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P7 resource:Q708643 }
A. Berriedale Keith
action filter_type
action find_reverse
entity A. Berriedale Keith
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:brother resource:A._Berriedale_Keith }
[]
common name
Q18672873
SYSTEM
William Keith
Q18672873
(c(Q502895),P7,Q145)
action filter_type
action find_reverse
entity Q708643
relation P7
type Q502895
[ANSWER] has that one as their brother
[{'concept': 'Q502895'}, 'P7', 'Q145']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q502895 . ?k property:P7 resource:Q708643 }
William Keith
William Keith has that one as their brother
William Keith
action filter_type
action find_reverse
entity A. Berriedale Keith
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'United Kingdom']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:common_name . ?k property:brother resource:A._Berriedale_Keith }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P30
Q2221906
USER
Which geographic location is United Kingdom a part of ?
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q145 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:United_Kingdom property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q145,P30,c(Q2221906))
action filter_type
action find
entity Q145
relation P30
type Q2221906
Were [ANSWER] is United Kingdom a part of
['Q145', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?u WHERE { resource:Q145 property:P30 ?u . ?u rdf:type ontology:Q2221906 }
Europe
Were Europe is United Kingdom a part of
Europe
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?u WHERE { resource:United_Kingdom property:continent ?u . ?u rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P47
Q2221906
USER
Which geographic locations share border with that one ?
(Q46,P47,c(Q2221906))
action filter_type
action find
entity Q46
relation P47
type Q2221906
['Q46', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q46 property:P47 ?h . ?h rdf:type ontology:Q2221906 }
Europe
action filter_type
action find
entity Europe
relation shares border with
type geographic location
['Europe', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Europe property:shares_border_with ?h . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q15 Q48
SYSTEM
Africa, Asia
Q15 Q48
(Q46,P47,c(Q2221906))
action filter_type
action find
entity Q46
relation P47
type Q2221906
[ANSWERS] share border with that one
['Q46', 'P47', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q46 property:P47 ?h . ?h rdf:type ontology:Q2221906 }
Africa Asia
Africa and Asia share border with that one
Africa Asia
action filter_type
action find
entity Europe
relation shares border with
type geographic location
['Europe', 'shares border with', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Europe property:shares_border_with ?h . ?h rdf:type ontology:geographic_location }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P610
Q14524493 Q2221906
USER
How many geographic locations have approximately the same number of terrains as their zenith as that geographic location ?
(c(Q2221906),P610,c(Q14524493))
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
terrain geographic location
Comparative|Count over More/Less|Single entity type|Clarification
Q48
SYSTEM
Did you mean Asia ?
(c(Q2221906),P610,c(Q14524493))
[ANSWER]
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
Did you mean Asia ?
Asia
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Africa. Could you tell me the answer for that?
(c(Q2221906),P610,c(Q14524493))
Q15
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
[]
SYSTEM
22
Q5063897 Q15266363 Q6721952 Q2721679 Q5328630 Q7581425 Q51 Q5598693 Q6729888 Q4921364 Q27479 Q7205132 Q6875911 Q5929184 Q6649061 Q46 Q6858288 Q5127364 Q49 Q315496 Q4920954 Q7968217
(c(Q2221906),P610,c(Q14524493))
[ANSWER]
[{'concept': 'Q2221906'}, 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P610 ?y . ?z rdf:type ontology:Q2221906 . ?y rdf:type ontology:Q14524493 }
Cerbat Mountains Pilot Range (New Hampshire) MacIntyre Mountains Warner Mountains East Humboldt Range Spruce Mountain Antarctica Great Balsam Mountains Magdalena Mountains Black Mountains Northern Europe Plott Balsams Misquah Hills Hueco Mountains Little Belt Mountains Europe Mill Creek Mountain Clark Range North America Upper Harz Black Hills Wapack Range
22
[{'concept': 'geographic location'}, 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:highest_point ?y . ?z rdf:type ontology:geographic_location . ?y rdf:type ontology:terrain }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q2221906 Q2221906
USER
Which geographic locations are max number of geographic locations located on ?
(c(Q2221906),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q919721']
SELECT DISTINCT ?k WHERE { FILTER ( ?m = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P706 ?k . ?k rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q2221906 } GROUP BY ?y } } }
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?k WHERE { FILTER ( ?m = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_location . ?h rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?p rdf:type ontology:geographic_location } GROUP BY ?y } } }
[]
geographic location geographic location
Q636672
SYSTEM
Sierra Nevada de Mérida
Q636672
(c(Q2221906),P706,Q919721)
action argmax
action find_reverse_tuple_counts
relation P706
type Q2221906
type Q2221906
[ANSWER] is max number of geographic locations located on
[{'concept': 'Q2221906'}, 'P706', 'Q919721']
SELECT DISTINCT ?k WHERE { FILTER ( ?m = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:P706 ?k . ?k rdf:type ontology:Q2221906 . ?h rdf:type ontology:Q2221906 } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?p rdf:type ontology:Q2221906 } GROUP BY ?y } } }
Sierra Nevada de Mérida
Sierra Nevada de Mérida is max number of geographic locations located on
Sierra Nevada de Mérida
action argmax
action find_reverse_tuple_counts
relation located on terrain feature
type geographic location
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'eastern Germany']
SELECT DISTINCT ?k WHERE { FILTER ( ?m = ?r ) . { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?m ) WHERE { ?h property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_location . ?h rdf:type ontology:geographic_location } GROUP BY ?k } . { SELECT DISTINCT ( MAX ( ?a ) AS ?r ) { SELECT DISTINCT ?y ( COUNT ( ?p ) AS ?a ) WHERE { ?p property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?p rdf:type ontology:geographic_location } GROUP BY ?y } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15
P376
Q16889133
USER
Which class is known to be the location of Africa ?
(Q15,P376,c(Q16889133))
action filter_type
action find
entity Q15
relation P376
type Q16889133
['Q15', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { resource:Q15 property:P376 ?t . ?t rdf:type ontology:Q16889133 }
Africa
action filter_type
action find
entity Africa
relation located on astronomical body
type class
['Africa', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { resource:Africa property:located_on_astronomical_body ?t . ?t rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q15,P376,c(Q16889133))
action filter_type
action find
entity Q15
relation P376
type Q16889133
Africa [ANSWER] is known to be the location of Africa
['Q15', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?t WHERE { resource:Q15 property:P376 ?t . ?t rdf:type ontology:Q16889133 }
Earth
Africa Earth is known to be the location of Africa
Earth
action filter_type
action find
entity Africa
relation located on astronomical body
type class
['Africa', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?t WHERE { resource:Africa property:located_on_astronomical_body ?t . ?t rdf:type ontology:class }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15
P610
Q8072
USER
Which is the highest peak of Africa ?
(Q15,P610,c(Q8072))
action filter_type
action find
entity Q15
relation P610
type Q8072
['Q15', 'P610', {'concept': 'Q8072'}]
SELECT DISTINCT ?o WHERE { resource:Q15 property:P610 ?o . ?o rdf:type ontology:Q8072 }
Africa
action filter_type
action find
entity Africa
relation highest point
type volcano
['Africa', 'highest point', {'concept': 'volcano'}]
SELECT DISTINCT ?o WHERE { resource:Africa property:highest_point ?o . ?o rdf:type ontology:volcano }
[]
volcano
Q1394606
SYSTEM
Kibo
Q1394606
(Q15,P610,c(Q8072))
action filter_type
action find
entity Q15
relation P610
type Q8072
The highest peak of Africa is the [ANSWER]
['Q15', 'P610', {'concept': 'Q8072'}]
SELECT DISTINCT ?o WHERE { resource:Q15 property:P610 ?o . ?o rdf:type ontology:Q8072 }
Kibo
The highest peak of Africa is the Kibo
Kibo
action filter_type
action find
entity Africa
relation highest point
type volcano
['Africa', 'highest point', {'concept': 'volcano'}]
SELECT DISTINCT ?o WHERE { resource:Africa property:highest_point ?o . ?o rdf:type ontology:volcano }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1394606 Q7296 Q3395915
P361
Q107425
USER
Is that volcano a component of Mount Kilimanjaro and Phong Nha Cave ?
(Q1394606,P361,Q7296) (Q1394606,P361,Q3395915)
action is_in
entity Q1394606
action intersection
action find_reverse
entity Q7296
relation P361
action find_reverse
entity Q3395915
relation P361
['Q1394606', 'P361', 'Q7296'] ['Q1394606', 'P361', 'Q3395915']
ASK WHERE { resource:Q1394606 property:P361 resource:Q3395915 . resource:Q1394606 property:P361 resource:Q7296 }
Kibo Mount Kilimanjaro Phong Nha Cave
action is_in
entity Kibo
action intersection
action find_reverse
entity Mount Kilimanjaro
relation part of
action find_reverse
entity Phong Nha Cave
relation part of
['Kibo', 'part of', 'Mount Kilimanjaro'] ['Kibo', 'part of', 'Phong Nha Cave']
ASK WHERE { resource:Kibo property:part_of resource:Phong_Nha_Cave . resource:Kibo property:part_of resource:Mount_Kilimanjaro }
[]
landscape
SYSTEM
YES and NO respectively
(Q1394606,P361,Q7296) (Q1394606,P361,Q3395915)
action is_in
entity Q1394606
action intersection
action find_reverse
entity Q7296
relation P361
action find_reverse
entity Q3395915
relation P361
[ANSWER]
['Q1394606', 'P361', 'Q7296'] ['Q1394606', 'P361', 'Q3395915']
ASK WHERE { resource:Q1394606 property:P361 resource:Q3395915 . resource:Q1394606 property:P361 resource:Q7296 }
YES and NO respectively
action is_in
entity Kibo
action intersection
action find_reverse
entity Mount Kilimanjaro
relation part of
action find_reverse
entity Phong Nha Cave
relation part of
['Kibo', 'part of', 'Mount Kilimanjaro'] ['Kibo', 'part of', 'Phong Nha Cave']
ASK WHERE { resource:Kibo property:part_of resource:Phong_Nha_Cave . resource:Kibo property:part_of resource:Mount_Kilimanjaro }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P264
Q2031291
USER
Which releases have United Kingdom as their record company ?
(c(Q2031291),P264,Q145)
action filter_type
action find_reverse
entity Q145
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P264 resource:Q145 . ?z rdf:type ontology:Q2031291 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation record label
type release
[{'concept': 'release'}, 'record label', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:record_label resource:United_Kingdom . ?z rdf:type ontology:release }
[]
release
Q2198408 Q7655570 Q6723324
SYSTEM
Deep Cuts, Sweet Warrior, Mach Schau
Q2198408 Q7655570 Q6723324
(c(Q2031291),P264,Q145)
action filter_type
action find_reverse
entity Q145
relation P264
type Q2031291
[ANSWERS] have United Kingdom as their record company
[{'concept': 'Q2031291'}, 'P264', 'Q145']
SELECT DISTINCT ?z WHERE { ?z property:P264 resource:Q145 . ?z rdf:type ontology:Q2031291 }
Deep Cuts Sweet Warrior Mach Schau
Deep Cuts, Sweet Warrior and Mach Schau have United Kingdom as their record company
Deep Cuts Sweet Warrior Mach Schau
action filter_type
action find_reverse
entity United Kingdom
relation record label
type release
[{'concept': 'release'}, 'record label', 'United Kingdom']
SELECT DISTINCT ?z WHERE { ?z property:record_label resource:United_Kingdom . ?z rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q145
P1313
Q895526
USER
Which authority organ serves as the political office that is fulfilled by the head of the government of that administrative territory ?
(Q2198408,P1313,c(Q895526)) (Q7655570,P1313,c(Q895526)) (Q6723324,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
['Q2198408', 'P1313', {'concept': 'Q895526'}] ['Q7655570', 'P1313', {'concept': 'Q895526'}] ['Q6723324', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P1313 ?i . ?i rdf:type ontology:Q895526 }
United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['Deep Cuts', 'office held by head of government', {'concept': 'authority organ'}] ['Sweet Warrior', 'office held by head of government', {'concept': 'authority organ'}] ['Mach Schau', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?i . ?i rdf:type ontology:authority_organ }
[]
authority organ
Q14211
SYSTEM
Prime Minister of the United Kingdom
Q14211
(Q2198408,P1313,c(Q895526)) (Q7655570,P1313,c(Q895526)) (Q6723324,P1313,c(Q895526))
action filter_type
action find
entity Q145
relation P1313
type Q895526
The [ANSWER] serves as the political office that is fulfilled by the head of the government of that administrative territory
['Q2198408', 'P1313', {'concept': 'Q895526'}] ['Q7655570', 'P1313', {'concept': 'Q895526'}] ['Q6723324', 'P1313', {'concept': 'Q895526'}]
SELECT DISTINCT ?i WHERE { resource:Q145 property:P1313 ?i . ?i rdf:type ontology:Q895526 }
Prime Minister of the United Kingdom
The Prime Minister of the United Kingdom serves as the political office that is fulfilled by the head of the government of that administrative territory
Prime Minister of the United Kingdom
action filter_type
action find
entity United Kingdom
relation office held by head of government
type authority organ
['Deep Cuts', 'office held by head of government', {'concept': 'authority organ'}] ['Sweet Warrior', 'office held by head of government', {'concept': 'authority organ'}] ['Mach Schau', 'office held by head of government', {'concept': 'authority organ'}]
SELECT DISTINCT ?i WHERE { resource:United_Kingdom property:office_held_by_head_of_government ?i . ?i rdf:type ontology:authority_organ }
[]