Simple Question (Direct)
Simple Question
Q22138400
P106
Q12737077
USER
What do Konstantin Batygin do for a living ?
(Q22138400,P106,c(Q12737077))
action filter_type
action find
entity Q22138400
relation P106
type Q12737077
['Q22138400', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q22138400 property:P106 ?s }
Konstantin Batygin
action filter_type
action find
entity Konstantin Batygin
relation occupation
type occupation
['Konstantin Batygin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Konstantin_Batygin property:occupation ?s }
[]
occupation
Q16742203 Q11063
SYSTEM
planetary scientist, astronomer
Q16742203 Q11063
(Q22138400,P106,c(Q12737077))
action filter_type
action find
entity Q22138400
relation P106
type Q12737077
[ANSWERS] Konstantin Batygin do for a living
['Q22138400', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q12737077 . resource:Q22138400 property:P106 ?s }
planetary scientist astronomer
Planetary scientist and astronomer Konstantin Batygin do for a living
planetary scientist astronomer
action filter_type
action find
entity Konstantin Batygin
relation occupation
type occupation
['Konstantin Batygin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:occupation . resource:Konstantin_Batygin property:occupation ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22138400
P512
Q8171
USER
What is the degree held by Konstantin Batygin ?
(Q22138400,P512,c(Q8171))
action filter_type
action find
entity Q22138400
relation P512
type Q8171
['Q22138400', 'P512', {'concept': 'Q8171'}]
SELECT DISTINCT ?h WHERE { resource:Q22138400 property:P512 ?h . ?h rdf:type ontology:Q8171 }
Konstantin Batygin
action filter_type
action find
entity Konstantin Batygin
relation academic degree
type word
['Konstantin Batygin', 'academic degree', {'concept': 'word'}]
SELECT DISTINCT ?h WHERE { resource:Konstantin_Batygin property:academic_degree ?h . ?h rdf:type ontology:word }
[]
word
Q752297
SYSTEM
Doctor of Philosophy
Q752297
(Q22138400,P512,c(Q8171))
action filter_type
action find
entity Q22138400
relation P512
type Q8171
The degree held by Konstantin Batygin is a [ANSWER]
['Q22138400', 'P512', {'concept': 'Q8171'}]
SELECT DISTINCT ?h WHERE { resource:Q22138400 property:P512 ?h . ?h rdf:type ontology:Q8171 }
Doctor of Philosophy
The degree held by Konstantin Batygin is a Doctor of Philosophy
Doctor of Philosophy
action filter_type
action find
entity Konstantin Batygin
relation academic degree
type word
['Konstantin Batygin', 'academic degree', {'concept': 'word'}]
SELECT DISTINCT ?h WHERE { resource:Konstantin_Batygin property:academic_degree ?h . ?h rdf:type ontology:word }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18918662
Q8171
USER
And what about Egon Römisch?
(Q18918662,P512,c(Q8171))
action filter_type
action find
entity Q18918662
relation P512
type Q8171
['Q18918662', 'P512', {'concept': 'Q8171'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8171 . resource:Q18918662 property:P512 ?p }
Egon Römisch
action filter_type
action find
entity Egon Römisch
relation academic degree
type word
['Egon Römisch', 'academic degree', {'concept': 'word'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:word . resource:Egon_Römisch property:academic_degree ?p }
[]
word
Q752297
SYSTEM
Doctor of Philosophy
Q752297
(Q18918662,P512,c(Q8171))
action filter_type
action find
entity Q18918662
relation P512
type Q8171
[ANSWER]
['Q18918662', 'P512', {'concept': 'Q8171'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8171 . resource:Q18918662 property:P512 ?p }
Doctor of Philosophy
Doctor of Philosophy
action filter_type
action find
entity Egon Römisch
relation academic degree
type word
['Egon Römisch', 'academic degree', {'concept': 'word'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:word . resource:Egon_Römisch property:academic_degree ?p }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q47064 Q11063
P106
Q502895
USER
Which people have astronomer and military personnel as his/her means of employment ?
AND((c(Q502895),P106,Q11063), (c(Q502895),P106,Q47064))
action filter_type
action intersection
action find_reverse
entity Q11063
relation P106
action find_reverse
entity Q47064
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q11063'], [{'concept': 'Q502895'}, 'P106', 'Q47064']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P106 resource:Q11063 . ?c property:P106 resource:Q47064 }
military personnel astronomer
action filter_type
action intersection
action find_reverse
entity astronomer
relation occupation
action find_reverse
entity military personnel
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'astronomer'], [{'concept': 'common name'}, 'occupation', 'military personnel']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:occupation resource:astronomer . ?c property:occupation resource:military_personnel }
[]
common name
Q3170394 Q2521999 Q3587919 Q1258787 Q2090896 Q3184601 Q319962 Q274259 Q376367 Q2636575
SYSTEM
Some of them are Jean Antoine Léon Bassot, Vicente Mut Armengol, Elisabeth Paul Edouard Rossel, Henry Augustus Smyth, F. J. M. Stratton, Joseph Bernard de Chabert, Milan Rastislav Štefánik, Edouard Caspari, Thomas Brisbane, Amédée Mouchez
Q2636575 Q376367 Q3170394 Q2521999 Q3587919 Q3184601 Q1258787 Q6224983 Q319962 Q2090896 Q274259
AND((c(Q502895),P106,Q11063), (c(Q502895),P106,Q47064))
action filter_type
action intersection
action find_reverse
entity Q11063
relation P106
action find_reverse
entity Q47064
relation P106
type Q502895
[ANSWERS] have astronomer and military personnel as his/her means of employment
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q11063'], [{'concept': 'Q502895'}, 'P106', 'Q47064']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P106 resource:Q11063 . ?c property:P106 resource:Q47064 }
Amédée Mouchez Thomas Brisbane Jean Antoine Léon Bassot Vicente Mut Armengol Elisabeth Paul Edouard Rossel Joseph Bernard de Chabert Henry Augustus Smyth John Campbell Milan Rastislav Štefánik F. J. M. Stratton Edouard Caspari
Jean Antoine Léon Bassot, Vicente Mut Armengol, Elisabeth Paul Edouard Rossel, Henry Augustus Smyth, F. J. M. Stratton, Joseph Bernard de Chabert, Milan Rastislav Štefánik, Edouard Caspari, Thomas Brisbane and Amédée Mouchez have astronomer and military personnel as his/her means of employment
Jean Antoine Léon Bassot Vicente Mut Armengol Elisabeth Paul Edouard Rossel Henry Augustus Smyth F. J. M. Stratton Joseph Bernard de Chabert Milan Rastislav Štefánik Edouard Caspari Thomas Brisbane Amédée Mouchez
action filter_type
action intersection
action find_reverse
entity astronomer
relation occupation
action find_reverse
entity military personnel
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'astronomer'], [{'concept': 'common name'}, 'occupation', 'military personnel']]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:occupation resource:astronomer . ?c property:occupation resource:military_personnel }
[]