Simple Question (Direct)
Simple Question
Q4521613
P69
Q19335303
USER
Which German business organization is Hans Schwalm an alumni of ?
(Q4521613,P69,c(Q19335303))
action filter_type
action find
entity Q4521613
relation P69
type Q19335303
['Q4521613', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?e WHERE { resource:Q4521613 property:P69 ?e . ?e rdf:type ontology:Q19335303 }
Hans Schwalm
action filter_type
action find
entity Hans Schwalm
relation educated at
type type of business entity in Germany
['Hans Schwalm', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?e WHERE { resource:Hans_Schwalm property:educated_at ?e . ?e rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q4521613,P69,c(Q19335303))
action filter_type
action find
entity Q4521613
relation P69
type Q19335303
[ANSWER] is Hans Schwalm an alumni of
['Q4521613', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?e WHERE { resource:Q4521613 property:P69 ?e . ?e rdf:type ontology:Q19335303 }
Humboldt University of Berlin
Humboldt University of Berlin is Hans Schwalm an alumni of
Humboldt University of Berlin
action filter_type
action find
entity Hans Schwalm
relation educated at
type type of business entity in Germany
['Hans Schwalm', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?e WHERE { resource:Hans_Schwalm property:educated_at ?e . ?e rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4521613
P19
Q486972
USER
Which human settlement is the birthplace of Hans Schwalm ?
(Q4521613,P19,c(Q486972))
action filter_type
action find
entity Q4521613
relation P19
type Q486972
['Q4521613', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q4521613 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Hans Schwalm
action filter_type
action find
entity Hans Schwalm
relation place of birth
type human settlement
['Hans Schwalm', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Schwalm property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
human settlement
Q24879
SYSTEM
Bremen
Q24879
(Q4521613,P19,c(Q486972))
action filter_type
action find
entity Q4521613
relation P19
type Q486972
[ANSWER] is the birthplace of Hans Schwalm
['Q4521613', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?o WHERE { resource:Q4521613 property:P19 ?o . ?o rdf:type ontology:Q486972 }
Bremen
Bremen is the birthplace of Hans Schwalm
Bremen
action filter_type
action find
entity Hans Schwalm
relation place of birth
type human settlement
['Hans Schwalm', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Schwalm property:place_of_birth ?o . ?o rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152087
P937
Q502895
USER
Which people have Humboldt University of Berlin as work location ?
(c(Q502895),P937,Q152087)
action filter_type
action find_reverse
entity Q152087
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q152087']
SELECT DISTINCT ?k WHERE { ?k property:P937 resource:Q152087 . ?k rdf:type ontology:Q502895 }
Humboldt University of Berlin
action filter_type
action find_reverse
entity Humboldt University of Berlin
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Humboldt University of Berlin']
SELECT DISTINCT ?k WHERE { ?k property:work_location resource:Humboldt_University_of_Berlin . ?k rdf:type ontology:common_name }
[]
common name
Q15432808 Q1630077
SYSTEM
Erich Thilo, Horst Wessel
Q15432808 Q1630077
(c(Q502895),P937,Q152087)
action filter_type
action find_reverse
entity Q152087
relation P937
type Q502895
[ANSWERS] have Humboldt University of Berlin as work location
[{'concept': 'Q502895'}, 'P937', 'Q152087']
SELECT DISTINCT ?k WHERE { ?k property:P937 resource:Q152087 . ?k rdf:type ontology:Q502895 }
Erich Thilo Horst Wessel
Erich Thilo and Horst Wessel have Humboldt University of Berlin as work location
Erich Thilo Horst Wessel
action filter_type
action find_reverse
entity Humboldt University of Berlin
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Humboldt University of Berlin']
SELECT DISTINCT ?k WHERE { ?k property:work_location resource:Humboldt_University_of_Berlin . ?k rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1630077
P108
Q19335303
USER
Who is the employer of that person ?
(Q1630077,P108,c(Q19335303))
action filter_type
action find
entity Q1630077
relation P108
type Q19335303
['Q1630077', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?l WHERE { resource:Q1630077 property:P108 ?l . ?l rdf:type ontology:Q19335303 }
Horst Wessel
action filter_type
action find
entity Horst Wessel
relation employer
type type of business entity in Germany
['Horst Wessel', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Wessel property:employer ?l . ?l rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Clarification for simple ques.
Q1630077
SYSTEM
Did you mean Horst Wessel ?
Q15432808 Q1630077
(Q15432808,P108,c(Q19335303)) (Q1630077,P108,c(Q19335303))
[ANSWER]
['Q15432808', 'P108', {'concept': 'Q19335303'}] ['Q1630077', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?l WHERE { resource:Q1630077 property:P108 ?l . ?l rdf:type ontology:Q19335303 }
Erich Thilo Horst Wessel
Did you mean Horst Wessel ?
Horst Wessel
['Erich Thilo', 'employer', {'concept': 'type of business entity in Germany'}] ['Horst Wessel', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Wessel property:employer ?l . ?l rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1630077,P108,c(Q19335303))
['Q1630077', 'P108', {'concept': 'Q19335303'}]
['Horst Wessel', 'employer', {'concept': 'type of business entity in Germany'}]
[]
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q1630077,P108,c(Q19335303))
action filter_type
action find
entity Q1630077
relation P108
type Q19335303
The employer of that person is the [ANSWER]
['Q1630077', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?l WHERE { resource:Q1630077 property:P108 ?l . ?l rdf:type ontology:Q19335303 }
Humboldt University of Berlin
The employer of that person is the Humboldt University of Berlin
Humboldt University of Berlin
action filter_type
action find
entity Horst Wessel
relation employer
type type of business entity in Germany
['Horst Wessel', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?l WHERE { resource:Horst_Wessel property:employer ?l . ?l rdf:type ontology:type_of_business_entity_in_Germany }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4057883 Q152087
P138
Q502895
USER
Which people are the origin of Humboldt University of Berlin or Russian frigate Admiral Kasatonov ?
OR((Q152087,P138,c(Q502895)), (Q4057883,P138,c(Q502895)))
action filter_type
action union
action find
entity Q152087
relation P138
action find
entity Q4057883
relation P138
type Q502895
{'OR': [['Q152087', 'P138', {'concept': 'Q502895'}], ['Q4057883', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q152087 property:P138 ?j } UNION { resource:Q4057883 property:P138 ?j } } . ?j rdf:type ontology:Q502895 }
Russian frigate Admiral Kasatonov Humboldt University of Berlin
action filter_type
action union
action find
entity Humboldt University of Berlin
relation named after
action find
entity Russian frigate Admiral Kasatonov
relation named after
type common name
{'OR': [['Humboldt University of Berlin', 'named after', {'concept': 'common name'}], ['Russian frigate Admiral Kasatonov', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Humboldt_University_of_Berlin property:named_after ?j } UNION { resource:Russian_frigate_Admiral_Kasatonov property:named_after ?j } } . ?j rdf:type ontology:common_name }
[]
common name
Q982267 Q6694 Q77888
SYSTEM
Vladimir Kasatonov, Alexander von Humboldt, Wilhelm von Humboldt
Q982267 Q6694 Q77888
OR((Q152087,P138,c(Q502895)), (Q4057883,P138,c(Q502895)))
action filter_type
action union
action find
entity Q152087
relation P138
action find
entity Q4057883
relation P138
type Q502895
[ANSWERS] are the origin of Humboldt University of Berlin or Russian frigate Admiral Kasatonov
{'OR': [['Q152087', 'P138', {'concept': 'Q502895'}], ['Q4057883', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q152087 property:P138 ?j } UNION { resource:Q4057883 property:P138 ?j } } . ?j rdf:type ontology:Q502895 }
Vladimir Kasatonov Alexander von Humboldt Wilhelm von Humboldt
Vladimir Kasatonov, Alexander von Humboldt and Wilhelm von Humboldt are the origin of Humboldt University of Berlin or Russian frigate Admiral Kasatonov
Vladimir Kasatonov Alexander von Humboldt Wilhelm von Humboldt
action filter_type
action union
action find
entity Humboldt University of Berlin
relation named after
action find
entity Russian frigate Admiral Kasatonov
relation named after
type common name
{'OR': [['Humboldt University of Berlin', 'named after', {'concept': 'common name'}], ['Russian frigate Admiral Kasatonov', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Humboldt_University_of_Berlin property:named_after ?j } UNION { resource:Russian_frigate_Admiral_Kasatonov property:named_after ?j } } . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15432808
P101
Q2465832
USER
Which branch of science is the field of work of Erich Thilo ?
(Q15432808,P101,c(Q2465832))
action filter_type
action find
entity Q15432808
relation P101
type Q2465832
['Q15432808', 'P101', {'concept': 'Q2465832'}]
SELECT DISTINCT ?f WHERE { resource:Q15432808 property:P101 ?f . ?f rdf:type ontology:Q2465832 }
Erich Thilo
action filter_type
action find
entity Erich Thilo
relation field of work
type branch of science
['Erich Thilo', 'field of work', {'concept': 'branch of science'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Thilo property:field_of_work ?f . ?f rdf:type ontology:branch_of_science }
[]
branch of science
Q11165
SYSTEM
inorganic chemistry
Q11165
(Q15432808,P101,c(Q2465832))
action filter_type
action find
entity Q15432808
relation P101
type Q2465832
[ANSWER] is the field of work of Erich Thilo
['Q15432808', 'P101', {'concept': 'Q2465832'}]
SELECT DISTINCT ?f WHERE { resource:Q15432808 property:P101 ?f . ?f rdf:type ontology:Q2465832 }
inorganic chemistry
Inorganic chemistry is the field of work of Erich Thilo
inorganic chemistry
action filter_type
action find
entity Erich Thilo
relation field of work
type branch of science
['Erich Thilo', 'field of work', {'concept': 'branch of science'}]
SELECT DISTINCT ?f WHERE { resource:Erich_Thilo property:field_of_work ?f . ?f rdf:type ontology:branch_of_science }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22112718
Q2465832
USER
And what about Jean-Marie Demange?
(Q22112718,P101,c(Q2465832))
action filter_type
action find
entity Q22112718
relation P101
type Q2465832
['Q22112718', 'P101', {'concept': 'Q2465832'}]
SELECT DISTINCT ?w WHERE { resource:Q22112718 property:P101 ?w . ?w rdf:type ontology:Q2465832 }
Jean-Marie Demange
action filter_type
action find
entity Jean-Marie Demange
relation field of work
type branch of science
['Jean-Marie Demange', 'field of work', {'concept': 'branch of science'}]
SELECT DISTINCT ?w WHERE { resource:Jean-Marie_Demange property:field_of_work ?w . ?w rdf:type ontology:branch_of_science }
[]
branch of science
Q3331570
SYSTEM
myriapodology
Q3331570
(Q22112718,P101,c(Q2465832))
action filter_type
action find
entity Q22112718
relation P101
type Q2465832
[ANSWER]
['Q22112718', 'P101', {'concept': 'Q2465832'}]
SELECT DISTINCT ?w WHERE { resource:Q22112718 property:P101 ?w . ?w rdf:type ontology:Q2465832 }
myriapodology
myriapodology
action filter_type
action find
entity Jean-Marie Demange
relation field of work
type branch of science
['Jean-Marie Demange', 'field of work', {'concept': 'branch of science'}]
SELECT DISTINCT ?w WHERE { resource:Jean-Marie_Demange property:field_of_work ?w . ?w rdf:type ontology:branch_of_science }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22112718
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q3331570,P106,c(Q12737077))
action filter_type
action find
entity Q22112718
relation P106
type Q12737077
['Q3331570', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q22112718 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Jean-Marie Demange
action filter_type
action find
entity Jean-Marie Demange
relation occupation
type occupation
['myriapodology', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jean-Marie_Demange property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q350979
SYSTEM
zoologist
Q350979
(Q3331570,P106,c(Q12737077))
action filter_type
action find
entity Q22112718
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q3331570', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q22112718 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
zoologist
Zoologist is the profession of that person
zoologist
action filter_type
action find
entity Jean-Marie Demange
relation occupation
type occupation
['myriapodology', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Jean-Marie_Demange property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22112718
P21
Q290
USER
Which sex does that person have ?
(Q350979,P21,c(Q290))
action filter_type
action find
entity Q22112718
relation P21
type Q290
['Q350979', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q22112718 property:P21 ?l . ?l rdf:type ontology:Q290 }
Jean-Marie Demange
action filter_type
action find
entity Jean-Marie Demange
relation gender
type sex
['zoologist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jean-Marie_Demange property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q350979,P21,c(Q290))
action filter_type
action find
entity Q22112718
relation P21
type Q290
That person has a [ANSWER]
['Q350979', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q22112718 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Jean-Marie Demange
relation gender
type sex
['zoologist', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Jean-Marie_Demange property:gender ?l . ?l rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q400428 Q1630077
P27 P17
Q1048835
USER
Which political territories do Horst Wessel belong to and are Ahlefeldt located in ?
AND((Q1630077,P27,c(Q1048835)), (Q400428,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1630077
relation P27
action find
entity Q400428
relation P17
type Q1048835
{'AND': [['Q1630077', 'P27', {'concept': 'Q1048835'}], ['Q400428', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { resource:Q400428 property:P17 ?y . resource:Q1630077 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Ahlefeldt Horst Wessel
action filter_type
action intersection
action find
entity Horst Wessel
relation country of citizenship
action find
entity Ahlefeldt
relation country
type political territorial entity
{'AND': [['Horst Wessel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ahlefeldt', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Ahlefeldt property:country ?y . resource:Horst_Wessel property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1630077,P27,c(Q1048835)), (Q400428,P17,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1630077
relation P27
action find
entity Q400428
relation P17
type Q1048835
Horst Wessel belong to [ANSWER]
{'AND': [['Q1630077', 'P27', {'concept': 'Q1048835'}], ['Q400428', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { resource:Q400428 property:P17 ?y . resource:Q1630077 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Horst Wessel belong to Germany
Germany
action filter_type
action intersection
action find
entity Horst Wessel
relation country of citizenship
action find
entity Ahlefeldt
relation country
type political territorial entity
{'AND': [['Horst Wessel', 'country of citizenship', {'concept': 'political territorial entity'}], ['Ahlefeldt', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { resource:Ahlefeldt property:country ?y . resource:Horst_Wessel property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]