Simple Question (Direct)
Simple Question
Q3770487
P20
Q56061
USER
Where did Giuseppe Dozza expire ?
(Q3770487,P20,c(Q56061))
action filter_type
action find
entity Q3770487
relation P20
type Q56061
['Q3770487', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q3770487 property:P20 ?a }
Giuseppe Dozza
action filter_type
action find
entity Giuseppe Dozza
relation place of death
type administrative territorial entity
['Giuseppe Dozza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Giuseppe_Dozza property:place_of_death ?a }
[]
administrative territorial entity
Q1891
SYSTEM
Bologna
Q1891
(Q3770487,P20,c(Q56061))
action filter_type
action find
entity Q3770487
relation P20
type Q56061
Giuseppe Dozza expired in [ANSWER]
['Q3770487', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q3770487 property:P20 ?a }
Bologna
Giuseppe Dozza expired in Bologna
Bologna
action filter_type
action find
entity Giuseppe Dozza
relation place of death
type administrative territorial entity
['Giuseppe Dozza', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Giuseppe_Dozza property:place_of_death ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1891
P36
Q15089
USER
Which province of Italy has that administrative territory as its administrative centre ?
(c(Q15089),P36,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P36
type Q15089
[{'concept': 'Q15089'}, 'P36', 'Q1891']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15089 . ?z property:P36 resource:Q1891 }
Bologna
action filter_type
action find_reverse
entity Bologna
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Bologna']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:province_of_Italy . ?z property:capital resource:Bologna }
[]
province of Italy
Q16139
SYSTEM
Province of Bologna
Q16139
(c(Q15089),P36,Q1891)
action filter_type
action find_reverse
entity Q1891
relation P36
type Q15089
The [ANSWER] has that administrative territory as its administrative centre
[{'concept': 'Q15089'}, 'P36', 'Q1891']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15089 . ?z property:P36 resource:Q1891 }
Province of Bologna
The Province of Bologna has that administrative territory as its administrative centre
Province of Bologna
action filter_type
action find_reverse
entity Bologna
relation capital
type province of Italy
[{'concept': 'province of Italy'}, 'capital', 'Bologna']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:province_of_Italy . ?z property:capital resource:Bologna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16139
P6
Q502895
USER
Which person is the head of government of that province of Italy ?
(Q16139,P6,c(Q502895))
action filter_type
action find
entity Q16139
relation P6
type Q502895
['Q16139', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16139 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Province of Bologna
action filter_type
action find
entity Province of Bologna
relation head of government
type common name
['Province of Bologna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Province_of_Bologna property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2892993
SYSTEM
Beatrice Draghetti
Q2892993
(Q16139,P6,c(Q502895))
action filter_type
action find
entity Q16139
relation P6
type Q502895
[ANSWER] is the head of government of that province of Italy
['Q16139', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q16139 property:P6 ?e . ?e rdf:type ontology:Q502895 }
Beatrice Draghetti
Beatrice Draghetti is the head of government of that province of Italy
Beatrice Draghetti
action filter_type
action find
entity Province of Bologna
relation head of government
type common name
['Province of Bologna', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Province_of_Bologna property:head_of_government ?e . ?e rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can around 2287 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2287
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?a = 2287 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2287
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?a = 2287 ) }
[]
musical instrument common name
SYSTEM
4
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2287
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?u } . FILTER ( ?a = 2287 ) }
bass guitar trumpet organ drum kit
4
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2287
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?u } . FILTER ( ?a = 2287 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2892993
P106
Q12737077
USER
Which occupation has Beatrice Draghetti as his/her 's career ?
(Q2892993,P106,c(Q12737077))
action filter_type
action find
entity Q2892993
relation P106
type Q12737077
['Q2892993', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q2892993 property:P106 ?i }
Beatrice Draghetti
action filter_type
action find
entity Beatrice Draghetti
relation occupation
type occupation
['Beatrice Draghetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Beatrice_Draghetti property:occupation ?i }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q2892993,P106,c(Q12737077))
action filter_type
action find
entity Q2892993
relation P106
type Q12737077
The [ANSWER] has Beatrice Draghetti as his/her 's career
['Q2892993', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q2892993 property:P106 ?i }
politician
The politician has Beatrice Draghetti as his/her 's career
politician
action filter_type
action find
entity Beatrice Draghetti
relation occupation
type occupation
['Beatrice Draghetti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Beatrice_Draghetti property:occupation ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4707925
Q12737077
USER
And what about Alan Tongue?
(Q4707925,P106,c(Q12737077))
action filter_type
action find
entity Q4707925
relation P106
type Q12737077
['Q4707925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q4707925 property:P106 ?g }
Alan Tongue
action filter_type
action find
entity Alan Tongue
relation occupation
type occupation
['Alan Tongue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Alan_Tongue property:occupation ?g }
[]
occupation
Q14373094
SYSTEM
rugby league player
Q14373094
(Q4707925,P106,c(Q12737077))
action filter_type
action find
entity Q4707925
relation P106
type Q12737077
[ANSWER]
['Q4707925', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q4707925 property:P106 ?g }
rugby league player
rugby league player
action filter_type
action find
entity Alan Tongue
relation occupation
type occupation
['Alan Tongue', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Alan_Tongue property:occupation ?g }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q14373094 Q7691639 Q10962
P425
Q349
USER
Does team chasing and rugby league belong to Q14373094 ?
(Q14373094,P425,Q7691639) (Q14373094,P425,Q10962)
action is_in
entity Q14373094
action intersection
action find_reverse
entity Q7691639
relation P425
action find_reverse
entity Q10962
relation P425
['Q14373094', 'P425', 'Q7691639'] ['Q14373094', 'P425', 'Q10962']
ASK WHERE { resource:Q14373094 property:P425 resource:Q7691639 . resource:Q14373094 property:P425 resource:Q10962 }
rugby league player team chasing rugby league
action is_in
entity rugby league player
action intersection
action find_reverse
entity team chasing
relation field of this occupation
action find_reverse
entity rugby league
relation field of this occupation
['rugby league player', 'field of this occupation', 'team chasing'] ['rugby league player', 'field of this occupation', 'rugby league']
ASK WHERE { resource:rugby_league_player property:field_of_this_occupation resource:team_chasing . resource:rugby_league_player property:field_of_this_occupation resource:rugby_league }
[]
sport
SYSTEM
NO and YES respectively
(Q14373094,P425,Q7691639) (Q14373094,P425,Q10962)
action is_in
entity Q14373094
action intersection
action find_reverse
entity Q7691639
relation P425
action find_reverse
entity Q10962
relation P425
[ANSWER]
['Q14373094', 'P425', 'Q7691639'] ['Q14373094', 'P425', 'Q10962']
ASK WHERE { resource:Q14373094 property:P425 resource:Q7691639 . resource:Q14373094 property:P425 resource:Q10962 }
NO and YES respectively
action is_in
entity rugby league player
action intersection
action find_reverse
entity team chasing
relation field of this occupation
action find_reverse
entity rugby league
relation field of this occupation
['rugby league player', 'field of this occupation', 'team chasing'] ['rugby league player', 'field of this occupation', 'rugby league']
ASK WHERE { resource:rugby_league_player property:field_of_this_occupation resource:team_chasing . resource:rugby_league_player property:field_of_this_occupation resource:rugby_league }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1891
P190
Q56061
USER
How many administrative territories are sister towns of Bologna ?
(Q1891,P190,c(Q56061))
action count
action filter_type
action find
entity Q1891
relation P190
type Q56061
['Q1891', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q1891 property:P190 ?e }
Bologna
action count
action filter_type
action find
entity Bologna
relation sister city
type administrative territorial entity
['Bologna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Bologna property:sister_city ?e }
[]
administrative territorial entity
SYSTEM
7
Q174684 Q17151 Q8818 Q3519 Q42308 Q38022 Q44059
(Q1891,P190,c(Q56061))
action count
action filter_type
action find
entity Q1891
relation P190
type Q56061
[ANSWER]
['Q1891', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:Q56061 . resource:Q1891 property:P190 ?e }
Tuzla Thessaloniki Valencia Bari Kharkiv St. Louis La Plata
7
action count
action filter_type
action find
entity Bologna
relation sister city
type administrative territorial entity
['Bologna', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Bologna property:sister_city ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1891
P127
Q483110
USER
Which stadium is owned by that administrative territory ?
action filter_type
action find_reverse
entity Q1891
relation P127
type Q483110
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1891 . ?e rdf:type ontology:Q483110 }
Bologna
action filter_type
action find_reverse
entity Bologna
relation owned by
type stadium
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Bologna . ?e rdf:type ontology:stadium }
[]
stadium
Q757182
SYSTEM
Stadio Renato Dall'Ara
Q757182
action filter_type
action find_reverse
entity Q1891
relation P127
type Q483110
[ANSWER] is owned by that administrative territory
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q1891 . ?e rdf:type ontology:Q483110 }
Stadio Renato Dall'Ara
Stadio Renato Dall'Ara is owned by that administrative territory
Stadio Renato Dall'Ara
action filter_type
action find_reverse
entity Bologna
relation owned by
type stadium
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Bologna . ?e rdf:type ontology:stadium }
[]