Simple Question (Direct)
Simple Question
Q437054
P19
Q1048835
USER
Which political territory was Claes Tholin born at ?
(Q437054,P19,c(Q1048835))
action filter_type
action find
entity Q437054
relation P19
type Q1048835
['Q437054', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q437054 property:P19 ?i . ?i rdf:type ontology:Q1048835 }
Claes Tholin
action filter_type
action find
entity Claes Tholin
relation place of birth
type political territorial entity
['Claes Tholin', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Claes_Tholin property:place_of_birth ?i . ?i rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q254990
SYSTEM
Älvsborg County
Q254990
(Q437054,P19,c(Q1048835))
action filter_type
action find
entity Q437054
relation P19
type Q1048835
[ANSWER] was Claes Tholin born at
['Q437054', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?i WHERE { resource:Q437054 property:P19 ?i . ?i rdf:type ontology:Q1048835 }
Älvsborg County
Älvsborg County was Claes Tholin born at
Älvsborg County
action filter_type
action find
entity Claes Tholin
relation place of birth
type political territorial entity
['Claes Tholin', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Claes_Tholin property:place_of_birth ?i . ?i rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q437054
P488
Q7210356
USER
What is Claes Tholin a chairperson of ?
(c(Q7210356),P488,Q437054)
action filter_type
action find_reverse
entity Q437054
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q437054']
SELECT DISTINCT ?t WHERE { ?t property:P488 resource:Q437054 . ?t rdf:type ontology:Q7210356 }
Claes Tholin
action filter_type
action find_reverse
entity Claes Tholin
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Claes Tholin']
SELECT DISTINCT ?t WHERE { ?t property:chairperson resource:Claes_Tholin . ?t rdf:type ontology:political_organization }
[]
political organization
Q105112
SYSTEM
Swedish Social Democratic Party
Q105112
(c(Q7210356),P488,Q437054)
action filter_type
action find_reverse
entity Q437054
relation P488
type Q7210356
Claes is a [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q437054']
SELECT DISTINCT ?t WHERE { ?t property:P488 resource:Q437054 . ?t rdf:type ontology:Q7210356 }
Swedish Social Democratic Party
Claes is a Swedish Social Democratic Party
Swedish Social Democratic Party
action filter_type
action find_reverse
entity Claes Tholin
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Claes Tholin']
SELECT DISTINCT ?t WHERE { ?t property:chairperson resource:Claes_Tholin . ?t rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q437054
P20
Q56061
USER
Where did the demise of that person occur ?
(Q105112,P20,c(Q56061))
action filter_type
action find
entity Q437054
relation P20
type Q56061
['Q105112', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q437054 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Claes Tholin
action filter_type
action find
entity Claes Tholin
relation place of death
type administrative territorial entity
['Swedish Social Democratic Party', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Claes_Tholin property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1754
SYSTEM
Stockholm
Q1754
(Q105112,P20,c(Q56061))
action filter_type
action find
entity Q437054
relation P20
type Q56061
The demise of that person occurred in [ANSWER]
['Q105112', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q437054 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Stockholm
The demise of that person occurred in Stockholm
Stockholm
action filter_type
action find
entity Claes Tholin
relation place of death
type administrative territorial entity
['Swedish Social Democratic Party', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Claes_Tholin property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P1376
Q1048835
USER
Which political territory has that administrative territory has its first city ?
(Q1754,P1376,c(Q1048835))
action filter_type
action find
entity Q1754
relation P1376
type Q1048835
['Q1754', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1376 ?h . ?h rdf:type ontology:Q1048835 }
Stockholm
action filter_type
action find
entity Stockholm
relation capital of
type political territorial entity
['Stockholm', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q104231
SYSTEM
Stockholm County
Q104231
(Q1754,P1376,c(Q1048835))
action filter_type
action find
entity Q1754
relation P1376
type Q1048835
City [ANSWER] has that administrative territory has its first city
['Q1754', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1376 ?h . ?h rdf:type ontology:Q1048835 }
Stockholm County
City Stockholm County has that administrative territory has its first city
Stockholm County
action filter_type
action find
entity Stockholm
relation capital of
type political territorial entity
['Stockholm', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:capital_of ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1754
P1313
Q12737077
USER
What is the occupation held by Stockholm ?
(Q1754,P1313,c(Q12737077))
action filter_type
action find
entity Q1754
relation P1313
type Q12737077
['Q1754', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
Stockholm
action filter_type
action find
entity Stockholm
relation office held by head of government
type occupation
['Stockholm', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q30185
SYSTEM
mayor
Q30185
(Q1754,P1313,c(Q12737077))
action filter_type
action find
entity Q1754
relation P1313
type Q12737077
The occupation held by Stockholm is the [ANSWER]
['Q1754', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q1754 property:P1313 ?h . ?h rdf:type ontology:Q12737077 }
mayor
The occupation held by Stockholm is the mayor
mayor
action filter_type
action find
entity Stockholm
relation office held by head of government
type occupation
['Stockholm', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Stockholm property:office_held_by_head_of_government ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1754
P190
Q56061
USER
Which administrative territories are twin cities of that one ?
(Q30185,P190,c(Q56061))
action filter_type
action find
entity Q1754
relation P190
type Q56061
['Q30185', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1754 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Stockholm
action filter_type
action find
entity Stockholm
relation sister city
type administrative territorial entity
['mayor', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stockholm property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216 Q406 Q1489
SYSTEM
Vilnius, Istanbul, Mexico City
Q1757 Q226 Q216 Q1748 Q585 Q3711 Q13670 Q1764 Q1489 Q23564 Q1770 Q51103 Q406 Q10704
(Q30185,P190,c(Q56061))
action filter_type
action find
entity Q1754
relation P190
type Q56061
[ANSWERS] are twin cities of that one
['Q30185', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1754 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Helsinki Nuuk Vilnius Copenhagen Oslo Belgrade Syracuse Reykjavík Mexico City Podgorica Tallinn Cali Istanbul Tórshavn
Vilnius, Istanbul and Mexico City are twin cities of that one
Vilnius Istanbul Mexico City
action filter_type
action find
entity Stockholm
relation sister city
type administrative territorial entity
['mayor', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Stockholm property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P190
Q15617994 Q19833031
USER
How many administrative territories or emirates of the United Arab Emirates are sister towns of that administrative territory ?
(Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q216,P190,c(Q15617994)) (Q216,P190,c(Q19833031)) (Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q1489,P190,c(Q15617994)) (Q1489,P190,c(Q19833031))
['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q216', 'P190', {'concept': 'Q15617994'}] ['Q216', 'P190', {'concept': 'Q19833031'}] ['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q1489', 'P190', {'concept': 'Q15617994'}] ['Q1489', 'P190', {'concept': 'Q19833031'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q16476450 property:P190 ?z } UNION { resource:Q16476450 property:P190 ?y } UNION { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q1489 property:P190 ?z } UNION { resource:Q1489 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q19833031 }
['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Vilnius', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Vilnius', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Mexico City', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'sister city', {'concept': 'emirate of the United Arab Emirates'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Vilnius property:sister_city ?z } UNION { resource:Vilnius property:sister_city ?y } UNION { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Mexico_City property:sister_city ?z } UNION { resource:Mexico_City property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:emirate_of_the_United_Arab_Emirates }
[]
designation for an administrative territorial entity emirate of the United Arab Emirates
Quantitative|Count|Mult. entity type|Clarification
Q216
SYSTEM
Did you mean Vilnius ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q16476450 property:P190 ?z } UNION { resource:Q16476450 property:P190 ?y } UNION { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q1489 property:P190 ?z } UNION { resource:Q1489 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q19833031 }
Did you mean Vilnius ?
Vilnius
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Vilnius property:sister_city ?z } UNION { resource:Vilnius property:sister_city ?y } UNION { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Mexico_City property:sister_city ?z } UNION { resource:Mexico_City property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:emirate_of_the_United_Arab_Emirates }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Istanbul. Could you tell me the answer for that?
(Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q216,P190,c(Q15617994)) (Q216,P190,c(Q19833031)) (Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q1489,P190,c(Q15617994)) (Q1489,P190,c(Q19833031))
Q406
['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q216', 'P190', {'concept': 'Q15617994'}] ['Q216', 'P190', {'concept': 'Q19833031'}] ['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q1489', 'P190', {'concept': 'Q15617994'}] ['Q1489', 'P190', {'concept': 'Q19833031'}]
['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Vilnius', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Vilnius', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Mexico City', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'sister city', {'concept': 'emirate of the United Arab Emirates'}]
[]
SYSTEM
2
Q2899 Q613
(Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q216,P190,c(Q15617994)) (Q216,P190,c(Q19833031)) (Q406,P190,c(Q15617994)) (Q406,P190,c(Q19833031)) (Q1489,P190,c(Q15617994)) (Q1489,P190,c(Q19833031))
[ANSWER]
['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q216', 'P190', {'concept': 'Q15617994'}] ['Q216', 'P190', {'concept': 'Q19833031'}] ['Q406', 'P190', {'concept': 'Q15617994'}] ['Q406', 'P190', {'concept': 'Q19833031'}] ['Q1489', 'P190', {'concept': 'Q15617994'}] ['Q1489', 'P190', {'concept': 'Q19833031'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q16476450 property:P190 ?z } UNION { resource:Q16476450 property:P190 ?y } UNION { resource:Q18352396 property:P190 ?z } UNION { resource:Q18352396 property:P190 ?y } UNION { resource:Q1489 property:P190 ?z } UNION { resource:Q1489 property:P190 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q19833031 }
Mülheim an der Ruhr Emirate of Dubai
2
['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Vilnius', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Vilnius', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Istanbul', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Istanbul', 'sister city', {'concept': 'emirate of the United Arab Emirates'}] ['Mexico City', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Mexico City', 'sister city', {'concept': 'emirate of the United Arab Emirates'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Vilnius property:sister_city ?z } UNION { resource:Vilnius property:sister_city ?y } UNION { resource:Istanbul property:sister_city ?z } UNION { resource:Istanbul property:sister_city ?y } UNION { resource:Mexico_City property:sister_city ?z } UNION { resource:Mexico_City property:sister_city ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:emirate_of_the_United_Arab_Emirates }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1489
P355
Q43229
USER
Which organization is the parent company of Mexico City ?
(c(Q43229),P355,Q1489)
action filter_type
action find_reverse
entity Q1489
relation P355
type Q43229
[{'concept': 'Q43229'}, 'P355', 'Q1489']
SELECT DISTINCT ?s WHERE { ?s property:P355 resource:Q1489 . ?s rdf:type ontology:Q43229 }
Mexico City
action filter_type
action find_reverse
entity Mexico City
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Mexico City']
SELECT DISTINCT ?s WHERE { ?s property:subsidiary resource:Mexico_City . ?s rdf:type ontology:organization }
[]
organization
Q17142365
SYSTEM
Infobip
Q17142365
(c(Q43229),P355,Q1489)
action filter_type
action find_reverse
entity Q1489
relation P355
type Q43229
[ANSWER] is the parent company of Mexico City
[{'concept': 'Q43229'}, 'P355', 'Q1489']
SELECT DISTINCT ?s WHERE { ?s property:P355 resource:Q1489 . ?s rdf:type ontology:Q43229 }
Infobip
Infobip is the parent company of Mexico City
Infobip
action filter_type
action find_reverse
entity Mexico City
relation subsidiary
type organization
[{'concept': 'organization'}, 'subsidiary', 'Mexico City']
SELECT DISTINCT ?s WHERE { ?s property:subsidiary resource:Mexico_City . ?s rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1489
P36
Q7275
USER
Which state contains that administrative territory as its capital ?
(c(Q7275),P36,Q17142365)
action filter_type
action find_reverse
entity Q1489
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q17142365']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q1489 . ?o rdf:type ontology:Q7275 }
Mexico City
action filter_type
action find_reverse
entity Mexico City
relation capital
type state
[{'concept': 'state'}, 'capital', 'Infobip']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Mexico_City . ?o rdf:type ontology:state }
[]
state
Q285658
SYSTEM
First Mexican Empire
Q285658
(c(Q7275),P36,Q17142365)
action filter_type
action find_reverse
entity Q1489
relation P36
type Q7275
[ANSWER] contains that administrative territory as its capital
[{'concept': 'Q7275'}, 'P36', 'Q17142365']
SELECT DISTINCT ?o WHERE { ?o property:P36 resource:Q1489 . ?o rdf:type ontology:Q7275 }
First Mexican Empire
First Mexican Empire contains that administrative territory as its capital
First Mexican Empire
action filter_type
action find_reverse
entity Mexico City
relation capital
type state
[{'concept': 'state'}, 'capital', 'Infobip']
SELECT DISTINCT ?o WHERE { ?o property:capital resource:Mexico_City . ?o rdf:type ontology:state }
[]