Simple Question (Direct)
Simple Question
Q1557608
P463
Q19335303
USER
Which German business organization had Werner Bickenbach as its member ?
(Q1557608,P463,c(Q19335303))
action filter_type
action find
entity Q1557608
relation P463
type Q19335303
['Q1557608', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q19335303 . resource:Q1557608 property:P463 ?s }
Werner Bickenbach
action filter_type
action find
entity Werner Bickenbach
relation member of
type type of business entity in Germany
['Werner Bickenbach', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_business_entity_in_Germany . resource:Werner_Bickenbach property:member_of ?s }
[]
type of business entity in Germany
Q543804
SYSTEM
German Academy of Sciences Leopoldina
Q543804
(Q1557608,P463,c(Q19335303))
action filter_type
action find
entity Q1557608
relation P463
type Q19335303
The [ANSWER] had Werner Bickenbach as its member
['Q1557608', 'P463', {'concept': 'Q19335303'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q19335303 . resource:Q1557608 property:P463 ?s }
German Academy of Sciences Leopoldina
The German Academy of Sciences Leopoldina had Werner Bickenbach as its member
German Academy of Sciences Leopoldina
action filter_type
action find
entity Werner Bickenbach
relation member of
type type of business entity in Germany
['Werner Bickenbach', 'member of', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:type_of_business_entity_in_Germany . resource:Werner_Bickenbach property:member_of ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1557608
P106
Q12737077
USER
Which occupations have Werner Bickenbach as his/her 's career ?
(Q1557608,P106,c(Q12737077))
action filter_type
action find
entity Q1557608
relation P106
type Q12737077
['Q1557608', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1557608 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Werner Bickenbach
action filter_type
action find
entity Werner Bickenbach
relation occupation
type occupation
['Werner Bickenbach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Werner_Bickenbach property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q13638192 Q2640827 Q1622272
SYSTEM
obstetrician, gynaecologist, university teacher
Q13638192 Q2640827 Q1622272
(Q1557608,P106,c(Q12737077))
action filter_type
action find
entity Q1557608
relation P106
type Q12737077
[ANSWERS] have Werner Bickenbach as his/her 's career
['Q1557608', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q1557608 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
obstetrician gynaecologist university teacher
Obstetrician, gynaecologist and university teacher have Werner Bickenbach as his/her 's career
obstetrician gynaecologist university teacher
action filter_type
action find
entity Werner Bickenbach
relation occupation
type occupation
['Werner Bickenbach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Werner_Bickenbach property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13638192
P425
Q1047113
USER
Who is associated with the field of occupation that one ?
(Q13638192,P425,c(Q1047113))
action filter_type
action find
entity Q13638192
relation P425
type Q1047113
['Q13638192', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?r WHERE { resource:Q13638192 property:P425 ?r . ?r rdf:type ontology:Q1047113 }
obstetrician
action filter_type
action find
entity obstetrician
relation field of this occupation
type special field
['obstetrician', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?r WHERE { resource:obstetrician property:field_of_this_occupation ?r . ?r rdf:type ontology:special_field }
[]
special field
Clarification for simple ques.
Q2640827
SYSTEM
Did you mean gynaecologist ?
Q13638192 Q2640827 Q1622272
(Q13638192,P425,c(Q1047113)) (Q2640827,P425,c(Q1047113)) (Q1622272,P425,c(Q1047113))
[ANSWER]
['Q13638192', 'P425', {'concept': 'Q1047113'}] ['Q2640827', 'P425', {'concept': 'Q1047113'}] ['Q1622272', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?r WHERE { resource:Q13638192 property:P425 ?r . ?r rdf:type ontology:Q1047113 }
obstetrician gynaecologist university teacher
Did you mean gynaecologist ?
gynaecologist
['obstetrician', 'field of this occupation', {'concept': 'special field'}] ['gynaecologist', 'field of this occupation', {'concept': 'special field'}] ['university teacher', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?r WHERE { resource:obstetrician property:field_of_this_occupation ?r . ?r rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
USER
No, I meant obstetrician. Could you tell me the answer for that?
(Q13638192,P425,c(Q1047113))
Q13638192
['Q13638192', 'P425', {'concept': 'Q1047113'}]
['obstetrician', 'field of this occupation', {'concept': 'special field'}]
[]
Q5284418
SYSTEM
obstetrics
Q5284418
(Q13638192,P425,c(Q1047113))
action filter_type
action find
entity Q13638192
relation P425
type Q1047113
S [ANSWER] is associated with the field of occupation that one
['Q13638192', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?r WHERE { resource:Q13638192 property:P425 ?r . ?r rdf:type ontology:Q1047113 }
obstetrics
S obstetrics is associated with the field of occupation that one
obstetrics
action filter_type
action find
entity obstetrician
relation field of this occupation
type special field
['obstetrician', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?r WHERE { resource:obstetrician property:field_of_this_occupation ?r . ?r rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5284418
P101
Q502895
USER
Which people have his/her area as that special field ?
(c(Q502895),P101,Q5284418)
action filter_type
action find_reverse
entity Q5284418
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q5284418']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q5284418 . ?h rdf:type ontology:Q502895 }
obstetrics
action filter_type
action find_reverse
entity obstetrics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'obstetrics']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:obstetrics . ?h rdf:type ontology:common_name }
[]
common name
Q7534778 Q707189 Q27306331
SYSTEM
Skevos Zervos, Konstantinos Logothetopoulos, John Byers
Q27306331 Q7534778 Q707189 Q26266689
(c(Q502895),P101,Q5284418)
action filter_type
action find_reverse
entity Q5284418
relation P101
type Q502895
[ANSWERS] have his/her area as that special field
[{'concept': 'Q502895'}, 'P101', 'Q5284418']
SELECT DISTINCT ?h WHERE { ?h property:P101 resource:Q5284418 . ?h rdf:type ontology:Q502895 }
John Byers Skevos Zervos Konstantinos Logothetopoulos Titilope Oduyebo
Skevos Zervos, Konstantinos Logothetopoulos and John Byers have his/her area as that special field
Skevos Zervos Konstantinos Logothetopoulos John Byers
action filter_type
action find_reverse
entity obstetrics
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'obstetrics']
SELECT DISTINCT ?h WHERE { ?h property:field_of_work resource:obstetrics . ?h rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1622272
P106
Q15619164 Q95074
USER
How many abstract beings or fictional characters have university teacher as his/her means of employment ?
(c(Q15619164),P106,Q1622272) (c(Q95074),P106,Q1622272)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q95074
[{'concept': 'Q15619164'}, 'P106', 'Q1622272'] [{'concept': 'Q95074'}, 'P106', 'Q1622272']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?m ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?o rdf:type ?m }
university teacher
action count
action union
action filter_type
action find_reverse
entity university teacher
relation occupation
type abstract being
action filter_type
action find_reverse
entity university teacher
relation occupation
type fictional character
[{'concept': 'abstract being'}, 'occupation', 'university teacher'] [{'concept': 'fictional character'}, 'occupation', 'university teacher']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?m ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?o rdf:type ?m }
[]
abstract being fictional character
SYSTEM
2
Q2715593 Q373799
(c(Q15619164),P106,Q1622272) (c(Q95074),P106,Q1622272)
action count
action union
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q1622272
relation P106
type Q95074
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q1622272'] [{'concept': 'Q95074'}, 'P106', 'Q1622272']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?m ) { ( ontology:Q95074 ) ( ontology:Q15619164 ) } . ?o rdf:type ?m }
Josiah Bartlet Giovanni Antonio Amedeo Plana
2
action count
action union
action filter_type
action find_reverse
entity university teacher
relation occupation
type abstract being
action filter_type
action find_reverse
entity university teacher
relation occupation
type fictional character
[{'concept': 'abstract being'}, 'occupation', 'university teacher'] [{'concept': 'fictional character'}, 'occupation', 'university teacher']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { VALUES ( ?m ) { ( ontology:fictional_character ) ( ontology:abstract_being ) } . ?o rdf:type ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7534778
P69
Q19335303
USER
Which German business organization is the alma mater of Skevos Zervos ?
(Q7534778,P69,c(Q19335303))
action filter_type
action find
entity Q7534778
relation P69
type Q19335303
['Q7534778', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?l WHERE { resource:Q7534778 property:P69 ?l . ?l rdf:type ontology:Q19335303 }
Skevos Zervos
action filter_type
action find
entity Skevos Zervos
relation educated at
type type of business entity in Germany
['Skevos Zervos', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?l WHERE { resource:Skevos_Zervos property:educated_at ?l . ?l rdf:type ontology:type_of_business_entity_in_Germany }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q7534778,P69,c(Q19335303))
action filter_type
action find
entity Q7534778
relation P69
type Q19335303
[ANSWER] is the alma mater of Skevos Zervos
['Q7534778', 'P69', {'concept': 'Q19335303'}]
SELECT DISTINCT ?l WHERE { resource:Q7534778 property:P69 ?l . ?l rdf:type ontology:Q19335303 }
Humboldt University of Berlin
Humboldt University of Berlin is the alma mater of Skevos Zervos
Humboldt University of Berlin
action filter_type
action find
entity Skevos Zervos
relation educated at
type type of business entity in Germany
['Skevos Zervos', 'educated at', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?l WHERE { resource:Skevos_Zervos property:educated_at ?l . ?l rdf:type ontology:type_of_business_entity_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7534778
P172
Q2472587
USER
What is the ethnicity of that person ?
(Q152087,P172,c(Q2472587))
action filter_type
action find
entity Q7534778
relation P172
type Q2472587
['Q152087', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q7534778 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Skevos Zervos
action filter_type
action find
entity Skevos Zervos
relation ethnic group
type people
['Humboldt University of Berlin', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Skevos_Zervos property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q152087,P172,c(Q2472587))
action filter_type
action find
entity Q7534778
relation P172
type Q2472587
The ethnicity of that person is [ANSWER]
['Q152087', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q7534778 property:P172 ?a . ?a rdf:type ontology:Q2472587 }
Greeks
The ethnicity of that person is Greeks
Greeks
action filter_type
action find
entity Skevos Zervos
relation ethnic group
type people
['Humboldt University of Berlin', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Skevos_Zervos property:ethnic_group ?a . ?a rdf:type ontology:people }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q539051 Q690456
P172
Q502895
USER
Does Spyros Spyromilios have that people as his/her race ?
(Q690456,P172,Q539051)
action is_in
entity Q539051
action find
entity Q690456
relation P172
['Q690456', 'P172', 'Q539051']
ASK WHERE { resource:Q690456 property:P172 resource:Q539051 }
Greeks Spyros Spyromilios
action is_in
entity Greeks
action find
entity Spyros Spyromilios
relation ethnic group
['Spyros Spyromilios', 'ethnic group', 'Greeks']
ASK WHERE { resource:Spyros_Spyromilios property:ethnic_group resource:Greeks }
[]
common name
SYSTEM
YES
(Q690456,P172,Q539051)
action is_in
entity Q539051
action find
entity Q690456
relation P172
[ANSWER]
['Q690456', 'P172', 'Q539051']
ASK WHERE { resource:Q690456 property:P172 resource:Q539051 }
Yes
action is_in
entity Greeks
action find
entity Spyros Spyromilios
relation ethnic group
['Spyros Spyromilios', 'ethnic group', 'Greeks']
ASK WHERE { resource:Spyros_Spyromilios property:ethnic_group resource:Greeks }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7349094 Q707189
P19
Q56061
USER
Which administrative territories were Konstantinos Logothetopoulos or Robert R. Cupp born in ?
OR((Q707189,P19,c(Q56061)), (Q7349094,P19,c(Q56061)))
action filter_type
action union
action find
entity Q707189
relation P19
action find
entity Q7349094
relation P19
type Q56061
{'OR': [['Q707189', 'P19', {'concept': 'Q56061'}], ['Q7349094', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q707189 property:P19 ?z } UNION { resource:Q7349094 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Robert R. Cupp Konstantinos Logothetopoulos
action filter_type
action union
action find
entity Konstantinos Logothetopoulos
relation place of birth
action find
entity Robert R. Cupp
relation place of birth
type administrative territorial entity
{'OR': [['Konstantinos Logothetopoulos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Robert R. Cupp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Konstantinos_Logothetopoulos property:place_of_birth ?z } UNION { resource:Robert_R._Cupp property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q282552 Q202337
SYSTEM
Bluffton, Nauplion
Q282552 Q202337
OR((Q707189,P19,c(Q56061)), (Q7349094,P19,c(Q56061)))
action filter_type
action union
action find
entity Q707189
relation P19
action find
entity Q7349094
relation P19
type Q56061
[ANSWERS] were Konstantinos Logothetopoulos or Robert R. Cupp born in
{'OR': [['Q707189', 'P19', {'concept': 'Q56061'}], ['Q7349094', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q707189 property:P19 ?z } UNION { resource:Q7349094 property:P19 ?z } } . ?z rdf:type ontology:Q56061 }
Bluffton Nauplion
Bluffton and Nauplion were Konstantinos Logothetopoulos or Robert R. Cupp born in
Bluffton Nauplion
action filter_type
action union
action find
entity Konstantinos Logothetopoulos
relation place of birth
action find
entity Robert R. Cupp
relation place of birth
type administrative territorial entity
{'OR': [['Konstantinos Logothetopoulos', 'place of birth', {'concept': 'administrative territorial entity'}], ['Robert R. Cupp', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Konstantinos_Logothetopoulos property:place_of_birth ?z } UNION { resource:Robert_R._Cupp property:place_of_birth ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]