Simple Question (Direct)
Simple Question
Q17436581
P20
Q515
USER
Where did Hans-Hermann Sprado die ?
(Q17436581,P20,c(Q515))
action filter_type
action find
entity Q17436581
relation P20
type Q515
['Q17436581', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { resource:Q17436581 property:P20 ?c . ?c rdf:type ontology:Q515 }
Hans-Hermann Sprado
action filter_type
action find
entity Hans-Hermann Sprado
relation place of death
type city
['Hans-Hermann Sprado', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { resource:Hans-Hermann_Sprado property:place_of_death ?c . ?c rdf:type ontology:city }
[]
city
Q1209
SYSTEM
Free Hanseatic City of Bremen
Q1209
(Q17436581,P20,c(Q515))
action filter_type
action find
entity Q17436581
relation P20
type Q515
Hans-Hermann Sprado died in [ANSWER]
['Q17436581', 'P20', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { resource:Q17436581 property:P20 ?c . ?c rdf:type ontology:Q515 }
Free Hanseatic City of Bremen
Hans-Hermann Sprado died in Free Hanseatic City of Bremen
Free Hanseatic City of Bremen
action filter_type
action find
entity Hans-Hermann Sprado
relation place of death
type city
['Hans-Hermann Sprado', 'place of death', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { resource:Hans-Hermann_Sprado property:place_of_death ?c . ?c rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17436581
P19
Q15617994
USER
Which administrative territory is the birthplace of Hans-Hermann Sprado ?
(Q17436581,P19,c(Q15617994))
action filter_type
action find
entity Q17436581
relation P19
type Q15617994
['Q17436581', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q17436581 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Hans-Hermann Sprado
action filter_type
action find
entity Hans-Hermann Sprado
relation place of birth
type designation for an administrative territorial entity
['Hans-Hermann Sprado', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hans-Hermann_Sprado property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q501865
SYSTEM
Bassum
Q501865
(Q17436581,P19,c(Q15617994))
action filter_type
action find
entity Q17436581
relation P19
type Q15617994
[ANSWER] is the birthplace of Hans-Hermann Sprado
['Q17436581', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q17436581 property:P19 ?n . ?n rdf:type ontology:Q15617994 }
Bassum
Bassum is the birthplace of Hans-Hermann Sprado
Bassum
action filter_type
action find
entity Hans-Hermann Sprado
relation place of birth
type designation for an administrative territorial entity
['Hans-Hermann Sprado', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Hans-Hermann_Sprado property:place_of_birth ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q501865
P937
Q502895
USER
Who have that administrative territory as their work location ?
(c(Q502895),P937,Q501865)
action filter_type
action find_reverse
entity Q501865
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q501865']
SELECT DISTINCT ?k WHERE { ?k property:P937 resource:Q501865 . ?k rdf:type ontology:Q502895 }
Bassum
action filter_type
action find_reverse
entity Bassum
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Bassum']
SELECT DISTINCT ?k WHERE { ?k property:work_location resource:Bassum . ?k rdf:type ontology:common_name }
[]
common name
Q1584474 Q1437398
SYSTEM
Harald Focke, Ulf Kaack
Q1584474 Q1437398
(c(Q502895),P937,Q501865)
action filter_type
action find_reverse
entity Q501865
relation P937
type Q502895
[ANSWERS] have that administrative territory as their work location
[{'concept': 'Q502895'}, 'P937', 'Q501865']
SELECT DISTINCT ?k WHERE { ?k property:P937 resource:Q501865 . ?k rdf:type ontology:Q502895 }
Harald Focke Ulf Kaack
Harald Focke and Ulf Kaack have that administrative territory as their work location
Harald Focke Ulf Kaack
action filter_type
action find_reverse
entity Bassum
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Bassum']
SELECT DISTINCT ?k WHERE { ?k property:work_location resource:Bassum . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24733933 Q17436581
P27
Q1048835
USER
Which political territories are the countries of citizenship of Hans-Hermann Sprado or Joshua Gayral ?
OR((Q17436581,P27,c(Q1048835)), (Q24733933,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q17436581
relation P27
action find
entity Q24733933
relation P27
type Q1048835
{'OR': [['Q17436581', 'P27', {'concept': 'Q1048835'}], ['Q24733933', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { ?k property:P27 ?w . VALUES ( ?k ) { ( resource:Q17436581 ) ( resource:Q24733933 ) } } . ?w rdf:type ontology:Q1048835 }
Joshua Gayral Hans-Hermann Sprado
action filter_type
action union
action find
entity Hans-Hermann Sprado
relation country of citizenship
action find
entity Joshua Gayral
relation country of citizenship
type political territorial entity
{'OR': [['Hans-Hermann Sprado', 'country of citizenship', {'concept': 'political territorial entity'}], ['Joshua Gayral', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?k property:country_of_citizenship ?w . VALUES ( ?k ) { ( resource:Hans-Hermann_Sprado ) ( resource:Joshua_Gayral ) } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q781 Q183
SYSTEM
Antigua and Barbuda, Germany
Q781 Q183
OR((Q17436581,P27,c(Q1048835)), (Q24733933,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q17436581
relation P27
action find
entity Q24733933
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Hans-Hermann Sprado or Joshua Gayral
{'OR': [['Q17436581', 'P27', {'concept': 'Q1048835'}], ['Q24733933', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { ?k property:P27 ?w . VALUES ( ?k ) { ( resource:Q17436581 ) ( resource:Q24733933 ) } } . ?w rdf:type ontology:Q1048835 }
Antigua and Barbuda Germany
Antigua and Barbuda and Germany are the countries of citizenship of Hans-Hermann Sprado or Joshua Gayral
Antigua and Barbuda Germany
action filter_type
action union
action find
entity Hans-Hermann Sprado
relation country of citizenship
action find
entity Joshua Gayral
relation country of citizenship
type political territorial entity
{'OR': [['Hans-Hermann Sprado', 'country of citizenship', {'concept': 'political territorial entity'}], ['Joshua Gayral', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { ?k property:country_of_citizenship ?w . VALUES ( ?k ) { ( resource:Hans-Hermann_Sprado ) ( resource:Joshua_Gayral ) } } . ?w rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q781 Q183
P85
Q7725634
USER
What are the national anthems of Antigua and Barbuda and Germany ?
(Q781,P85,c(Q7725634)) (Q183,P85,c(Q7725634))
action union
action filter_type
action find
entity Q781
relation P85
type Q7725634
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q781', 'P85', {'concept': 'Q7725634'}] ['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?d WHERE { ?f property:P85 ?d . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q781 ) } }
Antigua and Barbuda Germany
action union
action filter_type
action find
entity Antigua and Barbuda
relation anthem
type literary work
action filter_type
action find
entity Germany
relation anthem
type literary work
['Antigua and Barbuda', 'anthem', {'concept': 'literary work'}] ['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?d WHERE { ?f property:anthem ?d . VALUES ( ?f ) { ( resource:Germany ) ( resource:Antigua_and_Barbuda ) } }
[]
literary work
Q322631 Q40807 Q44042
SYSTEM
Fair Antigua, We Salute Thee, God Save the Queen, Das Lied der Deutschen
Q322631 Q40807 Q44042
(Q781,P85,c(Q7725634)) (Q183,P85,c(Q7725634))
action union
action filter_type
action find
entity Q781
relation P85
type Q7725634
action filter_type
action find
entity Q183
relation P85
type Q7725634
The national anthems of Antigua and Barbuda and Germany are [ANSWERS]
['Q781', 'P85', {'concept': 'Q7725634'}] ['Q183', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?d WHERE { ?f property:P85 ?d . VALUES ( ?f ) { ( resource:Q183 ) ( resource:Q781 ) } }
Fair Antigua, We Salute Thee God Save the Queen Das Lied der Deutschen
The national anthems of Antigua and Barbuda and Germany are Fair Antigua, We Salute Thee, God Save the Queen and Das Lied der Deutschen
Fair Antigua, We Salute Thee God Save the Queen Das Lied der Deutschen
action union
action filter_type
action find
entity Antigua and Barbuda
relation anthem
type literary work
action filter_type
action find
entity Germany
relation anthem
type literary work
['Antigua and Barbuda', 'anthem', {'concept': 'literary work'}] ['Germany', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?d WHERE { ?f property:anthem ?d . VALUES ( ?f ) { ( resource:Germany ) ( resource:Antigua_and_Barbuda ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q322631 Q40807 Q44042
P85
Q1048835
USER
Which political territories have those literary works as their national anthem ?
(c(Q1048835),P85,Q322631) (c(Q1048835),P85,Q40807) (c(Q1048835),P85,Q44042)
action filter_type
action find_reverse
entity prev_answer
relation P85
type Q1048835
[{'concept': 'Q1048835'}, 'P85', 'Q322631'] [{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q1048835'}, 'P85', 'Q44042']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . ?g property:P85 ?v . VALUES ( ?v ) { ( resource:Q322631 ) ( resource:Q40807 ) ( resource:Q44042 ) } }
Fair Antigua, We Salute Thee God Save the Queen Das Lied der Deutschen
action filter_type
action find_reverse
entity prev_answer
relation anthem
type political territorial entity
[{'concept': 'political territorial entity'}, 'anthem', 'Fair Antigua, We Salute Thee'] [{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'political territorial entity'}, 'anthem', 'Das Lied der Deutschen']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . ?g property:anthem ?v . VALUES ( ?v ) { ( resource:Fair_Antigua,_We_Salute_Thee ) ( resource:God_Save_the_Queen ) ( resource:Das_Lied_der_Deutschen ) } }
[]
political territorial entity
Q183 Q408 Q408
SYSTEM
Australia for 2nd, 3rd, Germany for 1st
Q781 Q1054923 Q766 Q778 Q192184 Q129286 Q408 Q408 Q25228 Q23635 Q43448 Q13353 Q18221 Q5785 Q2594990 Q25305 Q769 Q165783 Q9648 Q35086 Q3405693 Q781 Q785 Q183
(c(Q1048835),P85,Q322631) (c(Q1048835),P85,Q40807) (c(Q1048835),P85,Q44042)
action filter_type
action find_reverse
entity prev_answer
relation P85
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P85', 'Q322631'] [{'concept': 'Q1048835'}, 'P85', 'Q40807'] [{'concept': 'Q1048835'}, 'P85', 'Q44042']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . ?g property:P85 ?v . VALUES ( ?v ) { ( resource:Q322631 ) ( resource:Q40807 ) ( resource:Q44042 ) } }
Antigua and Barbuda British Hong Kong Jamaica The Bahamas Saint Helena, Ascension and Tristan da Cunha British Raj Australia Australia Anguilla Bermuda British Indian Ocean Territory Montserrat Turks and Caicos Islands Cayman Islands Dominion of New Zealand British Virgin Islands Grenada British Antarctic Territory Falkland Islands South Georgia and the South Sandwich Islands Sark Antigua and Barbuda Jersey Germany
Germany, Australia and Australia have those literary works as their national anthem
Germany Australia Australia
action filter_type
action find_reverse
entity prev_answer
relation anthem
type political territorial entity
[{'concept': 'political territorial entity'}, 'anthem', 'Fair Antigua, We Salute Thee'] [{'concept': 'political territorial entity'}, 'anthem', 'God Save the Queen'] [{'concept': 'political territorial entity'}, 'anthem', 'Das Lied der Deutschen']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . ?g property:anthem ?v . VALUES ( ?v ) { ( resource:Fair_Antigua,_We_Salute_Thee ) ( resource:God_Save_the_Queen ) ( resource:Das_Lied_der_Deutschen ) } }
[]