Simple Question (Direct)
Simple Question
Q3116279
P19
Q56061
USER
Which administrative territory was Greg Smith born at ?
(Q3116279,P19,c(Q56061))
action filter_type
action find
entity Q3116279
relation P19
type Q56061
['Q3116279', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3116279 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Greg Smith
action filter_type
action find
entity Greg Smith
relation place of birth
type administrative territorial entity
['Greg Smith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Greg_Smith property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q200028
SYSTEM
Hamilton
Q200028
(Q3116279,P19,c(Q56061))
action filter_type
action find
entity Q3116279
relation P19
type Q56061
Greg Smith was born in [ANSWER]
['Q3116279', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3116279 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Hamilton
Greg Smith was born in Hamilton
Hamilton
action filter_type
action find
entity Greg Smith
relation place of birth
type administrative territorial entity
['Greg Smith', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Greg_Smith property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200028
P30
Q2221906
USER
Which geographic location is that administrative territory a part of ?
(Q200028,P30,c(Q2221906))
action filter_type
action find
entity Q200028
relation P30
type Q2221906
['Q200028', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q200028 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Hamilton
action filter_type
action find
entity Hamilton
relation continent
type geographic location
['Hamilton', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Hamilton property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
geographic location
Q538
SYSTEM
Oceania
Q538
(Q200028,P30,c(Q2221906))
action filter_type
action find
entity Q200028
relation P30
type Q2221906
[ANSWER] is that administrative territory a part of
['Q200028', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?a WHERE { resource:Q200028 property:P30 ?a . ?a rdf:type ontology:Q2221906 }
Oceania
Oceania is that administrative territory a part of
Oceania
action filter_type
action find
entity Hamilton
relation continent
type geographic location
['Hamilton', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?a WHERE { resource:Hamilton property:continent ?a . ?a rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200028
P159
Q43229
USER
Which organizations have their HQ location at that administrative territory ?
(c(Q43229),P159,Q538)
action filter_type
action find_reverse
entity Q200028
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q538']
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q200028 . ?o rdf:type ontology:Q43229 }
Hamilton
action filter_type
action find_reverse
entity Hamilton
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Oceania']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Hamilton . ?o rdf:type ontology:organization }
[]
organization
Q18167177 Q4651481 Q6658746
SYSTEM
Lightwire Limited, AFFCO Holdings, Livestock Improvement Corporation
Q18167177 Q4651481 Q6658746 Q2045505 Q7948949
(c(Q43229),P159,Q538)
action filter_type
action find_reverse
entity Q200028
relation P159
type Q43229
[ANSWERS] have their HQ location at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q538']
SELECT DISTINCT ?o WHERE { ?o property:P159 resource:Q200028 . ?o rdf:type ontology:Q43229 }
Lightwire Limited AFFCO Holdings Livestock Improvement Corporation Pacific Aerospace WEL Networks
Lightwire Limited, AFFCO Holdings and Livestock Improvement Corporation have their HQ location at that administrative territory
Lightwire Limited AFFCO Holdings Livestock Improvement Corporation
action filter_type
action find_reverse
entity Hamilton
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Oceania']
SELECT DISTINCT ?o WHERE { ?o property:headquarters_location resource:Hamilton . ?o rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18167177 Q4651481 Q6658746
P159
Q56061
USER
Where are the head office for Lightwire Limited, AFFCO Holdings and Livestock Improvement Corporation located ?
(Q18167177,P159,c(Q56061)) (Q4651481,P159,c(Q56061)) (Q6658746,P159,c(Q56061))
action union
action filter_type
action find
entity Q18167177
relation P159
type Q56061
action filter_type
action find
entity Q4651481
relation P159
type Q56061
action filter_type
action find
entity Q6658746
relation P159
type Q56061
['Q18167177', 'P159', {'concept': 'Q56061'}] ['Q4651481', 'P159', {'concept': 'Q56061'}] ['Q6658746', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { resource:Q18167177 property:P159 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q4651481 property:P159 ?h . ?h rdf:type ontology:Q56061 } }
Lightwire Limited AFFCO Holdings Livestock Improvement Corporation
action union
action filter_type
action find
entity Lightwire Limited
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity AFFCO Holdings
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Livestock Improvement Corporation
relation headquarters location
type administrative territorial entity
['Lightwire Limited', 'headquarters location', {'concept': 'administrative territorial entity'}] ['AFFCO Holdings', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Livestock Improvement Corporation', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Lightwire_Limited property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:AFFCO_Holdings property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q200028 Q200028 Q200028
SYSTEM
Hamilton
Q200028 Q200028 Q200028
(Q18167177,P159,c(Q56061)) (Q4651481,P159,c(Q56061)) (Q6658746,P159,c(Q56061))
action union
action filter_type
action find
entity Q18167177
relation P159
type Q56061
action filter_type
action find
entity Q4651481
relation P159
type Q56061
action filter_type
action find
entity Q6658746
relation P159
type Q56061
[ANSWER], [ANSWER] and [ANSWER] are the head office for Lightwire Limited , AFFCO Holdings and Livestock Improvement Corporation located
['Q18167177', 'P159', {'concept': 'Q56061'}] ['Q4651481', 'P159', {'concept': 'Q56061'}] ['Q6658746', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { resource:Q18167177 property:P159 ?h . ?h rdf:type ontology:Q56061 } UNION { resource:Q4651481 property:P159 ?h . ?h rdf:type ontology:Q56061 } }
Hamilton Hamilton Hamilton
Hamilton, Hamilton and Hamilton are the head office for Lightwire Limited , AFFCO Holdings and Livestock Improvement Corporation located
Hamilton Hamilton Hamilton
action union
action filter_type
action find
entity Lightwire Limited
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity AFFCO Holdings
relation headquarters location
type administrative territorial entity
action filter_type
action find
entity Livestock Improvement Corporation
relation headquarters location
type administrative territorial entity
['Lightwire Limited', 'headquarters location', {'concept': 'administrative territorial entity'}] ['AFFCO Holdings', 'headquarters location', {'concept': 'administrative territorial entity'}] ['Livestock Improvement Corporation', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { resource:Lightwire_Limited property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } UNION { resource:AFFCO_Holdings property:headquarters_location ?h . ?h rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200028
P17
Q1048835
USER
Which political territory is Hamilton a part of ?
(Q200028,P17,c(Q1048835))
action filter_type
action find
entity Q200028
relation P17
type Q1048835
['Q200028', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q200028 property:P17 ?p }
Hamilton
action filter_type
action find
entity Hamilton
relation country
type political territorial entity
['Hamilton', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Hamilton property:country ?p }
[]
political territorial entity
Q664
SYSTEM
New Zealand
Q664
(Q200028,P17,c(Q1048835))
action filter_type
action find
entity Q200028
relation P17
type Q1048835
Which political territory is Hamilton a part of
['Q200028', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1048835 . resource:Q200028 property:P17 ?p }
New Zealand
Which political territory is Hamilton a part of
New Zealand
action filter_type
action find
entity Hamilton
relation country
type political territorial entity
['Hamilton', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:political_territorial_entity . resource:Hamilton property:country ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q664 Q50624
P530
Q1048835
USER
Does Rogaland have diplomatic relations with New Zealand ?
(Q664,P530,Q50624)
action is_in
entity Q50624
action find
entity Q664
relation P530
['Q664', 'P530', 'Q50624']
ASK WHERE { resource:Q664 property:P530 resource:Q50624 }
New Zealand Rogaland
action is_in
entity Rogaland
action find
entity New Zealand
relation diplomatic relation
['New Zealand', 'diplomatic relation', 'Rogaland']
ASK WHERE { resource:New_Zealand property:diplomatic_relation resource:Rogaland }
[]
political territorial entity
SYSTEM
NO
(Q664,P530,Q50624)
action is_in
entity Q50624
action find
entity Q664
relation P530
[ANSWER]
['Q664', 'P530', 'Q50624']
ASK WHERE { resource:Q664 property:P530 resource:Q50624 }
No
action is_in
entity Rogaland
action find
entity New Zealand
relation diplomatic relation
['New Zealand', 'diplomatic relation', 'Rogaland']
ASK WHERE { resource:New_Zealand property:diplomatic_relation resource:Rogaland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q664
P1532
Q502895
USER
Which people play for New Zealand ?
action filter_type
action find_reverse
entity Q664
relation P1532
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q664 . ?q rdf:type ontology:Q502895 }
New Zealand
action filter_type
action find_reverse
entity New Zealand
relation country for sport
type common name
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:New_Zealand . ?q rdf:type ontology:common_name }
[]
common name
Q18011042 Q9334690 Q20354781
SYSTEM
Eliza McCartney, Sean O'Neill, David Parkes
Q20354781 Q9334690 Q18011042 Q20312729
action filter_type
action find_reverse
entity Q664
relation P1532
type Q502895
[ANSWERS] play for New Zealand
SELECT DISTINCT ?q WHERE { ?q property:P1532 resource:Q664 . ?q rdf:type ontology:Q502895 }
David Parkes Sean O'Neill Eliza McCartney Shane Murland
Eliza McCartney, Sean O'Neill and David Parkes play for New Zealand
Eliza McCartney Sean O'Neill David Parkes
action filter_type
action find_reverse
entity New Zealand
relation country for sport
type common name
SELECT DISTINCT ?q WHERE { ?q property:country_for_sport resource:New_Zealand . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q200028
P190
Q5119
USER
Which capital is twin city of Hamilton ?
(Q200028,P190,c(Q5119))
action filter_type
action find
entity Q200028
relation P190
type Q5119
['Q200028', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { resource:Q200028 property:P190 ?l . ?l rdf:type ontology:Q5119 }
Hamilton
action filter_type
action find
entity Hamilton
relation sister city
type capital
['Hamilton', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { resource:Hamilton property:sister_city ?l . ?l rdf:type ontology:capital }
[]
capital
Q18013
SYSTEM
Sacramento
Q18013
(Q200028,P190,c(Q5119))
action filter_type
action find
entity Q200028
relation P190
type Q5119
[ANSWER] is twin city of Hamilton
['Q200028', 'P190', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { resource:Q200028 property:P190 ?l . ?l rdf:type ontology:Q5119 }
Sacramento
Sacramento is twin city of Hamilton
Sacramento
action filter_type
action find
entity Hamilton
relation sister city
type capital
['Hamilton', 'sister city', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { resource:Hamilton property:sister_city ?l . ?l rdf:type ontology:capital }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200028
P740
Q2088357
USER
What were formed at that administrative territory ?
(c(Q2088357),P740,Q18013)
action filter_type
action find_reverse
entity Q200028
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q18013']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q200028 . ?k rdf:type ontology:Q2088357 }
Hamilton
action filter_type
action find_reverse
entity Hamilton
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Sacramento']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Hamilton . ?k rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q4031537 Q15053039
SYSTEM
48May, New Zealand Chamber Soloists
Q4031537 Q15053039
(c(Q2088357),P740,Q18013)
action filter_type
action find_reverse
entity Q200028
relation P740
type Q2088357
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q18013']
SELECT DISTINCT ?k WHERE { ?k property:P740 resource:Q200028 . ?k rdf:type ontology:Q2088357 }
48May New Zealand Chamber Soloists
48May and New Zealand Chamber Soloists were formed at that administrative territory
48May New Zealand Chamber Soloists
action filter_type
action find_reverse
entity Hamilton
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Sacramento']
SELECT DISTINCT ?k WHERE { ?k property:location_of_formation resource:Hamilton . ?k rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q664
P47
Q7275 Q1048835
USER
How many states and political territories are next to the border of New Zealand ?
(c(Q7275),P47,Q664) (c(Q1048835),P47,Q664)
action count
action union
action filter_type
action find_reverse
entity Q664
relation P47
type Q7275
action filter_type
action find_reverse
entity Q664
relation P47
type Q1048835
[{'concept': 'Q7275'}, 'P47', 'Q664'] [{'concept': 'Q1048835'}, 'P47', 'Q664']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
New Zealand
action count
action union
action filter_type
action find_reverse
entity New Zealand
relation shares border with
type state
action filter_type
action find_reverse
entity New Zealand
relation shares border with
type political territorial entity
[{'concept': 'state'}, 'shares border with', 'New Zealand'] [{'concept': 'political territorial entity'}, 'shares border with', 'New Zealand']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
state political territorial entity
SYSTEM
1 states and 1 political territories
Q408 Q1152445
(c(Q7275),P47,Q664) (c(Q1048835),P47,Q664)
action count
action union
action filter_type
action find_reverse
entity Q664
relation P47
type Q7275
action filter_type
action find_reverse
entity Q664
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q7275'}, 'P47', 'Q664'] [{'concept': 'Q1048835'}, 'P47', 'Q664']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
Australia Aerican Empire
1 states and 1 political territories
action count
action union
action filter_type
action find_reverse
entity New Zealand
relation shares border with
type state
action filter_type
action find_reverse
entity New Zealand
relation shares border with
type political territorial entity
[{'concept': 'state'}, 'shares border with', 'New Zealand'] [{'concept': 'political territorial entity'}, 'shares border with', 'New Zealand']
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { ?a rdf:type ?i . VALUES ( ?i ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q664
P35
Q502895
USER
How many people are the chiefs of state of New Zealand ?
(Q664,P35,c(Q502895))
action count
action filter_type
action find
entity Q664
relation P35
type Q502895
['Q664', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q664 property:P35 ?k . ?k rdf:type ontology:Q502895 }
New Zealand
action count
action filter_type
action find
entity New Zealand
relation head of state
type common name
['New Zealand', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:New_Zealand property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q9682
(Q664,P35,c(Q502895))
action count
action filter_type
action find
entity Q664
relation P35
type Q502895
[ANSWER]
['Q664', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:Q664 property:P35 ?k . ?k rdf:type ontology:Q502895 }
Elizabeth II
1
action count
action filter_type
action find
entity New Zealand
relation head of state
type common name
['New Zealand', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { resource:New_Zealand property:head_of_state ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18013
P36
Q852446
USER
Which US administrative territory is Sacramento the capital of ?
(c(Q852446),P36,Q18013)
action filter_type
action find_reverse
entity Q18013
relation P36
type Q852446
[{'concept': 'Q852446'}, 'P36', 'Q18013']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q18013 . ?i rdf:type ontology:Q852446 }
Sacramento
action filter_type
action find_reverse
entity Sacramento
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Sacramento']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Sacramento . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q99
SYSTEM
California
Q99
(c(Q852446),P36,Q18013)
action filter_type
action find_reverse
entity Q18013
relation P36
type Q852446
The [ANSWER] is Sacramento the capital of
[{'concept': 'Q852446'}, 'P36', 'Q18013']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q18013 . ?i rdf:type ontology:Q852446 }
California
The California is Sacramento the capital of
California
action filter_type
action find_reverse
entity Sacramento
relation capital
type administrative territorial entity of the United States
[{'concept': 'administrative territorial entity of the United States'}, 'capital', 'Sacramento']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Sacramento . ?i rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]