Simple Question (Direct)
Simple Question
Q314335
P734
Q82799
USER
Which name is associated with John Harrison ?
(Q314335,P734,c(Q82799))
action filter_type
action find
entity Q314335
relation P734
type Q82799
['Q314335', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q314335 property:P734 ?g . ?g rdf:type ontology:Q82799 }
John Harrison
action filter_type
action find
entity John Harrison
relation family name
type name
['John Harrison', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:John_Harrison property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q2712864
SYSTEM
Harrison
Q2712864
(Q314335,P734,c(Q82799))
action filter_type
action find
entity Q314335
relation P734
type Q82799
He [ANSWER] is associated with John [ANSWER]
['Q314335', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q314335 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Harrison
He Harrison is associated with John Harrison
Harrison
action filter_type
action find
entity John Harrison
relation family name
type name
['John Harrison', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:John_Harrison property:family_name ?g . ?g rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q314335
P921
Q191067
USER
Which article has John Harrison as its principal topic ?
(c(Q191067),P921,Q314335)
action filter_type
action find_reverse
entity Q314335
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q314335']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q314335 . ?s rdf:type ontology:Q191067 }
John Harrison
action filter_type
action find_reverse
entity John Harrison
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'John Harrison']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:John_Harrison . ?s rdf:type ontology:article }
[]
article
Q19026446
SYSTEM
Harrison, John (1693-1776) (DNB00)
Q19026446
(c(Q191067),P921,Q314335)
action filter_type
action find_reverse
entity Q314335
relation P921
type Q191067
[ANSWER] has John Harrison as its principal topic
[{'concept': 'Q191067'}, 'P921', 'Q314335']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q314335 . ?s rdf:type ontology:Q191067 }
Harrison, John (1693-1776) (DNB00)
Harrison, John (1693-1776) (DNB00) has John Harrison as its principal topic
Harrison, John (1693-1776) (DNB00)
action filter_type
action find_reverse
entity John Harrison
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'John Harrison']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:John_Harrison . ?s rdf:type ontology:article }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q314335
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q19026446,P20,c(Q56061))
action filter_type
action find
entity Q314335
relation P20
type Q56061
['Q19026446', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q314335 property:P20 ?r . ?r rdf:type ontology:Q56061 }
John Harrison
action filter_type
action find
entity John Harrison
relation place of death
type administrative territorial entity
['Harrison, John (1693-1776) (DNB00)', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_Harrison property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q19026446,P20,c(Q56061))
action filter_type
action find
entity Q314335
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q19026446', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q314335 property:P20 ?r . ?r rdf:type ontology:Q56061 }
London
London is the place of death of that person
London
action filter_type
action find
entity John Harrison
relation place of death
type administrative territorial entity
['Harrison, John (1693-1776) (DNB00)', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:John_Harrison property:place_of_death ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q84 Q12653385 Q12103081
P190
Q56061
USER
Is that administrative territory partner town of Dubuklė and Dealu Mare ?
(Q84,P190,Q12653385) (Q84,P190,Q12103081)
action is_in
entity Q84
action intersection
action find_reverse
entity Q12653385
relation P190
action find_reverse
entity Q12103081
relation P190
['Q84', 'P190', 'Q12653385'] ['Q84', 'P190', 'Q12103081']
ASK WHERE { resource:Q84 property:P190 resource:Q12653385 . resource:Q84 property:P190 resource:Q12103081 }
London Dubuklė Dealu Mare
action is_in
entity London
action intersection
action find_reverse
entity Dubuklė
relation sister city
action find_reverse
entity Dealu Mare
relation sister city
['London', 'sister city', 'Dubuklė'] ['London', 'sister city', 'Dealu Mare']
ASK WHERE { resource:London property:sister_city resource:Dubuklė . resource:London property:sister_city resource:Dealu_Mare }
[]
administrative territorial entity
SYSTEM
NO
(Q84,P190,Q12653385) (Q84,P190,Q12103081)
action is_in
entity Q84
action intersection
action find_reverse
entity Q12653385
relation P190
action find_reverse
entity Q12103081
relation P190
[ANSWER]
['Q84', 'P190', 'Q12653385'] ['Q84', 'P190', 'Q12103081']
ASK WHERE { resource:Q84 property:P190 resource:Q12653385 . resource:Q84 property:P190 resource:Q12103081 }
No
action is_in
entity London
action intersection
action find_reverse
entity Dubuklė
relation sister city
action find_reverse
entity Dealu Mare
relation sister city
['London', 'sister city', 'Dubuklė'] ['London', 'sister city', 'Dealu Mare']
ASK WHERE { resource:London property:sister_city resource:Dubuklė . resource:London property:sister_city resource:Dealu_Mare }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q1021662
P36
Q7275
USER
How many states are London or Gibeah the capital of ?
(c(Q7275),P36,Q84) (c(Q7275),P36,Q1021662)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P36
type Q7275
action filter_type
action find_reverse
entity Q1021662
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q84'] [{'concept': 'Q7275'}, 'P36', 'Q1021662']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P36 resource:Q84 . ?m rdf:type ontology:Q7275 } UNION { ?m rdf:type ontology:Q7275 . ?m property:P36 resource:Q1021662 } }
London Gibeah
action count
action union
action filter_type
action find_reverse
entity London
relation capital
type state
action filter_type
action find_reverse
entity Gibeah
relation capital
type state
[{'concept': 'state'}, 'capital', 'London'] [{'concept': 'state'}, 'capital', 'Gibeah']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:capital resource:London . ?m rdf:type ontology:state } UNION { ?m rdf:type ontology:state . ?m property:capital resource:Gibeah } }
[]
state
SYSTEM
7
Q248452 Q110888 Q161885 Q3185305 Q174193 Q179876 Q330362
(c(Q7275),P36,Q84) (c(Q7275),P36,Q1021662)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P36
type Q7275
action filter_type
action find_reverse
entity Q1021662
relation P36
type Q7275
[ANSWER]
[{'concept': 'Q7275'}, 'P36', 'Q84'] [{'concept': 'Q7275'}, 'P36', 'Q1021662']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:P36 resource:Q84 . ?m rdf:type ontology:Q7275 } UNION { ?m rdf:type ontology:Q7275 . ?m property:P36 resource:Q1021662 } }
British North America Kingdom of Essex Kingdom of Great Britain Kingdom of Israel United Kingdom of Great Britain and Ireland Kingdom of England Commonwealth of England
7
action count
action union
action filter_type
action find_reverse
entity London
relation capital
type state
action filter_type
action find_reverse
entity Gibeah
relation capital
type state
[{'concept': 'state'}, 'capital', 'London'] [{'concept': 'state'}, 'capital', 'Gibeah']
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { { ?m property:capital resource:London . ?m rdf:type ontology:state } UNION { ?m rdf:type ontology:state . ?m property:capital resource:Gibeah } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q84 Q613
P190
Q56061
USER
How many administrative territories are partner town of London and Emirate of Dubai ?
(c(Q56061),P190,Q84) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q84
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q84'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P190 resource:Q84 . ?q rdf:type ontology:Q56061 . ?q property:P190 resource:Q613 . ?q rdf:type ontology:Q56061 }
London Emirate of Dubai
action count
action intersection
action filter_type
action find_reverse
entity London
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'London'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:sister_city resource:London . ?q rdf:type ontology:administrative_territorial_entity . ?q property:sister_city resource:Emirate_of_Dubai . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
2
Q8686 Q406
(c(Q56061),P190,Q84) (c(Q56061),P190,Q613)
action count
action intersection
action filter_type
action find_reverse
entity Q84
relation P190
type Q56061
action filter_type
action find_reverse
entity Q613
relation P190
type Q56061
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q84'] [{'concept': 'Q56061'}, 'P190', 'Q613']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:P190 resource:Q84 . ?q rdf:type ontology:Q56061 . ?q property:P190 resource:Q613 . ?q rdf:type ontology:Q56061 }
Shanghai Istanbul
2
action count
action intersection
action filter_type
action find_reverse
entity London
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Emirate of Dubai
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'London'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Emirate of Dubai']
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { ?q property:sister_city resource:London . ?q rdf:type ontology:administrative_territorial_entity . ?q property:sister_city resource:Emirate_of_Dubai . ?q rdf:type ontology:administrative_territorial_entity }
[]