Simple Question (Direct)
Simple Question
Q86752
P21
Q290
USER
What is the sex of Adalbert von Waltenhofen ?
(Q86752,P21,c(Q290))
action filter_type
action find
entity Q86752
relation P21
type Q290
['Q86752', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q86752 property:P21 ?c . ?c rdf:type ontology:Q290 }
Adalbert von Waltenhofen
action filter_type
action find
entity Adalbert von Waltenhofen
relation gender
type sex
['Adalbert von Waltenhofen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Adalbert_von_Waltenhofen property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q86752,P21,c(Q290))
action filter_type
action find
entity Q86752
relation P21
type Q290
The sex of Adalbert von Waltenhofen is the [ANSWER]
['Q86752', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q86752 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Adalbert von Waltenhofen is the male
male
action filter_type
action find
entity Adalbert von Waltenhofen
relation gender
type sex
['Adalbert von Waltenhofen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Adalbert_von_Waltenhofen property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q86752
P106
Q12737077
USER
Which occupations have Adalbert von Waltenhofen as his/her 's career ?
(Q86752,P106,c(Q12737077))
action filter_type
action find
entity Q86752
relation P106
type Q12737077
['Q86752', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q86752 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Adalbert von Waltenhofen
action filter_type
action find
entity Adalbert von Waltenhofen
relation occupation
type occupation
['Adalbert von Waltenhofen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Adalbert_von_Waltenhofen property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q169470 Q1622272
SYSTEM
physicist, university teacher
Q169470 Q1622272
(Q86752,P106,c(Q12737077))
action filter_type
action find
entity Q86752
relation P106
type Q12737077
[ANSWERS] have Adalbert von Waltenhofen as his/her 's career
['Q86752', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q86752 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
physicist university teacher
Physicist and university teacher have Adalbert von Waltenhofen as his/her 's career
physicist university teacher
action filter_type
action find
entity Adalbert von Waltenhofen
relation occupation
type occupation
['Adalbert von Waltenhofen', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Adalbert_von_Waltenhofen property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1444484
Q12737077
USER
And how about Frank Wunsch?
(Q1444484,P106,c(Q12737077))
action filter_type
action find
entity Q1444484
relation P106
type Q12737077
['Q1444484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1444484 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Frank Wunsch
action filter_type
action find
entity Frank Wunsch
relation occupation
type occupation
['Frank Wunsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Frank_Wunsch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q1622272 Q486748
SYSTEM
university teacher, pianist
Q1622272 Q486748
(Q1444484,P106,c(Q12737077))
action filter_type
action find
entity Q1444484
relation P106
type Q12737077
[ANSWERS]
['Q1444484', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1444484 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
university teacher pianist
university teacher pianist
action filter_type
action find
entity Frank Wunsch
relation occupation
type occupation
['Frank Wunsch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Frank_Wunsch property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1331108
P106
Q502895
USER
Do Eliza Hansen have the profession of those occupations ?
(Q1331108,P106,Q1622272) (Q1331108,P106,Q486748)
action is_in
entity prev_answer
action find
entity Q1331108
relation P106
['Q1331108', 'P106', 'Q1622272'] ['Q1331108', 'P106', 'Q486748']
ASK WHERE { resource:Q1331108 property:P106 ?o . VALUES ( ?o ) { ( resource:Q1622272 ) ( resource:Q486748 ) } }
Eliza Hansen
action is_in
entity prev_answer
action find
entity Eliza Hansen
relation occupation
['Eliza Hansen', 'occupation', 'university teacher'] ['Eliza Hansen', 'occupation', 'pianist']
ASK WHERE { resource:Eliza_Hansen property:occupation ?o . VALUES ( ?o ) { ( resource:university_teacher ) ( resource:pianist ) } }
[]
common name
SYSTEM
YES
(Q1331108,P106,Q1622272) (Q1331108,P106,Q486748)
action is_in
entity prev_answer
action find
entity Q1331108
relation P106
[ANSWER]
['Q1331108', 'P106', 'Q1622272'] ['Q1331108', 'P106', 'Q486748']
ASK WHERE { resource:Q1331108 property:P106 ?o . VALUES ( ?o ) { ( resource:Q1622272 ) ( resource:Q486748 ) } }
Yes
action is_in
entity prev_answer
action find
entity Eliza Hansen
relation occupation
['Eliza Hansen', 'occupation', 'university teacher'] ['Eliza Hansen', 'occupation', 'pianist']
ASK WHERE { resource:Eliza_Hansen property:occupation ?o . VALUES ( ?o ) { ( resource:university_teacher ) ( resource:pianist ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q86752
P27
Q1048835
USER
Which political territory is Adalbert von Waltenhofen an inhabitant of ?
(Q86752,P27,c(Q1048835))
action filter_type
action find
entity Q86752
relation P27
type Q1048835
['Q86752', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q86752 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Adalbert von Waltenhofen
action filter_type
action find
entity Adalbert von Waltenhofen
relation country of citizenship
type political territorial entity
['Adalbert von Waltenhofen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Adalbert_von_Waltenhofen property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q40
SYSTEM
Austria
Q40
(Q86752,P27,c(Q1048835))
action filter_type
action find
entity Q86752
relation P27
type Q1048835
[ANSWER] is Adalbert von Waltenhofen an inhabitant of
['Q86752', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q86752 property:P27 ?d . ?d rdf:type ontology:Q1048835 }
Austria
Austria is Adalbert von Waltenhofen an inhabitant of
Austria
action filter_type
action find
entity Adalbert von Waltenhofen
relation country of citizenship
type political territorial entity
['Adalbert von Waltenhofen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Adalbert_von_Waltenhofen property:country_of_citizenship ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q86752
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q40,P20,c(Q56061))
action filter_type
action find
entity Q86752
relation P20
type Q56061
['Q40', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q86752 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Adalbert von Waltenhofen
action filter_type
action find
entity Adalbert von Waltenhofen
relation place of death
type administrative territorial entity
['Austria', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Adalbert_von_Waltenhofen property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q40,P20,c(Q56061))
action filter_type
action find
entity Q86752
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q40', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q86752 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Vienna
Vienna is the place of death of that person
Vienna
action filter_type
action find
entity Adalbert von Waltenhofen
relation place of death
type administrative territorial entity
['Austria', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Adalbert_von_Waltenhofen property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q250867 Q169470
P106
Q502895
USER
Which people have the profession of physicist and Catholic priest ?
AND((c(Q502895),P106,Q169470), (c(Q502895),P106,Q250867))
action filter_type
action intersection
action find_reverse
entity Q169470
relation P106
action find_reverse
entity Q250867
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q169470'], [{'concept': 'Q502895'}, 'P106', 'Q250867']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P106 resource:Q169470 . ?s property:P106 resource:Q250867 }
Catholic priest physicist
action filter_type
action intersection
action find_reverse
entity physicist
relation occupation
action find_reverse
entity Catholic priest
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'physicist'], [{'concept': 'common name'}, 'occupation', 'Catholic priest']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:occupation resource:physicist . ?s property:occupation resource:Catholic_priest }
[]
common name
Q379219 Q994738 Q2700901 Q23000596 Q1732597 Q15646135 Q1708366 Q86537 Q918438 Q15638662
SYSTEM
Some of them are Pierre Varignon, Jean-Antoine Nollet, Iosephus Gianfranceschi, Karel Robida, Karl Philberth, François Euvé, Joseph Weber, August Musger, Stanley Jaki, Matthias Wißhofer
Q1361390 Q2700901 Q1673683 Q918438 Q946570 Q1348908 Q23000596 Q252142 Q2138027 Q994738 Q15638662 Q86537 Q1732597 Q1708366 Q379219 Q15646135
AND((c(Q502895),P106,Q169470), (c(Q502895),P106,Q250867))
action filter_type
action intersection
action find_reverse
entity Q169470
relation P106
action find_reverse
entity Q250867
relation P106
type Q502895
[ANSWERS] have the profession of physicist and Catholic priest
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q169470'], [{'concept': 'Q502895'}, 'P106', 'Q250867']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P106 resource:Q169470 . ?s property:P106 resource:Q250867 }
Prokop Diviš Iosephus Gianfranceschi Ludwig Dressel Stanley Jaki Landell de Moura Francesco Morano Karel Robida Ányos Jedlik Reginald Zupancic Jean-Antoine Nollet Matthias Wißhofer August Musger Karl Philberth Joseph Weber Pierre Varignon François Euvé
Pierre Varignon, Jean-Antoine Nollet, Iosephus Gianfranceschi, Karel Robida, Karl Philberth, François Euvé, Joseph Weber, August Musger, Stanley Jaki and Matthias Wißhofer have the profession of physicist and Catholic priest
Pierre Varignon Jean-Antoine Nollet Iosephus Gianfranceschi Karel Robida Karl Philberth François Euvé Joseph Weber August Musger Stanley Jaki Matthias Wißhofer
action filter_type
action intersection
action find_reverse
entity physicist
relation occupation
action find_reverse
entity Catholic priest
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'physicist'], [{'concept': 'common name'}, 'occupation', 'Catholic priest']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:occupation resource:physicist . ?s property:occupation resource:Catholic_priest }
[]