Simple Question (Direct)
Simple Question
Q3172070
P20
Q1048835
USER
Where did the demise of Jean Fourcassié occur ?
(Q3172070,P20,c(Q1048835))
action filter_type
action find
entity Q3172070
relation P20
type Q1048835
['Q3172070', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q3172070 property:P20 ?m . ?m rdf:type ontology:Q1048835 }
Jean Fourcassié
action filter_type
action find
entity Jean Fourcassié
relation place of death
type political territorial entity
['Jean Fourcassié', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Fourcassié property:place_of_death ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q12540
SYSTEM
Calella
Q12540
(Q3172070,P20,c(Q1048835))
action filter_type
action find
entity Q3172070
relation P20
type Q1048835
The demise of Jean Fourcassié occurred in [ANSWER]
['Q3172070', 'P20', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { resource:Q3172070 property:P20 ?m . ?m rdf:type ontology:Q1048835 }
Calella
The demise of Jean Fourcassié occurred in Calella
Calella
action filter_type
action find
entity Jean Fourcassié
relation place of death
type political territorial entity
['Jean Fourcassié', 'place of death', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Fourcassié property:place_of_death ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3172070
P21
Q290
USER
Which sex does Jean Fourcassié belong to ?
(Q3172070,P21,c(Q290))
action filter_type
action find
entity Q3172070
relation P21
type Q290
['Q3172070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3172070 property:P21 ?g . ?g rdf:type ontology:Q290 }
Jean Fourcassié
action filter_type
action find
entity Jean Fourcassié
relation gender
type sex
['Jean Fourcassié', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jean_Fourcassié property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q3172070,P21,c(Q290))
action filter_type
action find
entity Q3172070
relation P21
type Q290
Jean Fourcassié belongs to [ANSWER]
['Q3172070', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q3172070 property:P21 ?g . ?g rdf:type ontology:Q290 }
female
Jean Fourcassié belongs to female
female
action filter_type
action find
entity Jean Fourcassié
relation gender
type sex
['Jean Fourcassié', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Jean_Fourcassié property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3172070
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q3172070
relation P27
type Q15617994
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3172070 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Jean Fourcassié
action filter_type
action find
entity Jean Fourcassié
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Fourcassié property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q6581072,P27,c(Q15617994))
action filter_type
action find
entity Q3172070
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q6581072', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3172070 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Jean Fourcassié
relation country of citizenship
type designation for an administrative territorial entity
['female', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Jean_Fourcassié property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q142 Q228 Q14680798
P530
Q15617994
USER
Does that administrative territory have ambassadorial relations with Andorra and Bradley School District ?
(Q142,P530,Q228) (Q142,P530,Q14680798)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q14680798
relation P530
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q14680798']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q14680798 }
France Andorra Bradley School District
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Bradley School District
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Bradley School District']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Bradley_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q142,P530,Q228) (Q142,P530,Q14680798)
action is_in
entity Q142
action intersection
action find_reverse
entity Q228
relation P530
action find_reverse
entity Q14680798
relation P530
[ANSWER]
['Q142', 'P530', 'Q228'] ['Q142', 'P530', 'Q14680798']
ASK WHERE { resource:Q142 property:P530 resource:Q228 . resource:Q142 property:P530 resource:Q14680798 }
YES and NO respectively
action is_in
entity France
action intersection
action find_reverse
entity Andorra
relation diplomatic relation
action find_reverse
entity Bradley School District
relation diplomatic relation
['France', 'diplomatic relation', 'Andorra'] ['France', 'diplomatic relation', 'Bradley School District']
ASK WHERE { resource:France property:diplomatic_relation resource:Andorra . resource:France property:diplomatic_relation resource:Bradley_School_District }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q905217 Q3172070
P47 P19
Q20667921
USER
Which french administrative divisions were Jean Fourcassié born at or are bordered by Goux-lès-Dambelin ?
OR((Q3172070,P19,c(Q20667921)), (Q905217,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3172070
relation P19
action find
entity Q905217
relation P47
type Q20667921
{'OR': [['Q3172070', 'P19', {'concept': 'Q20667921'}], ['Q905217', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . { { resource:Q905217 property:P47 ?b } UNION { resource:Q3172070 property:P19 ?b } } }
Goux-lès-Dambelin Jean Fourcassié
action filter_type
action union
action find
entity Jean Fourcassié
relation place of birth
action find
entity Goux-lès-Dambelin
relation shares border with
type type of french administrative division
{'OR': [['Jean Fourcassié', 'place of birth', {'concept': 'type of french administrative division'}], ['Goux-lès-Dambelin', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . { { resource:Goux-lès-Dambelin property:shares_border_with ?b } UNION { resource:Jean_Fourcassié property:place_of_birth ?b } } }
[]
type of french administrative division
Q905831 Q905778 Q905184 Q265206 Q132801 Q543943
SYSTEM
Saint-Maurice-Colombier, Villars-sous-Écot, Rémondans-Vaivre, Dambelin, Albi, Sourans
Q905831 Q905778 Q905184 Q265206 Q132801 Q543943
OR((Q3172070,P19,c(Q20667921)), (Q905217,P47,c(Q20667921)))
action filter_type
action union
action find
entity Q3172070
relation P19
action find
entity Q905217
relation P47
type Q20667921
[ANSWERS] were Jean Fourcassié born at or are bordered by Goux-lès-Dambelin
{'OR': [['Q3172070', 'P19', {'concept': 'Q20667921'}], ['Q905217', 'P47', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . { { resource:Q905217 property:P47 ?b } UNION { resource:Q3172070 property:P19 ?b } } }
Saint-Maurice-Colombier Villars-sous-Écot Rémondans-Vaivre Dambelin Albi Sourans
Saint-Maurice-Colombier, Villars-sous-Écot, Rémondans-Vaivre, Dambelin, Albi and Sourans were Jean Fourcassié born at or are bordered by Goux-lès-Dambelin
Saint-Maurice-Colombier Villars-sous-Écot Rémondans-Vaivre Dambelin Albi Sourans
action filter_type
action union
action find
entity Jean Fourcassié
relation place of birth
action find
entity Goux-lès-Dambelin
relation shares border with
type type of french administrative division
{'OR': [['Jean Fourcassié', 'place of birth', {'concept': 'type of french administrative division'}], ['Goux-lès-Dambelin', 'shares border with', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . { { resource:Goux-lès-Dambelin property:shares_border_with ?b } UNION { resource:Jean_Fourcassié property:place_of_birth ?b } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q905217
P17
Q15617994
USER
Which administrative territory is Goux-lès-Dambelin present in ?
(Q905217,P17,c(Q15617994))
action filter_type
action find
entity Q905217
relation P17
type Q15617994
['Q905217', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q905217 property:P17 ?t }
Goux-lès-Dambelin
action filter_type
action find
entity Goux-lès-Dambelin
relation country
type designation for an administrative territorial entity
['Goux-lès-Dambelin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Goux-lès-Dambelin property:country ?t }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q905217,P17,c(Q15617994))
action filter_type
action find
entity Q905217
relation P17
type Q15617994
Which administrative territory is Goux-lès-Dambelin present in
['Q905217', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q905217 property:P17 ?t }
France
Which administrative territory is Goux-lès-Dambelin present in
France
action filter_type
action find
entity Goux-lès-Dambelin
relation country
type designation for an administrative territorial entity
['Goux-lès-Dambelin', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Goux-lès-Dambelin property:country ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q132801
P190
Q56061
USER
Which administrative territories are twin cities of Albi ?
(Q132801,P190,c(Q56061))
action filter_type
action find
entity Q132801
relation P190
type Q56061
['Q132801', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q132801 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Albi
action filter_type
action find
entity Albi
relation sister city
type administrative territorial entity
['Albi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Albi property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q7038 Q47265 Q189685
SYSTEM
Girona, Palo Alto, Abomey
Q7038 Q47265 Q189685
(Q132801,P190,c(Q56061))
action filter_type
action find
entity Q132801
relation P190
type Q56061
[ANSWERS] are twin cities of Albi
['Q132801', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q132801 property:P190 ?z . ?z rdf:type ontology:Q56061 }
Girona Palo Alto Abomey
Girona, Palo Alto and Abomey are twin cities of Albi
Girona Palo Alto Abomey
action filter_type
action find
entity Albi
relation sister city
type administrative territorial entity
['Albi', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Albi property:sister_city ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q321074
Q56061
USER
And how about Piešťany?
(Q321074,P190,c(Q56061))
action filter_type
action find
entity Q321074
relation P190
type Q56061
['Q321074', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q321074 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Piešťany
action filter_type
action find
entity Piešťany
relation sister city
type administrative territorial entity
['Piešťany', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Piešťany property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q326962 Q849934 Q134762
SYSTEM
Varaždinske Toplice, Heinola, Eilat
Q326962 Q849934 Q134762
(Q321074,P190,c(Q56061))
action filter_type
action find
entity Q321074
relation P190
type Q56061
[ANSWERS]
['Q321074', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q321074 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Varaždinske Toplice Heinola Eilat
Varaždinske Toplice Heinola Eilat
action filter_type
action find
entity Piešťany
relation sister city
type administrative territorial entity
['Piešťany', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Piešťany property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q140147 Q326962
P190
Q56061
USER
Which administrative territories are partner towns of Varaždinske Toplice or Brest ?
OR((Q326962,P190,c(Q56061)), (Q140147,P190,c(Q56061)))
action filter_type
action union
action find
entity Q326962
relation P190
action find
entity Q140147
relation P190
type Q56061
{'OR': [['Q326962', 'P190', {'concept': 'Q56061'}], ['Q140147', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q326962 property:P190 ?x } UNION { resource:Q140147 property:P190 ?x } } . ?x rdf:type ontology:Q56061 }
Brest Varaždinske Toplice
action filter_type
action union
action find
entity Varaždinske Toplice
relation sister city
action find
entity Brest
relation sister city
type administrative territorial entity
{'OR': [['Varaždinske Toplice', 'sister city', {'concept': 'administrative territorial entity'}], ['Brest', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Varaždinske_Toplice property:sister_city ?x } UNION { resource:Brest property:sister_city ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6832 Q6487 Q165420 Q5815 Q15760 Q3927 Q2746 Q7550 Q321074 Q1829
SYSTEM
Some of them are Ravensburg, Antalya, Pleven, Tyumen, Novorossiysk, Astrakhan, Ryazan, Lutsk, Piešťany, Kaliningrad
Q15760 Q321074 Q1829 Q156726 Q6487 Q2746 Q649 Q7550 Q1011062 Q165420 Q98967 Q6832 Q1874 Q171639 Q41183 Q3927 Q230104 Q3118 Q1895 Q102445 Q5815
OR((Q326962,P190,c(Q56061)), (Q140147,P190,c(Q56061)))
action filter_type
action union
action find
entity Q326962
relation P190
action find
entity Q140147
relation P190
type Q56061
[ANSWERS] are partner towns of Varaždinske Toplice or Brest
{'OR': [['Q326962', 'P190', {'concept': 'Q56061'}], ['Q140147', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q326962 property:P190 ?x } UNION { resource:Q140147 property:P190 ?x } } . ?x rdf:type ontology:Q56061 }
Novorossiysk Piešťany Kaliningrad Ivano-Frankivsk Antalya Ryazan Moscow Lutsk Maldon Pleven Nizhny Tagil Ravensburg Odessa Ashdod Aleppo Astrakhan Nakhchivan Oryol Petrozavodsk Kovrov Tyumen
Ravensburg, Antalya, Pleven, Tyumen, Novorossiysk, Astrakhan, Ryazan, Lutsk, Piešťany and Kaliningrad are partner towns of Varaždinske Toplice or Brest
Ravensburg Antalya Pleven Tyumen Novorossiysk Astrakhan Ryazan Lutsk Piešťany Kaliningrad
action filter_type
action union
action find
entity Varaždinske Toplice
relation sister city
action find
entity Brest
relation sister city
type administrative territorial entity
{'OR': [['Varaždinske Toplice', 'sister city', {'concept': 'administrative territorial entity'}], ['Brest', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Varaždinske_Toplice property:sister_city ?x } UNION { resource:Brest property:sister_city ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q849934
P19 P21
Q502895
USER
Which people have place of birth as Heinola and are a male ?
AND((c(Q502895),P19,Q849934), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q849934
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q849934'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q849934 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
male Heinola
action filter_type
action intersection
action find_reverse
entity Heinola
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Heinola'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Heinola . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
common name
Q6378728 Q12006811 Q5389685 Q11850351 Q5935004 Q1621988 Q1840137 Q11881694 Q639554 Q13223627
SYSTEM
Some of them are Kauko Jalkanen, Topi Riutta, Erkki Pystynen, Aki Nurminen, August Langhoff, Keijo Pehkonen, Marko Kantele, Matti Ruohola, Toni Wirtanen, Oswald Renkonen
Q5935004 Q2915529 Q454747 Q13223627 Q1840137 Q5493112 Q5402759 Q11884468 Q4661328 Q11881694 Q15749 Q11874819 Q11850351 Q5389685 Q12006811 Q11871512 Q1621988 Q16848 Q11865993 Q6378728 Q1379497 Q639554
AND((c(Q502895),P19,Q849934), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q849934
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have place of birth as Heinola and are a male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q849934'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?c WHERE { ?c property:P19 resource:Q849934 . ?c property:P21 resource:Q6581097 . ?c rdf:type ontology:Q502895 }
August Langhoff Uuno Kailas Atte Mustonen Oswald Renkonen Marko Kantele Emil Werner von Essen Jukka Holtari Niko Kluuskeri Aake Kalliala Matti Ruohola Leo Laakso Lasse Summa Aki Nurminen Erkki Pystynen Topi Riutta Kimi Koivisto Keijo Pehkonen Paavo Nuotio Janne Ritamäki Kauko Jalkanen Tapio Kantanen Toni Wirtanen
Kauko Jalkanen, Topi Riutta, Erkki Pystynen, Aki Nurminen, August Langhoff, Keijo Pehkonen, Marko Kantele, Matti Ruohola, Toni Wirtanen and Oswald Renkonen have place of birth as Heinola and are a male
Kauko Jalkanen Topi Riutta Erkki Pystynen Aki Nurminen August Langhoff Keijo Pehkonen Marko Kantele Matti Ruohola Toni Wirtanen Oswald Renkonen
action filter_type
action intersection
action find_reverse
entity Heinola
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Heinola'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?c WHERE { ?c property:place_of_birth resource:Heinola . ?c property:gender resource:male . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6378728 Q12006811 Q5389685 Q11850351 Q5935004 Q1621988 Q1840137 Q11881694 Q639554 Q13223627
P21
Q290
USER
Which sexes do Kauko Jalkanen, Topi Riutta, Erkki Pystynen, Aki Nurminen, August Langhoff, Keijo Pehkonen, Marko Kantele, Matti Ruohola, Toni Wirtanen and Oswald Renkonen belong to ?
(Q6378728,P21,c(Q290)) (Q12006811,P21,c(Q290)) (Q5389685,P21,c(Q290)) (Q11850351,P21,c(Q290)) (Q5935004,P21,c(Q290)) (Q1621988,P21,c(Q290)) (Q1840137,P21,c(Q290)) (Q11881694,P21,c(Q290)) (Q639554,P21,c(Q290)) (Q13223627,P21,c(Q290))
action union
action filter_type
action find
entity Q6378728
relation P21
type Q290
action filter_type
action find
entity Q12006811
relation P21
type Q290
action filter_type
action find
entity Q5389685
relation P21
type Q290
action filter_type
action find
entity Q11850351
relation P21
type Q290
action filter_type
action find
entity Q5935004
relation P21
type Q290
action filter_type
action find
entity Q1621988
relation P21
type Q290
action filter_type
action find
entity Q1840137
relation P21
type Q290
action filter_type
action find
entity Q11881694
relation P21
type Q290
action filter_type
action find
entity Q639554
relation P21
type Q290
action filter_type
action find
entity Q13223627
relation P21
type Q290
['Q6378728', 'P21', {'concept': 'Q290'}] ['Q12006811', 'P21', {'concept': 'Q290'}] ['Q5389685', 'P21', {'concept': 'Q290'}] ['Q11850351', 'P21', {'concept': 'Q290'}] ['Q5935004', 'P21', {'concept': 'Q290'}] ['Q1621988', 'P21', {'concept': 'Q290'}] ['Q1840137', 'P21', {'concept': 'Q290'}] ['Q11881694', 'P21', {'concept': 'Q290'}] ['Q639554', 'P21', {'concept': 'Q290'}] ['Q13223627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q290 . resource:Q6378728 property:P21 ?k } UNION { ?k rdf:type ontology:Q290 . resource:Q12006811 property:P21 ?k } }
Kauko Jalkanen Topi Riutta Erkki Pystynen Aki Nurminen August Langhoff Keijo Pehkonen Marko Kantele Matti Ruohola Toni Wirtanen Oswald Renkonen
action union
action filter_type
action find
entity Kauko Jalkanen
relation gender
type sex
action filter_type
action find
entity Topi Riutta
relation gender
type sex
action filter_type
action find
entity Erkki Pystynen
relation gender
type sex
action filter_type
action find
entity Aki Nurminen
relation gender
type sex
action filter_type
action find
entity August Langhoff
relation gender
type sex
action filter_type
action find
entity Keijo Pehkonen
relation gender
type sex
action filter_type
action find
entity Marko Kantele
relation gender
type sex
action filter_type
action find
entity Matti Ruohola
relation gender
type sex
action filter_type
action find
entity Toni Wirtanen
relation gender
type sex
action filter_type
action find
entity Oswald Renkonen
relation gender
type sex
['Kauko Jalkanen', 'gender', {'concept': 'sex'}] ['Topi Riutta', 'gender', {'concept': 'sex'}] ['Erkki Pystynen', 'gender', {'concept': 'sex'}] ['Aki Nurminen', 'gender', {'concept': 'sex'}] ['August Langhoff', 'gender', {'concept': 'sex'}] ['Keijo Pehkonen', 'gender', {'concept': 'sex'}] ['Marko Kantele', 'gender', {'concept': 'sex'}] ['Matti Ruohola', 'gender', {'concept': 'sex'}] ['Toni Wirtanen', 'gender', {'concept': 'sex'}] ['Oswald Renkonen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:sex . resource:Kauko_Jalkanen property:gender ?k } UNION { ?k rdf:type ontology:sex . resource:Topi_Riutta property:gender ?k } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097
(Q6378728,P21,c(Q290)) (Q12006811,P21,c(Q290)) (Q5389685,P21,c(Q290)) (Q11850351,P21,c(Q290)) (Q5935004,P21,c(Q290)) (Q1621988,P21,c(Q290)) (Q1840137,P21,c(Q290)) (Q11881694,P21,c(Q290)) (Q639554,P21,c(Q290)) (Q13223627,P21,c(Q290))
action union
action filter_type
action find
entity Q6378728
relation P21
type Q290
action filter_type
action find
entity Q12006811
relation P21
type Q290
action filter_type
action find
entity Q5389685
relation P21
type Q290
action filter_type
action find
entity Q11850351
relation P21
type Q290
action filter_type
action find
entity Q5935004
relation P21
type Q290
action filter_type
action find
entity Q1621988
relation P21
type Q290
action filter_type
action find
entity Q1840137
relation P21
type Q290
action filter_type
action find
entity Q11881694
relation P21
type Q290
action filter_type
action find
entity Q639554
relation P21
type Q290
action filter_type
action find
entity Q13223627
relation P21
type Q290
[ANSWER], [ANSWER] and [ANSWER] Kauko Jalkanen, Topi Riutta, Erkki Pystynen, Aki Nurminen, August Langhoff, Keijo Pehkonen, Marko Kantele, Matti Ruohola, Toni Wirtanen and Oswald Renkonen belong to
['Q6378728', 'P21', {'concept': 'Q290'}] ['Q12006811', 'P21', {'concept': 'Q290'}] ['Q5389685', 'P21', {'concept': 'Q290'}] ['Q11850351', 'P21', {'concept': 'Q290'}] ['Q5935004', 'P21', {'concept': 'Q290'}] ['Q1621988', 'P21', {'concept': 'Q290'}] ['Q1840137', 'P21', {'concept': 'Q290'}] ['Q11881694', 'P21', {'concept': 'Q290'}] ['Q639554', 'P21', {'concept': 'Q290'}] ['Q13223627', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:Q290 . resource:Q6378728 property:P21 ?k } UNION { ?k rdf:type ontology:Q290 . resource:Q12006811 property:P21 ?k } }
male male male male male male male male male male
Male, male and male Kauko Jalkanen, Topi Riutta, Erkki Pystynen, Aki Nurminen, August Langhoff, Keijo Pehkonen, Marko Kantele, Matti Ruohola, Toni Wirtanen and Oswald Renkonen belong to
male male male
action union
action filter_type
action find
entity Kauko Jalkanen
relation gender
type sex
action filter_type
action find
entity Topi Riutta
relation gender
type sex
action filter_type
action find
entity Erkki Pystynen
relation gender
type sex
action filter_type
action find
entity Aki Nurminen
relation gender
type sex
action filter_type
action find
entity August Langhoff
relation gender
type sex
action filter_type
action find
entity Keijo Pehkonen
relation gender
type sex
action filter_type
action find
entity Marko Kantele
relation gender
type sex
action filter_type
action find
entity Matti Ruohola
relation gender
type sex
action filter_type
action find
entity Toni Wirtanen
relation gender
type sex
action filter_type
action find
entity Oswald Renkonen
relation gender
type sex
['Kauko Jalkanen', 'gender', {'concept': 'sex'}] ['Topi Riutta', 'gender', {'concept': 'sex'}] ['Erkki Pystynen', 'gender', {'concept': 'sex'}] ['Aki Nurminen', 'gender', {'concept': 'sex'}] ['August Langhoff', 'gender', {'concept': 'sex'}] ['Keijo Pehkonen', 'gender', {'concept': 'sex'}] ['Marko Kantele', 'gender', {'concept': 'sex'}] ['Matti Ruohola', 'gender', {'concept': 'sex'}] ['Toni Wirtanen', 'gender', {'concept': 'sex'}] ['Oswald Renkonen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { { ?k rdf:type ontology:sex . resource:Kauko_Jalkanen property:gender ?k } UNION { ?k rdf:type ontology:sex . resource:Topi_Riutta property:gender ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1829
P551
Q502895
USER
Who reside at Kaliningrad ?
(c(Q502895),P551,Q1829)
action filter_type
action find_reverse
entity Q1829
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q1829']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q1829 . ?n rdf:type ontology:Q502895 }
Kaliningrad
action filter_type
action find_reverse
entity Kaliningrad
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kaliningrad']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Kaliningrad . ?n rdf:type ontology:common_name }
[]
common name
Q5257378 Q64850
SYSTEM
Denis Matsukevich, Ernst Wiechert
Q5257378 Q64850
(c(Q502895),P551,Q1829)
action filter_type
action find_reverse
entity Q1829
relation P551
type Q502895
[ANSWERS] reside at Kaliningrad
[{'concept': 'Q502895'}, 'P551', 'Q1829']
SELECT DISTINCT ?n WHERE { ?n property:P551 resource:Q1829 . ?n rdf:type ontology:Q502895 }
Denis Matsukevich Ernst Wiechert
Denis Matsukevich and Ernst Wiechert reside at Kaliningrad
Denis Matsukevich Ernst Wiechert
action filter_type
action find_reverse
entity Kaliningrad
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Kaliningrad']
SELECT DISTINCT ?n WHERE { ?n property:residence resource:Kaliningrad . ?n rdf:type ontology:common_name }
[]