Simple Question (Direct)
Simple Question
Q26162501
P1066
Q502895
USER
Who were the teachers of Meret Strothmann ?
(Q26162501,P1066,c(Q502895))
action filter_type
action find
entity Q26162501
relation P1066
type Q502895
['Q26162501', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q26162501 property:P1066 ?m . ?m rdf:type ontology:Q502895 }
Meret Strothmann
action filter_type
action find
entity Meret Strothmann
relation student of
type common name
['Meret Strothmann', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Meret_Strothmann property:student_of ?m . ?m rdf:type ontology:common_name }
[]
common name
Q111043 Q2544076 Q1447790
SYSTEM
Karl-Wilhelm Welwei, Walter Eder, Franz Kiechle
Q111043 Q2544076 Q1447790
(Q26162501,P1066,c(Q502895))
action filter_type
action find
entity Q26162501
relation P1066
type Q502895
The teachers of Meret Strothmann were of [ANSWERS]
['Q26162501', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q26162501 property:P1066 ?m . ?m rdf:type ontology:Q502895 }
Karl-Wilhelm Welwei Walter Eder Franz Kiechle
The teachers of Meret Strothmann were of Karl-Wilhelm Welwei, Walter Eder and Franz Kiechle
Karl-Wilhelm Welwei Walter Eder Franz Kiechle
action filter_type
action find
entity Meret Strothmann
relation student of
type common name
['Meret Strothmann', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Meret_Strothmann property:student_of ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q111043
P101
Q8425
USER
Which field does Karl-Wilhelm Welwei belong to ?
(Q111043,P101,c(Q8425))
action filter_type
action find
entity Q111043
relation P101
type Q8425
['Q111043', 'P101', {'concept': 'Q8425'}]
SELECT DISTINCT ?j WHERE { resource:Q111043 property:P101 ?j . ?j rdf:type ontology:Q8425 }
Karl-Wilhelm Welwei
action filter_type
action find
entity Karl-Wilhelm Welwei
relation field of work
type society
['Karl-Wilhelm Welwei', 'field of work', {'concept': 'society'}]
SELECT DISTINCT ?j WHERE { resource:Karl-Wilhelm_Welwei property:field_of_work ?j . ?j rdf:type ontology:society }
[]
society
Q11772
SYSTEM
Ancient Greece
Q11772
(Q111043,P101,c(Q8425))
action filter_type
action find
entity Q111043
relation P101
type Q8425
Karl-Wilhelm Welwei belongs [ANSWER]
['Q111043', 'P101', {'concept': 'Q8425'}]
SELECT DISTINCT ?j WHERE { resource:Q111043 property:P101 ?j . ?j rdf:type ontology:Q8425 }
Ancient Greece
Karl-Wilhelm Welwei belongs Ancient Greece
Ancient Greece
action filter_type
action find
entity Karl-Wilhelm Welwei
relation field of work
type society
['Karl-Wilhelm Welwei', 'field of work', {'concept': 'society'}]
SELECT DISTINCT ?j WHERE { resource:Karl-Wilhelm_Welwei property:field_of_work ?j . ?j rdf:type ontology:society }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11772
P30
Q2221906
USER
Where are that society situated ?
(Q11772,P30,c(Q2221906))
action filter_type
action find
entity Q11772
relation P30
type Q2221906
['Q11772', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q11772 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Ancient Greece
action filter_type
action find
entity Ancient Greece
relation continent
type geographic location
['Ancient Greece', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Ancient_Greece property:continent ?h . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q11772,P30,c(Q2221906))
action filter_type
action find
entity Q11772
relation P30
type Q2221906
That society are situated in [ANSWERS]
['Q11772', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q11772 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Europe Asia
That society are situated in Europe and Asia
Europe Asia
action filter_type
action find
entity Ancient Greece
relation continent
type geographic location
['Ancient Greece', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Ancient_Greece property:continent ?h . ?h rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q46 Q48
P30
Q34763
USER
Which peninsulas are situated in those geographic locations ?
(c(Q34763),P30,Q46) (c(Q34763),P30,Q48)
action filter_type
action find_reverse
entity prev_answer
relation P30
type Q34763
[{'concept': 'Q34763'}, 'P30', 'Q46'] [{'concept': 'Q34763'}, 'P30', 'Q48']
SELECT DISTINCT ?n WHERE { ?n property:P30 ?w . ?n rdf:type ontology:Q34763 . VALUES ( ?w ) { ( resource:Q46 ) ( resource:Q48 ) } }
Europe Asia
action filter_type
action find_reverse
entity prev_answer
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'Europe'] [{'concept': 'peninsula'}, 'continent', 'Asia']
SELECT DISTINCT ?n WHERE { ?n property:continent ?w . ?n rdf:type ontology:peninsula . VALUES ( ?w ) { ( resource:Europe ) ( resource:Asia ) } }
[]
peninsula
Q3127925 Q5034894 Q4309465
SYSTEM
Gamova, Cape Langeron, Mys Astaf’yeva
Q5034894 Q3127925 Q4309473 Q4309465 Q16533503 Q4309489
(c(Q34763),P30,Q46) (c(Q34763),P30,Q48)
action filter_type
action find_reverse
entity prev_answer
relation P30
type Q34763
[ANSWERS] are situated in those geographic locations
[{'concept': 'Q34763'}, 'P30', 'Q46'] [{'concept': 'Q34763'}, 'P30', 'Q48']
SELECT DISTINCT ?n WHERE { ?n property:P30 ?w . ?n rdf:type ontology:Q34763 . VALUES ( ?w ) { ( resource:Q46 ) ( resource:Q48 ) } }
Cape Langeron Gamova Mys Goldobina Mys Astaf’yeva Aleut Tigrovyy
Gamova, Cape Langeron and Mys Astaf’yeva are situated in those geographic locations
Gamova Cape Langeron Mys Astaf’yeva
action filter_type
action find_reverse
entity prev_answer
relation continent
type peninsula
[{'concept': 'peninsula'}, 'continent', 'Europe'] [{'concept': 'peninsula'}, 'continent', 'Asia']
SELECT DISTINCT ?n WHERE { ?n property:continent ?w . ?n rdf:type ontology:peninsula . VALUES ( ?w ) { ( resource:Europe ) ( resource:Asia ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4309465
P17
Q15617994
USER
Which administrative territory is that peninsula a part of ?
(Q4309465,P17,c(Q15617994))
action filter_type
action find
entity Q4309465
relation P17
type Q15617994
['Q4309465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4309465 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Mys Astaf’yeva
action filter_type
action find
entity Mys Astaf’yeva
relation country
type designation for an administrative territorial entity
['Mys Astaf’yeva', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mys_Astaf’yeva property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q4309465
SYSTEM
Did you mean Mys Astaf’yeva ?
Q3127925 Q5034894 Q4309465
(Q3127925,P17,c(Q15617994)) (Q5034894,P17,c(Q15617994)) (Q4309465,P17,c(Q15617994))
[ANSWER]
['Q3127925', 'P17', {'concept': 'Q15617994'}] ['Q5034894', 'P17', {'concept': 'Q15617994'}] ['Q4309465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4309465 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Gamova Cape Langeron Mys Astaf’yeva
Did you mean Mys Astaf’yeva ?
Mys Astaf’yeva
['Gamova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Cape Langeron', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Mys Astaf’yeva', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mys_Astaf’yeva property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q4309465,P17,c(Q15617994))
['Q4309465', 'P17', {'concept': 'Q15617994'}]
['Mys Astaf’yeva', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q159
SYSTEM
Russia
Q159
(Q4309465,P17,c(Q15617994))
action filter_type
action find
entity Q4309465
relation P17
type Q15617994
The [ANSWER] is that peninsula a part of
['Q4309465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q4309465 property:P17 ?a . ?a rdf:type ontology:Q15617994 }
Russia
The Russia is that peninsula a part of
Russia
action filter_type
action find
entity Mys Astaf’yeva
relation country
type designation for an administrative territorial entity
['Mys Astaf’yeva', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mys_Astaf’yeva property:country ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q2544076
P184 P21
Q502895
USER
Which people have Walter Eder as doctor advisor and have the gender as female ?
AND((c(Q502895),P184,Q2544076), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q2544076
relation P184
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q2544076'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P184 resource:Q2544076 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
female Walter Eder
action filter_type
action intersection
action find_reverse
entity Walter Eder
relation doctoral advisor
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Walter Eder'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:doctoral_advisor resource:Walter_Eder . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]
common name
Q26162501
SYSTEM
Meret Strothmann
Q26162501
AND((c(Q502895),P184,Q2544076), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q2544076
relation P184
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] have Walter Eder as doctor advisor and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P184', 'Q2544076'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?n WHERE { ?n property:P184 resource:Q2544076 . ?n property:P21 resource:Q6581072 . ?n rdf:type ontology:Q502895 }
Meret Strothmann
Meret Strothmann have Walter Eder as doctor advisor and have the gender as female
Meret Strothmann
action filter_type
action intersection
action find_reverse
entity Walter Eder
relation doctoral advisor
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'doctoral advisor', 'Walter Eder'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?n WHERE { ?n property:doctoral_advisor resource:Walter_Eder . ?n property:gender resource:female . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17989208 Q3127925
P17
Q15617994
USER
Which administrative territories are Gamova or Anse du Clerc a part of ?
OR((Q3127925,P17,c(Q15617994)), (Q17989208,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3127925
relation P17
action find
entity Q17989208
relation P17
type Q15617994
{'OR': [['Q3127925', 'P17', {'concept': 'Q15617994'}], ['Q17989208', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3127925 property:P17 ?j } UNION { resource:Q17989208 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Anse du Clerc Gamova
action filter_type
action union
action find
entity Gamova
relation country
action find
entity Anse du Clerc
relation country
type designation for an administrative territorial entity
{'OR': [['Gamova', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Anse du Clerc', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Gamova property:country ?j } UNION { resource:Anse_du_Clerc property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q790 Q159
SYSTEM
Haiti, Russia
Q790 Q159
OR((Q3127925,P17,c(Q15617994)), (Q17989208,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3127925
relation P17
action find
entity Q17989208
relation P17
type Q15617994
[ANSWERS] are Gamova or Anse du Clerc a part of
{'OR': [['Q3127925', 'P17', {'concept': 'Q15617994'}], ['Q17989208', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q3127925 property:P17 ?j } UNION { resource:Q17989208 property:P17 ?j } } . ?j rdf:type ontology:Q15617994 }
Haiti Russia
Haiti and Russia are Gamova or Anse du Clerc a part of
Haiti Russia
action filter_type
action union
action find
entity Gamova
relation country
action find
entity Anse du Clerc
relation country
type designation for an administrative territorial entity
{'OR': [['Gamova', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Anse du Clerc', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Gamova property:country ?j } UNION { resource:Anse_du_Clerc property:country ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q155
P530
Q15617994
USER
Do Brazil have tactful political relations with those ones ?
(Q155,P530,Q790) (Q155,P530,Q159)
action is_in
entity prev_answer
action find
entity Q155
relation P530
['Q155', 'P530', 'Q790'] ['Q155', 'P530', 'Q159']
ASK WHERE { resource:Q155 property:P530 ?r . VALUES ( ?r ) { ( resource:Q790 ) ( resource:Q159 ) } }
Brazil
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Haiti'] ['Brazil', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Brazil property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Haiti ) ( resource:Russia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155,P530,Q790) (Q155,P530,Q159)
action is_in
entity prev_answer
action find
entity Q155
relation P530
[ANSWER]
['Q155', 'P530', 'Q790'] ['Q155', 'P530', 'Q159']
ASK WHERE { resource:Q155 property:P530 ?r . VALUES ( ?r ) { ( resource:Q790 ) ( resource:Q159 ) } }
Yes
action is_in
entity prev_answer
action find
entity Brazil
relation diplomatic relation
['Brazil', 'diplomatic relation', 'Haiti'] ['Brazil', 'diplomatic relation', 'Russia']
ASK WHERE { resource:Brazil property:diplomatic_relation ?r . VALUES ( ?r ) { ( resource:Haiti ) ( resource:Russia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5034894 Q537696 Q212
P17
Q15617994
USER
Is Cape Langeron located in Binau and Ukraine ?
(Q5034894,P17,Q537696) (Q5034894,P17,Q212)
action is_in
entity Q5034894
action intersection
action find_reverse
entity Q537696
relation P17
action find_reverse
entity Q212
relation P17
['Q5034894', 'P17', 'Q537696'] ['Q5034894', 'P17', 'Q212']
ASK WHERE { resource:Q5034894 property:P17 resource:Q537696 . resource:Q5034894 property:P17 resource:Q212 }
Cape Langeron Binau Ukraine
action is_in
entity Cape Langeron
action intersection
action find_reverse
entity Binau
relation country
action find_reverse
entity Ukraine
relation country
['Cape Langeron', 'country', 'Binau'] ['Cape Langeron', 'country', 'Ukraine']
ASK WHERE { resource:Cape_Langeron property:country resource:Binau . resource:Cape_Langeron property:country resource:Ukraine }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5034894,P17,Q537696) (Q5034894,P17,Q212)
action is_in
entity Q5034894
action intersection
action find_reverse
entity Q537696
relation P17
action find_reverse
entity Q212
relation P17
[ANSWER]
['Q5034894', 'P17', 'Q537696'] ['Q5034894', 'P17', 'Q212']
ASK WHERE { resource:Q5034894 property:P17 resource:Q537696 . resource:Q5034894 property:P17 resource:Q212 }
NO and YES respectively
action is_in
entity Cape Langeron
action intersection
action find_reverse
entity Binau
relation country
action find_reverse
entity Ukraine
relation country
['Cape Langeron', 'country', 'Binau'] ['Cape Langeron', 'country', 'Ukraine']
ASK WHERE { resource:Cape_Langeron property:country resource:Binau . resource:Cape_Langeron property:country resource:Ukraine }
[]