Simple Question (Direct)
Simple Question
Q3434823
P54
Q1194951
USER
Which national sports team is Robert Coat a member of ?
(Q3434823,P54,c(Q1194951))
action filter_type
action find
entity Q3434823
relation P54
type Q1194951
['Q3434823', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3434823 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
Robert Coat
action filter_type
action find
entity Robert Coat
relation member of sports team
type national sports team
['Robert Coat', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Robert_Coat property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
national sports team
Q47774
SYSTEM
France national football team
Q47774
(Q3434823,P54,c(Q1194951))
action filter_type
action find
entity Q3434823
relation P54
type Q1194951
De [ANSWER] is Robert Coat a member of
['Q3434823', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?m WHERE { resource:Q3434823 property:P54 ?m . ?m rdf:type ontology:Q1194951 }
France national football team
De France national football team is Robert Coat a member of
France national football team
action filter_type
action find
entity Robert Coat
relation member of sports team
type national sports team
['Robert Coat', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?m WHERE { resource:Robert_Coat property:member_of_sports_team ?m . ?m rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3434823
P641
Q349
USER
What was the sport that Robert Coat was a part of ?
(Q3434823,P641,c(Q349))
action filter_type
action find
entity Q3434823
relation P641
type Q349
['Q3434823', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3434823 property:P641 ?a . ?a rdf:type ontology:Q349 }
Robert Coat
action filter_type
action find
entity Robert Coat
relation sport
type sport
['Robert Coat', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Coat property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3434823,P641,c(Q349))
action filter_type
action find
entity Q3434823
relation P641
type Q349
The sport that Robert Coat was a part of was [ANSWER]
['Q3434823', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3434823 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
The sport that Robert Coat was a part of was association football
association football
action filter_type
action find
entity Robert Coat
relation sport
type sport
['Robert Coat', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Robert_Coat property:sport ?a . ?a rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7192711 Q3434823
P27 P17
Q15617994
USER
Which administrative territories do Robert Coat belong to or are Pieszków, Lubin County situated in ?
OR((Q3434823,P27,c(Q15617994)), (Q7192711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3434823
relation P27
action find
entity Q7192711
relation P17
type Q15617994
{'OR': [['Q3434823', 'P27', {'concept': 'Q15617994'}], ['Q7192711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q3434823 property:P27 ?f } UNION { resource:Q7192711 property:P17 ?f } } }
Pieszków, Lubin County Robert Coat
action filter_type
action union
action find
entity Robert Coat
relation country of citizenship
action find
entity Pieszków, Lubin County
relation country
type designation for an administrative territorial entity
{'OR': [['Robert Coat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pieszków, Lubin County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Robert_Coat property:country_of_citizenship ?f } UNION { resource:Pieszków,_Lubin_County property:country ?f } } }
[]
designation for an administrative territorial entity
Q142 Q36
SYSTEM
France, Poland
Q142 Q36
OR((Q3434823,P27,c(Q15617994)), (Q7192711,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3434823
relation P27
action find
entity Q7192711
relation P17
type Q15617994
Robert Coat belong to [ANSWERS]
{'OR': [['Q3434823', 'P27', {'concept': 'Q15617994'}], ['Q7192711', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . { { resource:Q3434823 property:P27 ?f } UNION { resource:Q7192711 property:P17 ?f } } }
France Poland
Robert Coat belong to France and Poland
France Poland
action filter_type
action union
action find
entity Robert Coat
relation country of citizenship
action find
entity Pieszków, Lubin County
relation country
type designation for an administrative territorial entity
{'OR': [['Robert Coat', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pieszków, Lubin County', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Robert_Coat property:country_of_citizenship ?f } UNION { resource:Pieszków,_Lubin_County property:country ?f } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q215152
P47
Q15617994
USER
Which administrative territories are next to the border of Semproniano ?
(c(Q15617994),P47,Q215152)
action filter_type
action find
entity Q215152
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q215152']
SELECT DISTINCT ?l WHERE { resource:Q215152 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Semproniano
action filter_type
action find
entity Semproniano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Semproniano']
SELECT DISTINCT ?l WHERE { resource:Semproniano property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214701 Q215164 Q215008
SYSTEM
Manciano, Sorano, Santa Fiora
Q215164 Q214936 Q215008 Q174879 Q214701
(c(Q15617994),P47,Q215152)
action filter_type
action find
entity Q215152
relation P47
type Q15617994
[ANSWERS] are next to the border of Semproniano
[{'concept': 'Q15617994'}, 'P47', 'Q215152']
SELECT DISTINCT ?l WHERE { resource:Q215152 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Sorano Roccalbegna Santa Fiora Castell'Azzara Manciano
Manciano, Sorano and Santa Fiora are next to the border of Semproniano
Manciano Sorano Santa Fiora
action filter_type
action find
entity Semproniano
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Semproniano']
SELECT DISTINCT ?l WHERE { resource:Semproniano property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q214701 Q215164 Q215008
P47
Q15617994
USER
Which administrative territories are bordered by those ones ?
(Q214701,P47,c(Q15617994)) (Q215164,P47,c(Q15617994)) (Q215008,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
['Q214701', 'P47', {'concept': 'Q15617994'}] ['Q215164', 'P47', {'concept': 'Q15617994'}] ['Q215008', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?m property:P47 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q215164 ) ( resource:Q214936 ) ( resource:Q215008 ) } }
Manciano Sorano Santa Fiora
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Manciano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sorano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santa Fiora', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?m property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Sorano ) ( resource:Roccalbegna ) ( resource:Santa_Fiora ) } }
[]
designation for an administrative territorial entity
Q214701 Q159474 Q215164
SYSTEM
Manciano, Acquapendente, Sorano
Q215152 Q175903 Q215164 Q159710 Q175956 Q214691 Q214929 Q214849 Q188490 Q214936 Q215116 Q215152 Q176162 Q174879 Q177684 Q159474 Q214929 Q214701 Q215152 Q174879 Q188499 Q188471 Q91292 Q91096 Q214936
(Q214701,P47,c(Q15617994)) (Q215164,P47,c(Q15617994)) (Q215008,P47,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P47
type Q15617994
[ANSWERS] are bordered by those ones
['Q214701', 'P47', {'concept': 'Q15617994'}] ['Q215164', 'P47', {'concept': 'Q15617994'}] ['Q215008', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?m property:P47 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?m ) { ( resource:Q215164 ) ( resource:Q214936 ) ( resource:Q215008 ) } }
Semproniano Ischia di Castro Sorano Canino Montalto di Castro Magliano in Toscana Pitigliano Orbetello Capalbio Roccalbegna Scansano Semproniano Onano Castell'Azzara Proceno Acquapendente Pitigliano Manciano Semproniano Castell'Azzara Castel del Piano Arcidosso Piancastagnaio Abbadia San Salvatore Roccalbegna
Manciano, Acquapendente and Sorano are bordered by those ones
Manciano Acquapendente Sorano
action filter_type
action find
entity prev_answer
relation shares border with
type designation for an administrative territorial entity
['Manciano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Sorano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Santa Fiora', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?m property:shares_border_with ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?m ) { ( resource:Sorano ) ( resource:Roccalbegna ) ( resource:Santa_Fiora ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q214701 Q159474 Q215164
P19
Q502895
USER
Who were born at those administrative territories ?
(c(Q502895),P19,Q214701) (c(Q502895),P19,Q159474) (c(Q502895),P19,Q215164)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q214701'] [{'concept': 'Q502895'}, 'P19', 'Q159474'] [{'concept': 'Q502895'}, 'P19', 'Q215164']
SELECT DISTINCT ?j WHERE { ?j property:P19 ?d . VALUES ( ?d ) { ( resource:Q215152 ) ( resource:Q175903 ) ( resource:Q215164 ) } . ?j rdf:type ontology:Q502895 }
Manciano Acquapendente Sorano
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Manciano'] [{'concept': 'common name'}, 'place of birth', 'Acquapendente'] [{'concept': 'common name'}, 'place of birth', 'Sorano']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth ?d . VALUES ( ?d ) { ( resource:Semproniano ) ( resource:Ischia_di_Castro ) ( resource:Sorano ) } . ?j rdf:type ontology:common_name }
[]
common name
Q3697472 Q435296 Q521184
SYSTEM
Cristiano Scalabrelli, Hieronymus Fabricius, Angelo Comastri
Q3617102 Q556288 Q3611208 Q3731912 Q3731928 Q3763560 Q21619429 Q1367892 Q3743785 Q3697472 Q2849600 Q3895853 Q3770125 Q19884097 Q3894455 Q3848202 Q251926 Q3606805 Q3750467 Q435296 Q21619388 Q3848254 Q15055616 Q3903189 Q16576551 Q3610279 Q3740359 Q521184 Q16524807
(c(Q502895),P19,Q214701) (c(Q502895),P19,Q159474) (c(Q502895),P19,Q215164)
action filter_type
action find_reverse
entity prev_answer
relation P19
type Q502895
[ANSWERS] were born at those administrative territories
[{'concept': 'Q502895'}, 'P19', 'Q214701'] [{'concept': 'Q502895'}, 'P19', 'Q159474'] [{'concept': 'Q502895'}, 'P19', 'Q215164']
SELECT DISTINCT ?j WHERE { ?j property:P19 ?d . VALUES ( ?d ) { ( resource:Q215152 ) ( resource:Q175903 ) ( resource:Q215164 ) } . ?j rdf:type ontology:Q502895 }
Angelo Montechiari Pietro Aldi Alfonso Menichetti Ermanno Detti Ermanno Menichetti Gianni Maroccolo Gino Aldi Mai Massimiliano Lelli Ferruccio Funghi Cristiano Scalabrelli Angiolo Gabrielli Paride Pascucci Giuseppe Bicocchi Leto Morvidi Paolo Santinelli Marino Lupi Giovanni Battista Casti Agostino Pieri Francesco Pieri Hieronymus Fabricius Luigi Cozza Mario Acquaviva Alessandra Terrosi Piero Camilli Mario Vinci Alessandro Salimbeni Fausto Dionisi Angelo Comastri Alberto Cerreti
Cristiano Scalabrelli, Hieronymus Fabricius and Angelo Comastri were born at those administrative territories
Cristiano Scalabrelli Hieronymus Fabricius Angelo Comastri
action filter_type
action find_reverse
entity prev_answer
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Manciano'] [{'concept': 'common name'}, 'place of birth', 'Acquapendente'] [{'concept': 'common name'}, 'place of birth', 'Sorano']
SELECT DISTINCT ?j WHERE { ?j property:place_of_birth ?d . VALUES ( ?d ) { ( resource:Semproniano ) ( resource:Ischia_di_Castro ) ( resource:Sorano ) } . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3697472 Q435296 Q521184
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q3697472,P106,c(Q12737077)) (Q435296,P106,c(Q12737077)) (Q521184,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q3697472', 'P106', {'concept': 'Q12737077'}] ['Q435296', 'P106', {'concept': 'Q12737077'}] ['Q521184', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?j property:P106 ?z . ?z rdf:type ontology:Q12737077 . VALUES ( ?j ) { ( resource:Q3617102 ) ( resource:Q556288 ) ( resource:Q3611208 ) } }
Cristiano Scalabrelli Hieronymus Fabricius Angelo Comastri
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Cristiano Scalabrelli', 'occupation', {'concept': 'occupation'}] ['Hieronymus Fabricius', 'occupation', {'concept': 'occupation'}] ['Angelo Comastri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?j property:occupation ?z . ?z rdf:type ontology:occupation . VALUES ( ?j ) { ( resource:Angelo_Montechiari ) ( resource:Pietro_Aldi ) ( resource:Alfonso_Menichetti ) } }
[]
occupation
Q937857 Q774306 Q1622272
SYSTEM
association football player, surgeon, university teacher
Q937857 Q774306 Q1622272 Q250867 Q1234713
(Q3697472,P106,c(Q12737077)) (Q435296,P106,c(Q12737077)) (Q521184,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The professions of those people are [ANSWERS]
['Q3697472', 'P106', {'concept': 'Q12737077'}] ['Q435296', 'P106', {'concept': 'Q12737077'}] ['Q521184', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?j property:P106 ?z . ?z rdf:type ontology:Q12737077 . VALUES ( ?j ) { ( resource:Q3617102 ) ( resource:Q556288 ) ( resource:Q3611208 ) } }
association football player surgeon university teacher Catholic priest theologian
The professions of those people are association football player, surgeon and university teacher
association football player surgeon university teacher
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Cristiano Scalabrelli', 'occupation', {'concept': 'occupation'}] ['Hieronymus Fabricius', 'occupation', {'concept': 'occupation'}] ['Angelo Comastri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?j property:occupation ?z . ?z rdf:type ontology:occupation . VALUES ( ?j ) { ( resource:Angelo_Montechiari ) ( resource:Pietro_Aldi ) ( resource:Alfonso_Menichetti ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1622272
P512
Q502895
USER
Who holds the academic degreee that occupation ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?h WHERE { ?h property:P512 resource:Q1622272 . ?h rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?h WHERE { ?h property:academic_degree resource:university_teacher . ?h rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q937857
SYSTEM
Did you mean association football player ?
Q937857 Q774306 Q1622272
(c(Q502895),P512,Q937857) (c(Q502895),P512,Q774306) (c(Q502895),P512,Q1622272)
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q937857'] [{'concept': 'Q502895'}, 'P512', 'Q774306'] [{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?h WHERE { ?h property:P512 resource:Q1622272 . ?h rdf:type ontology:Q502895 }
association football player surgeon university teacher
Did you mean association football player ?
association football player
[{'concept': 'common name'}, 'academic degree', 'association football player'] [{'concept': 'common name'}, 'academic degree', 'surgeon'] [{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?h WHERE { ?h property:academic_degree resource:university_teacher . ?h rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant university teacher. Could you tell me the answer for that?
(c(Q502895),P512,Q1622272)
Q1622272
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
[{'concept': 'common name'}, 'academic degree', 'university teacher']
[]
Q1631650 Q1362287 Q4074760
SYSTEM
Hovhannes Barseghian, Manolis Andronikos, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] hold the academic degreee that occupation
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?h WHERE { ?h property:P512 resource:Q1622272 . ?h rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Hovhannes Barseghian, Manolis Andronikos and Edvard Baghdasaryan hold the academic degreee that occupation
Hovhannes Barseghian Manolis Andronikos Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?h WHERE { ?h property:academic_degree resource:university_teacher . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q214701
P21 P20
Q502895
USER
Which people died in Manciano and have male as the sex ?
AND((c(Q502895),P20,Q214701), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q214701
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q214701'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P20 resource:Q214701 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
male Manciano
action filter_type
action intersection
action find_reverse
entity Manciano
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Manciano'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:place_of_death resource:Manciano . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]
common name
Q556288 Q3895853 Q21619429 Q3992749
SYSTEM
Pietro Aldi, Paride Pascucci, Gino Aldi Mai, Tommaso Corsini
Q556288 Q3895853 Q21619429 Q3992749
AND((c(Q502895),P20,Q214701), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q214701
relation P20
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] died in Manciano and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P20', 'Q214701'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?d WHERE { ?d property:P20 resource:Q214701 . ?d property:P21 resource:Q6581097 . ?d rdf:type ontology:Q502895 }
Pietro Aldi Paride Pascucci Gino Aldi Mai Tommaso Corsini
Pietro Aldi, Paride Pascucci, Gino Aldi Mai and Tommaso Corsini died in Manciano and have male as the sex
Pietro Aldi Paride Pascucci Gino Aldi Mai Tommaso Corsini
action filter_type
action intersection
action find_reverse
entity Manciano
relation place of death
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of death', 'Manciano'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?d WHERE { ?d property:place_of_death resource:Manciano . ?d property:gender resource:male . ?d rdf:type ontology:common_name }
[]