Simple Question (Direct)
Simple Question
Q18813182
P20
Q56061
USER
Where did the expiration of Colin Hunter occur ?
(Q18813182,P20,c(Q56061))
action filter_type
action find
entity Q18813182
relation P20
type Q56061
['Q18813182', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q18813182 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Colin Hunter
action filter_type
action find
entity Colin Hunter
relation place of death
type administrative territorial entity
['Colin Hunter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Colin_Hunter property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q18813182,P20,c(Q56061))
action filter_type
action find
entity Q18813182
relation P20
type Q56061
The expiration of Colin Hunter occurred in [ANSWER]
['Q18813182', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q18813182 property:P20 ?k . ?k rdf:type ontology:Q56061 }
London
The expiration of Colin Hunter occurred in London
London
action filter_type
action find
entity Colin Hunter
relation place of death
type administrative territorial entity
['Colin Hunter', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Colin_Hunter property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18813182
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q18813182
relation P27
type Q15617994
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q18813182 property:P27 ?z }
Colin Hunter
action filter_type
action find
entity Colin Hunter
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colin_Hunter property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q84,P27,c(Q15617994))
action filter_type
action find
entity Q18813182
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q84', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q18813182 property:P27 ?z }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Colin Hunter
relation country of citizenship
type designation for an administrative territorial entity
['London', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Colin_Hunter property:country_of_citizenship ?z }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q210470
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have adopted lesser number of people and holidays as patron saint than Katerini ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
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 Q210470
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?s < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q210470 property:P417 ?h . { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?s ) WHERE { { ?t property:P417 ?u . ?u rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P417 ?u . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } } GROUP BY ?t } }
Katerini
action count
action less
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 Katerini
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?s < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Katerini property:patron_saint ?h . { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?s ) WHERE { { ?t property:patron_saint ?u . ?u rdf:type ontology:holiday . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:patron_saint ?u . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } } GROUP BY ?t } }
[]
common name holiday administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
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 Q210470
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?s < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Q210470 property:P417 ?h . { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?s ) WHERE { { ?t property:P417 ?u . ?u rdf:type ontology:Q1445650 . ?t rdf:type ontology:Q56061 } UNION { ?t property:P417 ?u . ?t rdf:type ontology:Q56061 . ?u rdf:type ontology:Q502895 } } GROUP BY ?t } }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action less
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 Katerini
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { FILTER ( ?s < ?a ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?a ) WHERE { resource:Katerini property:patron_saint ?h . { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } . ?h rdf:type ?d } } } . { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?s ) WHERE { { ?t property:patron_saint ?u . ?u rdf:type ontology:holiday . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?t property:patron_saint ?u . ?t rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:common_name } } GROUP BY ?t } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1155
P417
Q502895 Q1445650 Q56061
USER
And what about Busto Arsizio?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
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 Q1155
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?k WHERE { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?x rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q502895 } } . resource:Q1155 property:P417 ?c } } . FILTER ( ?s < ?e ) }
Busto Arsizio
action count
action less
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 Busto Arsizio
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?k WHERE { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } . ?x rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:holiday } UNION { ?c rdf:type ontology:common_name } } . resource:Busto_Arsizio property:patron_saint ?c } } . FILTER ( ?s < ?e ) }
[]
common name holiday administrative territorial entity
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action less
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 Q1155
relation P417
type Q502895
type Q1445650
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?k WHERE { VALUES ( ?d ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?x rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:Q1445650 } UNION { ?c rdf:type ontology:Q502895 } } . resource:Q1155 property:P417 ?c } } . FILTER ( ?s < ?e ) }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
action count
action less
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 Busto Arsizio
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) ?k WHERE { VALUES ( ?d ) { ( ontology:common_name ) ( ontology:holiday ) } . ?x rdf:type ?d } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { { { ?c rdf:type ontology:holiday } UNION { ?c rdf:type ontology:common_name } } . resource:Busto_Arsizio property:patron_saint ?c } } . FILTER ( ?s < ?e ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1155
P6
Q502895
USER
Which people are the head of government of that administrative territory ?
action filter_type
action find
entity Q1155
relation P6
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q1155 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Busto Arsizio
action filter_type
action find
entity Busto Arsizio
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Busto_Arsizio property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
common name
Q15291208 Q3659028 Q3897119
SYSTEM
Gianluigi Farioli, Carlo Azimonti, Pasquale Pozzi
Q15291208 Q3897119 Q3659028 Q24343738 Q15764935 Q3659908 Q3848660
action filter_type
action find
entity Q1155
relation P6
type Q502895
[ANSWERS] are the head of government of that administrative territory
SELECT DISTINCT ?c WHERE { resource:Q1155 property:P6 ?c . ?c rdf:type ontology:Q502895 }
Gianluigi Farioli Pasquale Pozzi Carlo Azimonti Emanuele Antonelli Luigi Krumm Carlo Tosi Mario Grampa
Gianluigi Farioli, Carlo Azimonti and Pasquale Pozzi are the head of government of that administrative territory
Gianluigi Farioli Carlo Azimonti Pasquale Pozzi
action filter_type
action find
entity Busto Arsizio
relation head of government
type common name
SELECT DISTINCT ?c WHERE { resource:Busto_Arsizio property:head_of_government ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1155
P190
Q56061 Q20667921
USER
How many administrative territories and french administrative divisions are the sister cities of Busto Arsizio ?
(Q1155,P190,c(Q56061)) (Q1155,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1155
relation P190
type Q56061
action filter_type
action find
entity Q1155
relation P190
type Q20667921
['Q1155', 'P190', {'concept': 'Q56061'}] ['Q1155', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?d rdf:type ?v }
Busto Arsizio
action count
action union
action filter_type
action find
entity Busto Arsizio
relation sister city
type administrative territorial entity
action filter_type
action find
entity Busto Arsizio
relation sister city
type type of french administrative division
['Busto Arsizio', 'sister city', {'concept': 'administrative territorial entity'}] ['Busto Arsizio', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?d rdf:type ?v }
[]
administrative territorial entity type of french administrative division
SYSTEM
1 administrative territories and 1 french administrative divisions
Q206961 Q969144
(Q1155,P190,c(Q56061)) (Q1155,P190,c(Q20667921))
action count
action union
action filter_type
action find
entity Q1155
relation P190
type Q56061
action filter_type
action find
entity Q1155
relation P190
type Q20667921
[ANSWER]
['Q1155', 'P190', {'concept': 'Q56061'}] ['Q1155', 'P190', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q20667921 ) ( ontology:Q56061 ) } . ?d rdf:type ?v }
Épinay-sur-Seine Nakfa, Eritrea
1 administrative territories and 1 french administrative divisions
action count
action union
action filter_type
action find
entity Busto Arsizio
relation sister city
type administrative territorial entity
action filter_type
action find
entity Busto Arsizio
relation sister city
type type of french administrative division
['Busto Arsizio', 'sister city', {'concept': 'administrative territorial entity'}] ['Busto Arsizio', 'sister city', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:type_of_french_administrative_division ) ( ontology:administrative_territorial_entity ) } . ?d rdf:type ?v }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 696 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 696
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?q >= 696 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 696
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?q >= 696 ) }
[]
musical instrument common name
Q5994 Q46185 Q80019
SYSTEM
piano, bass guitar, double bass
Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 696
[ANSWERS] can atleast 696 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?o rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?q >= 696 ) }
bass guitar double bass piano trumpet cello violin organ drum kit
Piano, bass guitar and double bass can atleast 696 people perform with
piano bass guitar double bass
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 696
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?o ) AS ?q ) WHERE { ?o property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?o rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?q >= 696 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16798450
P1303
Q502895
USER
Does Pierre David know to play those musical instruments ?
(Q16798450,P1303,Q5994) (Q16798450,P1303,Q46185) (Q16798450,P1303,Q80019)
action is_in
entity prev_answer
action find
entity Q16798450
relation P1303
['Q16798450', 'P1303', 'Q5994'] ['Q16798450', 'P1303', 'Q46185'] ['Q16798450', 'P1303', 'Q80019']
ASK WHERE { VALUES ( ?t ) { ( resource:Q46185 ) ( resource:Q80019 ) ( resource:Q5994 ) } . resource:Q16798450 property:P1303 ?t }
Pierre David
action is_in
entity prev_answer
action find
entity Pierre David
relation instrument
['Pierre David', 'instrument', 'piano'] ['Pierre David', 'instrument', 'bass guitar'] ['Pierre David', 'instrument', 'double bass']
ASK WHERE { VALUES ( ?t ) { ( resource:bass_guitar ) ( resource:double_bass ) ( resource:piano ) } . resource:Pierre_David property:instrument ?t }
[]
common name
SYSTEM
NO
(Q16798450,P1303,Q5994) (Q16798450,P1303,Q46185) (Q16798450,P1303,Q80019)
action is_in
entity prev_answer
action find
entity Q16798450
relation P1303
[ANSWER]
['Q16798450', 'P1303', 'Q5994'] ['Q16798450', 'P1303', 'Q46185'] ['Q16798450', 'P1303', 'Q80019']
ASK WHERE { VALUES ( ?t ) { ( resource:Q46185 ) ( resource:Q80019 ) ( resource:Q5994 ) } . resource:Q16798450 property:P1303 ?t }
No
action is_in
entity prev_answer
action find
entity Pierre David
relation instrument
['Pierre David', 'instrument', 'piano'] ['Pierre David', 'instrument', 'bass guitar'] ['Pierre David', 'instrument', 'double bass']
ASK WHERE { VALUES ( ?t ) { ( resource:bass_guitar ) ( resource:double_bass ) ( resource:piano ) } . resource:Pierre_David property:instrument ?t }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3659028 Q1155 Q5252366
P19
Q56061
USER
Was Carlo Azimonti born at Busto Arsizio and Dehrud-e Sofla ?
(Q3659028,P19,Q1155) (Q3659028,P19,Q5252366)
action is_in
entity Q3659028
action intersection
action find_reverse
entity Q1155
relation P19
action find_reverse
entity Q5252366
relation P19
['Q3659028', 'P19', 'Q1155'] ['Q3659028', 'P19', 'Q5252366']
ASK WHERE { resource:Q3659028 property:P19 resource:Q5252366 . resource:Q3659028 property:P19 resource:Q1155 }
Carlo Azimonti Busto Arsizio Dehrud-e Sofla
action is_in
entity Carlo Azimonti
action intersection
action find_reverse
entity Busto Arsizio
relation place of birth
action find_reverse
entity Dehrud-e Sofla
relation place of birth
['Carlo Azimonti', 'place of birth', 'Busto Arsizio'] ['Carlo Azimonti', 'place of birth', 'Dehrud-e Sofla']
ASK WHERE { resource:Carlo_Azimonti property:place_of_birth resource:Dehrud-e_Sofla . resource:Carlo_Azimonti property:place_of_birth resource:Busto_Arsizio }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q3659028,P19,Q1155) (Q3659028,P19,Q5252366)
action is_in
entity Q3659028
action intersection
action find_reverse
entity Q1155
relation P19
action find_reverse
entity Q5252366
relation P19
[ANSWER]
['Q3659028', 'P19', 'Q1155'] ['Q3659028', 'P19', 'Q5252366']
ASK WHERE { resource:Q3659028 property:P19 resource:Q5252366 . resource:Q3659028 property:P19 resource:Q1155 }
YES and NO respectively
action is_in
entity Carlo Azimonti
action intersection
action find_reverse
entity Busto Arsizio
relation place of birth
action find_reverse
entity Dehrud-e Sofla
relation place of birth
['Carlo Azimonti', 'place of birth', 'Busto Arsizio'] ['Carlo Azimonti', 'place of birth', 'Dehrud-e Sofla']
ASK WHERE { resource:Carlo_Azimonti property:place_of_birth resource:Dehrud-e_Sofla . resource:Carlo_Azimonti property:place_of_birth resource:Busto_Arsizio }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3659028
P119
Q43229
USER
Which organization is the resting place of that person ?
action filter_type
action find
entity Q3659028
relation P119
type Q43229
SELECT DISTINCT ?g WHERE { resource:Q3659028 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Carlo Azimonti
action filter_type
action find
entity Carlo Azimonti
relation place of burial
type organization
SELECT DISTINCT ?g WHERE { resource:Carlo_Azimonti property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
organization
Q3676889
SYSTEM
Busto Arsizio monumental cemetery
Q3676889
action filter_type
action find
entity Q3659028
relation P119
type Q43229
[ANSWER] is the resting place of that person
SELECT DISTINCT ?g WHERE { resource:Q3659028 property:P119 ?g . ?g rdf:type ontology:Q43229 }
Busto Arsizio monumental cemetery
Busto Arsizio monumental cemetery is the resting place of that person
Busto Arsizio monumental cemetery
action filter_type
action find
entity Carlo Azimonti
relation place of burial
type organization
SELECT DISTINCT ?g WHERE { resource:Carlo_Azimonti property:place_of_burial ?g . ?g rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q1076486
USER
How many sports venues were operated by atleast 1 organization ?
(c(Q1076486),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q43229
value 1
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:P137 ?q . ?k rdf:type ontology:Q1076486 . ?q rdf:type ontology:Q43229 } GROUP BY ?k } . FILTER ( ?w >= 1 ) }
action count
action atleast
action find_tuple_counts
relation operator
type sports venue
type organization
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:operator ?q . ?k rdf:type ontology:sports_venue . ?q rdf:type ontology:organization } GROUP BY ?k } . FILTER ( ?w >= 1 ) }
[]
organization sports venue
SYSTEM
36
Q7382688 Q4840857 Q995161 Q5468640 Q15983572 Q494766 Q7017412 Q5435127 Q5364202 Q2701834 Q1851216 Q6411211 Q5206120 Q5206123 Q991407 Q824352 Q640215 Q181398 Q83457 Q4968564 Q756433 Q261863 Q29726 Q11324364 Q2035401 Q3113144 Q14935428 Q7320821 Q11324358 Q999781 Q11676824 Q200684 Q373355 Q761682 Q151374 Q155174
(c(Q1076486),P137,c(Q43229))
action count
action atleast
action find_tuple_counts
relation P137
type Q1076486
type Q43229
value 1
[ANSWER]
[{'concept': 'Q1076486'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:P137 ?q . ?k rdf:type ontology:Q1076486 . ?q rdf:type ontology:Q43229 } GROUP BY ?k } . FILTER ( ?w >= 1 ) }
Rusutsu Resort Badger Pass Ski Area Bryant–Denny Stadium Foreman Field Shaheed Mohtarama Benazir Bhutto International Cricket Stadium Home's Stadium Kobe Newcastle Entertainment Centre Fargodome The O2 Arena Tele2 Arena Sydney Super Dome King Abdullah Sports City DSC Hockey Stadium DSC Multi-Purpose Stadium Estadio El Teniente Ullevi Tandå valley Loftus Versfeld Stadium Old Trafford Brisbane Entertainment Centre University of Phoenix Stadium HP Pavilion at San Jose Sydney Entertainment Centre Niseko Village Perth Arena Pratt & Whitney Stadium Gold Coast Convention and Exhibition Centre Rhoads Stadium Niseko Mt. Resort Grand Hirafu Toyota Park Kagoshima Kamoike Stadium The Home Depot Center Gillette Stadium Red Bull Arena Olympiastadion Berlin Estádio do Maracanã
36
action count
action atleast
action find_tuple_counts
relation operator
type sports venue
type organization
value 1
[{'concept': 'sports venue'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?w ) WHERE { ?k property:operator ?q . ?k rdf:type ontology:sports_venue . ?q rdf:type ontology:organization } GROUP BY ?k } . FILTER ( ?w >= 1 ) }
[]