Simple Question (Direct)
Simple Question
Q3501928
P641
Q349
USER
What did Stéphane Léoni participate in ?
(Q3501928,P641,c(Q349))
action filter_type
action find
entity Q3501928
relation P641
type Q349
['Q3501928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3501928 property:P641 ?r . ?r rdf:type ontology:Q349 }
Stéphane Léoni
action filter_type
action find
entity Stéphane Léoni
relation sport
type sport
['Stéphane Léoni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Stéphane_Léoni property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3501928,P641,c(Q349))
action filter_type
action find
entity Q3501928
relation P641
type Q349
[ANSWER]
['Q3501928', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q3501928 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Stéphane Léoni
relation sport
type sport
['Stéphane Léoni', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Stéphane_Léoni property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3501928
P106
Q12737077
USER
What is the profession of Stéphane Léoni ?
(Q3501928,P106,c(Q12737077))
action filter_type
action find
entity Q3501928
relation P106
type Q12737077
['Q3501928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3501928 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Stéphane Léoni
action filter_type
action find
entity Stéphane Léoni
relation occupation
type occupation
['Stéphane Léoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Stéphane_Léoni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3501928,P106,c(Q12737077))
action filter_type
action find
entity Q3501928
relation P106
type Q12737077
[ANSWER]
['Q3501928', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3501928 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
association football player
association football player
action filter_type
action find
entity Stéphane Léoni
relation occupation
type occupation
['Stéphane Léoni', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Stéphane_Léoni property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3501928
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3501928
relation P27
type Q15617994
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3501928 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Stéphane Léoni
action filter_type
action find
entity Stéphane Léoni
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Stéphane_Léoni property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3501928
relation P27
type Q15617994
[ANSWER]
['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3501928 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
France
France
action filter_type
action find
entity Stéphane Léoni
relation country of citizenship
type designation for an administrative territorial entity
['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Stéphane_Léoni property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q16561006 Q3501928
P27
Q15617994
USER
Or Giuseppe Ricagno?
OR((Q3501928,P27,c(Q15617994)), (Q16561006,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3501928
relation P27
action find
entity Q16561006
relation P27
type Q15617994
{'OR': [['Q3501928', 'P27', {'concept': 'Q15617994'}], ['Q16561006', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:P27 ?d . VALUES ( ?k ) { ( resource:Q16561006 ) ( resource:Q3501928 ) } } . ?d rdf:type ontology:Q15617994 }
Giuseppe Ricagno Stéphane Léoni
action filter_type
action union
action find
entity Stéphane Léoni
relation country of citizenship
action find
entity Giuseppe Ricagno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stéphane Léoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giuseppe Ricagno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:country_of_citizenship ?d . VALUES ( ?k ) { ( resource:Giuseppe_Ricagno ) ( resource:Stéphane_Léoni ) } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q38
SYSTEM
France, Italy
Q142 Q38
OR((Q3501928,P27,c(Q15617994)), (Q16561006,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3501928
relation P27
action find
entity Q16561006
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q3501928', 'P27', {'concept': 'Q15617994'}], ['Q16561006', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:P27 ?d . VALUES ( ?k ) { ( resource:Q16561006 ) ( resource:Q3501928 ) } } . ?d rdf:type ontology:Q15617994 }
France Italy
France Italy
action filter_type
action union
action find
entity Stéphane Léoni
relation country of citizenship
action find
entity Giuseppe Ricagno
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Stéphane Léoni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giuseppe Ricagno', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?k property:country_of_citizenship ?d . VALUES ( ?k ) { ( resource:Giuseppe_Ricagno ) ( resource:Stéphane_Léoni ) } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16220386
P495
Q838948
USER
Does The Hypnotized originate at those administrative territories ?
(Q16220386,P495,Q142) (Q16220386,P495,Q38)
action is_in
entity prev_answer
action find
entity Q16220386
relation P495
['Q16220386', 'P495', 'Q142'] ['Q16220386', 'P495', 'Q38']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q38 ) } . resource:Q16220386 property:P495 ?k }
The Hypnotized
action is_in
entity prev_answer
action find
entity The Hypnotized
relation country of origin
['The Hypnotized', 'country of origin', 'France'] ['The Hypnotized', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Italy ) } . resource:The_Hypnotized property:country_of_origin ?k }
[]
work of art
SYSTEM
NO
(Q16220386,P495,Q142) (Q16220386,P495,Q38)
action is_in
entity prev_answer
action find
entity Q16220386
relation P495
[ANSWER]
['Q16220386', 'P495', 'Q142'] ['Q16220386', 'P495', 'Q38']
ASK WHERE { VALUES ( ?k ) { ( resource:Q142 ) ( resource:Q38 ) } . resource:Q16220386 property:P495 ?k }
No
action is_in
entity prev_answer
action find
entity The Hypnotized
relation country of origin
['The Hypnotized', 'country of origin', 'France'] ['The Hypnotized', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?k ) { ( resource:France ) ( resource:Italy ) } . resource:The_Hypnotized property:country_of_origin ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q40
P20
Q502895
USER
Which people have Austria as the location of death ?
(c(Q502895),P20,Q40)
action filter_type
action find_reverse
entity Q40
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q40']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q40 . ?h rdf:type ontology:Q502895 }
Austria
action filter_type
action find_reverse
entity Austria
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austria']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Austria . ?h rdf:type ontology:common_name }
[]
common name
Q93373 Q155871 Q12875016
SYSTEM
Archduke Rudolf of Austria, Gustav Krupp von Bohlen und Halbach, Georgios A. Rallis
Q23899408 Q1799993 Q4932439 Q19838689 Q3176095 Q24718637 Q9156368 Q78801 Q79092 Q1583011 Q12359074 Q1599335 Q62708 Q6372114 Q503332 Q93373 Q90128 Q5275097 Q1639964 Q6067142 Q88717 Q155871 Q5338592 Q21544065 Q5650827 Q115321 Q6118620 Q12875016 Q6705138 Q1603947 Q84868 Q992353 Q12003456 Q20791917 Q5499504 Q1359866 Q1448048
(c(Q502895),P20,Q40)
action filter_type
action find_reverse
entity Q40
relation P20
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P20', 'Q40']
SELECT DISTINCT ?h WHERE { ?h property:P20 resource:Q40 . ?h rdf:type ontology:Q502895 }
Albert Herberstein Ladislaus Singer Bob Flegg Kosta Vangelov Jeanne Leuba Teresa Feoderovna Ries Anton Lipošćak Melchior Klesl Franz von Walsegg Hans Weibrecht Anatoli Kaigorodov Heinrich Wirri Neidhart von Reuental Karl Neumeister Giovanni Sallustio Peruzzi Archduke Rudolf of Austria Grete Freund Dieter Kesten Paul Ritter von Zach Paul Conrath Erich Heintel Gustav Krupp von Bohlen und Halbach Edith Kramer Christoph Coler Hans Weiss Heinrich Mertens Jacob Fick Georgios A. Rallis Jewgienij Tarusski Helmut Müller Viktor Pietschmann Walter Ebrecht Ferdinand von Scholz Jean-Alain Tétart Fredrik Oduya Ernst Rauscher Franz Leppich
Archduke Rudolf of Austria Gustav Krupp von Bohlen und Halbach Georgios A. Rallis
action filter_type
action find_reverse
entity Austria
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Austria']
SELECT DISTINCT ?h WHERE { ?h property:place_of_death resource:Austria . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P35
Q502895
USER
Who are the heads of state of Italy ?
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q38 property:P35 ?d }
Italy
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Italy property:head_of_state ?d }
[]
common name
Q1224 Q3956186 Q1242
SYSTEM
Carlo Azeglio Ciampi, Sergio Mattarella, Luigi Einaudi
Q1224 Q1245 Q3956186 Q1241 Q1240 Q1242 Q1238 Q153832 Q1228 Q1230 Q1233 Q1235 Q1220
(Q38,P35,c(Q502895))
action filter_type
action find
entity Q38
relation P35
type Q502895
[ANSWERS]
['Q38', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q502895 . resource:Q38 property:P35 ?d }
Carlo Azeglio Ciampi Enrico De Nicola Sergio Mattarella Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Alcide De Gasperi Oscar Luigi Scalfaro Francesco Cossiga Sandro Pertini Giovanni Leone Giorgio Napolitano
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
action filter_type
action find
entity Italy
relation head of state
type common name
['Italy', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:common_name . resource:Italy property:head_of_state ?d }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3956186
P1412
Q34770
USER
Which language can that person read ?
(Q3956186,P1412,c(Q34770))
action filter_type
action find
entity Q3956186
relation P1412
type Q34770
['Q3956186', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3956186 property:P1412 ?l }
Sergio Mattarella
action filter_type
action find
entity Sergio Mattarella
relation languages spoken, written or signed
type language
['Sergio Mattarella', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Sergio_Mattarella property:languages_spoken,_written_or_signed ?l }
[]
language
Clarification for simple ques.
Q1224
SYSTEM
Did you mean Carlo Azeglio Ciampi ?
Q1224 Q3956186 Q1242
(Q1224,P1412,c(Q34770)) (Q3956186,P1412,c(Q34770)) (Q1242,P1412,c(Q34770))
[ANSWER]
['Q1224', 'P1412', {'concept': 'Q34770'}] ['Q3956186', 'P1412', {'concept': 'Q34770'}] ['Q1242', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3956186 property:P1412 ?l }
Carlo Azeglio Ciampi Sergio Mattarella Luigi Einaudi
Did you mean Carlo Azeglio Ciampi ?
Carlo Azeglio Ciampi
['Carlo Azeglio Ciampi', 'languages spoken, written or signed', {'concept': 'language'}] ['Sergio Mattarella', 'languages spoken, written or signed', {'concept': 'language'}] ['Luigi Einaudi', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Sergio_Mattarella property:languages_spoken,_written_or_signed ?l }
[]
Simple Question (Coreferenced)
USER
No, I meant Sergio Mattarella. Could you tell me the answer for that?
(Q3956186,P1412,c(Q34770))
Q3956186
['Q3956186', 'P1412', {'concept': 'Q34770'}]
['Sergio Mattarella', 'languages spoken, written or signed', {'concept': 'language'}]
[]
Q652
SYSTEM
Italian
Q652
(Q3956186,P1412,c(Q34770))
action filter_type
action find
entity Q3956186
relation P1412
type Q34770
[ANSWER]
['Q3956186', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3956186 property:P1412 ?l }
Italian
Italian
action filter_type
action find
entity Sergio Mattarella
relation languages spoken, written or signed
type language
['Sergio Mattarella', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Sergio_Mattarella property:languages_spoken,_written_or_signed ?l }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q708539 Q16561006
P106
Q12737077
USER
Which occupations are the professions of Giuseppe Ricagno or Rodulfus Glaber ?
OR((Q16561006,P106,c(Q12737077)), (Q708539,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16561006
relation P106
action find
entity Q708539
relation P106
type Q12737077
{'OR': [['Q16561006', 'P106', {'concept': 'Q12737077'}], ['Q708539', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . { { resource:Q16561006 property:P106 ?i } UNION { resource:Q708539 property:P106 ?i } } }
Rodulfus Glaber Giuseppe Ricagno
action filter_type
action union
action find
entity Giuseppe Ricagno
relation occupation
action find
entity Rodulfus Glaber
relation occupation
type occupation
{'OR': [['Giuseppe Ricagno', 'occupation', {'concept': 'occupation'}], ['Rodulfus Glaber', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . { { resource:Giuseppe_Ricagno property:occupation ?i } UNION { resource:Rodulfus_Glaber property:occupation ?i } } }
[]
occupation
Q17166634 Q201788 Q33999 Q36180
SYSTEM
hagiographer, historian, actor, writer
Q17166634 Q201788 Q33999 Q36180
OR((Q16561006,P106,c(Q12737077)), (Q708539,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q16561006
relation P106
action find
entity Q708539
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q16561006', 'P106', {'concept': 'Q12737077'}], ['Q708539', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . { { resource:Q16561006 property:P106 ?i } UNION { resource:Q708539 property:P106 ?i } } }
hagiographer historian actor writer
hagiographer historian actor writer
action filter_type
action union
action find
entity Giuseppe Ricagno
relation occupation
action find
entity Rodulfus Glaber
relation occupation
type occupation
{'OR': [['Giuseppe Ricagno', 'occupation', {'concept': 'occupation'}], ['Rodulfus Glaber', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . { { resource:Giuseppe_Ricagno property:occupation ?i } UNION { resource:Rodulfus_Glaber property:occupation ?i } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q17166634
P425
Q223393
USER
Which literary genre has that one as thier associated field of occupation ?
(Q17166634,P425,c(Q223393))
action filter_type
action find
entity Q17166634
relation P425
type Q223393
['Q17166634', 'P425', {'concept': 'Q223393'}]
SELECT DISTINCT ?a WHERE { resource:Q17166634 property:P425 ?a . ?a rdf:type ontology:Q223393 }
hagiographer
action filter_type
action find
entity hagiographer
relation field of this occupation
type literary genre
['hagiographer', 'field of this occupation', {'concept': 'literary genre'}]
SELECT DISTINCT ?a WHERE { resource:hagiographer property:field_of_this_occupation ?a . ?a rdf:type ontology:literary_genre }
[]
literary genre
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q17166634 Q201788 Q33999 Q36180
(Q17166634,P425,c(Q223393)) (Q201788,P425,c(Q223393)) (Q33999,P425,c(Q223393)) (Q36180,P425,c(Q223393))
[ANSWER]
['Q17166634', 'P425', {'concept': 'Q223393'}] ['Q201788', 'P425', {'concept': 'Q223393'}] ['Q33999', 'P425', {'concept': 'Q223393'}] ['Q36180', 'P425', {'concept': 'Q223393'}]
SELECT DISTINCT ?a WHERE { resource:Q17166634 property:P425 ?a . ?a rdf:type ontology:Q223393 }
hagiographer historian actor writer
Did you mean historian ?
historian
['hagiographer', 'field of this occupation', {'concept': 'literary genre'}] ['historian', 'field of this occupation', {'concept': 'literary genre'}] ['actor', 'field of this occupation', {'concept': 'literary genre'}] ['writer', 'field of this occupation', {'concept': 'literary genre'}]
SELECT DISTINCT ?a WHERE { resource:hagiographer property:field_of_this_occupation ?a . ?a rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
USER
No, I meant hagiographer. Could you tell me the answer for that?
(Q17166634,P425,c(Q223393))
Q17166634
['Q17166634', 'P425', {'concept': 'Q223393'}]
['hagiographer', 'field of this occupation', {'concept': 'literary genre'}]
[]
Q208628
SYSTEM
hagiography
Q208628
(Q17166634,P425,c(Q223393))
action filter_type
action find
entity Q17166634
relation P425
type Q223393
[ANSWER]
['Q17166634', 'P425', {'concept': 'Q223393'}]
SELECT DISTINCT ?a WHERE { resource:Q17166634 property:P425 ?a . ?a rdf:type ontology:Q223393 }
hagiography
hagiography
action filter_type
action find
entity hagiographer
relation field of this occupation
type literary genre
['hagiographer', 'field of this occupation', {'concept': 'literary genre'}]
SELECT DISTINCT ?a WHERE { resource:hagiographer property:field_of_this_occupation ?a . ?a rdf:type ontology:literary_genre }
[]