Simple Question (Direct)
Simple Question
Q1376996
P69
Q2385804
USER
What is the educational institution where Leonid Leonidov was educated ?
(Q1376996,P69,c(Q2385804))
action filter_type
action find
entity Q1376996
relation P69
type Q2385804
['Q1376996', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?m WHERE { resource:Q1376996 property:P69 ?m . ?m rdf:type ontology:Q2385804 }
Leonid Leonidov
action filter_type
action find
entity Leonid Leonidov
relation educated at
type educational institution
['Leonid Leonidov', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?m WHERE { resource:Leonid_Leonidov property:educated_at ?m . ?m rdf:type ontology:educational_institution }
[]
educational institution
Q1977696
SYSTEM
Richelieu Lyceum
Q1977696
(Q1376996,P69,c(Q2385804))
action filter_type
action find
entity Q1376996
relation P69
type Q2385804
The educational institution Leonid Leonidov was educated is the [ANSWER]
['Q1376996', 'P69', {'concept': 'Q2385804'}]
SELECT DISTINCT ?m WHERE { resource:Q1376996 property:P69 ?m . ?m rdf:type ontology:Q2385804 }
Richelieu Lyceum
The educational institution Leonid Leonidov was educated is the Richelieu Lyceum
Richelieu Lyceum
action filter_type
action find
entity Leonid Leonidov
relation educated at
type educational institution
['Leonid Leonidov', 'educated at', {'concept': 'educational institution'}]
SELECT DISTINCT ?m WHERE { resource:Leonid_Leonidov property:educated_at ?m . ?m rdf:type ontology:educational_institution }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1376996
P57
Q838948
USER
Which work of art has Leonid Leonidov as its director ?
(c(Q838948),P57,Q1376996)
action filter_type
action find_reverse
entity Q1376996
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q1376996']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P57 resource:Q1376996 }
Leonid Leonidov
action filter_type
action find_reverse
entity Leonid Leonidov
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Leonid Leonidov']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:director resource:Leonid_Leonidov }
[]
work of art
Q4178748
SYSTEM
The Iron Heel
Q4178748
(c(Q838948),P57,Q1376996)
action filter_type
action find_reverse
entity Q1376996
relation P57
type Q838948
[ANSWER] has Leonid Leonidov as its director
[{'concept': 'Q838948'}, 'P57', 'Q1376996']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q838948 . ?h property:P57 resource:Q1376996 }
The Iron Heel
The Iron Heel has Leonid Leonidov as its director
The Iron Heel
action filter_type
action find_reverse
entity Leonid Leonidov
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Leonid Leonidov']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:work_of_art . ?h property:director resource:Leonid_Leonidov }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1376996
P161
Q838948
USER
Which works of art stars Leonid Leonidov as actor ?
(c(Q838948),P161,Q1376996)
action filter_type
action find_reverse
entity Q1376996
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q1376996']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q1376996 . ?r rdf:type ontology:Q838948 }
Leonid Leonidov
action filter_type
action find_reverse
entity Leonid Leonidov
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Leonid Leonidov']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Leonid_Leonidov . ?r rdf:type ontology:work_of_art }
[]
work of art
Q4178748 Q4281549 Q24041148
SYSTEM
The Iron Heel, Marionettes, The Wings of a Serf
Q4178748 Q4281549 Q24041148
(c(Q838948),P161,Q1376996)
action filter_type
action find_reverse
entity Q1376996
relation P161
type Q838948
[ANSWERS] star Leonid Leonidov as actor
[{'concept': 'Q838948'}, 'P161', 'Q1376996']
SELECT DISTINCT ?r WHERE { ?r property:P161 resource:Q1376996 . ?r rdf:type ontology:Q838948 }
The Iron Heel Marionettes The Wings of a Serf
The Iron Heel, Marionettes and The Wings of a Serf star Leonid Leonidov as actor
The Iron Heel Marionettes The Wings of a Serf
action filter_type
action find_reverse
entity Leonid Leonidov
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Leonid Leonidov']
SELECT DISTINCT ?r WHERE { ?r property:cast_member resource:Leonid_Leonidov . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4178748 Q4281549 Q24041148
P161
Q502895
USER
Which people starred in The Iron Heel, Marionettes and The Wings of a Serf ?
(Q4178748,P161,c(Q502895)) (Q4281549,P161,c(Q502895)) (Q24041148,P161,c(Q502895))
action union
action filter_type
action find
entity Q4178748
relation P161
type Q502895
action filter_type
action find
entity Q4281549
relation P161
type Q502895
action filter_type
action find
entity Q24041148
relation P161
type Q502895
['Q4178748', 'P161', {'concept': 'Q502895'}] ['Q4281549', 'P161', {'concept': 'Q502895'}] ['Q24041148', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q4178748 property:P161 ?v . ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q502895 . resource:Q4281549 property:P161 ?v } }
The Iron Heel Marionettes The Wings of a Serf
action union
action filter_type
action find
entity The Iron Heel
relation cast member
type common name
action filter_type
action find
entity Marionettes
relation cast member
type common name
action filter_type
action find
entity The Wings of a Serf
relation cast member
type common name
['The Iron Heel', 'cast member', {'concept': 'common name'}] ['Marionettes', 'cast member', {'concept': 'common name'}] ['The Wings of a Serf', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:The_Iron_Heel property:cast_member ?v . ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:common_name . resource:Marionettes property:cast_member ?v } }
[]
common name
Q764546 Q1964680 Q1376996
SYSTEM
Mikhail Zharov, Sergey Martinson, Leonid Leonidov
Q270265 Q1376996 Q3785242 Q4194369 Q18008976 Q4459525 Q4223743 Q764546 Q4132171 Q1964680 Q4097651 Q4079113 Q3341690 Q3918331 Q1376996 Q1376996
(Q4178748,P161,c(Q502895)) (Q4281549,P161,c(Q502895)) (Q24041148,P161,c(Q502895))
action union
action filter_type
action find
entity Q4178748
relation P161
type Q502895
action filter_type
action find
entity Q4281549
relation P161
type Q502895
action filter_type
action find
entity Q24041148
relation P161
type Q502895
[ANSWERS] starred in The Iron Heel, Marionettes and The Wings of a Serf
['Q4178748', 'P161', {'concept': 'Q502895'}] ['Q4281549', 'P161', {'concept': 'Q502895'}] ['Q24041148', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { resource:Q4178748 property:P161 ?v . ?v rdf:type ontology:Q502895 } UNION { ?v rdf:type ontology:Q502895 . resource:Q4281549 property:P161 ?v } }
Olga Preobrajenska Leonid Leonidov Vasili Toporkov Konstantin Zubov Ivan Arkadin Valentina Tokarskaya Mikhail Klimov Mikhail Zharov Pyotr Galadzhev Sergey Martinson Nikolai Bubnov Osip Basov Nikolai Radin Anatoli Ktorov Leonid Leonidov Leonid Leonidov
Mikhail Zharov, Sergey Martinson and Leonid Leonidov starred in The Iron Heel, Marionettes and The Wings of a Serf
Mikhail Zharov Sergey Martinson Leonid Leonidov
action union
action filter_type
action find
entity The Iron Heel
relation cast member
type common name
action filter_type
action find
entity Marionettes
relation cast member
type common name
action filter_type
action find
entity The Wings of a Serf
relation cast member
type common name
['The Iron Heel', 'cast member', {'concept': 'common name'}] ['Marionettes', 'cast member', {'concept': 'common name'}] ['The Wings of a Serf', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { resource:The_Iron_Heel property:cast_member ?v . ?v rdf:type ontology:common_name } UNION { ?v rdf:type ontology:common_name . resource:Marionettes property:cast_member ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1977696
P138
Q502895
USER
Which person is Richelieu Lyceum named after ?
(Q1977696,P138,c(Q502895))
action filter_type
action find
entity Q1977696
relation P138
type Q502895
['Q1977696', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1977696 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Richelieu Lyceum
action filter_type
action find
entity Richelieu Lyceum
relation named after
type common name
['Richelieu Lyceum', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Richelieu_Lyceum property:named_after ?y . ?y rdf:type ontology:common_name }
[]
common name
Q459197
SYSTEM
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
Q459197
(Q1977696,P138,c(Q502895))
action filter_type
action find
entity Q1977696
relation P138
type Q502895
Richelieu Lyceum is named after [ANSWER]
['Q1977696', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1977696 property:P138 ?y . ?y rdf:type ontology:Q502895 }
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
Richelieu Lyceum is named after Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
Armand-Emmanuel de Vignerot du Plessis, Duc de Richelieu
action filter_type
action find
entity Richelieu Lyceum
relation named after
type common name
['Richelieu Lyceum', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Richelieu_Lyceum property:named_after ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q764546
P26
Q502895
USER
Which person has Mikhail Zharov as spouse ?
(c(Q502895),P26,Q764546)
action filter_type
action find
entity Q764546
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q764546']
SELECT DISTINCT ?n WHERE { resource:Q764546 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Mikhail Zharov
action filter_type
action find
entity Mikhail Zharov
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Mikhail Zharov']
SELECT DISTINCT ?n WHERE { resource:Mikhail_Zharov property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q4503736
SYSTEM
Lyudmila Tselikovskaya
Q4503736
(c(Q502895),P26,Q764546)
action filter_type
action find
entity Q764546
relation P26
type Q502895
[ANSWER] has Mikhail Zharov as spouse
[{'concept': 'Q502895'}, 'P26', 'Q764546']
SELECT DISTINCT ?n WHERE { resource:Q764546 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Lyudmila Tselikovskaya
Lyudmila Tselikovskaya has Mikhail Zharov as spouse
Lyudmila Tselikovskaya
action filter_type
action find
entity Mikhail Zharov
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Mikhail Zharov']
SELECT DISTINCT ?n WHERE { resource:Mikhail_Zharov property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1660234 Q4503736
P20
Q56061
USER
Which administrative territories are the places of death of Lyudmila Tselikovskaya or Haïm Houri ?
OR((Q4503736,P20,c(Q56061)), (Q1660234,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4503736
relation P20
action find
entity Q1660234
relation P20
type Q56061
{'OR': [['Q4503736', 'P20', {'concept': 'Q56061'}], ['Q1660234', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { ?y property:P20 ?d . VALUES ( ?y ) { ( resource:Q4503736 ) ( resource:Q1660234 ) } } . ?d rdf:type ontology:Q56061 }
Haïm Houri Lyudmila Tselikovskaya
action filter_type
action union
action find
entity Lyudmila Tselikovskaya
relation place of death
action find
entity Haïm Houri
relation place of death
type administrative territorial entity
{'OR': [['Lyudmila Tselikovskaya', 'place of death', {'concept': 'administrative territorial entity'}], ['Haïm Houri', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?y property:place_of_death ?d . VALUES ( ?y ) { ( resource:Lyudmila_Tselikovskaya ) ( resource:Haïm_Houri ) } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649 Q41843
SYSTEM
Moscow, Beersheba
Q649 Q41843
OR((Q4503736,P20,c(Q56061)), (Q1660234,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4503736
relation P20
action find
entity Q1660234
relation P20
type Q56061
[ANSWERS] are the places of death of Lyudmila Tselikovskaya or Haïm Houri
{'OR': [['Q4503736', 'P20', {'concept': 'Q56061'}], ['Q1660234', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?d WHERE { { ?y property:P20 ?d . VALUES ( ?y ) { ( resource:Q4503736 ) ( resource:Q1660234 ) } } . ?d rdf:type ontology:Q56061 }
Moscow Beersheba
Moscow and Beersheba are the places of death of Lyudmila Tselikovskaya or Haïm Houri
Moscow Beersheba
action filter_type
action union
action find
entity Lyudmila Tselikovskaya
relation place of death
action find
entity Haïm Houri
relation place of death
type administrative territorial entity
{'OR': [['Lyudmila Tselikovskaya', 'place of death', {'concept': 'administrative territorial entity'}], ['Haïm Houri', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?y property:place_of_death ?d . VALUES ( ?y ) { ( resource:Lyudmila_Tselikovskaya ) ( resource:Haïm_Houri ) } } . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P276
Q340169 Q43229
USER
How many medias and organizations have their location as Moscow ?
(c(Q340169),P276,Q649) (c(Q43229),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q340169
action filter_type
action find_reverse
entity Q649
relation P276
type Q43229
[{'concept': 'Q340169'}, 'P276', 'Q649'] [{'concept': 'Q43229'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q340169 ) ( ontology:Q43229 ) } . ?p rdf:type ?b }
Moscow
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type media
action filter_type
action find_reverse
entity Moscow
relation location
type organization
[{'concept': 'media'}, 'location', 'Moscow'] [{'concept': 'organization'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:media ) ( ontology:organization ) } . ?p rdf:type ?b }
[]
media organization
SYSTEM
1 medias and 2 organizations
Q4273678 Q1443926 Q4142290
(c(Q340169),P276,Q649) (c(Q43229),P276,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P276
type Q340169
action filter_type
action find_reverse
entity Q649
relation P276
type Q43229
[ANSWER]
[{'concept': 'Q340169'}, 'P276', 'Q649'] [{'concept': 'Q43229'}, 'P276', 'Q649']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:Q340169 ) ( ontology:Q43229 ) } . ?p rdf:type ?b }
Moscow Art Theatre 2nd Treaty on the Creation of the USSR Blue Rose
1 medias and 2 organizations
action count
action union
action filter_type
action find_reverse
entity Moscow
relation location
type media
action filter_type
action find_reverse
entity Moscow
relation location
type organization
[{'concept': 'media'}, 'location', 'Moscow'] [{'concept': 'organization'}, 'location', 'Moscow']
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { VALUES ( ?b ) { ( ontology:media ) ( ontology:organization ) } . ?p rdf:type ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P608
Q80071
USER
Which symbol was exhibited at Moscow ?
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?r WHERE { ?r property:P608 resource:Q649 . ?r rdf:type ontology:Q80071 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?r WHERE { ?r property:exhibition_history resource:Moscow . ?r rdf:type ontology:symbol }
[]
symbol
Q2635667
SYSTEM
Cross of Saint Euphrosyne
Q2635667
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[ANSWER] was exhibited at Moscow
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?r WHERE { ?r property:P608 resource:Q649 . ?r rdf:type ontology:Q80071 }
Cross of Saint Euphrosyne
Cross of Saint Euphrosyne was exhibited at Moscow
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?r WHERE { ?r property:exhibition_history resource:Moscow . ?r rdf:type ontology:symbol }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P36
Q3895768
USER
Which fictional location has Moscow as its administrative centre ?
(c(Q3895768),P36,Q649)
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[{'concept': 'Q3895768'}, 'P36', 'Q649']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q649 . ?y rdf:type ontology:Q3895768 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'fictional location'}, 'capital', 'Moscow']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Moscow . ?y rdf:type ontology:fictional_location }
[]
fictional location
Q2630442
SYSTEM
Reichskommissariat Moskowien
Q2630442
(c(Q3895768),P36,Q649)
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[ANSWER] has Moscow as its administrative centre
[{'concept': 'Q3895768'}, 'P36', 'Q649']
SELECT DISTINCT ?y WHERE { ?y property:P36 resource:Q649 . ?y rdf:type ontology:Q3895768 }
Reichskommissariat Moskowien
Reichskommissariat Moskowien has Moscow as its administrative centre
Reichskommissariat Moskowien
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'fictional location'}, 'capital', 'Moscow']
SELECT DISTINCT ?y WHERE { ?y property:capital resource:Moscow . ?y rdf:type ontology:fictional_location }
[]