Simple Question (Direct)
Simple Question
Q99796
P20
Q56061
USER
Where did the demise of Christian Friedrich Sintenis occur ?
(Q99796,P20,c(Q56061))
action filter_type
action find
entity Q99796
relation P20
type Q56061
['Q99796', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q99796 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Christian Friedrich Sintenis
action filter_type
action find
entity Christian Friedrich Sintenis
relation place of death
type administrative territorial entity
['Christian Friedrich Sintenis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Friedrich_Sintenis property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q155981
SYSTEM
Zerbst
Q155981
(Q99796,P20,c(Q56061))
action filter_type
action find
entity Q99796
relation P20
type Q56061
The demise of Christian Friedrich Sintenis occurred in [ANSWER]
['Q99796', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q99796 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Zerbst
The demise of Christian Friedrich Sintenis occurred in Zerbst
Zerbst
action filter_type
action find
entity Christian Friedrich Sintenis
relation place of death
type administrative territorial entity
['Christian Friedrich Sintenis', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Christian_Friedrich_Sintenis property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q155981
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q155981,P190,c(Q56061))
action filter_type
action find
entity Q155981
relation P190
type Q56061
['Q155981', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q155981 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Zerbst
action filter_type
action find
entity Zerbst
relation sister city
type administrative territorial entity
['Zerbst', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zerbst property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q14853 Q31084 Q7947
SYSTEM
Nürtingen, Jever, Pushkin
Q14853 Q31084 Q7947
(Q155981,P190,c(Q56061))
action filter_type
action find
entity Q155981
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q155981', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q155981 property:P190 ?m . ?m rdf:type ontology:Q56061 }
Nürtingen Jever Pushkin
Nürtingen, Jever and Pushkin are the sister cities of that one
Nürtingen Jever Pushkin
action filter_type
action find
entity Zerbst
relation sister city
type administrative territorial entity
['Zerbst', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Zerbst property:sister_city ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1770
Q56061
USER
And also tell me about Tallinn?
(Q1770,P190,c(Q56061))
action filter_type
action find
entity Q1770
relation P190
type Q56061
['Q1770', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1770 property:P190 ?q }
Tallinn
action filter_type
action find
entity Tallinn
relation sister city
type administrative territorial entity
['Tallinn', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Tallinn property:sister_city ?q }
[]
administrative territorial entity
Q649 Q216 Q641
SYSTEM
Moscow, Vilnius, Venice
Q858775 Q1707 Q641 Q747509 Q649 Q28271 Q192155 Q1754 Q749 Q216 Q761 Q1296 Q1709
(Q1770,P190,c(Q56061))
action filter_type
action find
entity Q1770
relation P190
type Q56061
[ANSWERS]
['Q1770', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q56061 . resource:Q1770 property:P190 ?q }
Dartford Kiel Venice Los Gatos Moscow Annapolis Kotka Stockholm Groningen Vilnius Białystok Ghent Schwerin
Moscow Vilnius Venice
action filter_type
action find
entity Tallinn
relation sister city
type administrative territorial entity
['Tallinn', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:administrative_territorial_entity . resource:Tallinn property:sister_city ?q }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q19689
P190
Q515
USER
Are Tirana sister town of those administrative territories ?
(Q19689,P190,Q649) (Q19689,P190,Q216) (Q19689,P190,Q641)
action is_in
entity prev_answer
action find
entity Q19689
relation P190
['Q19689', 'P190', 'Q649'] ['Q19689', 'P190', 'Q216'] ['Q19689', 'P190', 'Q641']
ASK WHERE { VALUES ( ?f ) { ( resource:Q858775 ) ( resource:Q1707 ) ( resource:Q641 ) } . resource:Q19689 property:P190 ?f }
Tirana
action is_in
entity prev_answer
action find
entity Tirana
relation sister city
['Tirana', 'sister city', 'Moscow'] ['Tirana', 'sister city', 'Vilnius'] ['Tirana', 'sister city', 'Venice']
ASK WHERE { VALUES ( ?f ) { ( resource:Dartford ) ( resource:Kiel ) ( resource:Venice ) } . resource:Tirana property:sister_city ?f }
[]
city
SYSTEM
YES
(Q19689,P190,Q649) (Q19689,P190,Q216) (Q19689,P190,Q641)
action is_in
entity prev_answer
action find
entity Q19689
relation P190
[ANSWER]
['Q19689', 'P190', 'Q649'] ['Q19689', 'P190', 'Q216'] ['Q19689', 'P190', 'Q641']
ASK WHERE { VALUES ( ?f ) { ( resource:Q858775 ) ( resource:Q1707 ) ( resource:Q641 ) } . resource:Q19689 property:P190 ?f }
Yes
action is_in
entity prev_answer
action find
entity Tirana
relation sister city
['Tirana', 'sister city', 'Moscow'] ['Tirana', 'sister city', 'Vilnius'] ['Tirana', 'sister city', 'Venice']
ASK WHERE { VALUES ( ?f ) { ( resource:Dartford ) ( resource:Kiel ) ( resource:Venice ) } . resource:Tirana property:sister_city ?f }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q649 Q614890 Q6746283
P190
Q56061
USER
Is Moscow partner town of Kannauj and Man Wein ?
(Q649,P190,Q614890) (Q649,P190,Q6746283)
action is_in
entity Q649
action intersection
action find_reverse
entity Q614890
relation P190
action find_reverse
entity Q6746283
relation P190
['Q649', 'P190', 'Q614890'] ['Q649', 'P190', 'Q6746283']
ASK WHERE { resource:Q649 property:P190 resource:Q6746283 . resource:Q649 property:P190 resource:Q614890 }
Moscow Kannauj Man Wein
action is_in
entity Moscow
action intersection
action find_reverse
entity Kannauj
relation sister city
action find_reverse
entity Man Wein
relation sister city
['Moscow', 'sister city', 'Kannauj'] ['Moscow', 'sister city', 'Man Wein']
ASK WHERE { resource:Moscow property:sister_city resource:Man_Wein . resource:Moscow property:sister_city resource:Kannauj }
[]
administrative territorial entity
SYSTEM
NO
(Q649,P190,Q614890) (Q649,P190,Q6746283)
action is_in
entity Q649
action intersection
action find_reverse
entity Q614890
relation P190
action find_reverse
entity Q6746283
relation P190
[ANSWER]
['Q649', 'P190', 'Q614890'] ['Q649', 'P190', 'Q6746283']
ASK WHERE { resource:Q649 property:P190 resource:Q6746283 . resource:Q649 property:P190 resource:Q614890 }
No
action is_in
entity Moscow
action intersection
action find_reverse
entity Kannauj
relation sister city
action find_reverse
entity Man Wein
relation sister city
['Moscow', 'sister city', 'Kannauj'] ['Moscow', 'sister city', 'Man Wein']
ASK WHERE { resource:Moscow property:sister_city resource:Man_Wein . resource:Moscow property:sister_city resource:Kannauj }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q216 Q7333286 Q23436
P190
Q56061
USER
Is Vilnius a sister city of Rift House and Edinburgh ?
(Q216,P190,Q7333286) (Q216,P190,Q23436)
action is_in
entity Q216
action intersection
action find_reverse
entity Q7333286
relation P190
action find_reverse
entity Q23436
relation P190
['Q216', 'P190', 'Q7333286'] ['Q216', 'P190', 'Q23436']
ASK WHERE { resource:Q216 property:P190 resource:Q7333286 . resource:Q216 property:P190 resource:Q23436 }
Vilnius Rift House Edinburgh
action is_in
entity Vilnius
action intersection
action find_reverse
entity Rift House
relation sister city
action find_reverse
entity Edinburgh
relation sister city
['Vilnius', 'sister city', 'Rift House'] ['Vilnius', 'sister city', 'Edinburgh']
ASK WHERE { resource:Vilnius property:sister_city resource:Rift_House . resource:Vilnius property:sister_city resource:Edinburgh }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q216,P190,Q7333286) (Q216,P190,Q23436)
action is_in
entity Q216
action intersection
action find_reverse
entity Q7333286
relation P190
action find_reverse
entity Q23436
relation P190
[ANSWER]
['Q216', 'P190', 'Q7333286'] ['Q216', 'P190', 'Q23436']
ASK WHERE { resource:Q216 property:P190 resource:Q7333286 . resource:Q216 property:P190 resource:Q23436 }
NO and YES respectively
action is_in
entity Vilnius
action intersection
action find_reverse
entity Rift House
relation sister city
action find_reverse
entity Edinburgh
relation sister city
['Vilnius', 'sister city', 'Rift House'] ['Vilnius', 'sister city', 'Edinburgh']
ASK WHERE { resource:Vilnius property:sister_city resource:Rift_House . resource:Vilnius property:sister_city resource:Edinburgh }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7947 Q159
P17
Q15617994
USER
Does Pushkin belong to Russia ?
(Q7947,P17,Q159)
action is_in
entity Q159
action find
entity Q7947
relation P17
['Q7947', 'P17', 'Q159']
ASK WHERE { resource:Q7947 property:P17 resource:Q159 }
Pushkin Russia
action is_in
entity Russia
action find
entity Pushkin
relation country
['Pushkin', 'country', 'Russia']
ASK WHERE { resource:Pushkin property:country resource:Russia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7947,P17,Q159)
action is_in
entity Q159
action find
entity Q7947
relation P17
[ANSWER]
['Q7947', 'P17', 'Q159']
ASK WHERE { resource:Q7947 property:P17 resource:Q159 }
Yes
action is_in
entity Russia
action find
entity Pushkin
relation country
['Pushkin', 'country', 'Russia']
ASK WHERE { resource:Pushkin property:country resource:Russia }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1556469 Q14853
P27 P17
Q1048835
USER
Which political territories are Nürtingen a part of or are the native countriesof Udo Glatthaar ?
OR((Q14853,P17,c(Q1048835)), (Q1556469,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q14853
relation P17
action find
entity Q1556469
relation P27
type Q1048835
{'OR': [['Q14853', 'P17', {'concept': 'Q1048835'}], ['Q1556469', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q14853 property:P17 ?w } UNION { resource:Q1556469 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Udo Glatthaar Nürtingen
action filter_type
action union
action find
entity Nürtingen
relation country
action find
entity Udo Glatthaar
relation country of citizenship
type political territorial entity
{'OR': [['Nürtingen', 'country', {'concept': 'political territorial entity'}], ['Udo Glatthaar', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Nürtingen property:country ?w } UNION { resource:Udo_Glatthaar property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
OR((Q14853,P17,c(Q1048835)), (Q1556469,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q14853
relation P17
action find
entity Q1556469
relation P27
type Q1048835
[ANSWER] is Nürtingen a part of or is the native countriesof Udo Glatthaar
{'OR': [['Q14853', 'P17', {'concept': 'Q1048835'}], ['Q1556469', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q14853 property:P17 ?w } UNION { resource:Q1556469 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Germany
Germany is Nürtingen a part of or is the native countriesof Udo Glatthaar
Germany
action filter_type
action union
action find
entity Nürtingen
relation country
action find
entity Udo Glatthaar
relation country of citizenship
type political territorial entity
{'OR': [['Nürtingen', 'country', {'concept': 'political territorial entity'}], ['Udo Glatthaar', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Nürtingen property:country ?w } UNION { resource:Udo_Glatthaar property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1556469
P39
Q12737077
USER
Which occupation was a position held by that person ?
(Q183,P39,c(Q12737077))
action filter_type
action find
entity Q1556469
relation P39
type Q12737077
['Q183', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1556469 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
Udo Glatthaar
action filter_type
action find
entity Udo Glatthaar
relation position held
type occupation
['Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Udo_Glatthaar property:position_held ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q183,P39,c(Q12737077))
action filter_type
action find
entity Q1556469
relation P39
type Q12737077
The [ANSWER] was a position held by that person
['Q183', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1556469 property:P39 ?f . ?f rdf:type ontology:Q12737077 }
mayor
The mayor was a position held by that person
mayor
action filter_type
action find
entity Udo Glatthaar
relation position held
type occupation
['Germany', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Udo_Glatthaar property:position_held ?f . ?f rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2016158 Q641
P19 P190
Q515
USER
Which cities are partner towns of Venice or are the places of birth of Josefa Fabíola ?
OR((Q641,P190,c(Q515)), (Q2016158,P19,c(Q515)))
action filter_type
action union
action find
entity Q641
relation P190
action find
entity Q2016158
relation P19
type Q515
{'OR': [['Q641', 'P190', {'concept': 'Q515'}], ['Q2016158', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q641 property:P190 ?r } UNION { resource:Q2016158 property:P19 ?r } } . ?r rdf:type ontology:Q515 }
Josefa Fabíola Venice
action filter_type
action union
action find
entity Venice
relation sister city
action find
entity Josefa Fabíola
relation place of birth
type city
{'OR': [['Venice', 'sister city', {'concept': 'city'}], ['Josefa Fabíola', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Venice property:sister_city ?r } UNION { resource:Josefa_Fabíola property:place_of_birth ?r } } . ?r rdf:type ontology:city }
[]
city
Q485581 Q1953 Q19689 Q11194 Q2844 Q42622
SYSTEM
Aveiro, Yerevan, Tirana, Sarajevo, Brasília, Suzhou
Q485581 Q1953 Q19689 Q11194 Q2844 Q42622
OR((Q641,P190,c(Q515)), (Q2016158,P19,c(Q515)))
action filter_type
action union
action find
entity Q641
relation P190
action find
entity Q2016158
relation P19
type Q515
[ANSWERS] are partner towns of Venice or are the places of birth of Josefa Fabíola
{'OR': [['Q641', 'P190', {'concept': 'Q515'}], ['Q2016158', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q641 property:P190 ?r } UNION { resource:Q2016158 property:P19 ?r } } . ?r rdf:type ontology:Q515 }
Aveiro Yerevan Tirana Sarajevo Brasília Suzhou
Aveiro, Yerevan, Tirana, Sarajevo, Brasília and Suzhou are partner towns of Venice or are the places of birth of Josefa Fabíola
Aveiro Yerevan Tirana Sarajevo Brasília Suzhou
action filter_type
action union
action find
entity Venice
relation sister city
action find
entity Josefa Fabíola
relation place of birth
type city
{'OR': [['Venice', 'sister city', {'concept': 'city'}], ['Josefa Fabíola', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Venice property:sister_city ?r } UNION { resource:Josefa_Fabíola property:place_of_birth ?r } } . ?r rdf:type ontology:city }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q41156 Q20667921
USER
How many administrative territory of South Koreas and french administrative divisions are the sister cities of that city ?
(Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921)) (Q485581,P190,c(Q41156)) (Q485581,P190,c(Q20667921)) (Q1953,P190,c(Q41156)) (Q1953,P190,c(Q20667921)) (Q19689,P190,c(Q41156)) (Q19689,P190,c(Q20667921)) (Q11194,P190,c(Q41156)) (Q11194,P190,c(Q20667921)) (Q2844,P190,c(Q41156)) (Q2844,P190,c(Q20667921)) (Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921))
['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}] ['Q485581', 'P190', {'concept': 'Q41156'}] ['Q485581', 'P190', {'concept': 'Q20667921'}] ['Q1953', 'P190', {'concept': 'Q41156'}] ['Q1953', 'P190', {'concept': 'Q20667921'}] ['Q19689', 'P190', {'concept': 'Q41156'}] ['Q19689', 'P190', {'concept': 'Q20667921'}] ['Q11194', 'P190', {'concept': 'Q41156'}] ['Q11194', 'P190', {'concept': 'Q20667921'}] ['Q2844', 'P190', {'concept': 'Q41156'}] ['Q2844', 'P190', {'concept': 'Q20667921'}] ['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } UNION { resource:Q1187124 property:P190 ?z } UNION { resource:Q1187124 property:P190 ?y } UNION { resource:Q1953 property:P190 ?z } UNION { resource:Q1953 property:P190 ?y } UNION { resource:Q19689 property:P190 ?z } UNION { resource:Q19689 property:P190 ?y } UNION { resource:Q12767363 property:P190 ?z } UNION { resource:Q12767363 property:P190 ?y } UNION { resource:Q2844 property:P190 ?z } UNION { resource:Q2844 property:P190 ?y } UNION { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } } . ?z rdf:type ontology:Q41156 . ?y rdf:type ontology:Q20667921 }
['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}] ['Aveiro', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Aveiro', 'sister city', {'concept': 'type of french administrative division'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Yerevan', 'sister city', {'concept': 'type of french administrative division'}] ['Tirana', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Tirana', 'sister city', {'concept': 'type of french administrative division'}] ['Sarajevo', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Sarajevo', 'sister city', {'concept': 'type of french administrative division'}] ['Brasília', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Brasília', 'sister city', {'concept': 'type of french administrative division'}] ['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } UNION { resource:Aveiro property:sister_city ?z } UNION { resource:Aveiro property:sister_city ?y } UNION { resource:Yerevan property:sister_city ?z } UNION { resource:Yerevan property:sister_city ?y } UNION { resource:Tirana property:sister_city ?z } UNION { resource:Tirana property:sister_city ?y } UNION { resource:Sarajevo property:sister_city ?z } UNION { resource:Sarajevo property:sister_city ?y } UNION { resource:Brasília property:sister_city ?z } UNION { resource:Brasília property:sister_city ?y } UNION { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity_of_South_Korea . ?y rdf:type ontology:type_of_french_administrative_division }
[]
administrative territorial entity of South Korea type of french administrative division
Quantitative|Count|Mult. entity type|Clarification
Q2844
SYSTEM
Did you mean Brasília ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } UNION { resource:Q1187124 property:P190 ?z } UNION { resource:Q1187124 property:P190 ?y } UNION { resource:Q1953 property:P190 ?z } UNION { resource:Q1953 property:P190 ?y } UNION { resource:Q19689 property:P190 ?z } UNION { resource:Q19689 property:P190 ?y } UNION { resource:Q12767363 property:P190 ?z } UNION { resource:Q12767363 property:P190 ?y } UNION { resource:Q2844 property:P190 ?z } UNION { resource:Q2844 property:P190 ?y } UNION { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } } . ?z rdf:type ontology:Q41156 . ?y rdf:type ontology:Q20667921 }
Did you mean Brasília ?
Brasília
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } UNION { resource:Aveiro property:sister_city ?z } UNION { resource:Aveiro property:sister_city ?y } UNION { resource:Yerevan property:sister_city ?z } UNION { resource:Yerevan property:sister_city ?y } UNION { resource:Tirana property:sister_city ?z } UNION { resource:Tirana property:sister_city ?y } UNION { resource:Sarajevo property:sister_city ?z } UNION { resource:Sarajevo property:sister_city ?y } UNION { resource:Brasília property:sister_city ?z } UNION { resource:Brasília property:sister_city ?y } UNION { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity_of_South_Korea . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Suzhou. Could you tell me the answer for that?
(Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921)) (Q485581,P190,c(Q41156)) (Q485581,P190,c(Q20667921)) (Q1953,P190,c(Q41156)) (Q1953,P190,c(Q20667921)) (Q19689,P190,c(Q41156)) (Q19689,P190,c(Q20667921)) (Q11194,P190,c(Q41156)) (Q11194,P190,c(Q20667921)) (Q2844,P190,c(Q41156)) (Q2844,P190,c(Q20667921)) (Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921))
Q42622
['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}] ['Q485581', 'P190', {'concept': 'Q41156'}] ['Q485581', 'P190', {'concept': 'Q20667921'}] ['Q1953', 'P190', {'concept': 'Q41156'}] ['Q1953', 'P190', {'concept': 'Q20667921'}] ['Q19689', 'P190', {'concept': 'Q41156'}] ['Q19689', 'P190', {'concept': 'Q20667921'}] ['Q11194', 'P190', {'concept': 'Q41156'}] ['Q11194', 'P190', {'concept': 'Q20667921'}] ['Q2844', 'P190', {'concept': 'Q41156'}] ['Q2844', 'P190', {'concept': 'Q20667921'}] ['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}]
['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}] ['Aveiro', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Aveiro', 'sister city', {'concept': 'type of french administrative division'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Yerevan', 'sister city', {'concept': 'type of french administrative division'}] ['Tirana', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Tirana', 'sister city', {'concept': 'type of french administrative division'}] ['Sarajevo', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Sarajevo', 'sister city', {'concept': 'type of french administrative division'}] ['Brasília', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Brasília', 'sister city', {'concept': 'type of french administrative division'}] ['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}]
[]
SYSTEM
1 administrative territory of South Koreas and 1 french administrative divisions
Q42160 Q12193
(Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921)) (Q485581,P190,c(Q41156)) (Q485581,P190,c(Q20667921)) (Q1953,P190,c(Q41156)) (Q1953,P190,c(Q20667921)) (Q19689,P190,c(Q41156)) (Q19689,P190,c(Q20667921)) (Q11194,P190,c(Q41156)) (Q11194,P190,c(Q20667921)) (Q2844,P190,c(Q41156)) (Q2844,P190,c(Q20667921)) (Q42622,P190,c(Q41156)) (Q42622,P190,c(Q20667921))
[ANSWER]
['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}] ['Q485581', 'P190', {'concept': 'Q41156'}] ['Q485581', 'P190', {'concept': 'Q20667921'}] ['Q1953', 'P190', {'concept': 'Q41156'}] ['Q1953', 'P190', {'concept': 'Q20667921'}] ['Q19689', 'P190', {'concept': 'Q41156'}] ['Q19689', 'P190', {'concept': 'Q20667921'}] ['Q11194', 'P190', {'concept': 'Q41156'}] ['Q11194', 'P190', {'concept': 'Q20667921'}] ['Q2844', 'P190', {'concept': 'Q41156'}] ['Q2844', 'P190', {'concept': 'Q20667921'}] ['Q42622', 'P190', {'concept': 'Q41156'}] ['Q42622', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } UNION { resource:Q1187124 property:P190 ?z } UNION { resource:Q1187124 property:P190 ?y } UNION { resource:Q1953 property:P190 ?z } UNION { resource:Q1953 property:P190 ?y } UNION { resource:Q19689 property:P190 ?z } UNION { resource:Q19689 property:P190 ?y } UNION { resource:Q12767363 property:P190 ?z } UNION { resource:Q12767363 property:P190 ?y } UNION { resource:Q2844 property:P190 ?z } UNION { resource:Q2844 property:P190 ?y } UNION { resource:Q10935365 property:P190 ?z } UNION { resource:Q10935365 property:P190 ?y } } . ?z rdf:type ontology:Q41156 . ?y rdf:type ontology:Q20667921 }
Hwaseong Brest
1 administrative territory of South Koreas and 1 french administrative divisions
['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}] ['Aveiro', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Aveiro', 'sister city', {'concept': 'type of french administrative division'}] ['Yerevan', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Yerevan', 'sister city', {'concept': 'type of french administrative division'}] ['Tirana', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Tirana', 'sister city', {'concept': 'type of french administrative division'}] ['Sarajevo', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Sarajevo', 'sister city', {'concept': 'type of french administrative division'}] ['Brasília', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Brasília', 'sister city', {'concept': 'type of french administrative division'}] ['Suzhou', 'sister city', {'concept': 'administrative territorial entity of South Korea'}] ['Suzhou', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } UNION { resource:Aveiro property:sister_city ?z } UNION { resource:Aveiro property:sister_city ?y } UNION { resource:Yerevan property:sister_city ?z } UNION { resource:Yerevan property:sister_city ?y } UNION { resource:Tirana property:sister_city ?z } UNION { resource:Tirana property:sister_city ?y } UNION { resource:Sarajevo property:sister_city ?z } UNION { resource:Sarajevo property:sister_city ?y } UNION { resource:Brasília property:sister_city ?z } UNION { resource:Brasília property:sister_city ?y } UNION { resource:Suzhou property:sister_city ?z } UNION { resource:Suzhou property:sister_city ?y } } . ?z rdf:type ontology:administrative_territorial_entity_of_South_Korea . ?y rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q11194
P190
Q56061
USER
How many administrative territories are twin cities of Sarajevo ?
(Q11194,P190,c(Q56061))
action count
action filter_type
action find
entity Q11194
relation P190
type Q56061
['Q11194', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q11194 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Sarajevo
action count
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
['Sarajevo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Sarajevo property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
27
Q437 Q1754 Q641 Q185134 Q35178 Q1735 Q1733 Q384 Q13377 Q9248 Q1524 Q1781 Q727 Q1520 Q4051 Q2634 Q40738 Q85 Q406 Q13362 Q34739 Q4656 Q2807 Q3640 Q3805 Q1492 Q6225
(Q11194,P190,c(Q56061))
action count
action filter_type
action find
entity Q11194
relation P190
type Q56061
[ANSWER]
['Q11194', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Q11194 property:P190 ?i . ?i rdf:type ontology:Q56061 }
Ljubljana Stockholm Venice Tlemcen Kuwait City Innsbruck Magdeburg Skopje Prato Baku Athens Budapest Amsterdam Astana Friedrichshafen Naples Bursa Cairo Istanbul Ferrara Dayton Pula Madrid Ankara Amman Barcelona Coventry
27
action count
action filter_type
action find
entity Sarajevo
relation sister city
type administrative territorial entity
['Sarajevo', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) WHERE { resource:Sarajevo property:sister_city ?i . ?i rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11194
P551
Q502895
USER
Who reside at Sarajevo ?
(c(Q502895),P551,Q11194)
action filter_type
action find_reverse
entity Q11194
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q11194']
SELECT DISTINCT ?a WHERE { ?a property:P551 resource:Q11194 . ?a rdf:type ontology:Q502895 }
Sarajevo
action filter_type
action find_reverse
entity Sarajevo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Sarajevo']
SELECT DISTINCT ?a WHERE { ?a property:residence resource:Sarajevo . ?a rdf:type ontology:common_name }
[]
common name
Q94882 Q169179 Q298063
SYSTEM
Emir Kusturica, Zdravko Čolić, Vojislav Šešelj
Q169179 Q1158544 Q6874826 Q183848 Q1289437 Q1010001 Q5315327 Q483290 Q80492 Q21504306 Q2364268 Q298063 Q193273 Q361173 Q94882 Q1392741 Q18351654 Q6084936
(c(Q502895),P551,Q11194)
action filter_type
action find_reverse
entity Q11194
relation P551
type Q502895
[ANSWERS] reside at Sarajevo
[{'concept': 'Q502895'}, 'P551', 'Q11194']
SELECT DISTINCT ?a WHERE { ?a property:P551 resource:Q11194 . ?a rdf:type ontology:Q502895 }
Zdravko Čolić Damir Džumhur Mirza Bašić Alija Izetbegović Nele Karajlić Goran Trobok Dunja Ilić Boris Tadić Gavrilo Princip Nikola Vučić Abdulah Sidran Vojislav Šešelj Goran Bregović Sulejman Tihić Emir Kusturica Fahrudin Radončić Mahmoud K. Muftić Ismar Gorčić
Emir Kusturica, Zdravko Čolić and Vojislav Šešelj reside at Sarajevo
Emir Kusturica Zdravko Čolić Vojislav Šešelj
action filter_type
action find_reverse
entity Sarajevo
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Sarajevo']
SELECT DISTINCT ?a WHERE { ?a property:residence resource:Sarajevo . ?a rdf:type ontology:common_name }
[]