Simple Question (Direct)
Simple Question
Q5525246
P641
Q349
USER
What was the sport that Gary Hobson was a part of ?
(Q5525246,P641,c(Q349))
action filter_type
action find
entity Q5525246
relation P641
type Q349
['Q5525246', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q5525246 property:P641 ?x . ?x rdf:type ontology:Q349 }
Gary Hobson
action filter_type
action find
entity Gary Hobson
relation sport
type sport
['Gary Hobson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Hobson property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5525246,P641,c(Q349))
action filter_type
action find
entity Q5525246
relation P641
type Q349
The sport that Gary Hobson was a part of was [ANSWER]
['Q5525246', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q5525246 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
The sport that Gary Hobson was a part of was association football
association football
action filter_type
action find
entity Gary Hobson
relation sport
type sport
['Gary Hobson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Hobson property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5525246
P21
Q290
USER
Which sex does that person belong to ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5525246
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5525246 property:P21 ?p . ?p rdf:type ontology:Q290 }
Gary Hobson
action filter_type
action find
entity Gary Hobson
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Gary_Hobson property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5525246
relation P21
type Q290
That person belongs to [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q5525246 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Gary Hobson
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Gary_Hobson property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people as that sex as their class ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?z WHERE { ?z property:P136 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?z WHERE { ?z property:genre resource:male . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q313288
P19
Q123705
USER
Where was that person born ?
(Q313288,P19,c(Q123705))
action filter_type
action find
entity Q313288
relation P19
type Q123705
['Q313288', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q123705 . resource:Q313288 property:P19 ?f }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation place of birth
type neighborhood
['Augustus Pugin', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:neighborhood . resource:Augustus_Pugin property:place_of_birth ?f }
[]
neighborhood
Clarification for simple ques.
Q313288
SYSTEM
Did you mean Augustus Pugin ?
Q313288 Q18221191 Q23766532
(Q313288,P19,c(Q123705)) (Q18221191,P19,c(Q123705)) (Q23766532,P19,c(Q123705))
[ANSWER]
['Q313288', 'P19', {'concept': 'Q123705'}] ['Q18221191', 'P19', {'concept': 'Q123705'}] ['Q23766532', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q123705 . resource:Q313288 property:P19 ?f }
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
Did you mean Augustus Pugin ?
Augustus Pugin
['Augustus Pugin', 'place of birth', {'concept': 'neighborhood'}] ['Alessandro Gregorio Capponi', 'place of birth', {'concept': 'neighborhood'}] ['Pierre Laviron', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:neighborhood . resource:Augustus_Pugin property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q313288,P19,c(Q123705))
['Q313288', 'P19', {'concept': 'Q123705'}]
['Augustus Pugin', 'place of birth', {'concept': 'neighborhood'}]
[]
Q150120
SYSTEM
Bloomsbury
Q150120
(Q313288,P19,c(Q123705))
action filter_type
action find
entity Q313288
relation P19
type Q123705
That person was born in [ANSWER]
['Q313288', 'P19', {'concept': 'Q123705'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q123705 . resource:Q313288 property:P19 ?f }
Bloomsbury
That person was born in Bloomsbury
Bloomsbury
action filter_type
action find
entity Augustus Pugin
relation place of birth
type neighborhood
['Augustus Pugin', 'place of birth', {'concept': 'neighborhood'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:neighborhood . resource:Augustus_Pugin property:place_of_birth ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q150120 Q628190 Q145
P17
Q15617994
USER
Is that neighborhood located in Herrieden and United Kingdom ?
(Q150120,P17,Q628190) (Q150120,P17,Q145)
action is_in
entity Q150120
action intersection
action find_reverse
entity Q628190
relation P17
action find_reverse
entity Q145
relation P17
['Q150120', 'P17', 'Q628190'] ['Q150120', 'P17', 'Q145']
ASK WHERE { resource:Q150120 property:P17 resource:Q628190 . resource:Q150120 property:P17 resource:Q145 }
Bloomsbury Herrieden United Kingdom
action is_in
entity Bloomsbury
action intersection
action find_reverse
entity Herrieden
relation country
action find_reverse
entity United Kingdom
relation country
['Bloomsbury', 'country', 'Herrieden'] ['Bloomsbury', 'country', 'United Kingdom']
ASK WHERE { resource:Bloomsbury property:country resource:Herrieden . resource:Bloomsbury property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q150120,P17,Q628190) (Q150120,P17,Q145)
action is_in
entity Q150120
action intersection
action find_reverse
entity Q628190
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q150120', 'P17', 'Q628190'] ['Q150120', 'P17', 'Q145']
ASK WHERE { resource:Q150120 property:P17 resource:Q628190 . resource:Q150120 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Bloomsbury
action intersection
action find_reverse
entity Herrieden
relation country
action find_reverse
entity United Kingdom
relation country
['Bloomsbury', 'country', 'Herrieden'] ['Bloomsbury', 'country', 'United Kingdom']
ASK WHERE { resource:Bloomsbury property:country resource:Herrieden . resource:Bloomsbury property:country resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P609
Q123705 Q34442
USER
Which roads have around 2 neighborhoods as their departure point ?
(c(Q34442),P609,c(Q123705))
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
value 2
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?a ) WHERE { ?s property:P609 ?m . ?s rdf:type ontology:Q34442 . ?m rdf:type ontology:Q123705 } GROUP BY ?s } . FILTER ( ?a = 2 ) }
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
value 2
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?a ) WHERE { ?s property:terminus_location ?m . ?s rdf:type ontology:road . ?m rdf:type ontology:neighborhood } GROUP BY ?s } . FILTER ( ?a = 2 ) }
[]
neighborhood road
Q5473974
SYSTEM
Merikoski Bridges
Q5473974
(c(Q34442),P609,c(Q123705))
action approx
action find_tuple_counts
relation P609
type Q34442
type Q123705
value 2
[ANSWER] have around 2 neighborhoods as their departure point
[{'concept': 'Q34442'}, 'P609', {'concept': 'Q123705'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?a ) WHERE { ?s property:P609 ?m . ?s rdf:type ontology:Q34442 . ?m rdf:type ontology:Q123705 } GROUP BY ?s } . FILTER ( ?a = 2 ) }
Merikoski Bridges
Merikoski Bridges have around 2 neighborhoods as their departure point
Merikoski Bridges
action approx
action find_tuple_counts
relation terminus location
type road
type neighborhood
value 2
[{'concept': 'road'}, 'terminus location', {'concept': 'neighborhood'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?a ) WHERE { ?s property:terminus_location ?m . ?s rdf:type ontology:road . ?m rdf:type ontology:neighborhood } GROUP BY ?s } . FILTER ( ?a = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5473974
P559
Q34442
USER
What are a terminus for that one ?
(Q5473974,P559,c(Q34442))
action filter_type
action find
entity Q5473974
relation P559
type Q34442
['Q5473974', 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q34442 . resource:Q5473974 property:P559 ?a }
Merikoski Bridges
action filter_type
action find
entity Merikoski Bridges
relation terminus
type road
['Merikoski Bridges', 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:road . resource:Merikoski_Bridges property:terminus ?a }
[]
road
Q18660803 Q11850691
SYSTEM
Merikoskenkatu, Aleksanterinkatu
Q18660803 Q11850691
(Q5473974,P559,c(Q34442))
action filter_type
action find
entity Q5473974
relation P559
type Q34442
A terminus for that one are the [ANSWERS]
['Q5473974', 'P559', {'concept': 'Q34442'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q34442 . resource:Q5473974 property:P559 ?a }
Merikoskenkatu Aleksanterinkatu
A terminus for that one are the Merikoskenkatu and Aleksanterinkatu
Merikoskenkatu Aleksanterinkatu
action filter_type
action find
entity Merikoski Bridges
relation terminus
type road
['Merikoski Bridges', 'terminus', {'concept': 'road'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:road . resource:Merikoski_Bridges property:terminus ?a }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q18948984
P559
Q34442
USER
Do Woolbeek have those ones as the terminus ?
(Q18948984,P559,Q18660803) (Q18948984,P559,Q11850691)
action is_in
entity prev_answer
action find
entity Q18948984
relation P559
['Q18948984', 'P559', 'Q18660803'] ['Q18948984', 'P559', 'Q11850691']
ASK WHERE { VALUES ( ?s ) { ( resource:Q18660803 ) ( resource:Q11850691 ) } . resource:Q18948984 property:P559 ?s }
Woolbeek
action is_in
entity prev_answer
action find
entity Woolbeek
relation terminus
['Woolbeek', 'terminus', 'Merikoskenkatu'] ['Woolbeek', 'terminus', 'Aleksanterinkatu']
ASK WHERE { VALUES ( ?s ) { ( resource:Merikoskenkatu ) ( resource:Aleksanterinkatu ) } . resource:Woolbeek property:terminus ?s }
[]
road
SYSTEM
NO
(Q18948984,P559,Q18660803) (Q18948984,P559,Q11850691)
action is_in
entity prev_answer
action find
entity Q18948984
relation P559
[ANSWER]
['Q18948984', 'P559', 'Q18660803'] ['Q18948984', 'P559', 'Q11850691']
ASK WHERE { VALUES ( ?s ) { ( resource:Q18660803 ) ( resource:Q11850691 ) } . resource:Q18948984 property:P559 ?s }
No
action is_in
entity prev_answer
action find
entity Woolbeek
relation terminus
['Woolbeek', 'terminus', 'Merikoskenkatu'] ['Woolbeek', 'terminus', 'Aleksanterinkatu']
ASK WHERE { VALUES ( ?s ) { ( resource:Merikoskenkatu ) ( resource:Aleksanterinkatu ) } . resource:Woolbeek property:terminus ?s }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18660803 Q7885621
P17
Q15617994
USER
Is Merikoskenkatu situated in Union County School District ?
(Q18660803,P17,Q7885621)
action is_in
entity Q7885621
action find
entity Q18660803
relation P17
['Q18660803', 'P17', 'Q7885621']
ASK WHERE { resource:Q18660803 property:P17 resource:Q7885621 }
Merikoskenkatu Union County School District
action is_in
entity Union County School District
action find
entity Merikoskenkatu
relation country
['Merikoskenkatu', 'country', 'Union County School District']
ASK WHERE { resource:Merikoskenkatu property:country resource:Union_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q18660803,P17,Q7885621)
action is_in
entity Q7885621
action find
entity Q18660803
relation P17
[ANSWER]
['Q18660803', 'P17', 'Q7885621']
ASK WHERE { resource:Q18660803 property:P17 resource:Q7885621 }
No
action is_in
entity Union County School District
action find
entity Merikoskenkatu
relation country
['Merikoskenkatu', 'country', 'Union County School District']
ASK WHERE { resource:Merikoskenkatu property:country resource:Union_County_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18660803
P559
Q34442
USER
How many roads have Merikoskenkatu as terminus ?
(c(Q34442),P559,Q18660803)
action count
action filter_type
action find_reverse
entity Q18660803
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q18660803']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:Q34442 . ?x property:P559 resource:Q18660803 }
Merikoskenkatu
action count
action filter_type
action find_reverse
entity Merikoskenkatu
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Merikoskenkatu']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:road . ?x property:terminus resource:Merikoskenkatu }
[]
road
SYSTEM
1
Q5473974
(c(Q34442),P559,Q18660803)
action count
action filter_type
action find_reverse
entity Q18660803
relation P559
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q18660803']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:Q34442 . ?x property:P559 resource:Q18660803 }
Merikoski Bridges
1
action count
action filter_type
action find_reverse
entity Merikoskenkatu
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Merikoskenkatu']
SELECT DISTINCT ( COUNT ( ?x ) AS ?b ) WHERE { ?x rdf:type ontology:road . ?x property:terminus resource:Merikoskenkatu }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q10941389
P559
Q34442
USER
And what about Taipingqiao Street?
(c(Q34442),P559,Q10941389)
action count
action filter_type
action find_reverse
entity Q10941389
relation P559
type Q34442
[{'concept': 'Q34442'}, 'P559', 'Q10941389']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P559 resource:Q10941389 . ?l rdf:type ontology:Q34442 }
Taipingqiao Street
action count
action filter_type
action find_reverse
entity Taipingqiao Street
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Taipingqiao Street']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:terminus resource:Taipingqiao_Street . ?l rdf:type ontology:road }
[]
road
SYSTEM
5
Q19852918 Q19851815 Q19851789 Q15915275 Q16928668
(c(Q34442),P559,Q10941389)
action count
action filter_type
action find_reverse
entity Q10941389
relation P559
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P559', 'Q10941389']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P559 resource:Q10941389 . ?l rdf:type ontology:Q34442 }
Wudinghou Street Shifang Small Street Erlonglu West Street Guangningbo Street Xingsheng Street
5
action count
action filter_type
action find_reverse
entity Taipingqiao Street
relation terminus
type road
[{'concept': 'road'}, 'terminus', 'Taipingqiao Street']
SELECT DISTINCT ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:terminus resource:Taipingqiao_Street . ?l rdf:type ontology:road }
[]