Simple Question (Direct)
Simple Question
Q12878345
P21
Q290
USER
Which sex does Johannes Karavidopoulos belong to ?
(Q12878345,P21,c(Q290))
action filter_type
action find
entity Q12878345
relation P21
type Q290
['Q12878345', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q12878345 property:P21 ?t . ?t rdf:type ontology:Q290 }
Johannes Karavidopoulos
action filter_type
action find
entity Johannes Karavidopoulos
relation gender
type sex
['Johannes Karavidopoulos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Johannes_Karavidopoulos property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12878345,P21,c(Q290))
action filter_type
action find
entity Q12878345
relation P21
type Q290
Johannes Karavidopoulos belongs to [ANSWER]
['Q12878345', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q12878345 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Johannes Karavidopoulos belongs to male
male
action filter_type
action find
entity Johannes Karavidopoulos
relation gender
type sex
['Johannes Karavidopoulos', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Johannes_Karavidopoulos property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12878345
P106
Q12737077
USER
Which occupations are the professions of Johannes Karavidopoulos ?
(Q12878345,P106,c(Q12737077))
action filter_type
action find
entity Q12878345
relation P106
type Q12737077
['Q12878345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q12878345 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Johannes Karavidopoulos
action filter_type
action find
entity Johannes Karavidopoulos
relation occupation
type occupation
['Johannes Karavidopoulos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Johannes_Karavidopoulos property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q1234713 Q36180 Q1622272
SYSTEM
theologian, writer, university teacher
Q1234713 Q36180 Q1622272
(Q12878345,P106,c(Q12737077))
action filter_type
action find
entity Q12878345
relation P106
type Q12737077
The professions of Johannes Karavidopoulos are [ANSWERS]
['Q12878345', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q12878345 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
theologian writer university teacher
The professions of Johannes Karavidopoulos are theologian, writer and university teacher
theologian writer university teacher
action filter_type
action find
entity Johannes Karavidopoulos
relation occupation
type occupation
['Johannes Karavidopoulos', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Johannes_Karavidopoulos property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1622272
P512
Q502895
USER
Who have the academic degree that occupation ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P512 resource:Q1622272 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:academic_degree resource:university_teacher }
[]
common name
Clarification for simple ques.
Q1234713
SYSTEM
Did you mean theologian ?
Q1234713 Q36180 Q1622272
(c(Q502895),P512,Q1234713) (c(Q502895),P512,Q36180) (c(Q502895),P512,Q1622272)
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q1234713'] [{'concept': 'Q502895'}, 'P512', 'Q36180'] [{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P512 resource:Q1622272 }
theologian writer university teacher
Did you mean theologian ?
theologian
[{'concept': 'common name'}, 'academic degree', 'theologian'] [{'concept': 'common name'}, 'academic degree', 'writer'] [{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:academic_degree resource:university_teacher }
[]
Simple Question (Coreferenced)
USER
No, I meant university teacher. Could you tell me the answer for that?
(c(Q502895),P512,Q1622272)
Q1622272
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
[{'concept': 'common name'}, 'academic degree', 'university teacher']
[]
Q1631650 Q1362287 Q4074760
SYSTEM
Hovhannes Barseghian, Manolis Andronikos, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the academic degree that occupation
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P512 resource:Q1622272 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Hovhannes Barseghian, Manolis Andronikos and Edvard Baghdasaryan have the academic degree that occupation
Hovhannes Barseghian Manolis Andronikos Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:academic_degree resource:university_teacher }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q447653 Q1362287
P39 P106
Q12737077
USER
Which occupations are the professions of Manolis Andronikos or were the positions for which Cecilia Stegö Chilò were appointed ?
OR((Q1362287,P106,c(Q12737077)), (Q447653,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1362287
relation P106
action find
entity Q447653
relation P39
type Q12737077
{'OR': [['Q1362287', 'P106', {'concept': 'Q12737077'}], ['Q447653', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q447653 property:P39 ?h } UNION { resource:Q1362287 property:P106 ?h } } . ?h rdf:type ontology:Q12737077 }
Cecilia Stegö Chilò Manolis Andronikos
action filter_type
action union
action find
entity Manolis Andronikos
relation occupation
action find
entity Cecilia Stegö Chilò
relation position held
type occupation
{'OR': [['Manolis Andronikos', 'occupation', {'concept': 'occupation'}], ['Cecilia Stegö Chilò', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Cecilia_Stegö_Chilò property:position_held ?h } UNION { resource:Manolis_Andronikos property:occupation ?h } } . ?h rdf:type ontology:occupation }
[]
occupation
Q18176984 Q1792450 Q3621491 Q4773904 Q1622272
SYSTEM
Minister for Culture, art historian, archaeologist, anthropologist, university teacher
Q18176984 Q1792450 Q3621491 Q4773904 Q1622272
OR((Q1362287,P106,c(Q12737077)), (Q447653,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q1362287
relation P106
action find
entity Q447653
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q1362287', 'P106', {'concept': 'Q12737077'}], ['Q447653', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q447653 property:P39 ?h } UNION { resource:Q1362287 property:P106 ?h } } . ?h rdf:type ontology:Q12737077 }
Minister for Culture art historian archaeologist anthropologist university teacher
Minister for Culture, art historian, archaeologist, anthropologist and university teacher
Minister for Culture art historian archaeologist anthropologist university teacher
action filter_type
action union
action find
entity Manolis Andronikos
relation occupation
action find
entity Cecilia Stegö Chilò
relation position held
type occupation
{'OR': [['Manolis Andronikos', 'occupation', {'concept': 'occupation'}], ['Cecilia Stegö Chilò', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Cecilia_Stegö_Chilò property:position_held ?h } UNION { resource:Manolis_Andronikos property:occupation ?h } } . ?h rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3621491
P417
Q502895
USER
Who are the patron saints of that occupation ?
(Q3621491,P417,c(Q502895))
action filter_type
action find
entity Q3621491
relation P417
type Q502895
['Q3621491', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3621491 property:P417 ?q . ?q rdf:type ontology:Q502895 }
archaeologist
action filter_type
action find
entity archaeologist
relation patron saint
type common name
['archaeologist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:archaeologist property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1792450
SYSTEM
Did you mean art historian ?
Q18176984 Q1792450 Q3621491 Q4773904 Q1622272
(Q18176984,P417,c(Q502895)) (Q1792450,P417,c(Q502895)) (Q3621491,P417,c(Q502895)) (Q4773904,P417,c(Q502895)) (Q1622272,P417,c(Q502895))
[ANSWER]
['Q18176984', 'P417', {'concept': 'Q502895'}] ['Q1792450', 'P417', {'concept': 'Q502895'}] ['Q3621491', 'P417', {'concept': 'Q502895'}] ['Q4773904', 'P417', {'concept': 'Q502895'}] ['Q1622272', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3621491 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Minister for Culture art historian archaeologist anthropologist university teacher
Did you mean art historian ?
art historian
['Minister for Culture', 'patron saint', {'concept': 'common name'}] ['art historian', 'patron saint', {'concept': 'common name'}] ['archaeologist', 'patron saint', {'concept': 'common name'}] ['anthropologist', 'patron saint', {'concept': 'common name'}] ['university teacher', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:archaeologist property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant archaeologist. Could you tell me the answer for that?
(Q3621491,P417,c(Q502895))
Q3621491
['Q3621491', 'P417', {'concept': 'Q502895'}]
['archaeologist', 'patron saint', {'concept': 'common name'}]
[]
Q170164 Q44248 Q130997
SYSTEM
Helena of Constantinople, Jerome, Damasus I
Q170164 Q44248 Q130997
(Q3621491,P417,c(Q502895))
action filter_type
action find
entity Q3621491
relation P417
type Q502895
The patron saints of that occupation are Saint [ANSWERS]
['Q3621491', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3621491 property:P417 ?q . ?q rdf:type ontology:Q502895 }
Helena of Constantinople Jerome Damasus I
The patron saints of that occupation are Saint Helena of Constantinople, Jerome and Damasus I
Helena of Constantinople Jerome Damasus I
action filter_type
action find
entity archaeologist
relation patron saint
type common name
['archaeologist', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:archaeologist property:patron_saint ?q . ?q rdf:type ontology:common_name }
[]