Simple Question (Direct)
Simple Question
Q19663818
P641
Q349
USER
Which sport was Nicolas Careca a part of ?
(Q19663818,P641,c(Q349))
action filter_type
action find
entity Q19663818
relation P641
type Q349
['Q19663818', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q19663818 property:P641 ?f . ?f rdf:type ontology:Q349 }
Nicolas Careca
action filter_type
action find
entity Nicolas Careca
relation sport
type sport
['Nicolas Careca', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Nicolas_Careca property:sport ?f . ?f rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q19663818,P641,c(Q349))
action filter_type
action find
entity Q19663818
relation P641
type Q349
Which sport was Nicolas Careca a part of
['Q19663818', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { resource:Q19663818 property:P641 ?f . ?f rdf:type ontology:Q349 }
association football
Which sport was Nicolas Careca a part of
association football
action filter_type
action find
entity Nicolas Careca
relation sport
type sport
['Nicolas Careca', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { resource:Nicolas_Careca property:sport ?f . ?f rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19663818
P19
Q515
USER
Which city is the place of birth of Nicolas Careca ?
(Q19663818,P19,c(Q515))
action filter_type
action find
entity Q19663818
relation P19
type Q515
['Q19663818', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q19663818 property:P19 ?l . ?l rdf:type ontology:Q515 }
Nicolas Careca
action filter_type
action find
entity Nicolas Careca
relation place of birth
type city
['Nicolas Careca', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Nicolas_Careca property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
city
Q2844
SYSTEM
Brasília
Q2844
(Q19663818,P19,c(Q515))
action filter_type
action find
entity Q19663818
relation P19
type Q515
[ANSWER] is the place of birth of Nicolas Careca
['Q19663818', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?l WHERE { resource:Q19663818 property:P19 ?l . ?l rdf:type ontology:Q515 }
Brasília
Brasília is the place of birth of Nicolas Careca
Brasília
action filter_type
action find
entity Nicolas Careca
relation place of birth
type city
['Nicolas Careca', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?l WHERE { resource:Nicolas_Careca property:place_of_birth ?l . ?l rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19663818
P27
Q15617994
USER
Which administrative territory does Nicolas Careca belong to ?
(Q19663818,P27,c(Q15617994))
action filter_type
action find
entity Q19663818
relation P27
type Q15617994
['Q19663818', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19663818 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Nicolas Careca
action filter_type
action find
entity Nicolas Careca
relation country of citizenship
type designation for an administrative territorial entity
['Nicolas Careca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nicolas_Careca property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q19663818,P27,c(Q15617994))
action filter_type
action find
entity Q19663818
relation P27
type Q15617994
Nicolas Careca belongs to [ANSWER]
['Q19663818', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q19663818 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Brazil
Nicolas Careca belongs to Brazil
Brazil
action filter_type
action find
entity Nicolas Careca
relation country of citizenship
type designation for an administrative territorial entity
['Nicolas Careca', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Nicolas_Careca property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q155 Q485946 Q230578
P35
Q502895
USER
Did Brazil elect Itamar Franco and Fernando Henrique Cardoso as its head of state ?
(Q155,P35,Q485946) (Q155,P35,Q230578)
action is_in
entity Q155
action intersection
action find_reverse
entity Q485946
relation P35
action find_reverse
entity Q230578
relation P35
['Q155', 'P35', 'Q485946'] ['Q155', 'P35', 'Q230578']
ASK WHERE { resource:Q155 property:P35 resource:Q485946 . resource:Q155 property:P35 resource:Q230578 }
Brazil Itamar Franco Fernando Henrique Cardoso
action is_in
entity Brazil
action intersection
action find_reverse
entity Itamar Franco
relation head of state
action find_reverse
entity Fernando Henrique Cardoso
relation head of state
['Brazil', 'head of state', 'Itamar Franco'] ['Brazil', 'head of state', 'Fernando Henrique Cardoso']
ASK WHERE { resource:Brazil property:head_of_state resource:Itamar_Franco . resource:Brazil property:head_of_state resource:Fernando_Henrique_Cardoso }
[]
common name
SYSTEM
YES
(Q155,P35,Q485946) (Q155,P35,Q230578)
action is_in
entity Q155
action intersection
action find_reverse
entity Q485946
relation P35
action find_reverse
entity Q230578
relation P35
[ANSWER]
['Q155', 'P35', 'Q485946'] ['Q155', 'P35', 'Q230578']
ASK WHERE { resource:Q155 property:P35 resource:Q485946 . resource:Q155 property:P35 resource:Q230578 }
Yes
action is_in
entity Brazil
action intersection
action find_reverse
entity Itamar Franco
relation head of state
action find_reverse
entity Fernando Henrique Cardoso
relation head of state
['Brazil', 'head of state', 'Itamar Franco'] ['Brazil', 'head of state', 'Fernando Henrique Cardoso']
ASK WHERE { resource:Brazil property:head_of_state resource:Itamar_Franco . resource:Brazil property:head_of_state resource:Fernando_Henrique_Cardoso }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2844
P276
Q15275719
USER
Which recurring event is located at Brasília ?
(c(Q15275719),P276,Q2844)
action filter_type
action find_reverse
entity Q2844
relation P276
type Q15275719
[{'concept': 'Q15275719'}, 'P276', 'Q2844']
SELECT DISTINCT ?h WHERE { ?h property:P276 resource:Q2844 . ?h rdf:type ontology:Q15275719 }
Brasília
action filter_type
action find_reverse
entity Brasília
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Brasília']
SELECT DISTINCT ?h WHERE { ?h property:location resource:Brasília . ?h rdf:type ontology:recurring_event }
[]
recurring event
Q12356204
SYSTEM
World Esperanto Congress 1981
Q12356204
(c(Q15275719),P276,Q2844)
action filter_type
action find_reverse
entity Q2844
relation P276
type Q15275719
[ANSWER] is located at Brasília
[{'concept': 'Q15275719'}, 'P276', 'Q2844']
SELECT DISTINCT ?h WHERE { ?h property:P276 resource:Q2844 . ?h rdf:type ontology:Q15275719 }
World Esperanto Congress 1981
World Esperanto Congress 1981 is located at Brasília
World Esperanto Congress 1981
action filter_type
action find_reverse
entity Brasília
relation location
type recurring event
[{'concept': 'recurring event'}, 'location', 'Brasília']
SELECT DISTINCT ?h WHERE { ?h property:location resource:Brasília . ?h rdf:type ontology:recurring_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2844
P190
Q56061
USER
Which administrative territories are twin city of that one ?
(c(Q56061),P190,Q12356204)
action filter_type
action find
entity Q2844
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q12356204']
SELECT DISTINCT ?s WHERE { resource:Q2844 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Brasília
action filter_type
action find
entity Brasília
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'World Esperanto Congress 1981']
SELECT DISTINCT ?s WHERE { resource:Brasília property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q727 Q60 Q61
SYSTEM
Amsterdam, New York City, Washington, D.C.
Q727 Q3889 Q597 Q1963 Q60 Q61
(c(Q56061),P190,Q12356204)
action filter_type
action find
entity Q2844
relation P190
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P190', 'Q12356204']
SELECT DISTINCT ?s WHERE { resource:Q2844 property:P190 ?s . ?s rdf:type ontology:Q56061 }
Amsterdam Maputo Lisbon Khartoum New York City Washington, D.C.
Amsterdam, New York City and Washington, D.C. are twin city of that one
Amsterdam New York City Washington, D.C.
action filter_type
action find
entity Brasília
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'World Esperanto Congress 1981']
SELECT DISTINCT ?s WHERE { resource:Brasília property:sister_city ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q515 Q15617994
USER
How many cities or administrative territories are sister town of that administrative territory ?
(c(Q515),P190,Q61) (c(Q15617994),P190,Q61) (c(Q515),P190,Q727) (c(Q15617994),P190,Q727) (c(Q515),P190,Q60) (c(Q15617994),P190,Q60) (c(Q515),P190,Q61) (c(Q15617994),P190,Q61)
[{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61'] [{'concept': 'Q515'}, 'P190', 'Q727'] [{'concept': 'Q15617994'}, 'P190', 'Q727'] [{'concept': 'Q515'}, 'P190', 'Q60'] [{'concept': 'Q15617994'}, 'P190', 'Q60'] [{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } UNION { ?z property:P190 resource:Q26674641 } UNION { ?y property:P190 resource:Q26674641 } UNION { ?z property:P190 resource:Q60 } UNION { ?y property:P190 resource:Q60 } UNION { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.'] [{'concept': 'city'}, 'sister city', 'Amsterdam'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amsterdam'] [{'concept': 'city'}, 'sister city', 'New York City'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'New York City'] [{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } UNION { ?z property:sister_city resource:Amsterdam } UNION { ?y property:sister_city resource:Amsterdam } UNION { ?z property:sister_city resource:New_York_City } UNION { ?y property:sister_city resource:New_York_City } UNION { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } } . ?z rdf:type ontology:city . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
city designation for an administrative territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q727
SYSTEM
Did you mean Amsterdam ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } UNION { ?z property:P190 resource:Q26674641 } UNION { ?y property:P190 resource:Q26674641 } UNION { ?z property:P190 resource:Q60 } UNION { ?y property:P190 resource:Q60 } UNION { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q15617994 }
Did you mean Amsterdam ?
Amsterdam
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } UNION { ?z property:sister_city resource:Amsterdam } UNION { ?y property:sister_city resource:Amsterdam } UNION { ?z property:sister_city resource:New_York_City } UNION { ?y property:sister_city resource:New_York_City } UNION { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } } . ?z rdf:type ontology:city . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Washington, D.C.. Could you tell me the answer for that?
(c(Q515),P190,Q61) (c(Q15617994),P190,Q61) (c(Q515),P190,Q727) (c(Q15617994),P190,Q727) (c(Q515),P190,Q60) (c(Q15617994),P190,Q60) (c(Q515),P190,Q61) (c(Q15617994),P190,Q61)
Q61
[{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61'] [{'concept': 'Q515'}, 'P190', 'Q727'] [{'concept': 'Q15617994'}, 'P190', 'Q727'] [{'concept': 'Q515'}, 'P190', 'Q60'] [{'concept': 'Q15617994'}, 'P190', 'Q60'] [{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61']
[{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.'] [{'concept': 'city'}, 'sister city', 'Amsterdam'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amsterdam'] [{'concept': 'city'}, 'sister city', 'New York City'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'New York City'] [{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.']
[]
SYSTEM
6
Q3624 Q158876 Q8684 Q9005 Q3926 Q2844
(c(Q515),P190,Q61) (c(Q15617994),P190,Q61) (c(Q515),P190,Q727) (c(Q15617994),P190,Q727) (c(Q515),P190,Q60) (c(Q15617994),P190,Q60) (c(Q515),P190,Q61) (c(Q15617994),P190,Q61)
[ANSWER]
[{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61'] [{'concept': 'Q515'}, 'P190', 'Q727'] [{'concept': 'Q15617994'}, 'P190', 'Q727'] [{'concept': 'Q515'}, 'P190', 'Q60'] [{'concept': 'Q15617994'}, 'P190', 'Q60'] [{'concept': 'Q515'}, 'P190', 'Q61'] [{'concept': 'Q15617994'}, 'P190', 'Q61']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } UNION { ?z property:P190 resource:Q26674641 } UNION { ?y property:P190 resource:Q26674641 } UNION { ?z property:P190 resource:Q60 } UNION { ?y property:P190 resource:Q60 } UNION { ?z property:P190 resource:Q22442863 } UNION { ?y property:P190 resource:Q22442863 } } . ?z rdf:type ontology:Q7930989 . ?y rdf:type ontology:Q15617994 }
Addis Ababa Reinickendorf Seoul Brussels Pretoria Brasília
6
[{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.'] [{'concept': 'city'}, 'sister city', 'Amsterdam'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amsterdam'] [{'concept': 'city'}, 'sister city', 'New York City'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'New York City'] [{'concept': 'city'}, 'sister city', 'Washington, D.C.'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Washington, D.C.']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } UNION { ?z property:sister_city resource:Amsterdam } UNION { ?y property:sister_city resource:Amsterdam } UNION { ?z property:sister_city resource:New_York_City } UNION { ?y property:sister_city resource:New_York_City } UNION { ?z property:sister_city resource:Washington,_D.C. } UNION { ?y property:sister_city resource:Washington,_D.C. } } . ?z rdf:type ontology:city . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q60
P127
Q811979
USER
Which architectural structures belongs to New York City ?
(c(Q811979),P127,Q60)
action filter_type
action find_reverse
entity Q60
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q60']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q60 . ?o rdf:type ontology:Q811979 }
New York City
action filter_type
action find_reverse
entity New York City
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'New York City']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:New_York_City . ?o rdf:type ontology:architectural_structure }
[]
architectural structure
Q6715011 Q4596012 Q7603993
SYSTEM
MCU Park, 1 Police Plaza, Staten Island Cricket Club
Q6715011 Q4596012 Q7603993 Q5462917
(c(Q811979),P127,Q60)
action filter_type
action find_reverse
entity Q60
relation P127
type Q811979
[ANSWERS] belong to New York City
[{'concept': 'Q811979'}, 'P127', 'Q60']
SELECT DISTINCT ?o WHERE { ?o property:P127 resource:Q60 . ?o rdf:type ontology:Q811979 }
MCU Park 1 Police Plaza Staten Island Cricket Club Flushing Meadows Natatorium
MCU Park, 1 Police Plaza and Staten Island Cricket Club belong to New York City
MCU Park 1 Police Plaza Staten Island Cricket Club
action filter_type
action find_reverse
entity New York City
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'New York City']
SELECT DISTINCT ?o WHERE { ?o property:owned_by resource:New_York_City . ?o rdf:type ontology:architectural_structure }
[]