Simple Question (Direct)
Simple Question
Q3105859
P21
Q290
USER
Which sex does Gilbert Schlogel possess ?
(Q3105859,P21,c(Q290))
action filter_type
action find
entity Q3105859
relation P21
type Q290
['Q3105859', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3105859 property:P21 ?i }
Gilbert Schlogel
action filter_type
action find
entity Gilbert Schlogel
relation gender
type sex
['Gilbert Schlogel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Gilbert_Schlogel property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3105859,P21,c(Q290))
action filter_type
action find
entity Q3105859
relation P21
type Q290
Gilbert Schlogel possesses un [ANSWER]
['Q3105859', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q3105859 property:P21 ?i }
male
Gilbert Schlogel possesses un male
male
action filter_type
action find
entity Gilbert Schlogel
relation gender
type sex
['Gilbert Schlogel', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Gilbert_Schlogel property:gender ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3105859
P166
Q618779
USER
What were awarded to that person ?
(Q6581097,P166,c(Q618779))
action filter_type
action find
entity Q3105859
relation P166
type Q618779
['Q6581097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q3105859 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Gilbert Schlogel
action filter_type
action find
entity Gilbert Schlogel
relation award received
type award
['male', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Gilbert_Schlogel property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q1475121 Q13452528
SYSTEM
Prix du Quai des Orfèvres, Chevalier de l'ordre des Arts et des Lettres‎
Q1475121 Q13452528
(Q6581097,P166,c(Q618779))
action filter_type
action find
entity Q3105859
relation P166
type Q618779
[ANSWERS] were awarded to that person
['Q6581097', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { resource:Q3105859 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Prix du Quai des Orfèvres Chevalier de l'ordre des Arts et des Lettres‎
Prix du Quai des Orfèvres and Chevalier de l'ordre des Arts et des Lettres‎ were awarded to that person
Prix du Quai des Orfèvres Chevalier de l'ordre des Arts et des Lettres‎
action filter_type
action find
entity Gilbert Schlogel
relation award received
type award
['male', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { resource:Gilbert_Schlogel property:award_received ?z . ?z rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q91166 Q3105859
P166
Q618779
USER
Or Friedrich von Hermann?
OR((Q3105859,P166,c(Q618779)), (Q91166,P166,c(Q618779)))
action filter_type
action union
action find
entity Q3105859
relation P166
action find
entity Q91166
relation P166
type Q618779
{'OR': [['Q3105859', 'P166', {'concept': 'Q618779'}], ['Q91166', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:P166 ?h . VALUES ( ?a ) { ( resource:Q91166 ) ( resource:Q3105859 ) } } . ?h rdf:type ontology:Q618779 }
Friedrich von Hermann Gilbert Schlogel
action filter_type
action union
action find
entity Gilbert Schlogel
relation award received
action find
entity Friedrich von Hermann
relation award received
type award
{'OR': [['Gilbert Schlogel', 'award received', {'concept': 'award'}], ['Friedrich von Hermann', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:award_received ?h . VALUES ( ?a ) { ( resource:Friedrich_von_Hermann ) ( resource:Gilbert_Schlogel ) } } . ?h rdf:type ontology:award }
[]
award
Q1475121 Q565030 Q156478 Q13452528
SYSTEM
Prix du Quai des Orfèvres, Bavarian Maximilian Order for Science and Art, Pour le Mérite, Chevalier de l'ordre des Arts et des Lettres‎
Q1475121 Q565030 Q156478 Q13452528
OR((Q3105859,P166,c(Q618779)), (Q91166,P166,c(Q618779)))
action filter_type
action union
action find
entity Q3105859
relation P166
action find
entity Q91166
relation P166
type Q618779
[ANSWERS]
{'OR': [['Q3105859', 'P166', {'concept': 'Q618779'}], ['Q91166', 'P166', {'concept': 'Q618779'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:P166 ?h . VALUES ( ?a ) { ( resource:Q91166 ) ( resource:Q3105859 ) } } . ?h rdf:type ontology:Q618779 }
Prix du Quai des Orfèvres Bavarian Maximilian Order for Science and Art Pour le Mérite Chevalier de l'ordre des Arts et des Lettres‎
Prix du Quai des Orfèvres Bavarian Maximilian Order for Science and Art Pour le Mérite Chevalier de l'ordre des Arts et des Lettres‎
action filter_type
action union
action find
entity Gilbert Schlogel
relation award received
action find
entity Friedrich von Hermann
relation award received
type award
{'OR': [['Gilbert Schlogel', 'award received', {'concept': 'award'}], ['Friedrich von Hermann', 'award received', {'concept': 'award'}]]}
SELECT DISTINCT ?h WHERE { { ?a property:award_received ?h . VALUES ( ?a ) { ( resource:Friedrich_von_Hermann ) ( resource:Gilbert_Schlogel ) } } . ?h rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91166
P20
Q56061
USER
Which administrative territory is the place of death of Friedrich von Hermann ?
(Q1475121,P20,c(Q56061)) (Q565030,P20,c(Q56061)) (Q156478,P20,c(Q56061)) (Q13452528,P20,c(Q56061))
action filter_type
action find
entity Q91166
relation P20
type Q56061
['Q1475121', 'P20', {'concept': 'Q56061'}] ['Q565030', 'P20', {'concept': 'Q56061'}] ['Q156478', 'P20', {'concept': 'Q56061'}] ['Q13452528', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q91166 property:P20 ?e }
Friedrich von Hermann
action filter_type
action find
entity Friedrich von Hermann
relation place of death
type administrative territorial entity
['Prix du Quai des Orfèvres', 'place of death', {'concept': 'administrative territorial entity'}] ['Bavarian Maximilian Order for Science and Art', 'place of death', {'concept': 'administrative territorial entity'}] ['Pour le Mérite', 'place of death', {'concept': 'administrative territorial entity'}] ["Chevalier de l'ordre des Arts et des Lettres\u200e", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Friedrich_von_Hermann property:place_of_death ?e }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1475121,P20,c(Q56061)) (Q565030,P20,c(Q56061)) (Q156478,P20,c(Q56061)) (Q13452528,P20,c(Q56061))
action filter_type
action find
entity Q91166
relation P20
type Q56061
[ANSWER] is the place of death of Friedrich von Hermann
['Q1475121', 'P20', {'concept': 'Q56061'}] ['Q565030', 'P20', {'concept': 'Q56061'}] ['Q156478', 'P20', {'concept': 'Q56061'}] ['Q13452528', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q56061 . resource:Q91166 property:P20 ?e }
Munich
Munich is the place of death of Friedrich von Hermann
Munich
action filter_type
action find
entity Friedrich von Hermann
relation place of death
type administrative territorial entity
['Prix du Quai des Orfèvres', 'place of death', {'concept': 'administrative territorial entity'}] ['Bavarian Maximilian Order for Science and Art', 'place of death', {'concept': 'administrative territorial entity'}] ['Pour le Mérite', 'place of death', {'concept': 'administrative territorial entity'}] ["Chevalier de l'ordre des Arts et des Lettres\u200e", 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:administrative_territorial_entity . resource:Friedrich_von_Hermann property:place_of_death ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91166
P19
Q15617994
USER
Which administrative territory is the birthplace of Friedrich von Hermann ?
(Q91166,P19,c(Q15617994))
action filter_type
action find
entity Q91166
relation P19
type Q15617994
['Q91166', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q91166 property:P19 ?d . ?d rdf:type ontology:Q15617994 }
Friedrich von Hermann
action filter_type
action find
entity Friedrich von Hermann
relation place of birth
type designation for an administrative territorial entity
['Friedrich von Hermann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_von_Hermann property:place_of_birth ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q491743
SYSTEM
Dinkelsbühl
Q491743
(Q91166,P19,c(Q15617994))
action filter_type
action find
entity Q91166
relation P19
type Q15617994
[ANSWER] is the birthplace of Friedrich von Hermann
['Q91166', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q91166 property:P19 ?d . ?d rdf:type ontology:Q15617994 }
Dinkelsbühl
Dinkelsbühl is the birthplace of Friedrich von Hermann
Dinkelsbühl
action filter_type
action find
entity Friedrich von Hermann
relation place of birth
type designation for an administrative territorial entity
['Friedrich von Hermann', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Friedrich_von_Hermann property:place_of_birth ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91166
P512
Q3412758
USER
What is the name of the degree held by Friedrich von Hermann ?
(Q91166,P512,c(Q3412758))
action filter_type
action find
entity Q91166
relation P512
type Q3412758
['Q91166', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { resource:Q91166 property:P512 ?p . ?p rdf:type ontology:Q3412758 }
Friedrich von Hermann
action filter_type
action find
entity Friedrich von Hermann
relation academic degree
type qualification
['Friedrich von Hermann', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { resource:Friedrich_von_Hermann property:academic_degree ?p . ?p rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q91166,P512,c(Q3412758))
action filter_type
action find
entity Q91166
relation P512
type Q3412758
The name of the degree held by Friedrich von Hermann is the [ANSWER]
['Q91166', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?p WHERE { resource:Q91166 property:P512 ?p . ?p rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Friedrich von Hermann is the doctoral degree
doctoral degree
action filter_type
action find
entity Friedrich von Hermann
relation academic degree
type qualification
['Friedrich von Hermann', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?p WHERE { resource:Friedrich_von_Hermann property:academic_degree ?p . ?p rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q91166
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q849697,P27,c(Q1048835))
action filter_type
action find
entity Q91166
relation P27
type Q1048835
['Q849697', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q91166 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Friedrich von Hermann
action filter_type
action find
entity Friedrich von Hermann
relation country of citizenship
type political territorial entity
['doctoral degree', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_von_Hermann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q849697,P27,c(Q1048835))
action filter_type
action find
entity Q91166
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q849697', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { resource:Q91166 property:P27 ?y . ?y rdf:type ontology:Q1048835 }
Germany
Germany is that person an inhabitant of
Germany
action filter_type
action find
entity Friedrich von Hermann
relation country of citizenship
type political territorial entity
['doctoral degree', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Friedrich_von_Hermann property:country_of_citizenship ?y . ?y rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q183 Q218 Q567199
P530
Q15617994
USER
Is that political territory known to have diplomatic connections with Romania and Mackenbach ?
(Q183,P530,Q218) (Q183,P530,Q567199)
action is_in
entity Q183
action intersection
action find_reverse
entity Q218
relation P530
action find_reverse
entity Q567199
relation P530
['Q183', 'P530', 'Q218'] ['Q183', 'P530', 'Q567199']
ASK WHERE { resource:Q183 property:P530 resource:Q567199 . resource:Q183 property:P530 resource:Q218 }
Germany Romania Mackenbach
action is_in
entity Germany
action intersection
action find_reverse
entity Romania
relation diplomatic relation
action find_reverse
entity Mackenbach
relation diplomatic relation
['Germany', 'diplomatic relation', 'Romania'] ['Germany', 'diplomatic relation', 'Mackenbach']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Mackenbach . resource:Germany property:diplomatic_relation resource:Romania }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q183,P530,Q218) (Q183,P530,Q567199)
action is_in
entity Q183
action intersection
action find_reverse
entity Q218
relation P530
action find_reverse
entity Q567199
relation P530
[ANSWER]
['Q183', 'P530', 'Q218'] ['Q183', 'P530', 'Q567199']
ASK WHERE { resource:Q183 property:P530 resource:Q567199 . resource:Q183 property:P530 resource:Q218 }
YES and NO respectively
action is_in
entity Germany
action intersection
action find_reverse
entity Romania
relation diplomatic relation
action find_reverse
entity Mackenbach
relation diplomatic relation
['Germany', 'diplomatic relation', 'Romania'] ['Germany', 'diplomatic relation', 'Mackenbach']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Mackenbach . resource:Germany property:diplomatic_relation resource:Romania }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3322096 Q567199
P17
Q1048835
USER
Which political territories are Mackenbach or Mount Saskatchewan located in ?
OR((Q567199,P17,c(Q1048835)), (Q3322096,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q567199
relation P17
action find
entity Q3322096
relation P17
type Q1048835
{'OR': [['Q567199', 'P17', {'concept': 'Q1048835'}], ['Q3322096', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q567199 property:P17 ?n } UNION { resource:Q3322096 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Mount Saskatchewan Mackenbach
action filter_type
action union
action find
entity Mackenbach
relation country
action find
entity Mount Saskatchewan
relation country
type political territorial entity
{'OR': [['Mackenbach', 'country', {'concept': 'political territorial entity'}], ['Mount Saskatchewan', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mackenbach property:country ?n } UNION { resource:Mount_Saskatchewan property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q567199,P17,c(Q1048835)), (Q3322096,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q567199
relation P17
action find
entity Q3322096
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q567199', 'P17', {'concept': 'Q1048835'}], ['Q3322096', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q567199 property:P17 ?n } UNION { resource:Q3322096 property:P17 ?n } } . ?n rdf:type ontology:Q1048835 }
Canada Germany
Which political territories are Mackenbach or Mount Saskatchewan located in
Canada Germany
action filter_type
action union
action find
entity Mackenbach
relation country
action find
entity Mount Saskatchewan
relation country
type political territorial entity
{'OR': [['Mackenbach', 'country', {'concept': 'political territorial entity'}], ['Mount Saskatchewan', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Mackenbach property:country ?n } UNION { resource:Mount_Saskatchewan property:country ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]