Simple Question (Direct)
Simple Question
Q6860991
P1196
Q1931388
USER
What manner did Milton Barnes die ?
(Q6860991,P1196,c(Q1931388))
action filter_type
action find
entity Q6860991
relation P1196
type Q1931388
['Q6860991', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q6860991 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
Milton Barnes
action filter_type
action find
entity Milton Barnes
relation manner of death
type cause of death
['Milton Barnes', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Milton_Barnes property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q6860991,P1196,c(Q1931388))
action filter_type
action find
entity Q6860991
relation P1196
type Q1931388
Milton Barnes died of [ANSWER]
['Q6860991', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q6860991 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
natural causes
Milton Barnes died of natural causes
natural causes
action filter_type
action find
entity Milton Barnes
relation manner of death
type cause of death
['Milton Barnes', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Milton_Barnes property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6860991
P1066
Q502895
USER
Who taught Milton Barnes ?
(Q6860991,P1066,c(Q502895))
action filter_type
action find
entity Q6860991
relation P1066
type Q502895
['Q6860991', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q6860991 property:P1066 ?l . ?l rdf:type ontology:Q502895 }
Milton Barnes
action filter_type
action find
entity Milton Barnes
relation student of
type common name
['Milton Barnes', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Milton_Barnes property:student_of ?l . ?l rdf:type ontology:common_name }
[]
common name
Q158436 Q1497551 Q1386036
SYSTEM
Ernst Krenek, Samuel Dolin, John Weinzweig
Q895929 Q7925898 Q2388568 Q158436 Q1497551 Q1386036
(Q6860991,P1066,c(Q502895))
action filter_type
action find
entity Q6860991
relation P1066
type Q502895
In [ANSWERS] taught Milton Barnes
['Q6860991', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q6860991 property:P1066 ?l . ?l rdf:type ontology:Q502895 }
Boyd Neel Victor Feldbrill Walter Susskind Ernst Krenek Samuel Dolin John Weinzweig
In Ernst Krenek, Samuel Dolin and John Weinzweig taught Milton Barnes
Ernst Krenek Samuel Dolin John Weinzweig
action filter_type
action find
entity Milton Barnes
relation student of
type common name
['Milton Barnes', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Milton_Barnes property:student_of ?l . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1386036
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q1386036,P106,c(Q12737077))
action filter_type
action find
entity Q1386036
relation P106
type Q12737077
['Q1386036', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1386036 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
John Weinzweig
action filter_type
action find
entity John Weinzweig
relation occupation
type occupation
['John Weinzweig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Weinzweig property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1386036
SYSTEM
Did you mean John Weinzweig ?
Q158436 Q1497551 Q1386036
(Q158436,P106,c(Q12737077)) (Q1497551,P106,c(Q12737077)) (Q1386036,P106,c(Q12737077))
[ANSWER]
['Q158436', 'P106', {'concept': 'Q12737077'}] ['Q1497551', 'P106', {'concept': 'Q12737077'}] ['Q1386036', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1386036 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Ernst Krenek Samuel Dolin John Weinzweig
Did you mean John Weinzweig ?
John Weinzweig
['Ernst Krenek', 'occupation', {'concept': 'occupation'}] ['Samuel Dolin', 'occupation', {'concept': 'occupation'}] ['John Weinzweig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Weinzweig property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1386036,P106,c(Q12737077))
['Q1386036', 'P106', {'concept': 'Q12737077'}]
['John Weinzweig', 'occupation', {'concept': 'occupation'}]
[]
Q158852 Q16145150 Q36834
SYSTEM
conductor, music educator, composer
Q158852 Q16145150 Q36834 Q14915627
(Q1386036,P106,c(Q12737077))
action filter_type
action find
entity Q1386036
relation P106
type Q12737077
The professions of that person are conductor [ANSWERS]
['Q1386036', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q1386036 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
conductor music educator composer musicologist
The professions of that person are conductor conductor, music educator and composer
conductor music educator composer
action filter_type
action find
entity John Weinzweig
relation occupation
type occupation
['John Weinzweig', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Weinzweig property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1427840
P106
Q502895
USER
Do Robert Talbot have a job as those occupations ?
(Q1427840,P106,Q158852) (Q1427840,P106,Q16145150) (Q1427840,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q1427840
relation P106
['Q1427840', 'P106', 'Q158852'] ['Q1427840', 'P106', 'Q16145150'] ['Q1427840', 'P106', 'Q36834']
ASK WHERE { VALUES ( ?c ) { ( resource:Q158852 ) ( resource:Q16145150 ) ( resource:Q36834 ) } . resource:Q1427840 property:P106 ?c }
Robert Talbot
action is_in
entity prev_answer
action find
entity Robert Talbot
relation occupation
['Robert Talbot', 'occupation', 'conductor'] ['Robert Talbot', 'occupation', 'music educator'] ['Robert Talbot', 'occupation', 'composer']
ASK WHERE { VALUES ( ?c ) { ( resource:conductor ) ( resource:music_educator ) ( resource:composer ) } . resource:Robert_Talbot property:occupation ?c }
[]
common name
SYSTEM
YES
(Q1427840,P106,Q158852) (Q1427840,P106,Q16145150) (Q1427840,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q1427840
relation P106
[ANSWER]
['Q1427840', 'P106', 'Q158852'] ['Q1427840', 'P106', 'Q16145150'] ['Q1427840', 'P106', 'Q36834']
ASK WHERE { VALUES ( ?c ) { ( resource:Q158852 ) ( resource:Q16145150 ) ( resource:Q36834 ) } . resource:Q1427840 property:P106 ?c }
Yes
action is_in
entity prev_answer
action find
entity Robert Talbot
relation occupation
['Robert Talbot', 'occupation', 'conductor'] ['Robert Talbot', 'occupation', 'music educator'] ['Robert Talbot', 'occupation', 'composer']
ASK WHERE { VALUES ( ?c ) { ( resource:conductor ) ( resource:music_educator ) ( resource:composer ) } . resource:Robert_Talbot property:occupation ?c }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1966907 Q1386036
P27
Q1048835
USER
Which political territories are John Weinzweig or Yolane Kukla a civilian of ?
OR((Q1386036,P27,c(Q1048835)), (Q1966907,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1386036
relation P27
action find
entity Q1966907
relation P27
type Q1048835
{'OR': [['Q1386036', 'P27', {'concept': 'Q1048835'}], ['Q1966907', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Q1966907 ) ( resource:Q1386036 ) } . ?o property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Yolane Kukla John Weinzweig
action filter_type
action union
action find
entity John Weinzweig
relation country of citizenship
action find
entity Yolane Kukla
relation country of citizenship
type political territorial entity
{'OR': [['John Weinzweig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Yolane Kukla', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Yolane_Kukla ) ( resource:John_Weinzweig ) } . ?o property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q408
SYSTEM
Canada, Australia
Q16 Q408
OR((Q1386036,P27,c(Q1048835)), (Q1966907,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1386036
relation P27
action find
entity Q1966907
relation P27
type Q1048835
[ANSWERS] are John Weinzweig or Yolane Kukla a civilian of
{'OR': [['Q1386036', 'P27', {'concept': 'Q1048835'}], ['Q1966907', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Q1966907 ) ( resource:Q1386036 ) } . ?o property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Canada Australia
Canada and Australia are John Weinzweig or Yolane Kukla a civilian of
Canada Australia
action filter_type
action union
action find
entity John Weinzweig
relation country of citizenship
action find
entity Yolane Kukla
relation country of citizenship
type political territorial entity
{'OR': [['John Weinzweig', 'country of citizenship', {'concept': 'political territorial entity'}], ['Yolane Kukla', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?o ) { ( resource:Yolane_Kukla ) ( resource:John_Weinzweig ) } . ?o property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q159
P530
Q15617994
USER
Are Russia known to have diplomatic connections with those political territories ?
(Q159,P530,Q16) (Q159,P530,Q408)
action is_in
entity prev_answer
action find
entity Q159
relation P530
['Q159', 'P530', 'Q16'] ['Q159', 'P530', 'Q408']
ASK WHERE { VALUES ( ?x ) { ( resource:Q16 ) ( resource:Q408 ) } . resource:Q159 property:P530 ?x }
Russia
action is_in
entity prev_answer
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Canada'] ['Russia', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?x ) { ( resource:Canada ) ( resource:Australia ) } . resource:Russia property:diplomatic_relation ?x }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q159,P530,Q16) (Q159,P530,Q408)
action is_in
entity prev_answer
action find
entity Q159
relation P530
[ANSWER]
['Q159', 'P530', 'Q16'] ['Q159', 'P530', 'Q408']
ASK WHERE { VALUES ( ?x ) { ( resource:Q16 ) ( resource:Q408 ) } . resource:Q159 property:P530 ?x }
Yes
action is_in
entity prev_answer
action find
entity Russia
relation diplomatic relation
['Russia', 'diplomatic relation', 'Canada'] ['Russia', 'diplomatic relation', 'Australia']
ASK WHERE { VALUES ( ?x ) { ( resource:Canada ) ( resource:Australia ) } . resource:Russia property:diplomatic_relation ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q51811
P530
Q15617994
USER
Does Adelfia have diplomatic relationships with Canada ?
(Q16,P530,Q51811)
action is_in
entity Q51811
action find
entity Q16
relation P530
['Q16', 'P530', 'Q51811']
ASK WHERE { resource:Q16 property:P530 resource:Q51811 }
Canada Adelfia
action is_in
entity Adelfia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Adelfia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Adelfia }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P530,Q51811)
action is_in
entity Q51811
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q51811']
ASK WHERE { resource:Q16 property:P530 resource:Q51811 }
No
action is_in
entity Adelfia
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'Adelfia']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Adelfia }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12711 Q1497551
P47 P27
Q1048835
USER
Which political territories are Samuel Dolin an inhabitant of or are bordered by Vall de Boí ?
OR((Q1497551,P27,c(Q1048835)), (Q12711,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1497551
relation P27
action find
entity Q12711
relation P47
type Q1048835
{'OR': [['Q1497551', 'P27', {'concept': 'Q1048835'}], ['Q12711', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1497551 property:P27 ?m } UNION { resource:Q12711 property:P47 ?m } } . ?m rdf:type ontology:Q1048835 }
Vall de Boí Samuel Dolin
action filter_type
action union
action find
entity Samuel Dolin
relation country of citizenship
action find
entity Vall de Boí
relation shares border with
type political territorial entity
{'OR': [['Samuel Dolin', 'country of citizenship', {'concept': 'political territorial entity'}], ['Vall de Boí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Samuel_Dolin property:country_of_citizenship ?m } UNION { resource:Vall_de_Boí property:shares_border_with ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q12715 Q985682 Q12708 Q16 Q18268 Q18271 Q12659
SYSTEM
Vilaller, Naut Aran, El Pont de Suert, Canada, Sarroca de Bellera, La Torre de Cabdella, Espot
Q12715 Q985682 Q12708 Q16 Q18268 Q18271 Q12659
OR((Q1497551,P27,c(Q1048835)), (Q12711,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q1497551
relation P27
action find
entity Q12711
relation P47
type Q1048835
[ANSWERS] are Samuel Dolin an inhabitant of or are bordered by Vall de Boí
{'OR': [['Q1497551', 'P27', {'concept': 'Q1048835'}], ['Q12711', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q1497551 property:P27 ?m } UNION { resource:Q12711 property:P47 ?m } } . ?m rdf:type ontology:Q1048835 }
Vilaller Naut Aran El Pont de Suert Canada Sarroca de Bellera La Torre de Cabdella Espot
Vilaller, Naut Aran, El Pont de Suert, Canada, Sarroca de Bellera, La Torre de Cabdella and Espot are Samuel Dolin an inhabitant of or are bordered by Vall de Boí
Vilaller Naut Aran El Pont de Suert Canada Sarroca de Bellera La Torre de Cabdella Espot
action filter_type
action union
action find
entity Samuel Dolin
relation country of citizenship
action find
entity Vall de Boí
relation shares border with
type political territorial entity
{'OR': [['Samuel Dolin', 'country of citizenship', {'concept': 'political territorial entity'}], ['Vall de Boí', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Samuel_Dolin property:country_of_citizenship ?m } UNION { resource:Vall_de_Boí property:shares_border_with ?m } } . ?m rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5086716 Q16
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Canada and do Cuca belong to ?
AND((Q16,P530,c(Q15617994)), (Q5086716,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q5086716
relation P17
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q5086716', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q16 property:P530 ?k . resource:Q5086716 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Cuca Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Cuca
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cuca', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Canada property:diplomatic_relation ?k . resource:Cuca property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218
SYSTEM
Romania
Q218
AND((Q16,P530,c(Q15617994)), (Q5086716,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q5086716
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Canada and do Cuca belong to
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q5086716', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q16 property:P530 ?k . resource:Q5086716 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Romania
Romania have a diplomatic relationship with Canada and do Cuca belong to
Romania
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Cuca
relation country
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cuca', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:Canada property:diplomatic_relation ?k . resource:Cuca property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]