Simple Question (Direct)
Simple Question
Q2563648
P166
Q15275719
USER
What was received by Emīla nedarbi ?
(Q2563648,P166,c(Q15275719))
action filter_type
action find
entity Q2563648
relation P166
type Q15275719
['Q2563648', 'P166', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { resource:Q2563648 property:P166 ?h . ?h rdf:type ontology:Q15275719 }
Emīla nedarbi
action filter_type
action find
entity Emīla nedarbi
relation award received
type recurring event
['Emīla nedarbi', 'award received', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { resource:Emīla_nedarbi property:award_received ?h . ?h rdf:type ontology:recurring_event }
[]
recurring event
Q4092704
SYSTEM
Lielais Kristaps
Q4092704
(Q2563648,P166,c(Q15275719))
action filter_type
action find
entity Q2563648
relation P166
type Q15275719
[ANSWER] was received by Emīla nedarbi
['Q2563648', 'P166', {'concept': 'Q15275719'}]
SELECT DISTINCT ?h WHERE { resource:Q2563648 property:P166 ?h . ?h rdf:type ontology:Q15275719 }
Lielais Kristaps
Lielais Kristaps was received by Emīla nedarbi
Lielais Kristaps
action filter_type
action find
entity Emīla nedarbi
relation award received
type recurring event
['Emīla nedarbi', 'award received', {'concept': 'recurring event'}]
SELECT DISTINCT ?h WHERE { resource:Emīla_nedarbi property:award_received ?h . ?h rdf:type ontology:recurring_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2563648
P161
Q502895
USER
Which people starred in Emīla nedarbi ?
(Q2563648,P161,c(Q502895))
action filter_type
action find
entity Q2563648
relation P161
type Q502895
['Q2563648', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2563648 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Emīla nedarbi
action filter_type
action find
entity Emīla nedarbi
relation cast member
type common name
['Emīla nedarbi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Emīla_nedarbi property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
common name
Q257901 Q4247488 Q2668023
SYSTEM
Vija Artmane, Dina Kuple, Harijs Liepiņš
Q4247488 Q4057504 Q4102982 Q257901 Q4529655 Q3739183 Q2668023
(Q2563648,P161,c(Q502895))
action filter_type
action find
entity Q2563648
relation P161
type Q502895
[ANSWERS] starred in Emīla nedarbi
['Q2563648', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { resource:Q2563648 property:P161 ?g . ?g rdf:type ontology:Q502895 }
Dina Kuple Imants Adermanis Ēvalds Valters Vija Artmane Dace Eversa Uldis Dumpis Harijs Liepiņš
Vija Artmane, Dina Kuple and Harijs Liepiņš starred in Emīla nedarbi
Vija Artmane Dina Kuple Harijs Liepiņš
action filter_type
action find
entity Emīla nedarbi
relation cast member
type common name
['Emīla nedarbi', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { resource:Emīla_nedarbi property:cast_member ?g . ?g rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2563648
P161
Q15416
USER
Do those people star in Emīla nedarbi ?
(Q2563648,P161,Q257901) (Q2563648,P161,Q4247488) (Q2563648,P161,Q2668023)
action is_in
entity prev_answer
action find
entity Q2563648
relation P161
['Q2563648', 'P161', 'Q257901'] ['Q2563648', 'P161', 'Q4247488'] ['Q2563648', 'P161', 'Q2668023']
ASK WHERE { resource:Q2563648 property:P161 ?n . VALUES ( ?n ) { ( resource:Q4247488 ) ( resource:Q4057504 ) ( resource:Q4102982 ) } }
Emīla nedarbi
action is_in
entity prev_answer
action find
entity Emīla nedarbi
relation cast member
['Emīla nedarbi', 'cast member', 'Vija Artmane'] ['Emīla nedarbi', 'cast member', 'Dina Kuple'] ['Emīla nedarbi', 'cast member', 'Harijs Liepiņš']
ASK WHERE { resource:Emīla_nedarbi property:cast_member ?n . VALUES ( ?n ) { ( resource:Dina_Kuple ) ( resource:Imants_Adermanis ) ( resource:Ēvalds_Valters ) } }
[]
television program
SYSTEM
YES
(Q2563648,P161,Q257901) (Q2563648,P161,Q4247488) (Q2563648,P161,Q2668023)
action is_in
entity prev_answer
action find
entity Q2563648
relation P161
[ANSWER]
['Q2563648', 'P161', 'Q257901'] ['Q2563648', 'P161', 'Q4247488'] ['Q2563648', 'P161', 'Q2668023']
ASK WHERE { resource:Q2563648 property:P161 ?n . VALUES ( ?n ) { ( resource:Q4247488 ) ( resource:Q4057504 ) ( resource:Q4102982 ) } }
Yes
action is_in
entity prev_answer
action find
entity Emīla nedarbi
relation cast member
['Emīla nedarbi', 'cast member', 'Vija Artmane'] ['Emīla nedarbi', 'cast member', 'Dina Kuple'] ['Emīla nedarbi', 'cast member', 'Harijs Liepiņš']
ASK WHERE { resource:Emīla_nedarbi property:cast_member ?n . VALUES ( ?n ) { ( resource:Dina_Kuple ) ( resource:Imants_Adermanis ) ( resource:Ēvalds_Valters ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2563648
P57
Q502895
USER
Who was the director of Emīla nedarbi ?
(Q2563648,P57,c(Q502895))
action filter_type
action find
entity Q2563648
relation P57
type Q502895
['Q2563648', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2563648 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Emīla nedarbi
action filter_type
action find
entity Emīla nedarbi
relation director
type common name
['Emīla nedarbi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Emīla_nedarbi property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q4095849
SYSTEM
Varis Brasla
Q4095849
(Q2563648,P57,c(Q502895))
action filter_type
action find
entity Q2563648
relation P57
type Q502895
The director of Emīla nedarbi was named [ANSWER]
['Q2563648', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q2563648 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Varis Brasla
The director of Emīla nedarbi was named Varis Brasla
Varis Brasla
action filter_type
action find
entity Emīla nedarbi
relation director
type common name
['Emīla nedarbi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Emīla_nedarbi property:director ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2563648
P86
Q502895
USER
Who wrote the music for that television program ?
(Q4095849,P86,c(Q502895))
action filter_type
action find
entity Q2563648
relation P86
type Q502895
['Q4095849', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2563648 property:P86 ?u }
Emīla nedarbi
action filter_type
action find
entity Emīla nedarbi
relation composer
type common name
['Varis Brasla', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Emīla_nedarbi property:composer ?u }
[]
common name
Q940903
SYSTEM
Imants Kalniņš
Q940903
(Q4095849,P86,c(Q502895))
action filter_type
action find
entity Q2563648
relation P86
type Q502895
[ANSWER] wrote the music for that television program
['Q4095849', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q2563648 property:P86 ?u }
Imants Kalniņš
Imants Kalniņš wrote the music for that television program
Imants Kalniņš
action filter_type
action find
entity Emīla nedarbi
relation composer
type common name
['Varis Brasla', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Emīla_nedarbi property:composer ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P27
Q15617994 Q7275
USER
How many administrative territories and states are that person a civilian of ?
(Q940903,P27,c(Q15617994)) (Q940903,P27,c(Q7275)) (Q940903,P27,c(Q15617994)) (Q940903,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q940903
relation P27
type Q15617994
action filter_type
action find
entity Q940903
relation P27
type Q7275
['Q940903', 'P27', {'concept': 'Q15617994'}] ['Q940903', 'P27', {'concept': 'Q7275'}] ['Q940903', 'P27', {'concept': 'Q15617994'}] ['Q940903', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { ?l rdf:type ontology:Q15617994 . resource:Q940903 property:P27 ?l } UNION { resource:Q940903 property:P27 ?l . ?l rdf:type ontology:Q7275 } }
action count
action union
action filter_type
action find
entity Imants Kalniņš
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Imants Kalniņš
relation country of citizenship
type state
['Imants Kalniņš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'state'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Imants_Kalniņš property:country_of_citizenship ?l } UNION { resource:Imants_Kalniņš property:country_of_citizenship ?l . ?l rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
1 administrative territories and 1 states
Q211 Q15180
(Q940903,P27,c(Q15617994)) (Q940903,P27,c(Q7275)) (Q940903,P27,c(Q15617994)) (Q940903,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q940903
relation P27
type Q15617994
action filter_type
action find
entity Q940903
relation P27
type Q7275
[ANSWER]
['Q940903', 'P27', {'concept': 'Q15617994'}] ['Q940903', 'P27', {'concept': 'Q7275'}] ['Q940903', 'P27', {'concept': 'Q15617994'}] ['Q940903', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { ?l rdf:type ontology:Q15617994 . resource:Q940903 property:P27 ?l } UNION { resource:Q940903 property:P27 ?l . ?l rdf:type ontology:Q7275 } }
Latvia Soviet Union
1 administrative territories and 1 states
action count
action union
action filter_type
action find
entity Imants Kalniņš
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Imants Kalniņš
relation country of citizenship
type state
['Imants Kalniņš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'state'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Imants Kalniņš', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?v ) WHERE { { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Imants_Kalniņš property:country_of_citizenship ?l } UNION { resource:Imants_Kalniņš property:country_of_citizenship ?l . ?l rdf:type ontology:state } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q940903
P19
Q515
USER
Where was Imants Kalniņš born ?
(Q940903,P19,c(Q515))
action filter_type
action find
entity Q940903
relation P19
type Q515
['Q940903', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q940903 property:P19 ?n . ?n rdf:type ontology:Q515 }
Imants Kalniņš
action filter_type
action find
entity Imants Kalniņš
relation place of birth
type city
['Imants Kalniņš', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Imants_Kalniņš property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
city
Q1773
SYSTEM
Riga
Q1773
(Q940903,P19,c(Q515))
action filter_type
action find
entity Q940903
relation P19
type Q515
Imants Kalniņš was born in [ANSWER]
['Q940903', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?n WHERE { resource:Q940903 property:P19 ?n . ?n rdf:type ontology:Q515 }
Riga
Imants Kalniņš was born in Riga
Riga
action filter_type
action find
entity Imants Kalniņš
relation place of birth
type city
['Imants Kalniņš', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?n WHERE { resource:Imants_Kalniņš property:place_of_birth ?n . ?n rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q940903
P136
Q15198957
USER
Which genre does that person belong to ?
(Q1773,P136,c(Q15198957))
action filter_type
action find
entity Q940903
relation P136
type Q15198957
['Q1773', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?h WHERE { resource:Q940903 property:P136 ?h . ?h rdf:type ontology:Q15198957 }
Imants Kalniņš
action filter_type
action find
entity Imants Kalniņš
relation genre
type aspect of music
['Riga', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?h WHERE { resource:Imants_Kalniņš property:genre ?h . ?h rdf:type ontology:aspect_of_music }
[]
aspect of music
Q9734
SYSTEM
symphony
Q9734
(Q1773,P136,c(Q15198957))
action filter_type
action find
entity Q940903
relation P136
type Q15198957
That person belongs to [ANSWER]
['Q1773', 'P136', {'concept': 'Q15198957'}]
SELECT DISTINCT ?h WHERE { resource:Q940903 property:P136 ?h . ?h rdf:type ontology:Q15198957 }
symphony
That person belongs to symphony
symphony
action filter_type
action find
entity Imants Kalniņš
relation genre
type aspect of music
['Riga', 'genre', {'concept': 'aspect of music'}]
SELECT DISTINCT ?h WHERE { resource:Imants_Kalniņš property:genre ?h . ?h rdf:type ontology:aspect_of_music }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4247488
P161
Q15416
USER
How many television programs stars Dina Kuple as actor ?
(c(Q15416),P161,Q4247488)
action count
action filter_type
action find_reverse
entity Q4247488
relation P161
type Q15416
[{'concept': 'Q15416'}, 'P161', 'Q4247488']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P161 resource:Q4247488 . ?q rdf:type ontology:Q15416 }
Dina Kuple
action count
action filter_type
action find_reverse
entity Dina Kuple
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Dina Kuple']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:cast_member resource:Dina_Kuple . ?q rdf:type ontology:television_program }
[]
television program
SYSTEM
1
Q2563648
(c(Q15416),P161,Q4247488)
action count
action filter_type
action find_reverse
entity Q4247488
relation P161
type Q15416
[ANSWER]
[{'concept': 'Q15416'}, 'P161', 'Q4247488']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P161 resource:Q4247488 . ?q rdf:type ontology:Q15416 }
Emīla nedarbi
1
action count
action filter_type
action find_reverse
entity Dina Kuple
relation cast member
type television program
[{'concept': 'television program'}, 'cast member', 'Dina Kuple']
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:cast_member resource:Dina_Kuple . ?q rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2025392
P40
Q502895
USER
Who has Rosemary Murphy as a child ?
(c(Q502895),P40,Q2025392)
action filter_type
action find_reverse
entity Q2025392
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q2025392']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q2025392 . ?n rdf:type ontology:Q502895 }
Rosemary Murphy
action filter_type
action find_reverse
entity Rosemary Murphy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rosemary Murphy']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Rosemary_Murphy . ?n rdf:type ontology:common_name }
[]
common name
Q2000858
SYSTEM
Robert Daniel Murphy
Q2000858
(c(Q502895),P40,Q2025392)
action filter_type
action find_reverse
entity Q2025392
relation P40
type Q502895
[ANSWER] has Rosemary Murphy as a child
[{'concept': 'Q502895'}, 'P40', 'Q2025392']
SELECT DISTINCT ?n WHERE { ?n property:P40 resource:Q2025392 . ?n rdf:type ontology:Q502895 }
Robert Daniel Murphy
Robert Daniel Murphy has Rosemary Murphy as a child
Robert Daniel Murphy
action filter_type
action find_reverse
entity Rosemary Murphy
relation child
type common name
[{'concept': 'common name'}, 'child', 'Rosemary Murphy']
SELECT DISTINCT ?n WHERE { ?n property:child resource:Rosemary_Murphy . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2025392
P26
Q502895
USER
Who is married to Rosemary Murphy ?
(Q2025392,P26,c(Q502895))
action filter_type
action find
entity Q2025392
relation P26
type Q502895
['Q2025392', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2025392 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Rosemary Murphy
action filter_type
action find
entity Rosemary Murphy
relation spouse
type common name
['Rosemary Murphy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Rosemary_Murphy property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1242516
SYSTEM
Reginald Marsh
Q1242516
(Q2025392,P26,c(Q502895))
action filter_type
action find
entity Q2025392
relation P26
type Q502895
He [ANSWER] is married to Rosemary Murphy
['Q2025392', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2025392 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Reginald Marsh
He Reginald Marsh is married to Rosemary Murphy
Reginald Marsh
action filter_type
action find
entity Rosemary Murphy
relation spouse
type common name
['Rosemary Murphy', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Rosemary_Murphy property:spouse ?p . ?p rdf:type ontology:common_name }
[]