Simple Question (Direct)
Simple Question
Q16092744
P641
Q349
USER
Which sport was Liam Hennessy a part of ?
(Q16092744,P641,c(Q349))
action filter_type
action find
entity Q16092744
relation P641
type Q349
['Q16092744', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q16092744 property:P641 ?o . ?o rdf:type ontology:Q349 }
Liam Hennessy
action filter_type
action find
entity Liam Hennessy
relation sport
type sport
['Liam Hennessy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Liam_Hennessy property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16092744,P641,c(Q349))
action filter_type
action find
entity Q16092744
relation P641
type Q349
Liam Hennessy was in [ANSWER]
['Q16092744', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q16092744 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Liam Hennessy was in association football
association football
action filter_type
action find
entity Liam Hennessy
relation sport
type sport
['Liam Hennessy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Liam_Hennessy property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16092744
P54
Q12973014
USER
What is that person a member of ?
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q16092744
relation P54
type Q12973014
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q16092744 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
Liam Hennessy
action filter_type
action find
entity Liam Hennessy
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Liam_Hennessy property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
sports team
Q6509059
SYSTEM
League of Ireland XI
Q6509059
(Q2736,P54,c(Q12973014))
action filter_type
action find
entity Q16092744
relation P54
type Q12973014
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?v WHERE { resource:Q16092744 property:P54 ?v . ?v rdf:type ontology:Q12973014 }
League of Ireland XI
That person a member of is the League of Ireland XI
League of Ireland XI
action filter_type
action find
entity Liam Hennessy
relation member of sports team
type sports team
['association football', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?v WHERE { resource:Liam_Hennessy property:member_of_sports_team ?v . ?v rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16092744
P19
Q515
USER
Where was Liam Hennessy born ?
(Q16092744,P19,c(Q515))
action filter_type
action find
entity Q16092744
relation P19
type Q515
['Q16092744', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q16092744 property:P19 ?k }
Liam Hennessy
action filter_type
action find
entity Liam Hennessy
relation place of birth
type city
['Liam Hennessy', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Liam_Hennessy property:place_of_birth ?k }
[]
city
Q1761
SYSTEM
Dublin
Q1761
(Q16092744,P19,c(Q515))
action filter_type
action find
entity Q16092744
relation P19
type Q515
Liam Hennessy was born in [ANSWER]
['Q16092744', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q515 . resource:Q16092744 property:P19 ?k }
Dublin
Liam Hennessy was born in Dublin
Dublin
action filter_type
action find
entity Liam Hennessy
relation place of birth
type city
['Liam Hennessy', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:city . resource:Liam_Hennessy property:place_of_birth ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16092744
P106
Q12737077
USER
What is the job of Liam Hennessy ?
(Q16092744,P106,c(Q12737077))
action filter_type
action find
entity Q16092744
relation P106
type Q12737077
['Q16092744', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q16092744 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Liam Hennessy
action filter_type
action find
entity Liam Hennessy
relation occupation
type occupation
['Liam Hennessy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Liam_Hennessy property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16092744,P106,c(Q12737077))
action filter_type
action find
entity Q16092744
relation P106
type Q12737077
The job of Liam Hennessy is an [ANSWER]
['Q16092744', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q16092744 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
association football player
The job of Liam Hennessy is an association football player
association football player
action filter_type
action find
entity Liam Hennessy
relation occupation
type occupation
['Liam Hennessy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Liam_Hennessy property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16092744
P21
Q290
USER
Which sex does Liam Hennessy have ?
(Q16092744,P21,c(Q290))
action filter_type
action find
entity Q16092744
relation P21
type Q290
['Q16092744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16092744 property:P21 ?f . ?f rdf:type ontology:Q290 }
Liam Hennessy
action filter_type
action find
entity Liam Hennessy
relation gender
type sex
['Liam Hennessy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Liam_Hennessy property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16092744,P21,c(Q290))
action filter_type
action find
entity Q16092744
relation P21
type Q290
Liam Hennessy has a [ANSWER]
['Q16092744', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q16092744 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
Liam Hennessy has a male
male
action filter_type
action find
entity Liam Hennessy
relation gender
type sex
['Liam Hennessy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Liam_Hennessy property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1269654
Q290
USER
And also tell me about George Huang?
(Q1269654,P21,c(Q290))
action filter_type
action find
entity Q1269654
relation P21
type Q290
['Q1269654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1269654 property:P21 ?t . ?t rdf:type ontology:Q290 }
George Huang
action filter_type
action find
entity George Huang
relation gender
type sex
['George Huang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:George_Huang property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1269654,P21,c(Q290))
action filter_type
action find
entity Q1269654
relation P21
type Q290
[ANSWER]
['Q1269654', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1269654 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity George Huang
relation gender
type sex
['George Huang', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:George_Huang property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10255 Q16092744
P47 P27
Q15617994
USER
Which administrative territories are Liam Hennessy an inhabitant of or share border with Samone ?
OR((Q16092744,P27,c(Q15617994)), (Q10255,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q16092744
relation P27
action find
entity Q10255
relation P47
type Q15617994
{'OR': [['Q16092744', 'P27', {'concept': 'Q15617994'}], ['Q10255', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10255 property:P47 ?x } UNION { resource:Q16092744 property:P27 ?x } } }
Samone Liam Hennessy
action filter_type
action union
action find
entity Liam Hennessy
relation country of citizenship
action find
entity Samone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Liam Hennessy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Samone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Samone property:shares_border_with ?x } UNION { resource:Liam_Hennessy property:country_of_citizenship ?x } } }
[]
designation for an administrative territorial entity
Q9357 Q9544 Q9433 Q9315 Q27 Q10252 Q9031
SYSTEM
Fiorano Canavese, Pavone Canavese, Loranzè, Colleretto Giacosa, Ireland, Salerano Canavese, Banchette
Q9357 Q9544 Q9433 Q9315 Q27 Q10252 Q9031
OR((Q16092744,P27,c(Q15617994)), (Q10255,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q16092744
relation P27
action find
entity Q10255
relation P47
type Q15617994
[ANSWERS] are Liam Hennessy an inhabitant of or share border with Samone
{'OR': [['Q16092744', 'P27', {'concept': 'Q15617994'}], ['Q10255', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . { { resource:Q10255 property:P47 ?x } UNION { resource:Q16092744 property:P27 ?x } } }
Fiorano Canavese Pavone Canavese Loranzè Colleretto Giacosa Ireland Salerano Canavese Banchette
Fiorano Canavese, Pavone Canavese, Loranzè, Colleretto Giacosa, Ireland, Salerano Canavese and Banchette are Liam Hennessy an inhabitant of or share border with Samone
Fiorano Canavese Pavone Canavese Loranzè Colleretto Giacosa Ireland Salerano Canavese Banchette
action filter_type
action union
action find
entity Liam Hennessy
relation country of citizenship
action find
entity Samone
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Liam Hennessy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Samone', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Samone property:shares_border_with ?x } UNION { resource:Liam_Hennessy property:country_of_citizenship ?x } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q9357 Q9544 Q9433 Q9315 Q27 Q10252 Q9031
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(c(Q15617994),P47,Q9357) (c(Q15617994),P47,Q9544) (c(Q15617994),P47,Q9433) (c(Q15617994),P47,Q9315) (c(Q15617994),P47,Q27) (c(Q15617994),P47,Q10252) (c(Q15617994),P47,Q9031)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q9357'] [{'concept': 'Q15617994'}, 'P47', 'Q9544'] [{'concept': 'Q15617994'}, 'P47', 'Q9433'] [{'concept': 'Q15617994'}, 'P47', 'Q9315'] [{'concept': 'Q15617994'}, 'P47', 'Q27'] [{'concept': 'Q15617994'}, 'P47', 'Q10252'] [{'concept': 'Q15617994'}, 'P47', 'Q9031']
SELECT DISTINCT ?l WHERE { ?q property:P47 ?l . ?l rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q9357 ) ( resource:Q9544 ) ( resource:Q9433 ) } }
Fiorano Canavese Pavone Canavese Loranzè Colleretto Giacosa Ireland Salerano Canavese Banchette
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Fiorano Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pavone Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Loranzè'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Colleretto Giacosa'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ireland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Salerano Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Banchette']
SELECT DISTINCT ?l WHERE { ?q property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Fiorano_Canavese ) ( resource:Pavone_Canavese ) ( resource:Loranzè ) } }
[]
designation for an administrative territorial entity
Q145 Q9409 Q9409
SYSTEM
Ivrea for 2nd, 3rd, United Kingdom for 1st
Q8983 Q9435 Q10252 Q10255 Q9433 Q9423 Q9409 Q9487 Q9031 Q9552 Q10237 Q10255 Q10273 Q9409 Q9315 Q9031 Q9540 Q9435 Q10252 Q10255 Q9315 Q9357 Q9540 Q9544 Q10255 Q10273 Q9433 Q145 Q10255 Q9433 Q9409 Q9031 Q9357 Q9544 Q10252 Q10255 Q9409 Q9357
(c(Q15617994),P47,Q9357) (c(Q15617994),P47,Q9544) (c(Q15617994),P47,Q9433) (c(Q15617994),P47,Q9315) (c(Q15617994),P47,Q27) (c(Q15617994),P47,Q10252) (c(Q15617994),P47,Q9031)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q9357'] [{'concept': 'Q15617994'}, 'P47', 'Q9544'] [{'concept': 'Q15617994'}, 'P47', 'Q9433'] [{'concept': 'Q15617994'}, 'P47', 'Q9315'] [{'concept': 'Q15617994'}, 'P47', 'Q27'] [{'concept': 'Q15617994'}, 'P47', 'Q10252'] [{'concept': 'Q15617994'}, 'P47', 'Q9031']
SELECT DISTINCT ?l WHERE { ?q property:P47 ?l . ?l rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q9357 ) ( resource:Q9544 ) ( resource:Q9433 ) } }
Alice Superiore Lugnacco Salerano Canavese Samone Loranzè Lessolo Ivrea Montalto Dora Banchette Perosa Canavese Romano Canavese Samone San Martino Canavese Ivrea Colleretto Giacosa Banchette Parella Lugnacco Salerano Canavese Samone Colleretto Giacosa Fiorano Canavese Parella Pavone Canavese Samone San Martino Canavese Loranzè United Kingdom Samone Loranzè Ivrea Banchette Fiorano Canavese Pavone Canavese Salerano Canavese Samone Ivrea Fiorano Canavese
United Kingdom, Ivrea and Ivrea are bordered by those ones
United Kingdom Ivrea Ivrea
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Fiorano Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Pavone Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Loranzè'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Colleretto Giacosa'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Ireland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Salerano Canavese'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Banchette']
SELECT DISTINCT ?l WHERE { ?q property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Fiorano_Canavese ) ( resource:Pavone_Canavese ) ( resource:Loranzè ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q9409
P190
Q56061
USER
Which administrative territory is twin town of that administrative territory ?
(Q9409,P190,c(Q56061))
action filter_type
action find
entity Q9409
relation P190
type Q56061
['Q9409', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q9409 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Ivrea
action filter_type
action find
entity Ivrea
relation sister city
type administrative territorial entity
['Ivrea', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ivrea property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q9409
SYSTEM
Did you mean Ivrea ?
Q145 Q9409 Q9409
(Q145,P190,c(Q56061)) (Q9409,P190,c(Q56061)) (Q9409,P190,c(Q56061))
[ANSWER]
['Q145', 'P190', {'concept': 'Q56061'}] ['Q9409', 'P190', {'concept': 'Q56061'}] ['Q9409', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q9409 property:P190 ?s . ?s rdf:type ontology:Q56061 }
United Kingdom Ivrea Ivrea
Did you mean Ivrea ?
Ivrea
['United Kingdom', 'sister city', {'concept': 'administrative territorial entity'}] ['Ivrea', 'sister city', {'concept': 'administrative territorial entity'}] ['Ivrea', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ivrea property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q9409,P190,c(Q56061))
['Q9409', 'P190', {'concept': 'Q56061'}]
['Ivrea', 'sister city', {'concept': 'administrative territorial entity'}]
[]
Q2625858
SYSTEM
Qaladiza
Q2625858
(Q9409,P190,c(Q56061))
action filter_type
action find
entity Q9409
relation P190
type Q56061
[ANSWER] is twin town of that administrative territory
['Q9409', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q9409 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Qaladiza
Qaladiza is twin town of that administrative territory
Qaladiza
action filter_type
action find
entity Ivrea
relation sister city
type administrative territorial entity
['Ivrea', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Ivrea property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]