Simple Question (Direct)
Simple Question
Q1411819
P21
Q290
USER
What is the sex of Walter A. Kreye ?
(Q1411819,P21,c(Q290))
action filter_type
action find
entity Q1411819
relation P21
type Q290
['Q1411819', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1411819 property:P21 ?t . ?t rdf:type ontology:Q290 }
Walter A. Kreye
action filter_type
action find
entity Walter A. Kreye
relation gender
type sex
['Walter A. Kreye', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_A._Kreye property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1411819,P21,c(Q290))
action filter_type
action find
entity Q1411819
relation P21
type Q290
[ANSWER] . the sex of Walter A is
['Q1411819', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q1411819 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Male . the sex of Walter A is
male
action filter_type
action find
entity Walter A. Kreye
relation gender
type sex
['Walter A. Kreye', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Walter_A._Kreye property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1411819
P20
Q486972
USER
Where did the expiration of Walter A. Kreye occur ?
(Q1411819,P20,c(Q486972))
action filter_type
action find
entity Q1411819
relation P20
type Q486972
['Q1411819', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q1411819 property:P20 ?f . ?f rdf:type ontology:Q486972 }
Walter A. Kreye
action filter_type
action find
entity Walter A. Kreye
relation place of death
type human settlement
['Walter A. Kreye', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Walter_A._Kreye property:place_of_death ?f . ?f rdf:type ontology:human_settlement }
[]
human settlement
Q24879
SYSTEM
Bremen
Q24879
(Q1411819,P20,c(Q486972))
action filter_type
action find
entity Q1411819
relation P20
type Q486972
The expiration of Walter A did . [ANSWER]
['Q1411819', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?f WHERE { resource:Q1411819 property:P20 ?f . ?f rdf:type ontology:Q486972 }
Bremen
The expiration of Walter A did . Bremen
Bremen
action filter_type
action find
entity Walter A. Kreye
relation place of death
type human settlement
['Walter A. Kreye', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?f WHERE { resource:Walter_A._Kreye property:place_of_death ?f . ?f rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1411819
P27
Q1048835
USER
Which political territory is the native country of Walter A. Kreye ?
(Q1411819,P27,c(Q1048835))
action filter_type
action find
entity Q1411819
relation P27
type Q1048835
['Q1411819', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q1411819 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Walter A. Kreye
action filter_type
action find
entity Walter A. Kreye
relation country of citizenship
type political territorial entity
['Walter A. Kreye', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Walter_A._Kreye property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1411819,P27,c(Q1048835))
action filter_type
action find
entity Q1411819
relation P27
type Q1048835
[ANSWER] is the native country of Walter A. Kreye
['Q1411819', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { resource:Q1411819 property:P27 ?e . ?e rdf:type ontology:Q1048835 }
Germany
Germany is the native country of Walter A. Kreye
Germany
action filter_type
action find
entity Walter A. Kreye
relation country of citizenship
type political territorial entity
['Walter A. Kreye', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Walter_A._Kreye property:country_of_citizenship ?e . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q1512891
P27
Q502895
USER
Is Gerhardt Alleweldt a citizen of that political territory ?
(Q1512891,P27,Q183)
action is_in
entity Q183
action find
entity Q1512891
relation P27
['Q1512891', 'P27', 'Q183']
ASK WHERE { resource:Q1512891 property:P27 resource:Q183 }
Germany Gerhardt Alleweldt
action is_in
entity Germany
action find
entity Gerhardt Alleweldt
relation country of citizenship
['Gerhardt Alleweldt', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gerhardt_Alleweldt property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q1512891,P27,Q183)
action is_in
entity Q183
action find
entity Q1512891
relation P27
[ANSWER]
['Q1512891', 'P27', 'Q183']
ASK WHERE { resource:Q1512891 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Gerhardt Alleweldt
relation country of citizenship
['Gerhardt Alleweldt', 'country of citizenship', 'Germany']
ASK WHERE { resource:Gerhardt_Alleweldt property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24879 Q1985148
P17
Q1048835
USER
Is Bremen situated in Porto Rico, Paraná ?
(Q24879,P17,Q1985148)
action is_in
entity Q1985148
action find
entity Q24879
relation P17
['Q24879', 'P17', 'Q1985148']
ASK WHERE { resource:Q24879 property:P17 resource:Q1985148 }
Bremen Porto Rico, Paraná
action is_in
entity Porto Rico, Paraná
action find
entity Bremen
relation country
['Bremen', 'country', 'Porto Rico, Paraná']
ASK WHERE { resource:Bremen property:country resource:Porto_Rico,_Paraná }
[]
political territorial entity
SYSTEM
NO
(Q24879,P17,Q1985148)
action is_in
entity Q1985148
action find
entity Q24879
relation P17
[ANSWER]
['Q24879', 'P17', 'Q1985148']
ASK WHERE { resource:Q24879 property:P17 resource:Q1985148 }
No
action is_in
entity Porto Rico, Paraná
action find
entity Bremen
relation country
['Bremen', 'country', 'Porto Rico, Paraná']
ASK WHERE { resource:Bremen property:country resource:Porto_Rico,_Paraná }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q1037
P530
Q15617994
USER
Does Rwanda have diplomatic relationships with Germany ?
(Q183,P530,Q1037)
action is_in
entity Q1037
action find
entity Q183
relation P530
['Q183', 'P530', 'Q1037']
ASK WHERE { resource:Q183 property:P530 resource:Q1037 }
Germany Rwanda
action is_in
entity Rwanda
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rwanda']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Rwanda }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q183,P530,Q1037)
action is_in
entity Q1037
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q1037']
ASK WHERE { resource:Q183 property:P530 resource:Q1037 }
Yes
action is_in
entity Rwanda
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Rwanda']
ASK WHERE { resource:Germany property:diplomatic_relation resource:Rwanda }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q65437 Q1411819
P19
Q515
USER
Which cities were Walter A. Kreye and Bernd Lange born ?
AND((Q1411819,P19,c(Q515)), (Q65437,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q1411819
relation P19
action find
entity Q65437
relation P19
type Q515
{'AND': [['Q1411819', 'P19', {'concept': 'Q515'}], ['Q65437', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q515 . resource:Q1411819 property:P19 ?t . resource:Q65437 property:P19 ?t }
Bernd Lange Walter A. Kreye
action filter_type
action intersection
action find
entity Walter A. Kreye
relation place of birth
action find
entity Bernd Lange
relation place of birth
type city
{'AND': [['Walter A. Kreye', 'place of birth', {'concept': 'city'}], ['Bernd Lange', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:city . resource:Walter_A._Kreye property:place_of_birth ?t . resource:Bernd_Lange property:place_of_birth ?t }
[]
city
Q2936
SYSTEM
Oldenburg
Q2936
AND((Q1411819,P19,c(Q515)), (Q65437,P19,c(Q515)))
action filter_type
action intersection
action find
entity Q1411819
relation P19
action find
entity Q65437
relation P19
type Q515
[ANSWER] was Walter A. Kreye and Bernd Lange born
{'AND': [['Q1411819', 'P19', {'concept': 'Q515'}], ['Q65437', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q515 . resource:Q1411819 property:P19 ?t . resource:Q65437 property:P19 ?t }
Oldenburg
Oldenburg was Walter A. Kreye and Bernd Lange born
Oldenburg
action filter_type
action intersection
action find
entity Walter A. Kreye
relation place of birth
action find
entity Bernd Lange
relation place of birth
type city
{'AND': [['Walter A. Kreye', 'place of birth', {'concept': 'city'}], ['Bernd Lange', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:city . resource:Walter_A._Kreye property:place_of_birth ?t . resource:Bernd_Lange property:place_of_birth ?t }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q211 Q183
P27
Q502895
USER
Which people are a citizen of Germany and Latvia ?
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q211))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q211
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q211']]}
SELECT DISTINCT ?w WHERE { ?w property:P27 resource:Q183 . ?w property:P27 resource:Q211 . ?w rdf:type ontology:Q502895 }
Latvia Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Latvia']]}
SELECT DISTINCT ?w WHERE { ?w property:country_of_citizenship resource:Germany . ?w property:country_of_citizenship resource:Latvia . ?w rdf:type ontology:common_name }
[]
common name
Q25865175 Q1341822 Q16224799 Q63131 Q1800640 Q1717876 Q16352210 Q4088396 Q1782761 Q893644
SYSTEM
Some of them are Ādolfs Sprūdžs, Kōrli Stalte, Ralf Rinke, Paul Walden, Milda Voß, Jürgen Hehn, Sergejs Čudinovs, Arvīds Blūmentāls, Konstantin Semilakovs, Boris Djacenko
Q4088396 Q63131 Q1341822 Q715674 Q1717876 Q16352210 Q16224799 Q1782761 Q1241967 Q893644 Q25865175 Q2545972 Q7177958 Q1800640 Q1899313 Q2071618 Q24576695 Q4378626
AND((c(Q502895),P27,Q183), (c(Q502895),P27,Q211))
action filter_type
action intersection
action find_reverse
entity Q183
relation P27
action find_reverse
entity Q211
relation P27
type Q502895
[ANSWERS] are a citizen of Germany and Latvia
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q183'], [{'concept': 'Q502895'}, 'P27', 'Q211']]}
SELECT DISTINCT ?w WHERE { ?w property:P27 resource:Q183 . ?w property:P27 resource:Q211 . ?w rdf:type ontology:Q502895 }
Arvīds Blūmentāls Paul Walden Kōrli Stalte Arturs Kruminsch Jürgen Hehn Sergejs Čudinovs Ralf Rinke Konstantin Semilakovs Welta Ehlert Boris Djacenko Ādolfs Sprūdžs Walter Robert Groß Peter von Blanckenhagen Milda Voß Maris Kruminsch Ernesto Foldats Ilona Brūvere Mārtiņš Prīmanis
Ādolfs Sprūdžs, Kōrli Stalte, Ralf Rinke, Paul Walden, Milda Voß, Jürgen Hehn, Sergejs Čudinovs, Arvīds Blūmentāls, Konstantin Semilakovs and Boris Djacenko are a citizen of Germany and Latvia
Ādolfs Sprūdžs Kōrli Stalte Ralf Rinke Paul Walden Milda Voß Jürgen Hehn Sergejs Čudinovs Arvīds Blūmentāls Konstantin Semilakovs Boris Djacenko
action filter_type
action intersection
action find_reverse
entity Germany
relation country of citizenship
action find_reverse
entity Latvia
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Germany'], [{'concept': 'common name'}, 'country of citizenship', 'Latvia']]}
SELECT DISTINCT ?w WHERE { ?w property:country_of_citizenship resource:Germany . ?w property:country_of_citizenship resource:Latvia . ?w rdf:type ontology:common_name }
[]