Simple Question (Direct)
Simple Question
Q2171732
P641
Q349
USER
What was the sport that Rubén Palazuelos was a part of ?
(Q2171732,P641,c(Q349))
action filter_type
action find
entity Q2171732
relation P641
type Q349
['Q2171732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q2171732 property:P641 ?i . ?i rdf:type ontology:Q349 }
Rubén Palazuelos
action filter_type
action find
entity Rubén Palazuelos
relation sport
type sport
['Rubén Palazuelos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rubén_Palazuelos property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2171732,P641,c(Q349))
action filter_type
action find
entity Q2171732
relation P641
type Q349
The sport that Rubén Palazuelos was a part of was the [ANSWER]
['Q2171732', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q2171732 property:P641 ?i . ?i rdf:type ontology:Q349 }
association football
The sport that Rubén Palazuelos was a part of was the association football
association football
action filter_type
action find
entity Rubén Palazuelos
relation sport
type sport
['Rubén Palazuelos', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Rubén_Palazuelos property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2171732
P19
Q56061
USER
Which administrative territory was Rubén Palazuelos born at ?
(Q2171732,P19,c(Q56061))
action filter_type
action find
entity Q2171732
relation P19
type Q56061
['Q2171732', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2171732 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Rubén Palazuelos
action filter_type
action find
entity Rubén Palazuelos
relation place of birth
type administrative territorial entity
['Rubén Palazuelos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rubén_Palazuelos property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12233
SYSTEM
Santander
Q12233
(Q2171732,P19,c(Q56061))
action filter_type
action find
entity Q2171732
relation P19
type Q56061
Rubén Palazuelos was born in [ANSWER]
['Q2171732', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q2171732 property:P19 ?v . ?v rdf:type ontology:Q56061 }
Santander
Rubén Palazuelos was born in Santander
Santander
action filter_type
action find
entity Rubén Palazuelos
relation place of birth
type administrative territorial entity
['Rubén Palazuelos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rubén_Palazuelos property:place_of_birth ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q58463
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories are more number of people and holidays a patron saint of than Cancello e Arnone ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q58463
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q1445650 } } . resource:Q58463 property:P417 ?t } } . FILTER ( ?k > ?z ) }
Cancello e Arnone
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Cancello e Arnone
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:holiday } } . resource:Cancello_e_Arnone property:patron_saint ?t } } . FILTER ( ?k > ?z ) }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q58463
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { { ?t rdf:type ontology:Q502895 } UNION { ?t rdf:type ontology:Q1445650 } } . resource:Q58463 property:P417 ?t } } . FILTER ( ?k > ?z ) }
Brinzio Rome
2
action count
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Cancello e Arnone
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) ?f WHERE { ?x rdf:type ?q . VALUES ( ?q ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { { { ?t rdf:type ontology:common_name } UNION { ?t rdf:type ontology:holiday } } . resource:Cancello_e_Arnone property:patron_saint ?t } } . FILTER ( ?k > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q92277
P159
Q159334
USER
Which secondary school has its HQ location at Jilin City ?
(c(Q159334),P159,Q92277)
action filter_type
action find_reverse
entity Q92277
relation P159
type Q159334
[{'concept': 'Q159334'}, 'P159', 'Q92277']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q92277 . ?q rdf:type ontology:Q159334 }
Jilin City
action filter_type
action find_reverse
entity Jilin City
relation headquarters location
type secondary school
[{'concept': 'secondary school'}, 'headquarters location', 'Jilin City']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Jilin_City . ?q rdf:type ontology:secondary_school }
[]
secondary school
Q10917235
SYSTEM
Jilin City No.1 High School
Q10917235
(c(Q159334),P159,Q92277)
action filter_type
action find_reverse
entity Q92277
relation P159
type Q159334
City [ANSWER] has its HQ location at Jilin City
[{'concept': 'Q159334'}, 'P159', 'Q92277']
SELECT DISTINCT ?q WHERE { ?q property:P159 resource:Q92277 . ?q rdf:type ontology:Q159334 }
Jilin City No.1 High School
City Jilin City No.1 High School has its HQ location at Jilin City
Jilin City No.1 High School
action filter_type
action find_reverse
entity Jilin City
relation headquarters location
type secondary school
[{'concept': 'secondary school'}, 'headquarters location', 'Jilin City']
SELECT DISTINCT ?q WHERE { ?q property:headquarters_location resource:Jilin_City . ?q rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q92277
P190
Q56061
USER
Which administrative territory is a sister city of Jilin City ?
(c(Q56061),P190,Q92277)
action filter_type
action find
entity Q92277
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q92277']
SELECT DISTINCT ?z WHERE { resource:Q92277 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Jilin City
action filter_type
action find
entity Jilin City
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Jilin City']
SELECT DISTINCT ?z WHERE { resource:Jilin_City property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q914
SYSTEM
Volgograd
Q914
(c(Q56061),P190,Q92277)
action filter_type
action find
entity Q92277
relation P190
type Q56061
[ANSWER] is a sister city of Jilin City
[{'concept': 'Q56061'}, 'P190', 'Q92277']
SELECT DISTINCT ?z WHERE { resource:Q92277 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Volgograd
Volgograd is a sister city of Jilin City
Volgograd
action filter_type
action find
entity Jilin City
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Jilin City']
SELECT DISTINCT ?z WHERE { resource:Jilin_City property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q914
P6
Q502895
USER
Which person is the head of government of that administrative territory ?
(Q914,P6,c(Q502895))
action filter_type
action find
entity Q914
relation P6
type Q502895
['Q914', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q914 property:P6 ?v }
Volgograd
action filter_type
action find
entity Volgograd
relation head of government
type common name
['Volgograd', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Volgograd property:head_of_government ?v }
[]
common name
Q15918851
SYSTEM
Irina Guseva
Q15918851
(Q914,P6,c(Q502895))
action filter_type
action find
entity Q914
relation P6
type Q502895
[ANSWER] is the head of government of that administrative territory
['Q914', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . resource:Q914 property:P6 ?v }
Irina Guseva
Irina Guseva is the head of government of that administrative territory
Irina Guseva
action filter_type
action find
entity Volgograd
relation head of government
type common name
['Volgograd', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . resource:Volgograd property:head_of_government ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are that person a civilian of ?
(Q15918851,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15918851
relation P27
type Q15617994
['Q15918851', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q15918851 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Irina Guseva
relation country of citizenship
type designation for an administrative territorial entity
['Irina Guseva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Irina_Guseva property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q159
(Q15918851,P27,c(Q15617994))
action count
action filter_type
action find
entity Q15918851
relation P27
type Q15617994
[ANSWER]
['Q15918851', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q15918851 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Russia
1
action count
action filter_type
action find
entity Irina Guseva
relation country of citizenship
type designation for an administrative territorial entity
['Irina Guseva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Irina_Guseva property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q914 Q5595051
P138
Q355304
USER
How many watercourses are the etymology of Volgograd or Grand River National Grassland ?
(Q914,P138,c(Q355304)) (Q5595051,P138,c(Q355304))
action count
action union
action filter_type
action find
entity Q914
relation P138
type Q355304
action filter_type
action find
entity Q5595051
relation P138
type Q355304
['Q914', 'P138', {'concept': 'Q355304'}] ['Q5595051', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?w property:P138 ?n . VALUES ( ?w ) { ( resource:Q5595051 ) ( resource:Q914 ) } }
Volgograd Grand River National Grassland
action count
action union
action filter_type
action find
entity Volgograd
relation named after
type watercourse
action filter_type
action find
entity Grand River National Grassland
relation named after
type watercourse
['Volgograd', 'named after', {'concept': 'watercourse'}] ['Grand River National Grassland', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?w property:named_after ?n . VALUES ( ?w ) { ( resource:Grand_River_National_Grassland ) ( resource:Volgograd ) } }
[]
watercourse
SYSTEM
2
Q1542869 Q626
(Q914,P138,c(Q355304)) (Q5595051,P138,c(Q355304))
action count
action union
action filter_type
action find
entity Q914
relation P138
type Q355304
action filter_type
action find
entity Q5595051
relation P138
type Q355304
[ANSWER]
['Q914', 'P138', {'concept': 'Q355304'}] ['Q5595051', 'P138', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?w property:P138 ?n . VALUES ( ?w ) { ( resource:Q5595051 ) ( resource:Q914 ) } }
Grand River Volga
2
action count
action union
action filter_type
action find
entity Volgograd
relation named after
type watercourse
action filter_type
action find
entity Grand River National Grassland
relation named after
type watercourse
['Volgograd', 'named after', {'concept': 'watercourse'}] ['Grand River National Grassland', 'named after', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?u ) WHERE { ?w property:named_after ?n . VALUES ( ?w ) { ( resource:Grand_River_National_Grassland ) ( resource:Volgograd ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q914
P17
Q15617994
USER
Which administrative territory is Volgograd situated in ?
(Q914,P17,c(Q15617994))
action filter_type
action find
entity Q914
relation P17
type Q15617994
['Q914', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q914 property:P17 ?t }
Volgograd
action filter_type
action find
entity Volgograd
relation country
type designation for an administrative territorial entity
['Volgograd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Volgograd property:country ?t }
[]
designation for an administrative territorial entity
Q159
SYSTEM
Russia
Q159
(Q914,P17,c(Q15617994))
action filter_type
action find
entity Q914
relation P17
type Q15617994
Volgograd is situated in [ANSWER]
['Q914', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q914 property:P17 ?t }
Russia
Volgograd is situated in Russia
Russia
action filter_type
action find
entity Volgograd
relation country
type designation for an administrative territorial entity
['Volgograd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Volgograd property:country ?t }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1165092
Q15617994
USER
And also tell me about La Regrippière?
(Q1165092,P17,c(Q15617994))
action filter_type
action find
entity Q1165092
relation P17
type Q15617994
['Q1165092', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1165092 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
La Regrippière
action filter_type
action find
entity La Regrippière
relation country
type designation for an administrative territorial entity
['La Regrippière', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:La_Regrippière property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1165092,P17,c(Q15617994))
action filter_type
action find
entity Q1165092
relation P17
type Q15617994
[ANSWER]
['Q1165092', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q1165092 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity La Regrippière
relation country
type designation for an administrative territorial entity
['La Regrippière', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:La_Regrippière property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3161771
P27
Q502895
USER
Is Jan Van Duppen a native of that administrative territory ?
(Q3161771,P27,Q142)
action is_in
entity Q3161771
action find
entity Q142
relation P27
['Q3161771', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q3161771 }
France Jan Van Duppen
action is_in
entity Jan Van Duppen
action find
entity France
relation country of citizenship
['Jan Van Duppen', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Jan_Van_Duppen }
[]
common name
SYSTEM
NO
(Q3161771,P27,Q142)
action is_in
entity Q3161771
action find
entity Q142
relation P27
[ANSWER]
['Q3161771', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q3161771 }
No
action is_in
entity Jan Van Duppen
action find
entity France
relation country of citizenship
['Jan Van Duppen', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Jan_Van_Duppen }
[]