Simple Question (Direct)
Simple Question
Q19829403
P20
Q56061
USER
Where did Josif Kazanxhi die ?
(Q19829403,P20,c(Q56061))
action filter_type
action find
entity Q19829403
relation P20
type Q56061
['Q19829403', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19829403 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Josif Kazanxhi
action filter_type
action find
entity Josif Kazanxhi
relation place of death
type administrative territorial entity
['Josif Kazanxhi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Josif_Kazanxhi property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q19829403,P20,c(Q56061))
action filter_type
action find
entity Q19829403
relation P20
type Q56061
Josif Kazanxhi died in [ANSWER]
['Q19829403', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { resource:Q19829403 property:P20 ?s . ?s rdf:type ontology:Q56061 }
Milan
Josif Kazanxhi died in Milan
Milan
action filter_type
action find
entity Josif Kazanxhi
relation place of death
type administrative territorial entity
['Josif Kazanxhi', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Josif_Kazanxhi property:place_of_death ?s . ?s rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19829403
P54
Q1194951
USER
Which national sports team is that person a member of ?
(Q490,P54,c(Q1194951))
action filter_type
action find
entity Q19829403
relation P54
type Q1194951
['Q490', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q19829403 property:P54 ?l }
Josif Kazanxhi
action filter_type
action find
entity Josif Kazanxhi
relation member of sports team
type national sports team
['Milan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Josif_Kazanxhi property:member_of_sports_team ?l }
[]
national sports team
Q186262
SYSTEM
Albania national football team
Q186262
(Q490,P54,c(Q1194951))
action filter_type
action find
entity Q19829403
relation P54
type Q1194951
The [ANSWER] is that person a member of
['Q490', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1194951 . resource:Q19829403 property:P54 ?l }
Albania national football team
The Albania national football team is that person a member of
Albania national football team
action filter_type
action find
entity Josif Kazanxhi
relation member of sports team
type national sports team
['Milan', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:national_sports_team . resource:Josif_Kazanxhi property:member_of_sports_team ?l }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q186262 Q1748336
P54
Q502895
USER
Is Elvis Sina a member of that national sports team ?
(Q1748336,P54,Q186262)
action is_in
entity Q186262
action find
entity Q1748336
relation P54
['Q1748336', 'P54', 'Q186262']
ASK WHERE { resource:Q1748336 property:P54 resource:Q186262 }
Albania national football team Elvis Sina
action is_in
entity Albania national football team
action find
entity Elvis Sina
relation member of sports team
['Elvis Sina', 'member of sports team', 'Albania national football team']
ASK WHERE { resource:Elvis_Sina property:member_of_sports_team resource:Albania_national_football_team }
[]
common name
SYSTEM
YES
(Q1748336,P54,Q186262)
action is_in
entity Q186262
action find
entity Q1748336
relation P54
[ANSWER]
['Q1748336', 'P54', 'Q186262']
ASK WHERE { resource:Q1748336 property:P54 resource:Q186262 }
Yes
action is_in
entity Albania national football team
action find
entity Elvis Sina
relation member of sports team
['Elvis Sina', 'member of sports team', 'Albania national football team']
ASK WHERE { resource:Elvis_Sina property:member_of_sports_team resource:Albania_national_football_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q490
P1376
Q1048835 Q1307214
USER
How many political territories and forms of government have Milan have their first city ?
(Q490,P1376,c(Q1048835)) (Q490,P1376,c(Q1307214))
action count
action union
action filter_type
action find
entity Q490
relation P1376
type Q1048835
action filter_type
action find
entity Q490
relation P1376
type Q1307214
['Q490', 'P1376', {'concept': 'Q1048835'}] ['Q490', 'P1376', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q490 property:P1376 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q490 property:P1376 ?a . ?a rdf:type ontology:Q1307214 } }
Milan
action count
action union
action filter_type
action find
entity Milan
relation capital of
type political territorial entity
action filter_type
action find
entity Milan
relation capital of
type form of government
['Milan', 'capital of', {'concept': 'political territorial entity'}] ['Milan', 'capital of', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Milan property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Milan property:capital_of ?a . ?a rdf:type ontology:form_of_government } }
[]
political territorial entity form of government
SYSTEM
1 political territories and 1 forms of government
Q42834 Q18288155
(Q490,P1376,c(Q1048835)) (Q490,P1376,c(Q1307214))
action count
action union
action filter_type
action find
entity Q490
relation P1376
type Q1048835
action filter_type
action find
entity Q490
relation P1376
type Q1307214
[ANSWER]
['Q490', 'P1376', {'concept': 'Q1048835'}] ['Q490', 'P1376', {'concept': 'Q1307214'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Q490 property:P1376 ?a . ?a rdf:type ontology:Q1048835 } UNION { resource:Q490 property:P1376 ?a . ?a rdf:type ontology:Q1307214 } }
Western Roman Empire Metropolitan City of Milan
1 political territories and 1 forms of government
action count
action union
action filter_type
action find
entity Milan
relation capital of
type political territorial entity
action filter_type
action find
entity Milan
relation capital of
type form of government
['Milan', 'capital of', {'concept': 'political territorial entity'}] ['Milan', 'capital of', {'concept': 'form of government'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { { resource:Milan property:capital_of ?a . ?a rdf:type ontology:political_territorial_entity } UNION { resource:Milan property:capital_of ?a . ?a rdf:type ontology:form_of_government } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q19829403 Q222
P27
Q15617994
USER
Is Albania the native country of Josif Kazanxhi ?
(Q19829403,P27,Q222)
action is_in
entity Q222
action find
entity Q19829403
relation P27
['Q19829403', 'P27', 'Q222']
ASK WHERE { resource:Q19829403 property:P27 resource:Q222 }
Josif Kazanxhi Albania
action is_in
entity Albania
action find
entity Josif Kazanxhi
relation country of citizenship
['Josif Kazanxhi', 'country of citizenship', 'Albania']
ASK WHERE { resource:Josif_Kazanxhi property:country_of_citizenship resource:Albania }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q19829403,P27,Q222)
action is_in
entity Q222
action find
entity Q19829403
relation P27
[ANSWER]
['Q19829403', 'P27', 'Q222']
ASK WHERE { resource:Q19829403 property:P27 resource:Q222 }
Yes
action is_in
entity Albania
action find
entity Josif Kazanxhi
relation country of citizenship
['Josif Kazanxhi', 'country of citizenship', 'Albania']
ASK WHERE { resource:Josif_Kazanxhi property:country_of_citizenship resource:Albania }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q490 Q2716504 Q8003035
P190
Q56061
USER
Is Milan a sister city of Pattinam and Çalören ?
(Q490,P190,Q2716504) (Q490,P190,Q8003035)
action is_in
entity Q490
action intersection
action find_reverse
entity Q2716504
relation P190
action find_reverse
entity Q8003035
relation P190
['Q490', 'P190', 'Q2716504'] ['Q490', 'P190', 'Q8003035']
ASK WHERE { resource:Q490 property:P190 resource:Q2716504 . resource:Q490 property:P190 resource:Q8003035 }
Milan Pattinam Çalören
action is_in
entity Milan
action intersection
action find_reverse
entity Pattinam
relation sister city
action find_reverse
entity Çalören
relation sister city
['Milan', 'sister city', 'Pattinam'] ['Milan', 'sister city', 'Çalören']
ASK WHERE { resource:Milan property:sister_city resource:Pattinam . resource:Milan property:sister_city resource:Çalören }
[]
administrative territorial entity
SYSTEM
NO
(Q490,P190,Q2716504) (Q490,P190,Q8003035)
action is_in
entity Q490
action intersection
action find_reverse
entity Q2716504
relation P190
action find_reverse
entity Q8003035
relation P190
[ANSWER]
['Q490', 'P190', 'Q2716504'] ['Q490', 'P190', 'Q8003035']
ASK WHERE { resource:Q490 property:P190 resource:Q2716504 . resource:Q490 property:P190 resource:Q8003035 }
No
action is_in
entity Milan
action intersection
action find_reverse
entity Pattinam
relation sister city
action find_reverse
entity Çalören
relation sister city
['Milan', 'sister city', 'Pattinam'] ['Milan', 'sister city', 'Çalören']
ASK WHERE { resource:Milan property:sister_city resource:Pattinam . resource:Milan property:sister_city resource:Çalören }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q490
P1376
Q1048835
USER
Which political territory has Milan as its capital ?
(Q490,P1376,c(Q1048835))
action filter_type
action find
entity Q490
relation P1376
type Q1048835
['Q490', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q490 property:P1376 ?x . ?x rdf:type ontology:Q1048835 }
Milan
action filter_type
action find
entity Milan
relation capital of
type political territorial entity
['Milan', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Milan property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q18288155
SYSTEM
Metropolitan City of Milan
Q18288155
(Q490,P1376,c(Q1048835))
action filter_type
action find
entity Q490
relation P1376
type Q1048835
[ANSWER] has Milan as its capital
['Q490', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q490 property:P1376 ?x . ?x rdf:type ontology:Q1048835 }
Metropolitan City of Milan
Metropolitan City of Milan has Milan as its capital
Metropolitan City of Milan
action filter_type
action find
entity Milan
relation capital of
type political territorial entity
['Milan', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Milan property:capital_of ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18288155
P6
Q502895
USER
Which person is the head of government of that political territory ?
(Q18288155,P6,c(Q502895))
action filter_type
action find
entity Q18288155
relation P6
type Q502895
['Q18288155', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q18288155 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Metropolitan City of Milan
action filter_type
action find
entity Metropolitan City of Milan
relation head of government
type common name
['Metropolitan City of Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Metropolitan_City_of_Milan property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q666504
SYSTEM
Giuliano Pisapia
Q666504
(Q18288155,P6,c(Q502895))
action filter_type
action find
entity Q18288155
relation P6
type Q502895
[ANSWER] is the head of government of that political territory
['Q18288155', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q18288155 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Giuliano Pisapia
Giuliano Pisapia is the head of government of that political territory
Giuliano Pisapia
action filter_type
action find
entity Metropolitan City of Milan
relation head of government
type common name
['Metropolitan City of Milan', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Metropolitan_City_of_Milan property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q666504
P27
Q15617994
USER
How many administrative territories are Giuliano Pisapia a civilian of ?
(Q666504,P27,c(Q15617994))
action count
action filter_type
action find
entity Q666504
relation P27
type Q15617994
['Q666504', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q666504 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Giuliano Pisapia
action count
action filter_type
action find
entity Giuliano Pisapia
relation country of citizenship
type designation for an administrative territorial entity
['Giuliano Pisapia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Giuliano_Pisapia property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q666504,P27,c(Q15617994))
action count
action filter_type
action find
entity Q666504
relation P27
type Q15617994
[ANSWER]
['Q666504', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q666504 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Giuliano Pisapia
relation country of citizenship
type designation for an administrative territorial entity
['Giuliano Pisapia', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Giuliano_Pisapia property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q4969581
Q15617994
USER
And how about Britt Nilsson?
(Q4969581,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4969581
relation P27
type Q15617994
['Q4969581', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q4969581 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Britt Nilsson
action count
action filter_type
action find
entity Britt Nilsson
relation country of citizenship
type designation for an administrative territorial entity
['Britt Nilsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Britt_Nilsson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q4969581,P27,c(Q15617994))
action count
action filter_type
action find
entity Q4969581
relation P27
type Q15617994
[ANSWER]
['Q4969581', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q4969581 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Britt Nilsson
relation country of citizenship
type designation for an administrative territorial entity
['Britt Nilsson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Britt_Nilsson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]