Simple Question (Direct)
Simple Question
Q3876578
P641
Q349
USER
Which sport was Nicolò Nicolosi a part of ?
(Q3876578,P641,c(Q349))
action filter_type
action find
entity Q3876578
relation P641
type Q349
['Q3876578', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3876578 property:P641 ?h . ?h rdf:type ontology:Q349 }
Nicolò Nicolosi
action filter_type
action find
entity Nicolò Nicolosi
relation sport
type sport
['Nicolò Nicolosi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Nicolò_Nicolosi property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3876578,P641,c(Q349))
action filter_type
action find
entity Q3876578
relation P641
type Q349
Which sport was Nicolò Nicolosi a part of
['Q3876578', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q3876578 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
Which sport was Nicolò Nicolosi a part of
association football
action filter_type
action find
entity Nicolò Nicolosi
relation sport
type sport
['Nicolò Nicolosi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Nicolò_Nicolosi property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3876578
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q2736,P20,c(Q56061))
action filter_type
action find
entity Q3876578
relation P20
type Q56061
['Q2736', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3876578 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Nicolò Nicolosi
action filter_type
action find
entity Nicolò Nicolosi
relation place of death
type administrative territorial entity
['association football', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nicolò_Nicolosi property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1903
SYSTEM
Catania
Q1903
(Q2736,P20,c(Q56061))
action filter_type
action find
entity Q3876578
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q2736', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q3876578 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Catania
Catania is the place of death of that person
Catania
action filter_type
action find
entity Nicolò Nicolosi
relation place of death
type administrative territorial entity
['association football', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Nicolò_Nicolosi property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1903 Q38
P17
Q15617994
USER
Does that administrative territory belong to Italy ?
(Q1903,P17,Q38)
action is_in
entity Q38
action find
entity Q1903
relation P17
['Q1903', 'P17', 'Q38']
ASK WHERE { resource:Q1903 property:P17 resource:Q38 }
Catania Italy
action is_in
entity Italy
action find
entity Catania
relation country
['Catania', 'country', 'Italy']
ASK WHERE { resource:Catania property:country resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1903,P17,Q38)
action is_in
entity Q38
action find
entity Q1903
relation P17
[ANSWER]
['Q1903', 'P17', 'Q38']
ASK WHERE { resource:Q1903 property:P17 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Catania
relation country
['Catania', 'country', 'Italy']
ASK WHERE { resource:Catania property:country resource:Italy }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3876578 Q1345134
P27
Q15617994
USER
Is Nicolò Nicolosi an inhabitant of Jinfeng District ?
(Q3876578,P27,Q1345134)
action is_in
entity Q1345134
action find
entity Q3876578
relation P27
['Q3876578', 'P27', 'Q1345134']
ASK WHERE { resource:Q3876578 property:P27 resource:Q1345134 }
Nicolò Nicolosi Jinfeng District
action is_in
entity Jinfeng District
action find
entity Nicolò Nicolosi
relation country of citizenship
['Nicolò Nicolosi', 'country of citizenship', 'Jinfeng District']
ASK WHERE { resource:Nicolò_Nicolosi property:country_of_citizenship resource:Jinfeng_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3876578,P27,Q1345134)
action is_in
entity Q1345134
action find
entity Q3876578
relation P27
[ANSWER]
['Q3876578', 'P27', 'Q1345134']
ASK WHERE { resource:Q3876578 property:P27 resource:Q1345134 }
No
action is_in
entity Jinfeng District
action find
entity Nicolò Nicolosi
relation country of citizenship
['Nicolò Nicolosi', 'country of citizenship', 'Jinfeng District']
ASK WHERE { resource:Nicolò_Nicolosi property:country_of_citizenship resource:Jinfeng_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1903
P47
Q15617994
USER
How many administrative territories have a shared border with Catania ?
(Q1903,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1903
relation P47
type Q15617994
['Q1903', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q1903 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Catania
action count
action filter_type
action find
entity Catania
relation shares border with
type designation for an administrative territorial entity
['Catania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Catania property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
12
Q478681 Q174965 Q341293 Q478338 Q478854 Q478836 Q478226 Q478703 Q478863 Q478384 Q488240 Q478933
(Q1903,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1903
relation P47
type Q15617994
[ANSWER]
['Q1903', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q1903 property:P47 ?t . ?t rdf:type ontology:Q15617994 }
Misterbianco Carlentini Aci Castello Gravina di Catania San Pietro Clarenza San Gregorio di Catania Belpasso Motta Sant'Anastasia Sant'Agata li Battiati Mascalucia Lentini Tremestieri Etneo
12
action count
action filter_type
action find
entity Catania
relation shares border with
type designation for an administrative territorial entity
['Catania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Catania property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q54689
Q15617994
USER
And also tell me about Villa San Giovanni?
(Q54689,P47,c(Q15617994))
action count
action filter_type
action find
entity Q54689
relation P47
type Q15617994
['Q54689', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q54689 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
Villa San Giovanni
action count
action filter_type
action find
entity Villa San Giovanni
relation shares border with
type designation for an administrative territorial entity
['Villa San Giovanni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Villa_San_Giovanni property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
(Q54689,P47,c(Q15617994))
action count
action filter_type
action find
entity Q54689
relation P47
type Q15617994
[ANSWER]
['Q54689', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Q54689 property:P47 ?x . ?x rdf:type ontology:Q15617994 }
3
action count
action filter_type
action find
entity Villa San Giovanni
relation shares border with
type designation for an administrative territorial entity
['Villa San Giovanni', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { resource:Villa_San_Giovanni property:shares_border_with ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1903
P740
Q2088357
USER
What was formed at Catania ?
(c(Q2088357),P740,Q1903)
action filter_type
action find_reverse
entity Q1903
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q1903']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1903 . ?w rdf:type ontology:Q2088357 }
Catania
action filter_type
action find_reverse
entity Catania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Catania']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Catania . ?w rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q655457
SYSTEM
Sugarfree
Q655457
(c(Q2088357),P740,Q1903)
action filter_type
action find_reverse
entity Q1903
relation P740
type Q2088357
And [ANSWER] was formed at Catania
[{'concept': 'Q2088357'}, 'P740', 'Q1903']
SELECT DISTINCT ?w WHERE { ?w property:P740 resource:Q1903 . ?w rdf:type ontology:Q2088357 }
Sugarfree
And Sugarfree was formed at Catania
Sugarfree
action filter_type
action find_reverse
entity Catania
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Catania']
SELECT DISTINCT ?w WHERE { ?w property:location_of_formation resource:Catania . ?w rdf:type ontology:musical_ensemble }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P463
Q502895
USER
How many people are members of that musical ensemble ?
(c(Q502895),P463,Q655457)
action count
action filter_type
action find_reverse
entity Q655457
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q655457']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P463 resource:Q655457 . ?s rdf:type ontology:Q502895 }
action count
action filter_type
action find_reverse
entity Sugarfree
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Sugarfree']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:member_of resource:Sugarfree . ?s rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q23829718
(c(Q502895),P463,Q655457)
action count
action filter_type
action find_reverse
entity Q655457
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q655457']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:P463 resource:Q655457 . ?s rdf:type ontology:Q502895 }
Matteo Amantia Scuderi
1
action count
action filter_type
action find_reverse
entity Sugarfree
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Sugarfree']
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { ?s property:member_of resource:Sugarfree . ?s rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5946271 Q3876578
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Nicolò Nicolosi or José de Jesús del Valle y Navarro ?
OR((Q3876578,P27,c(Q15617994)), (Q5946271,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3876578
relation P27
action find
entity Q5946271
relation P27
type Q15617994
{'OR': [['Q3876578', 'P27', {'concept': 'Q15617994'}], ['Q5946271', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Q3876578 ) ( resource:Q5946271 ) } . ?b property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
José de Jesús del Valle y Navarro Nicolò Nicolosi
action filter_type
action union
action find
entity Nicolò Nicolosi
relation country of citizenship
action find
entity José de Jesús del Valle y Navarro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nicolò Nicolosi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José de Jesús del Valle y Navarro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Nicolò_Nicolosi ) ( resource:José_de_Jesús_del_Valle_y_Navarro ) } . ?b property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q38
SYSTEM
Mexico, Italy
Q96 Q38
OR((Q3876578,P27,c(Q15617994)), (Q5946271,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3876578
relation P27
action find
entity Q5946271
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Nicolò Nicolosi or José de Jesús del Valle y Navarro
{'OR': [['Q3876578', 'P27', {'concept': 'Q15617994'}], ['Q5946271', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Q3876578 ) ( resource:Q5946271 ) } . ?b property:P27 ?k } . ?k rdf:type ontology:Q15617994 }
Mexico Italy
Mexico and Italy are the countries of citizenship of Nicolò Nicolosi or José de Jesús del Valle y Navarro
Mexico Italy
action filter_type
action union
action find
entity Nicolò Nicolosi
relation country of citizenship
action find
entity José de Jesús del Valle y Navarro
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Nicolò Nicolosi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['José de Jesús del Valle y Navarro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?b ) { ( resource:Nicolò_Nicolosi ) ( resource:José_de_Jesús_del_Valle_y_Navarro ) } . ?b property:country_of_citizenship ?k } . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1903
P36
Q7275
USER
Which state consists of Catania as its capital ?
(c(Q7275),P36,Q1903)
action filter_type
action find_reverse
entity Q1903
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q1903']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1903 . ?n rdf:type ontology:Q7275 }
Catania
action filter_type
action find_reverse
entity Catania
relation capital
type state
[{'concept': 'state'}, 'capital', 'Catania']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Catania . ?n rdf:type ontology:state }
[]
state
Q188586
SYSTEM
Kingdom of Sicily
Q188586
(c(Q7275),P36,Q1903)
action filter_type
action find_reverse
entity Q1903
relation P36
type Q7275
The [ANSWER] consists of Catania as its capital
[{'concept': 'Q7275'}, 'P36', 'Q1903']
SELECT DISTINCT ?n WHERE { ?n property:P36 resource:Q1903 . ?n rdf:type ontology:Q7275 }
Kingdom of Sicily
The Kingdom of Sicily consists of Catania as its capital
Kingdom of Sicily
action filter_type
action find_reverse
entity Catania
relation capital
type state
[{'concept': 'state'}, 'capital', 'Catania']
SELECT DISTINCT ?n WHERE { ?n property:capital resource:Catania . ?n rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1903
P937
Q502895
USER
Who are an people who works at that administrative territory ?
(c(Q502895),P937,Q188586)
action filter_type
action find_reverse
entity Q1903
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q188586']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P937 resource:Q1903 }
Catania
action filter_type
action find_reverse
entity Catania
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kingdom of Sicily']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:work_location resource:Catania }
[]
common name
Q2755363 Q983389 Q3769007
SYSTEM
Manlio Sgalambro, Mario Pieri, Girolamo Vitelli
Q2755363 Q983389 Q3769007
(c(Q502895),P937,Q188586)
action filter_type
action find_reverse
entity Q1903
relation P937
type Q502895
An people works at that administrative territory are [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q188586']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . ?l property:P937 resource:Q1903 }
Manlio Sgalambro Mario Pieri Girolamo Vitelli
An people works at that administrative territory are Manlio Sgalambro, Mario Pieri and Girolamo Vitelli
Manlio Sgalambro Mario Pieri Girolamo Vitelli
action filter_type
action find_reverse
entity Catania
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kingdom of Sicily']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . ?l property:work_location resource:Catania }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P58
Q838948
USER
How many works of art have that person as screenwriter ?
(c(Q838948),P58,Q2755363)
[{'concept': 'Q838948'}, 'P58', 'Q2755363']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28389 resource:Q2755363 . ?z rdf:type ontology:Q838948 }
[{'concept': 'work of art'}, 'screenwriter', 'Manlio Sgalambro']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:screenwriter resource:Manlio_Sgalambro . ?z rdf:type ontology:work_of_art }
[]
work of art
Quantitative|Count|Single entity type|Clarification
Q2755363
SYSTEM
Did you mean Manlio Sgalambro ?
(c(Q838948),P58,Q2755363) (c(Q838948),P58,Q983389) (c(Q838948),P58,Q3769007)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q2755363'] [{'concept': 'Q838948'}, 'P58', 'Q983389'] [{'concept': 'Q838948'}, 'P58', 'Q3769007']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28389 resource:Q2755363 . ?z rdf:type ontology:Q838948 }
Did you mean Manlio Sgalambro ?
Manlio Sgalambro
[{'concept': 'work of art'}, 'screenwriter', 'Manlio Sgalambro'] [{'concept': 'work of art'}, 'screenwriter', 'Mario Pieri'] [{'concept': 'work of art'}, 'screenwriter', 'Girolamo Vitelli']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:screenwriter resource:Manlio_Sgalambro . ?z rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q838948),P58,Q2755363)
[{'concept': 'Q838948'}, 'P58', 'Q2755363']
[{'concept': 'work of art'}, 'screenwriter', 'Manlio Sgalambro']
[]
SYSTEM
3
Q3868662 Q3899754 Q3876692
(c(Q838948),P58,Q2755363)
[ANSWER]
[{'concept': 'Q838948'}, 'P58', 'Q2755363']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q28389 resource:Q2755363 . ?z rdf:type ontology:Q838948 }
Musikanten Perdutoamor Nothing is as it seems
3
[{'concept': 'work of art'}, 'screenwriter', 'Manlio Sgalambro']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:screenwriter resource:Manlio_Sgalambro . ?z rdf:type ontology:work_of_art }
[]