Simple Question (Direct)
Simple Question
Q1191021
P641
Q349
USER
Which sport was Ramón Osni Moreira Lage a part of ?
(Q1191021,P641,c(Q349))
action filter_type
action find
entity Q1191021
relation P641
type Q349
['Q1191021', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q1191021 property:P641 ?e }
Ramón Osni Moreira Lage
action filter_type
action find
entity Ramón Osni Moreira Lage
relation sport
type sport
['Ramón Osni Moreira Lage', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Ramón_Osni_Moreira_Lage property:sport ?e }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1191021,P641,c(Q349))
action filter_type
action find
entity Q1191021
relation P641
type Q349
The [ANSWER] was Ramón Osni Moreira Lage a part of
['Q1191021', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q349 . resource:Q1191021 property:P641 ?e }
association football
The association football was Ramón Osni Moreira Lage a part of
association football
action filter_type
action find
entity Ramón Osni Moreira Lage
relation sport
type sport
['Ramón Osni Moreira Lage', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:sport . resource:Ramón_Osni_Moreira_Lage property:sport ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1191021
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q1191021
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1191021 property:P21 ?l . ?l rdf:type ontology:Q290 }
Ramón Osni Moreira Lage
action filter_type
action find
entity Ramón Osni Moreira Lage
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Ramón_Osni_Moreira_Lage property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q1191021
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q1191021 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ramón Osni Moreira Lage
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Ramón_Osni_Moreira_Lage property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1191021
P106
Q12737077
USER
What does that person do for a living ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1191021
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1191021 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Ramón Osni Moreira Lage
action filter_type
action find
entity Ramón Osni Moreira Lage
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ramón_Osni_Moreira_Lage property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q1191021
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q1191021 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Ramón Osni Moreira Lage
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Ramón_Osni_Moreira_Lage property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P425
Q349
USER
Which sport is associated with the field of occupation that one ?
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q937857 property:P425 ?j . ?j rdf:type ontology:Q349 }
association football player
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:association_football_player property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q937857,P425,c(Q349))
action filter_type
action find
entity Q937857
relation P425
type Q349
[ANSWER] is associated with the field of occupation that one
['Q937857', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q937857 property:P425 ?j . ?j rdf:type ontology:Q349 }
association football
Association football is associated with the field of occupation that one
association football
action filter_type
action find
entity association football player
relation field of this occupation
type sport
['association football player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:association_football_player property:field_of_this_occupation ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a portion of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P361 ?n . ?n rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?n WHERE { resource:association_football_player property:part_of ?n . ?n rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a portion of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?n WHERE { resource:Q937857 property:P361 ?n . ?n rdf:type ontology:Q847017 }
association football club
Association football player a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?n WHERE { resource:association_football_player property:part_of ?n . ?n rdf:type ontology:sports_club }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8027119
Q847017
USER
And what about Wisconsin Badgers football?
(Q8027119,P361,c(Q847017))
action filter_type
action find
entity Q8027119
relation P361
type Q847017
['Q8027119', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?m WHERE { resource:Q8027119 property:P361 ?m . ?m rdf:type ontology:Q847017 }
Wisconsin Badgers football
action filter_type
action find
entity Wisconsin Badgers football
relation part of
type sports club
['Wisconsin Badgers football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?m WHERE { resource:Wisconsin_Badgers_football property:part_of ?m . ?m rdf:type ontology:sports_club }
[]
sports club
Q3098117
SYSTEM
Wisconsin Badgers
Q3098117
(Q8027119,P361,c(Q847017))
action filter_type
action find
entity Q8027119
relation P361
type Q847017
[ANSWER]
['Q8027119', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?m WHERE { resource:Q8027119 property:P361 ?m . ?m rdf:type ontology:Q847017 }
Wisconsin Badgers
Wisconsin Badgers
action filter_type
action find
entity Wisconsin Badgers football
relation part of
type sports club
['Wisconsin Badgers football', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?m WHERE { resource:Wisconsin_Badgers_football property:part_of ?m . ?m rdf:type ontology:sports_club }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q48481 Q1191021
P47 P27
Q15617994
USER
Which administrative territories are the native countriesof Ramón Osni Moreira Lage or are bordered by Torri del Benaco ?
OR((Q1191021,P27,c(Q15617994)), (Q48481,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1191021
relation P27
action find
entity Q48481
relation P47
type Q15617994
{'OR': [['Q1191021', 'P27', {'concept': 'Q15617994'}], ['Q48481', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q48481 property:P47 ?h } UNION { resource:Q1191021 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Torri del Benaco Ramón Osni Moreira Lage
action filter_type
action union
action find
entity Ramón Osni Moreira Lage
relation country of citizenship
action find
entity Torri del Benaco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Ramón Osni Moreira Lage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Torri del Benaco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Torri_del_Benaco property:shares_border_with ?h } UNION { resource:Ramón_Osni_Moreira_Lage property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q46678 Q111705 Q111711 Q155 Q46732 Q47585 Q47471 Q104628 Q104619
SYSTEM
Costermano, Salò, San Felice del Benaco, Brazil, Brenzone, Garda, San Zeno di Montagna, Gargnano, Gardone Riviera
Q46678 Q111705 Q111711 Q155 Q46732 Q47585 Q47471 Q104628 Q104619
OR((Q1191021,P27,c(Q15617994)), (Q48481,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q1191021
relation P27
action find
entity Q48481
relation P47
type Q15617994
[ANSWERS] are the native countriesof Ramón Osni Moreira Lage or are bordered by Torri del Benaco
{'OR': [['Q1191021', 'P27', {'concept': 'Q15617994'}], ['Q48481', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q48481 property:P47 ?h } UNION { resource:Q1191021 property:P27 ?h } } . ?h rdf:type ontology:Q15617994 }
Costermano Salò San Felice del Benaco Brazil Brenzone Garda San Zeno di Montagna Gargnano Gardone Riviera
Costermano, Salò, San Felice del Benaco, Brazil, Brenzone, Garda, San Zeno di Montagna, Gargnano and Gardone Riviera are the native countriesof Ramón Osni Moreira Lage or are bordered by Torri del Benaco
Costermano Salò San Felice del Benaco Brazil Brenzone Garda San Zeno di Montagna Gargnano Gardone Riviera
action filter_type
action union
action find
entity Ramón Osni Moreira Lage
relation country of citizenship
action find
entity Torri del Benaco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Ramón Osni Moreira Lage', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Torri del Benaco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Torri_del_Benaco property:shares_border_with ?h } UNION { resource:Ramón_Osni_Moreira_Lage property:country_of_citizenship ?h } } . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46678 Q111705 Q111711 Q155 Q46732 Q47585 Q47471 Q104628 Q104619
P47
Q15617994
USER
Which administrative territories do those ones share a border with ?
(c(Q15617994),P47,Q46678) (c(Q15617994),P47,Q111705) (c(Q15617994),P47,Q111711) (c(Q15617994),P47,Q155) (c(Q15617994),P47,Q46732) (c(Q15617994),P47,Q47585) (c(Q15617994),P47,Q47471) (c(Q15617994),P47,Q104628) (c(Q15617994),P47,Q104619)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q46678'] [{'concept': 'Q15617994'}, 'P47', 'Q111705'] [{'concept': 'Q15617994'}, 'P47', 'Q111711'] [{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q46732'] [{'concept': 'Q15617994'}, 'P47', 'Q47585'] [{'concept': 'Q15617994'}, 'P47', 'Q47471'] [{'concept': 'Q15617994'}, 'P47', 'Q104628'] [{'concept': 'Q15617994'}, 'P47', 'Q104619']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?m property:P47 ?g . VALUES ( ?m ) { ( resource:Q46678 ) ( resource:Q111705 ) ( resource:Q111711 ) } }
Costermano Salò San Felice del Benaco Brazil Brenzone Garda San Zeno di Montagna Gargnano Gardone Riviera
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', 'Costermano'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Salò'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Felice del Benaco'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brenzone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Garda'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Zeno di Montagna'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Gargnano'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Gardone Riviera']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:shares_border_with ?g . VALUES ( ?m ) { ( resource:Costermano ) ( resource:Salò ) ( resource:San_Felice_del_Benaco ) } }
[]
designation for an administrative territorial entity
Q142 Q414 Q739
SYSTEM
France, Argentina, Colombia
Q48481 Q46870 Q47786 Q47471 Q46693 Q46642 Q47585 Q111550 Q104619 Q104631 Q111644 Q48481 Q112226 Q111711 Q111550 Q48481 Q47585 Q105142 Q111705 Q750 Q739 Q730 Q734 Q419 Q414 Q142 Q717 Q77 Q733 Q104628 Q48481 Q112127 Q47471 Q47821 Q47431 Q112089 Q48481 Q46870 Q46678 Q105142 Q111711 Q48481 Q46732 Q47431 Q46693 Q46678 Q48481 Q112151 Q46732 Q112089 Q112226 Q48481 Q112226 Q111705
(c(Q15617994),P47,Q46678) (c(Q15617994),P47,Q111705) (c(Q15617994),P47,Q111711) (c(Q15617994),P47,Q155) (c(Q15617994),P47,Q46732) (c(Q15617994),P47,Q47585) (c(Q15617994),P47,Q47471) (c(Q15617994),P47,Q104628) (c(Q15617994),P47,Q104619)
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
Those ones share a border with [ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q46678'] [{'concept': 'Q15617994'}, 'P47', 'Q111705'] [{'concept': 'Q15617994'}, 'P47', 'Q111711'] [{'concept': 'Q15617994'}, 'P47', 'Q155'] [{'concept': 'Q15617994'}, 'P47', 'Q46732'] [{'concept': 'Q15617994'}, 'P47', 'Q47585'] [{'concept': 'Q15617994'}, 'P47', 'Q47471'] [{'concept': 'Q15617994'}, 'P47', 'Q104628'] [{'concept': 'Q15617994'}, 'P47', 'Q104619']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . ?m property:P47 ?g . VALUES ( ?m ) { ( resource:Q46678 ) ( resource:Q111705 ) ( resource:Q111711 ) } }
Torri del Benaco Bardolino Rivoli Veronese San Zeno di Montagna Caprino Veronese Affi Garda Puegnago sul Garda Gardone Riviera Gavardo Roè Volciano Torri del Benaco Vobarno San Felice del Benaco Puegnago sul Garda Torri del Benaco Garda Manerba del Garda Salò Bolivia Colombia Suriname Guyana Peru Argentina France Venezuela Uruguay Paraguay Gargnano Torri del Benaco Tremosine San Zeno di Montagna Malcesine Ferrara di Monte Baldo Tignale Torri del Benaco Bardolino Costermano Manerba del Garda San Felice del Benaco Torri del Benaco Brenzone Ferrara di Monte Baldo Caprino Veronese Costermano Torri del Benaco Valvestino Brenzone Tignale Vobarno Torri del Benaco Vobarno Salò
Those ones share a border with France, Argentina and Colombia
France Argentina Colombia
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', 'Costermano'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Salò'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Felice del Benaco'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brazil'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Brenzone'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Garda'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Zeno di Montagna'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Gargnano'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Gardone Riviera']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m property:shares_border_with ?g . VALUES ( ?m ) { ( resource:Costermano ) ( resource:Salò ) ( resource:San_Felice_del_Benaco ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q739
P915
Q15416
USER
Which television program was filmed at that administrative territory ?
(c(Q15416),P915,Q739)
action filter_type
action find_reverse
entity Q739
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q739']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q739 . ?r rdf:type ontology:Q15416 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Colombia']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Colombia . ?r rdf:type ontology:television_program }
[]
television program
Clarification for simple ques.
Q142
SYSTEM
Did you mean France ?
Q142 Q414 Q739
(c(Q15416),P915,Q142) (c(Q15416),P915,Q414) (c(Q15416),P915,Q739)
[ANSWER]
[{'concept': 'Q15416'}, 'P915', 'Q142'] [{'concept': 'Q15416'}, 'P915', 'Q414'] [{'concept': 'Q15416'}, 'P915', 'Q739']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q739 . ?r rdf:type ontology:Q15416 }
France Argentina Colombia
Did you mean France ?
France
[{'concept': 'television program'}, 'filming location', 'France'] [{'concept': 'television program'}, 'filming location', 'Argentina'] [{'concept': 'television program'}, 'filming location', 'Colombia']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Colombia . ?r rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
USER
No, I meant Colombia. Could you tell me the answer for that?
(c(Q15416),P915,Q739)
Q739
[{'concept': 'Q15416'}, 'P915', 'Q739']
[{'concept': 'television program'}, 'filming location', 'Colombia']
[]
Q484825
SYSTEM
The Lord of the Skies
Q484825
(c(Q15416),P915,Q739)
action filter_type
action find_reverse
entity Q739
relation P915
type Q15416
[ANSWER] was filmed at that administrative territory
[{'concept': 'Q15416'}, 'P915', 'Q739']
SELECT DISTINCT ?r WHERE { ?r property:P915 resource:Q739 . ?r rdf:type ontology:Q15416 }
The Lord of the Skies
The Lord of the Skies was filmed at that administrative territory
The Lord of the Skies
action filter_type
action find_reverse
entity Colombia
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Colombia']
SELECT DISTINCT ?r WHERE { ?r property:filming_location resource:Colombia . ?r rdf:type ontology:television_program }
[]