Simple Question (Direct)
Simple Question
Q174247
P6
Q502895
USER
Which person does Mâcon serve as the head of government for ?
(Q174247,P6,c(Q502895))
action filter_type
action find
entity Q174247
relation P6
type Q502895
['Q174247', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q174247 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Mâcon
action filter_type
action find
entity Mâcon
relation head of government
type common name
['Mâcon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Mâcon property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
common name
Q3168316
SYSTEM
Jean-Patrick Courtois
Q3168316
(Q174247,P6,c(Q502895))
action filter_type
action find
entity Q174247
relation P6
type Q502895
[ANSWER] Mâcon serves as the head of government
['Q174247', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q174247 property:P6 ?s . ?s rdf:type ontology:Q502895 }
Jean-Patrick Courtois
Jean-Patrick Courtois Mâcon serves as the head of government
Jean-Patrick Courtois
action filter_type
action find
entity Mâcon
relation head of government
type common name
['Mâcon', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Mâcon property:head_of_government ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174247
P276
Q18608583
USER
Which recurring sporting event has its location as that french administrative division ?
(c(Q18608583),P276,Q3168316)
action filter_type
action find_reverse
entity Q174247
relation P276
type Q18608583
[{'concept': 'Q18608583'}, 'P276', 'Q3168316']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q174247 . ?y rdf:type ontology:Q18608583 }
Mâcon
action filter_type
action find_reverse
entity Mâcon
relation location
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'location', 'Jean-Patrick Courtois']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Mâcon . ?y rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q19951763
SYSTEM
1920 European Rowing Championships
Q19951763
(c(Q18608583),P276,Q3168316)
action filter_type
action find_reverse
entity Q174247
relation P276
type Q18608583
[ANSWER] has its location as that french administrative division
[{'concept': 'Q18608583'}, 'P276', 'Q3168316']
SELECT DISTINCT ?y WHERE { ?y property:P276 resource:Q174247 . ?y rdf:type ontology:Q18608583 }
1920 European Rowing Championships
1920 European Rowing Championships has its location as that french administrative division
1920 European Rowing Championships
action filter_type
action find_reverse
entity Mâcon
relation location
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'location', 'Jean-Patrick Courtois']
SELECT DISTINCT ?y WHERE { ?y property:location resource:Mâcon . ?y rdf:type ontology:recurring_sporting_event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q174247
P1376
Q20667921
USER
Which french administrative divisions have that one have their first city ?
(Q19951763,P1376,c(Q20667921))
action filter_type
action find
entity Q174247
relation P1376
type Q20667921
['Q19951763', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q174247 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
Mâcon
action filter_type
action find
entity Mâcon
relation capital of
type type of french administrative division
['1920 European Rowing Championships', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Mâcon property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1519528 Q746163 Q1329871
SYSTEM
canton of Mâcon-Centre, canton of Mâcon-Nord, canton of Mâcon-Sud
Q1519528 Q746163 Q1329871
(Q19951763,P1376,c(Q20667921))
action filter_type
action find
entity Q174247
relation P1376
type Q20667921
[ANSWERS] have that one have their first city
['Q19951763', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?j WHERE { resource:Q174247 property:P1376 ?j . ?j rdf:type ontology:Q20667921 }
canton of Mâcon-Centre canton of Mâcon-Nord canton of Mâcon-Sud
Canton of Mâcon-Centre, canton of Mâcon-Nord and canton of Mâcon-Sud have that one have their first city
canton of Mâcon-Centre canton of Mâcon-Nord canton of Mâcon-Sud
action filter_type
action find
entity Mâcon
relation capital of
type type of french administrative division
['1920 European Rowing Championships', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?j WHERE { resource:Mâcon property:capital_of ?j . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1903 Q19951763
P47 P17
Q15617994
USER
Which administrative territories are 1920 European Rowing Championships present in or share border with Catania ?
OR((Q19951763,P17,c(Q15617994)), (Q1903,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19951763
relation P17
action find
entity Q1903
relation P47
type Q15617994
{'OR': [['Q19951763', 'P17', {'concept': 'Q15617994'}], ['Q1903', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q19951763 property:P17 ?q } UNION { resource:Q1903 property:P47 ?q } } }
Catania 1920 European Rowing Championships
action filter_type
action union
action find
entity 1920 European Rowing Championships
relation country
action find
entity Catania
relation shares border with
type designation for an administrative territorial entity
{'OR': [['1920 European Rowing Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Catania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1920_European_Rowing_Championships property:country ?q } UNION { resource:Catania property:shares_border_with ?q } } }
[]
designation for an administrative territorial entity
Q478854 Q488240 Q478226 Q174965 Q478681 Q478384 Q341293 Q478703 Q478836 Q478338
SYSTEM
Some of them are San Pietro Clarenza, Lentini, Belpasso, Carlentini, Misterbianco, Mascalucia, Aci Castello, Motta Sant'Anastasia, San Gregorio di Catania, Gravina di Catania
Q142 Q478681 Q174965 Q341293 Q478338 Q478854 Q478836 Q478226 Q478703 Q478863 Q478384 Q488240 Q478933
OR((Q19951763,P17,c(Q15617994)), (Q1903,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q19951763
relation P17
action find
entity Q1903
relation P47
type Q15617994
[ANSWERS] are 1920 European Rowing Championships present in or share border with Catania
{'OR': [['Q19951763', 'P17', {'concept': 'Q15617994'}], ['Q1903', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q19951763 property:P17 ?q } UNION { resource:Q1903 property:P47 ?q } } }
France 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
San Pietro Clarenza, Lentini, Belpasso, Carlentini, Misterbianco, Mascalucia, Aci Castello, Motta Sant'Anastasia, San Gregorio di Catania and Gravina di Catania are 1920 European Rowing Championships present in or share border with Catania
San Pietro Clarenza Lentini Belpasso Carlentini Misterbianco Mascalucia Aci Castello Motta Sant'Anastasia San Gregorio di Catania Gravina di Catania
action filter_type
action union
action find
entity 1920 European Rowing Championships
relation country
action find
entity Catania
relation shares border with
type designation for an administrative territorial entity
{'OR': [['1920 European Rowing Championships', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Catania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1920_European_Rowing_Championships property:country ?q } UNION { resource:Catania property:shares_border_with ?q } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1903
P47
Q56061
USER
Are Catania bordered by those administrative territories ?
(Q1903,P47,Q478854) (Q1903,P47,Q488240) (Q1903,P47,Q478226) (Q1903,P47,Q174965) (Q1903,P47,Q478681) (Q1903,P47,Q478384) (Q1903,P47,Q341293) (Q1903,P47,Q478703) (Q1903,P47,Q478836) (Q1903,P47,Q478338)
action is_in
entity prev_answer
action find
entity Q1903
relation P47
['Q1903', 'P47', 'Q478854'] ['Q1903', 'P47', 'Q488240'] ['Q1903', 'P47', 'Q478226'] ['Q1903', 'P47', 'Q174965'] ['Q1903', 'P47', 'Q478681'] ['Q1903', 'P47', 'Q478384'] ['Q1903', 'P47', 'Q341293'] ['Q1903', 'P47', 'Q478703'] ['Q1903', 'P47', 'Q478836'] ['Q1903', 'P47', 'Q478338']
ASK WHERE { resource:Q1903 property:P47 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q478681 ) ( resource:Q174965 ) } }
Catania
action is_in
entity prev_answer
action find
entity Catania
relation shares border with
['Catania', 'shares border with', 'San Pietro Clarenza'] ['Catania', 'shares border with', 'Lentini'] ['Catania', 'shares border with', 'Belpasso'] ['Catania', 'shares border with', 'Carlentini'] ['Catania', 'shares border with', 'Misterbianco'] ['Catania', 'shares border with', 'Mascalucia'] ['Catania', 'shares border with', 'Aci Castello'] ['Catania', 'shares border with', "Motta Sant'Anastasia"] ['Catania', 'shares border with', 'San Gregorio di Catania'] ['Catania', 'shares border with', 'Gravina di Catania']
ASK WHERE { resource:Catania property:shares_border_with ?r . VALUES ( ?r ) { ( resource:France ) ( resource:Misterbianco ) ( resource:Carlentini ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q1903,P47,Q478854) (Q1903,P47,Q488240) (Q1903,P47,Q478226) (Q1903,P47,Q174965) (Q1903,P47,Q478681) (Q1903,P47,Q478384) (Q1903,P47,Q341293) (Q1903,P47,Q478703) (Q1903,P47,Q478836) (Q1903,P47,Q478338)
action is_in
entity prev_answer
action find
entity Q1903
relation P47
[ANSWER]
['Q1903', 'P47', 'Q478854'] ['Q1903', 'P47', 'Q488240'] ['Q1903', 'P47', 'Q478226'] ['Q1903', 'P47', 'Q174965'] ['Q1903', 'P47', 'Q478681'] ['Q1903', 'P47', 'Q478384'] ['Q1903', 'P47', 'Q341293'] ['Q1903', 'P47', 'Q478703'] ['Q1903', 'P47', 'Q478836'] ['Q1903', 'P47', 'Q478338']
ASK WHERE { resource:Q1903 property:P47 ?r . VALUES ( ?r ) { ( resource:Q142 ) ( resource:Q478681 ) ( resource:Q174965 ) } }
Yes
action is_in
entity prev_answer
action find
entity Catania
relation shares border with
['Catania', 'shares border with', 'San Pietro Clarenza'] ['Catania', 'shares border with', 'Lentini'] ['Catania', 'shares border with', 'Belpasso'] ['Catania', 'shares border with', 'Carlentini'] ['Catania', 'shares border with', 'Misterbianco'] ['Catania', 'shares border with', 'Mascalucia'] ['Catania', 'shares border with', 'Aci Castello'] ['Catania', 'shares border with', "Motta Sant'Anastasia"] ['Catania', 'shares border with', 'San Gregorio di Catania'] ['Catania', 'shares border with', 'Gravina di Catania']
ASK WHERE { resource:Catania property:shares_border_with ?r . VALUES ( ?r ) { ( resource:France ) ( resource:Misterbianco ) ( resource:Carlentini ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q478703 Q3091450 Q180074
P17
Q15617994
USER
Is Motta Sant'Anastasia situated in Kimbanseke and Vasanello ?
(Q478703,P17,Q3091450) (Q478703,P17,Q180074)
action is_in
entity Q478703
action intersection
action find_reverse
entity Q3091450
relation P17
action find_reverse
entity Q180074
relation P17
['Q478703', 'P17', 'Q3091450'] ['Q478703', 'P17', 'Q180074']
ASK WHERE { resource:Q478703 property:P17 resource:Q3091450 . resource:Q478703 property:P17 resource:Q180074 }
Motta Sant'Anastasia Kimbanseke Vasanello
action is_in
entity Motta Sant'Anastasia
action intersection
action find_reverse
entity Kimbanseke
relation country
action find_reverse
entity Vasanello
relation country
["Motta Sant'Anastasia", 'country', 'Kimbanseke'] ["Motta Sant'Anastasia", 'country', 'Vasanello']
ASK WHERE { resource:Motta_Sant'Anastasia property:country resource:Kimbanseke . resource:Motta_Sant'Anastasia property:country resource:Vasanello }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q478703,P17,Q3091450) (Q478703,P17,Q180074)
action is_in
entity Q478703
action intersection
action find_reverse
entity Q3091450
relation P17
action find_reverse
entity Q180074
relation P17
[ANSWER]
['Q478703', 'P17', 'Q3091450'] ['Q478703', 'P17', 'Q180074']
ASK WHERE { resource:Q478703 property:P17 resource:Q3091450 . resource:Q478703 property:P17 resource:Q180074 }
No
action is_in
entity Motta Sant'Anastasia
action intersection
action find_reverse
entity Kimbanseke
relation country
action find_reverse
entity Vasanello
relation country
["Motta Sant'Anastasia", 'country', 'Kimbanseke'] ["Motta Sant'Anastasia", 'country', 'Vasanello']
ASK WHERE { resource:Motta_Sant'Anastasia property:country resource:Kimbanseke . resource:Motta_Sant'Anastasia property:country resource:Vasanello }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q677687 Q478226
P19
Q502895
USER
Which people have place of birth as Belpasso or La Cumbre, Valle del Cauca ?
OR((c(Q502895),P19,Q478226), (c(Q502895),P19,Q677687))
action filter_type
action union
action find_reverse
entity Q478226
relation P19
action find_reverse
entity Q677687
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q478226'], [{'concept': 'Q502895'}, 'P19', 'Q677687']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P19 resource:Q478226 } UNION { ?y property:P19 resource:Q677687 } } . ?y rdf:type ontology:Q502895 }
La Cumbre, Valle del Cauca Belpasso
action filter_type
action union
action find_reverse
entity Belpasso
relation place of birth
action find_reverse
entity La Cumbre, Valle del Cauca
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Belpasso'], [{'concept': 'common name'}, 'place of birth', 'La Cumbre, Valle del Cauca']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_birth resource:Belpasso } UNION { ?y property:place_of_birth resource:La_Cumbre,_Valle_del_Cauca } } . ?y rdf:type ontology:common_name }
[]
common name
Q3939150 Q62570 Q10558477 Q518152 Q3946040 Q3762431 Q3905533 Q3929176 Q21832844 Q16166397
SYSTEM
Roberto Sava, Bruce Graham, Gustavo Torres, Nino Martoglio, Salvatore Distefano, Giambattista Spampinato, Pippo Caruso, Raffaele Stramondo, Giovanni Romeo delle Torrazze, Alfio Andronico
Q3939150 Q62570 Q10558477 Q518152 Q3946040 Q3762431 Q3905533 Q3929176 Q21832844 Q16166397
OR((c(Q502895),P19,Q478226), (c(Q502895),P19,Q677687))
action filter_type
action union
action find_reverse
entity Q478226
relation P19
action find_reverse
entity Q677687
relation P19
type Q502895
[ANSWERS] have place of birth as Belpasso or La Cumbre, Valle del Cauca
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q478226'], [{'concept': 'Q502895'}, 'P19', 'Q677687']]}
SELECT DISTINCT ?y WHERE { { { ?y property:P19 resource:Q478226 } UNION { ?y property:P19 resource:Q677687 } } . ?y rdf:type ontology:Q502895 }
Roberto Sava Bruce Graham Gustavo Torres Nino Martoglio Salvatore Distefano Giambattista Spampinato Pippo Caruso Raffaele Stramondo Giovanni Romeo delle Torrazze Alfio Andronico
Roberto Sava, Bruce Graham, Gustavo Torres, Nino Martoglio, Salvatore Distefano, Giambattista Spampinato, Pippo Caruso, Raffaele Stramondo, Giovanni Romeo delle Torrazze and Alfio Andronico have place of birth as Belpasso or La Cumbre, Valle del Cauca
Roberto Sava Bruce Graham Gustavo Torres Nino Martoglio Salvatore Distefano Giambattista Spampinato Pippo Caruso Raffaele Stramondo Giovanni Romeo delle Torrazze Alfio Andronico
action filter_type
action union
action find_reverse
entity Belpasso
relation place of birth
action find_reverse
entity La Cumbre, Valle del Cauca
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Belpasso'], [{'concept': 'common name'}, 'place of birth', 'La Cumbre, Valle del Cauca']]}
SELECT DISTINCT ?y WHERE { { { ?y property:place_of_birth resource:Belpasso } UNION { ?y property:place_of_birth resource:La_Cumbre,_Valle_del_Cauca } } . ?y rdf:type ontology:common_name }
[]