Simple Question (Direct)
Simple Question
Q10301
P47
Q15617994
USER
Which administrative territories have a shared border with Sciolze ?
(Q10301,P47,c(Q15617994))
action filter_type
action find
entity Q10301
relation P47
type Q15617994
['Q10301', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q10301 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Sciolze
action filter_type
action find
entity Sciolze
relation shares border with
type designation for an administrative territorial entity
['Sciolze', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sciolze property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17828 Q9380 Q9481
SYSTEM
Moncucco Torinese, Gassino Torinese, Montaldo Torinese
Q9283 Q9481 Q17828 Q9380 Q10221 Q9451
(Q10301,P47,c(Q15617994))
action filter_type
action find
entity Q10301
relation P47
type Q15617994
[ANSWERS] have a shared border with Sciolze
['Q10301', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q10301 property:P47 ?z . ?z rdf:type ontology:Q15617994 }
Cinzano Montaldo Torinese Moncucco Torinese Gassino Torinese Rivalba Marentino
Moncucco Torinese, Gassino Torinese and Montaldo Torinese have a shared border with Sciolze
Moncucco Torinese Gassino Torinese Montaldo Torinese
action filter_type
action find
entity Sciolze
relation shares border with
type designation for an administrative territorial entity
['Sciolze', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Sciolze property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17828 Q9380 Q9481
P47
Q15617994
USER
Which administrative territories share border with Moncucco Torinese, Gassino Torinese and Montaldo Torinese ?
(Q17828,P47,c(Q15617994)) (Q9380,P47,c(Q15617994)) (Q9481,P47,c(Q15617994))
action union
action filter_type
action find
entity Q17828
relation P47
type Q15617994
action filter_type
action find
entity Q9380
relation P47
type Q15617994
action filter_type
action find
entity Q9481
relation P47
type Q15617994
['Q17828', 'P47', {'concept': 'Q15617994'}] ['Q9380', 'P47', {'concept': 'Q15617994'}] ['Q9481', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q17828 property:P47 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q9380 property:P47 ?v . ?v rdf:type ontology:Q15617994 } }
Moncucco Torinese Gassino Torinese Montaldo Torinese
action union
action filter_type
action find
entity Moncucco Torinese
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Gassino Torinese
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Montaldo Torinese
relation shares border with
type designation for an administrative territorial entity
['Moncucco Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Gassino Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Montaldo Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Moncucco_Torinese property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gassino_Torinese property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q10304 Q9269 Q9007
SYSTEM
Settimo Torinese, Chieri, Arignano
Q9283 Q9497 Q9007 Q9470 Q17785 Q10301 Q17742 Q17753 Q9451 Q9481 Q10279 Q9541 Q10221 Q9234 Q10304 Q10301 Q9380 Q9269 Q9541 Q9451 Q9002 Q10301
(Q17828,P47,c(Q15617994)) (Q9380,P47,c(Q15617994)) (Q9481,P47,c(Q15617994))
action union
action filter_type
action find
entity Q17828
relation P47
type Q15617994
action filter_type
action find
entity Q9380
relation P47
type Q15617994
action filter_type
action find
entity Q9481
relation P47
type Q15617994
[ANSWERS] share border with Moncucco Torinese, Gassino Torinese and Montaldo Torinese
['Q17828', 'P47', {'concept': 'Q15617994'}] ['Q9380', 'P47', {'concept': 'Q15617994'}] ['Q9481', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { { resource:Q17828 property:P47 ?v . ?v rdf:type ontology:Q15617994 } UNION { resource:Q9380 property:P47 ?v . ?v rdf:type ontology:Q15617994 } }
Cinzano Moriondo Torinese Arignano Mombello di Torino Castelnuovo Don Bosco Sciolze Albugnano Berzano di San Pietro Marentino Montaldo Torinese San Raffaele Cimena Pavarolo Rivalba Castiglione Torinese Settimo Torinese Sciolze Gassino Torinese Chieri Pavarolo Marentino Andezeno Sciolze
Settimo Torinese, Chieri and Arignano share border with Moncucco Torinese, Gassino Torinese and Montaldo Torinese
Settimo Torinese Chieri Arignano
action union
action filter_type
action find
entity Moncucco Torinese
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Gassino Torinese
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Montaldo Torinese
relation shares border with
type designation for an administrative territorial entity
['Moncucco Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Gassino Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Montaldo Torinese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { { resource:Moncucco_Torinese property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Gassino_Torinese property:shares_border_with ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10304
P159
Q43229
USER
Which organizations have HQ at that administrative territory ?
(c(Q43229),P159,Q10304)
action filter_type
action find_reverse
entity Q10304
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q10304']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q10304 . ?u rdf:type ontology:Q43229 }
Settimo Torinese
action filter_type
action find_reverse
entity Settimo Torinese
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Settimo Torinese']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Settimo_Torinese . ?u rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q9269
SYSTEM
Did you mean Chieri ?
Q10304 Q9269 Q9007
(c(Q43229),P159,Q10304) (c(Q43229),P159,Q9269) (c(Q43229),P159,Q9007)
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q10304'] [{'concept': 'Q43229'}, 'P159', 'Q9269'] [{'concept': 'Q43229'}, 'P159', 'Q9007']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q10304 . ?u rdf:type ontology:Q43229 }
Settimo Torinese Chieri Arignano
Did you mean Chieri ?
Chieri
[{'concept': 'organization'}, 'headquarters location', 'Settimo Torinese'] [{'concept': 'organization'}, 'headquarters location', 'Chieri'] [{'concept': 'organization'}, 'headquarters location', 'Arignano']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Settimo_Torinese . ?u rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Settimo Torinese. Could you tell me the answer for that?
(c(Q43229),P159,Q10304)
Q10304
[{'concept': 'Q43229'}, 'P159', 'Q10304']
[{'concept': 'organization'}, 'headquarters location', 'Settimo Torinese']
[]
Q2601795 Q3645309
SYSTEM
Sparco, Brondi
Q2601795 Q3645309
(c(Q43229),P159,Q10304)
action filter_type
action find_reverse
entity Q10304
relation P159
type Q43229
[ANSWERS] have HQ at that administrative territory
[{'concept': 'Q43229'}, 'P159', 'Q10304']
SELECT DISTINCT ?u WHERE { ?u property:P159 resource:Q10304 . ?u rdf:type ontology:Q43229 }
Sparco Brondi
Sparco and Brondi have HQ at that administrative territory
Sparco Brondi
action filter_type
action find_reverse
entity Settimo Torinese
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Settimo Torinese']
SELECT DISTINCT ?u WHERE { ?u property:headquarters_location resource:Settimo_Torinese . ?u rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9269
P20
Q502895
USER
Which people have Chieri as the area of death ?
(c(Q502895),P20,Q9269)
action filter_type
action find_reverse
entity Q9269
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q9269']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q9269 . ?k rdf:type ontology:Q502895 }
Chieri
action filter_type
action find_reverse
entity Chieri
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Chieri']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Chieri . ?k rdf:type ontology:common_name }
[]
common name
Q451321 Q3847400 Q2359339
SYSTEM
Roberto Rosato, Princess Maria Luisa of Savoy, Fiorenzo Marini
Q451321 Q3766690 Q3962055 Q16557365 Q1294016 Q3847400 Q3830242 Q2359339 Q723364
(c(Q502895),P20,Q9269)
action filter_type
action find_reverse
entity Q9269
relation P20
type Q502895
[ANSWERS] have Chieri as the area of death
[{'concept': 'Q502895'}, 'P20', 'Q9269']
SELECT DISTINCT ?k WHERE { ?k property:P20 resource:Q9269 . ?k rdf:type ontology:Q502895 }
Roberto Rosato Giovanni Battista Lorenzo Bogino Siro Lombardini Francesco Pellico Julienne Mathieu Princess Maria Luisa of Savoy Leo Chiosso Fiorenzo Marini Giuseppe Benedetto Cottolengo
Roberto Rosato, Princess Maria Luisa of Savoy and Fiorenzo Marini have Chieri as the area of death
Roberto Rosato Princess Maria Luisa of Savoy Fiorenzo Marini
action filter_type
action find_reverse
entity Chieri
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Chieri']
SELECT DISTINCT ?k WHERE { ?k property:place_of_death resource:Chieri . ?k rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q451321 Q3847400 Q2359339
P21
Q290
USER
What are the sex of Roberto Rosato, Princess Maria Luisa of Savoy and Fiorenzo Marini ?
(Q451321,P21,c(Q290)) (Q3847400,P21,c(Q290)) (Q2359339,P21,c(Q290))
action union
action filter_type
action find
entity Q451321
relation P21
type Q290
action filter_type
action find
entity Q3847400
relation P21
type Q290
action filter_type
action find
entity Q2359339
relation P21
type Q290
['Q451321', 'P21', {'concept': 'Q290'}] ['Q3847400', 'P21', {'concept': 'Q290'}] ['Q2359339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q290 . resource:Q451321 property:P21 ?i } UNION { resource:Q3847400 property:P21 ?i . ?i rdf:type ontology:Q290 } }
Roberto Rosato Princess Maria Luisa of Savoy Fiorenzo Marini
action union
action filter_type
action find
entity Roberto Rosato
relation gender
type sex
action filter_type
action find
entity Princess Maria Luisa of Savoy
relation gender
type sex
action filter_type
action find
entity Fiorenzo Marini
relation gender
type sex
['Roberto Rosato', 'gender', {'concept': 'sex'}] ['Princess Maria Luisa of Savoy', 'gender', {'concept': 'sex'}] ['Fiorenzo Marini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sex . resource:Roberto_Rosato property:gender ?i } UNION { resource:Princess_Maria_Luisa_of_Savoy property:gender ?i . ?i rdf:type ontology:sex } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q451321,P21,c(Q290)) (Q3847400,P21,c(Q290)) (Q2359339,P21,c(Q290))
action union
action filter_type
action find
entity Q451321
relation P21
type Q290
action filter_type
action find
entity Q3847400
relation P21
type Q290
action filter_type
action find
entity Q2359339
relation P21
type Q290
[ANSWERS]
['Q451321', 'P21', {'concept': 'Q290'}] ['Q3847400', 'P21', {'concept': 'Q290'}] ['Q2359339', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q290 . resource:Q451321 property:P21 ?i } UNION { resource:Q3847400 property:P21 ?i . ?i rdf:type ontology:Q290 } }
male female male
The sex of Roberto Rosato , Princess Maria Luisa of Savoy and Fiorenzo Marini are the male, female and male
male female male
action union
action filter_type
action find
entity Roberto Rosato
relation gender
type sex
action filter_type
action find
entity Princess Maria Luisa of Savoy
relation gender
type sex
action filter_type
action find
entity Fiorenzo Marini
relation gender
type sex
['Roberto Rosato', 'gender', {'concept': 'sex'}] ['Princess Maria Luisa of Savoy', 'gender', {'concept': 'sex'}] ['Fiorenzo Marini', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:sex . resource:Roberto_Rosato property:gender ?i } UNION { resource:Princess_Maria_Luisa_of_Savoy property:gender ?i . ?i rdf:type ontology:sex } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q451321
P1344
Q1375427
USER
What did Roberto Rosato participate in ?
(Q451321,P1344,c(Q1375427))
action filter_type
action find
entity Q451321
relation P1344
type Q1375427
['Q451321', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?f WHERE { resource:Q451321 property:P1344 ?f . ?f rdf:type ontology:Q1375427 }
Roberto Rosato
action filter_type
action find
entity Roberto Rosato
relation participant of
type European Championship
['Roberto Rosato', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?f WHERE { resource:Roberto_Rosato property:participant_of ?f . ?f rdf:type ontology:European_Championship }
[]
European Championship
Q182201
SYSTEM
UEFA Euro 1968
Q182201
(Q451321,P1344,c(Q1375427))
action filter_type
action find
entity Q451321
relation P1344
type Q1375427
Roberto Rosato participated in [ANSWER]
['Q451321', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?f WHERE { resource:Q451321 property:P1344 ?f . ?f rdf:type ontology:Q1375427 }
UEFA Euro 1968
Roberto Rosato participated in UEFA Euro 1968
UEFA Euro 1968
action filter_type
action find
entity Roberto Rosato
relation participant of
type European Championship
['Roberto Rosato', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?f WHERE { resource:Roberto_Rosato property:participant_of ?f . ?f rdf:type ontology:European_Championship }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q451321
P641
Q349
USER
Which sport was that person a part of ?
(Q182201,P641,c(Q349))
action filter_type
action find
entity Q451321
relation P641
type Q349
['Q182201', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q451321 property:P641 ?x . ?x rdf:type ontology:Q349 }
Roberto Rosato
action filter_type
action find
entity Roberto Rosato
relation sport
type sport
['UEFA Euro 1968', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Roberto_Rosato property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q182201,P641,c(Q349))
action filter_type
action find
entity Q451321
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q182201', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q451321 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Roberto Rosato
relation sport
type sport
['UEFA Euro 1968', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Roberto_Rosato property:sport ?x . ?x rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q451321
P27
Q15617994
USER
How many administrative territories are Roberto Rosato an inhabitant of ?
(Q451321,P27,c(Q15617994))
action count
action filter_type
action find
entity Q451321
relation P27
type Q15617994
['Q451321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q451321 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Roberto Rosato
action count
action filter_type
action find
entity Roberto Rosato
relation country of citizenship
type designation for an administrative territorial entity
['Roberto Rosato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Roberto_Rosato property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q38
(Q451321,P27,c(Q15617994))
action count
action filter_type
action find
entity Q451321
relation P27
type Q15617994
[ANSWER]
['Q451321', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q451321 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Italy
1
action count
action filter_type
action find
entity Roberto Rosato
relation country of citizenship
type designation for an administrative territorial entity
['Roberto Rosato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Roberto_Rosato property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q21389152
P27
Q15617994
USER
And how about Matjaž Kuntner?
(Q21389152,P27,c(Q15617994))
action count
action filter_type
action find
entity Q21389152
relation P27
type Q15617994
['Q21389152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q21389152 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Matjaž Kuntner
action count
action filter_type
action find
entity Matjaž Kuntner
relation country of citizenship
type designation for an administrative territorial entity
['Matjaž Kuntner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Matjaž_Kuntner property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q668
(Q21389152,P27,c(Q15617994))
action count
action filter_type
action find
entity Q21389152
relation P27
type Q15617994
[ANSWER]
['Q21389152', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Q21389152 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
India
1
action count
action filter_type
action find
entity Matjaž Kuntner
relation country of citizenship
type designation for an administrative territorial entity
['Matjaž Kuntner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { resource:Matjaž_Kuntner property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]