Simple Question (Direct)
Simple Question
Q1097308
P27
Q15617994
USER
Which administrative territory is the native country of Bobby Hassell ?
(Q1097308,P27,c(Q15617994))
action filter_type
action find
entity Q1097308
relation P27
type Q15617994
['Q1097308', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1097308 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Bobby Hassell
action filter_type
action find
entity Bobby Hassell
relation country of citizenship
type designation for an administrative territorial entity
['Bobby Hassell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Bobby_Hassell property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1097308,P27,c(Q15617994))
action filter_type
action find
entity Q1097308
relation P27
type Q15617994
The [ANSWER] is the native country of Bobby Hassell
['Q1097308', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q1097308 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Bobby Hassell
United Kingdom
action filter_type
action find
entity Bobby Hassell
relation country of citizenship
type designation for an administrative territorial entity
['Bobby Hassell', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Bobby_Hassell property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1097308
P19
Q56061
USER
Which administrative territory is the place of birth of Bobby Hassell ?
(Q1097308,P19,c(Q56061))
action filter_type
action find
entity Q1097308
relation P19
type Q56061
['Q1097308', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1097308 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Bobby Hassell
action filter_type
action find
entity Bobby Hassell
relation place of birth
type administrative territorial entity
['Bobby Hassell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bobby_Hassell property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43475
SYSTEM
Derby
Q43475
(Q1097308,P19,c(Q56061))
action filter_type
action find
entity Q1097308
relation P19
type Q56061
[ANSWER] is the place of birth of Bobby Hassell
['Q1097308', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1097308 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Derby
Derby is the place of birth of Bobby Hassell
Derby
action filter_type
action find
entity Bobby Hassell
relation place of birth
type administrative territorial entity
['Bobby Hassell', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bobby_Hassell property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18628541
Q56061
USER
And also tell me about Lina Frieb?
(Q18628541,P19,c(Q56061))
action filter_type
action find
entity Q18628541
relation P19
type Q56061
['Q18628541', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q18628541 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Lina Frieb
action filter_type
action find
entity Lina Frieb
relation place of birth
type administrative territorial entity
['Lina Frieb', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lina_Frieb property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q18628541,P19,c(Q56061))
action filter_type
action find
entity Q18628541
relation P19
type Q56061
[ANSWER]
['Q18628541', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q18628541 property:P19 ?o . ?o rdf:type ontology:Q56061 }
Vienna
Vienna
action filter_type
action find
entity Lina Frieb
relation place of birth
type administrative territorial entity
['Lina Frieb', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Lina_Frieb property:place_of_birth ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7403291 Q1097308
P641
Q349
USER
Which sports did Bobby Hassell or Sal Maglie Stadium participate in ?
OR((Q1097308,P641,c(Q349)), (Q7403291,P641,c(Q349)))
action filter_type
action union
action find
entity Q1097308
relation P641
action find
entity Q7403291
relation P641
type Q349
{'OR': [['Q1097308', 'P641', {'concept': 'Q349'}], ['Q7403291', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . { { resource:Q7403291 property:P641 ?l } UNION { resource:Q1097308 property:P641 ?l } } }
Sal Maglie Stadium Bobby Hassell
action filter_type
action union
action find
entity Bobby Hassell
relation sport
action find
entity Sal Maglie Stadium
relation sport
type sport
{'OR': [['Bobby Hassell', 'sport', {'concept': 'sport'}], ['Sal Maglie Stadium', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . { { resource:Sal_Maglie_Stadium property:sport ?l } UNION { resource:Bobby_Hassell property:sport ?l } } }
[]
sport
Q5369 Q2736
SYSTEM
baseball, association football
Q5369 Q2736
OR((Q1097308,P641,c(Q349)), (Q7403291,P641,c(Q349)))
action filter_type
action union
action find
entity Q1097308
relation P641
action find
entity Q7403291
relation P641
type Q349
Bobby Hassell or Sal Maglie Stadium participated in [ANSWERS]
{'OR': [['Q1097308', 'P641', {'concept': 'Q349'}], ['Q7403291', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . { { resource:Q7403291 property:P641 ?l } UNION { resource:Q1097308 property:P641 ?l } } }
baseball association football
Bobby Hassell or Sal Maglie Stadium participated in baseball and association football
baseball association football
action filter_type
action union
action find
entity Bobby Hassell
relation sport
action find
entity Sal Maglie Stadium
relation sport
type sport
{'OR': [['Bobby Hassell', 'sport', {'concept': 'sport'}], ['Sal Maglie Stadium', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . { { resource:Sal_Maglie_Stadium property:sport ?l } UNION { resource:Bobby_Hassell property:sport ?l } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q25931562
P641
Q12973014
USER
Are Independent Olympic Athletes at the 2016 Summer Olympics involved in playing those sports ?
(Q25931562,P641,Q5369) (Q25931562,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q25931562
relation P641
['Q25931562', 'P641', 'Q5369'] ['Q25931562', 'P641', 'Q2736']
ASK WHERE { resource:Q25931562 property:P641 ?f . VALUES ( ?f ) { ( resource:Q5369 ) ( resource:Q2736 ) } }
Independent Olympic Athletes at the 2016 Summer Olympics
action is_in
entity prev_answer
action find
entity Independent Olympic Athletes at the 2016 Summer Olympics
relation sport
['Independent Olympic Athletes at the 2016 Summer Olympics', 'sport', 'baseball'] ['Independent Olympic Athletes at the 2016 Summer Olympics', 'sport', 'association football']
ASK WHERE { resource:Independent_Olympic_Athletes_at_the_2016_Summer_Olympics property:sport ?f . VALUES ( ?f ) { ( resource:baseball ) ( resource:association_football ) } }
[]
sports team
SYSTEM
NO
(Q25931562,P641,Q5369) (Q25931562,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q25931562
relation P641
[ANSWER]
['Q25931562', 'P641', 'Q5369'] ['Q25931562', 'P641', 'Q2736']
ASK WHERE { resource:Q25931562 property:P641 ?f . VALUES ( ?f ) { ( resource:Q5369 ) ( resource:Q2736 ) } }
No
action is_in
entity prev_answer
action find
entity Independent Olympic Athletes at the 2016 Summer Olympics
relation sport
['Independent Olympic Athletes at the 2016 Summer Olympics', 'sport', 'baseball'] ['Independent Olympic Athletes at the 2016 Summer Olympics', 'sport', 'association football']
ASK WHERE { resource:Independent_Olympic_Athletes_at_the_2016_Summer_Olympics property:sport ?f . VALUES ( ?f ) { ( resource:baseball ) ( resource:association_football ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P190
Q56061
USER
Which administrative territories are twin town of Vienna ?
(c(Q56061),P190,Q1741)
action filter_type
action find
entity Q1741
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q1741']
SELECT DISTINCT ?u WHERE { resource:Q1741 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Vienna
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Vienna']
SELECT DISTINCT ?u WHERE { resource:Vienna property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q1781 Q270
SYSTEM
Moscow, Budapest, Warsaw
Q437 Q4656 Q270 Q33935 Q649 Q472 Q3711 Q1780 Q1781 Q406 Q70
(c(Q56061),P190,Q1741)
action filter_type
action find
entity Q1741
relation P190
type Q56061
[ANSWERS] are twin town of Vienna
[{'concept': 'Q56061'}, 'P190', 'Q1741']
SELECT DISTINCT ?u WHERE { resource:Q1741 property:P190 ?u . ?u rdf:type ontology:Q56061 }
Ljubljana Pula Warsaw Tel Aviv Moscow Sofia Belgrade Bratislava Budapest Istanbul Bern
Moscow, Budapest and Warsaw are twin town of Vienna
Moscow Budapest Warsaw
action filter_type
action find
entity Vienna
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Vienna']
SELECT DISTINCT ?u WHERE { resource:Vienna property:sister_city ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q649 Q1781 Q270
P190
Q13220204
USER
Which administrative country subdivisions are twin cities of Moscow, Budapest and Warsaw ?
(Q649,P190,c(Q13220204)) (Q1781,P190,c(Q13220204)) (Q270,P190,c(Q13220204))
action union
action filter_type
action find
entity Q649
relation P190
type Q13220204
action filter_type
action find
entity Q1781
relation P190
type Q13220204
action filter_type
action find
entity Q270
relation P190
type Q13220204
['Q649', 'P190', {'concept': 'Q13220204'}] ['Q1781', 'P190', {'concept': 'Q13220204'}] ['Q270', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { { resource:Q649 property:P190 ?x . ?x rdf:type ontology:Q13220204 } UNION { resource:Q1781 property:P190 ?x . ?x rdf:type ontology:Q13220204 } }
Moscow Budapest Warsaw
action union
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Budapest
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Warsaw
relation sister city
type second-level administrative country subdivision
['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Budapest', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Warsaw', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { { resource:Moscow property:sister_city ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Budapest property:sister_city ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
Q9899 Q1435 Q1435
SYSTEM
Amsterdam for 1st, Zagreb for 2nd, 3rd
Q9899 Q156711 Q1435 Q1435
(Q649,P190,c(Q13220204)) (Q1781,P190,c(Q13220204)) (Q270,P190,c(Q13220204))
action union
action filter_type
action find
entity Q649
relation P190
type Q13220204
action filter_type
action find
entity Q1781
relation P190
type Q13220204
action filter_type
action find
entity Q270
relation P190
type Q13220204
[ANSWERS]
['Q649', 'P190', {'concept': 'Q13220204'}] ['Q1781', 'P190', {'concept': 'Q13220204'}] ['Q270', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ?x WHERE { { resource:Q649 property:P190 ?x . ?x rdf:type ontology:Q13220204 } UNION { resource:Q1781 property:P190 ?x . ?x rdf:type ontology:Q13220204 } }
Amsterdam Uzhhorod Zagreb Zagreb
Amsterdam, Zagreb and Zagreb are twin cities of Moscow, Budapest and Warsaw
Amsterdam Zagreb Zagreb
action union
action filter_type
action find
entity Moscow
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Budapest
relation sister city
type second-level administrative country subdivision
action filter_type
action find
entity Warsaw
relation sister city
type second-level administrative country subdivision
['Moscow', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Budapest', 'sister city', {'concept': 'second-level administrative country subdivision'}] ['Warsaw', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?x WHERE { { resource:Moscow property:sister_city ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision } UNION { resource:Budapest property:sister_city ?x . ?x rdf:type ontology:second-level_administrative_country_subdivision } }
[]