Simple Question (Direct)
Simple Question
Q4069118
P102
Q7278
USER
Which political party is Alexander Gelman a member of ?
(Q4069118,P102,c(Q7278))
action filter_type
action find
entity Q4069118
relation P102
type Q7278
['Q4069118', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { resource:Q4069118 property:P102 ?n . ?n rdf:type ontology:Q7278 }
Alexander Gelman
action filter_type
action find
entity Alexander Gelman
relation member of political party
type political party
['Alexander Gelman', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { resource:Alexander_Gelman property:member_of_political_party ?n . ?n rdf:type ontology:political_party }
[]
political party
Q79854
SYSTEM
Communist Party of the Soviet Union
Q79854
(Q4069118,P102,c(Q7278))
action filter_type
action find
entity Q4069118
relation P102
type Q7278
[ANSWER] is Alexander Gelman a member of
['Q4069118', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?n WHERE { resource:Q4069118 property:P102 ?n . ?n rdf:type ontology:Q7278 }
Communist Party of the Soviet Union
Communist Party of the Soviet Union is Alexander Gelman a member of
Communist Party of the Soviet Union
action filter_type
action find
entity Alexander Gelman
relation member of political party
type political party
['Alexander Gelman', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?n WHERE { resource:Alexander_Gelman property:member_of_political_party ?n . ?n rdf:type ontology:political_party }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4069118
P136
Q483394
USER
What can be considered as category for Alexander Gelman ?
(Q4069118,P136,c(Q483394))
action filter_type
action find
entity Q4069118
relation P136
type Q483394
['Q4069118', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?c WHERE { resource:Q4069118 property:P136 ?c . ?c rdf:type ontology:Q483394 }
Alexander Gelman
action filter_type
action find
entity Alexander Gelman
relation genre
type genre
['Alexander Gelman', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?c WHERE { resource:Alexander_Gelman property:genre ?c . ?c rdf:type ontology:genre }
[]
genre
Q21010853
SYSTEM
drama
Q21010853
(Q4069118,P136,c(Q483394))
action filter_type
action find
entity Q4069118
relation P136
type Q483394
A [ANSWER] can be considered as category for Alexander Gelman
['Q4069118', 'P136', {'concept': 'Q483394'}]
SELECT DISTINCT ?c WHERE { resource:Q4069118 property:P136 ?c . ?c rdf:type ontology:Q483394 }
drama
A drama can be considered as category for Alexander Gelman
drama
action filter_type
action find
entity Alexander Gelman
relation genre
type genre
['Alexander Gelman', 'genre', {'concept': 'genre'}]
SELECT DISTINCT ?c WHERE { resource:Alexander_Gelman property:genre ?c . ?c rdf:type ontology:genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4069118
P22
Q502895
USER
Which person has that one as father ?
(c(Q502895),P22,Q21010853)
action filter_type
action find_reverse
entity Q4069118
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q21010853']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q4069118 }
Alexander Gelman
action filter_type
action find_reverse
entity Alexander Gelman
relation father
type common name
[{'concept': 'common name'}, 'father', 'drama']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Alexander_Gelman }
[]
common name
Q3790143
SYSTEM
Marat Gelman
Q3790143
(c(Q502895),P22,Q21010853)
action filter_type
action find_reverse
entity Q4069118
relation P22
type Q502895
[ANSWER] has that one as father
[{'concept': 'Q502895'}, 'P22', 'Q21010853']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P22 resource:Q4069118 }
Marat Gelman
Marat Gelman has that one as father
Marat Gelman
action filter_type
action find_reverse
entity Alexander Gelman
relation father
type common name
[{'concept': 'common name'}, 'father', 'drama']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:father resource:Alexander_Gelman }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q4069118
P21 P22
Q502895
USER
Which people have Alexander Gelman as a father and are a male ?
AND((c(Q502895),P22,Q4069118), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4069118
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4069118'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P22 resource:Q4069118 . ?y rdf:type ontology:Q502895 }
male Alexander Gelman
action filter_type
action intersection
action find_reverse
entity Alexander Gelman
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Alexander Gelman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:father resource:Alexander_Gelman . ?y rdf:type ontology:common_name }
[]
common name
Q3790143
SYSTEM
Marat Gelman
Q3790143
AND((c(Q502895),P22,Q4069118), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q4069118
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Alexander Gelman as a father and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q4069118'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581097 . ?y property:P22 resource:Q4069118 . ?y rdf:type ontology:Q502895 }
Marat Gelman
Marat Gelman have Alexander Gelman as a father and are a male
Marat Gelman
action filter_type
action intersection
action find_reverse
entity Alexander Gelman
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Alexander Gelman'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:male . ?y property:father resource:Alexander_Gelman . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3790143
P19
Q56061
USER
Where was that person born ?
(Q3790143,P19,c(Q56061))
action filter_type
action find
entity Q3790143
relation P19
type Q56061
['Q3790143', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3790143 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Marat Gelman
action filter_type
action find
entity Marat Gelman
relation place of birth
type administrative territorial entity
['Marat Gelman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Marat_Gelman property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q21197
SYSTEM
Chișinău
Q21197
(Q3790143,P19,c(Q56061))
action filter_type
action find
entity Q3790143
relation P19
type Q56061
That person was born in [ANSWER]
['Q3790143', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q3790143 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Chișinău
That person was born in Chișinău
Chișinău
action filter_type
action find
entity Marat Gelman
relation place of birth
type administrative territorial entity
['Marat Gelman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Marat_Gelman property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1472168 Q3790143
P19 P20
Q56061
USER
Which administrative territories are the places of birth of Marat Gelman or did Rudolf Steinbach expire ?
OR((Q3790143,P19,c(Q56061)), (Q1472168,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3790143
relation P19
action find
entity Q1472168
relation P20
type Q56061
{'OR': [['Q3790143', 'P19', {'concept': 'Q56061'}], ['Q1472168', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . { { resource:Q1472168 property:P20 ?y } UNION { resource:Q3790143 property:P19 ?y } } }
Rudolf Steinbach Marat Gelman
action filter_type
action union
action find
entity Marat Gelman
relation place of birth
action find
entity Rudolf Steinbach
relation place of death
type administrative territorial entity
{'OR': [['Marat Gelman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudolf Steinbach', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . { { resource:Rudolf_Steinbach property:place_of_death ?y } UNION { resource:Marat_Gelman property:place_of_birth ?y } } }
[]
administrative territorial entity
Q1017 Q21197
SYSTEM
Aachen, Chișinău
Q1017 Q21197
OR((Q3790143,P19,c(Q56061)), (Q1472168,P20,c(Q56061)))
action filter_type
action union
action find
entity Q3790143
relation P19
action find
entity Q1472168
relation P20
type Q56061
[ANSWERS] are the places of birth of Marat Gelman or did Rudolf Steinbach expire
{'OR': [['Q3790143', 'P19', {'concept': 'Q56061'}], ['Q1472168', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q56061 . { { resource:Q1472168 property:P20 ?y } UNION { resource:Q3790143 property:P19 ?y } } }
Aachen Chișinău
Aachen and Chișinău are the places of birth of Marat Gelman or did Rudolf Steinbach expire
Aachen Chișinău
action filter_type
action union
action find
entity Marat Gelman
relation place of birth
action find
entity Rudolf Steinbach
relation place of death
type administrative territorial entity
{'OR': [['Marat Gelman', 'place of birth', {'concept': 'administrative territorial entity'}], ['Rudolf Steinbach', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:administrative_territorial_entity . { { resource:Rudolf_Steinbach property:place_of_death ?y } UNION { resource:Marat_Gelman property:place_of_birth ?y } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q689620 Q21197
P17
Q15617994
USER
Which administrative territories are Chișinău or Armutlu, Yalova situated in ?
OR((Q21197,P17,c(Q15617994)), (Q689620,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21197
relation P17
action find
entity Q689620
relation P17
type Q15617994
{'OR': [['Q21197', 'P17', {'concept': 'Q15617994'}], ['Q689620', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q21197 property:P17 ?x } UNION { resource:Q689620 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Armutlu, Yalova Chișinău
action filter_type
action union
action find
entity Chișinău
relation country
action find
entity Armutlu, Yalova
relation country
type designation for an administrative territorial entity
{'OR': [['Chișinău', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armutlu, Yalova', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Chișinău property:country ?x } UNION { resource:Armutlu,_Yalova property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q218 Q10957559 Q217 Q43
SYSTEM
Romania, Moldavia, Republic of Moldova, Turkey
Q218 Q10957559 Q217 Q43
OR((Q21197,P17,c(Q15617994)), (Q689620,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q21197
relation P17
action find
entity Q689620
relation P17
type Q15617994
[ANSWERS] are Chișinău or Armutlu, Yalova situated in
{'OR': [['Q21197', 'P17', {'concept': 'Q15617994'}], ['Q689620', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q21197 property:P17 ?x } UNION { resource:Q689620 property:P17 ?x } } . ?x rdf:type ontology:Q15617994 }
Romania Moldavia Republic of Moldova Turkey
Romania, Moldavia, Republic of Moldova and Turkey are Chișinău or Armutlu, Yalova situated in
Romania Moldavia Republic of Moldova Turkey
action filter_type
action union
action find
entity Chișinău
relation country
action find
entity Armutlu, Yalova
relation country
type designation for an administrative territorial entity
{'OR': [['Chișinău', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armutlu, Yalova', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Chișinău property:country ?x } UNION { resource:Armutlu,_Yalova property:country ?x } } . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1017
P206
Q355304
USER
Which watercourse is situated close to Aachen ?
(Q1017,P206,c(Q355304))
action filter_type
action find
entity Q1017
relation P206
type Q355304
['Q1017', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q1017 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Aachen
action filter_type
action find
entity Aachen
relation located next to body of water
type watercourse
['Aachen', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Aachen property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
watercourse
Q153310
SYSTEM
Wurm
Q153310
(Q1017,P206,c(Q355304))
action filter_type
action find
entity Q1017
relation P206
type Q355304
It [ANSWER] is situated close to Aachen
['Q1017', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?b WHERE { resource:Q1017 property:P206 ?b . ?b rdf:type ontology:Q355304 }
Wurm
It Wurm is situated close to Aachen
Wurm
action filter_type
action find
entity Aachen
relation located next to body of water
type watercourse
['Aachen', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?b WHERE { resource:Aachen property:located_next_to_body_of_water ?b . ?b rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1017
P36
Q13220204
USER
Which administrative country subdivision contains Aachen as its capital ?
(c(Q13220204),P36,Q1017)
action filter_type
action find_reverse
entity Q1017
relation P36
type Q13220204
[{'concept': 'Q13220204'}, 'P36', 'Q1017']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1017 . ?w rdf:type ontology:Q13220204 }
Aachen
action filter_type
action find_reverse
entity Aachen
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Aachen']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Aachen . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q702838
SYSTEM
arrondissement of Aix-la-Chapelle
Q702838
(c(Q13220204),P36,Q1017)
action filter_type
action find_reverse
entity Q1017
relation P36
type Q13220204
The [ANSWER] contains Aachen as its capital
[{'concept': 'Q13220204'}, 'P36', 'Q1017']
SELECT DISTINCT ?w WHERE { ?w property:P36 resource:Q1017 . ?w rdf:type ontology:Q13220204 }
arrondissement of Aix-la-Chapelle
The arrondissement of Aix-la-Chapelle contains Aachen as its capital
arrondissement of Aix-la-Chapelle
action filter_type
action find_reverse
entity Aachen
relation capital
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'capital', 'Aachen']
SELECT DISTINCT ?w WHERE { ?w property:capital resource:Aachen . ?w rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1017
P1313
Q618779
USER
Which award is fulfilled by that administrative territory ?
(Q702838,P1313,c(Q618779))
action filter_type
action find
entity Q1017
relation P1313
type Q618779
['Q702838', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q1017 property:P1313 ?c . ?c rdf:type ontology:Q618779 }
Aachen
action filter_type
action find
entity Aachen
relation office held by head of government
type award
['arrondissement of Aix-la-Chapelle', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Aachen property:office_held_by_head_of_government ?c . ?c rdf:type ontology:award }
[]
award
Q11902879
SYSTEM
Lord Mayor
Q11902879
(Q702838,P1313,c(Q618779))
action filter_type
action find
entity Q1017
relation P1313
type Q618779
The [ANSWER] is fulfilled by that administrative territory
['Q702838', 'P1313', {'concept': 'Q618779'}]
SELECT DISTINCT ?c WHERE { resource:Q1017 property:P1313 ?c . ?c rdf:type ontology:Q618779 }
Lord Mayor
The Lord Mayor is fulfilled by that administrative territory
Lord Mayor
action filter_type
action find
entity Aachen
relation office held by head of government
type award
['arrondissement of Aix-la-Chapelle', 'office held by head of government', {'concept': 'award'}]
SELECT DISTINCT ?c WHERE { resource:Aachen property:office_held_by_head_of_government ?c . ?c rdf:type ontology:award }
[]