Simple Question (Direct)
Simple Question
Q4463473
P27
Q7275
USER
Which state is the native country of Artemy Troitsky ?
(Q4463473,P27,c(Q7275))
action filter_type
action find
entity Q4463473
relation P27
type Q7275
['Q4463473', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q4463473 property:P27 ?d . ?d rdf:type ontology:Q7275 }
Artemy Troitsky
action filter_type
action find
entity Artemy Troitsky
relation country of citizenship
type state
['Artemy Troitsky', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Artemy_Troitsky property:country_of_citizenship ?d . ?d rdf:type ontology:state }
[]
state
Q15180
SYSTEM
Soviet Union
Q15180
(Q4463473,P27,c(Q7275))
action filter_type
action find
entity Q4463473
relation P27
type Q7275
The [ANSWER] is the native country of Artemy Troitsky
['Q4463473', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?d WHERE { resource:Q4463473 property:P27 ?d . ?d rdf:type ontology:Q7275 }
Soviet Union
The Soviet Union is the native country of Artemy Troitsky
Soviet Union
action filter_type
action find
entity Artemy Troitsky
relation country of citizenship
type state
['Artemy Troitsky', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?d WHERE { resource:Artemy_Troitsky property:country_of_citizenship ?d . ?d rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4463473
P161
Q838948
USER
What are the name of works of art staring that person ?
(c(Q838948),P161,Q15180)
action filter_type
action find_reverse
entity Q4463473
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q15180']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q4463473 }
Artemy Troitsky
action filter_type
action find_reverse
entity Artemy Troitsky
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Soviet Union']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Artemy_Troitsky }
[]
work of art
Q4071071 Q7222605
SYSTEM
Arie, Nevalyashka
Q4071071 Q7222605
(c(Q838948),P161,Q15180)
action filter_type
action find_reverse
entity Q4463473
relation P161
type Q838948
The name of works of art staring that person are named [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q15180']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q838948 . ?e property:P161 resource:Q4463473 }
Arie Nevalyashka
The name of works of art staring that person are named Arie and Nevalyashka
Arie Nevalyashka
action filter_type
action find_reverse
entity Artemy Troitsky
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Soviet Union']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:work_of_art . ?e property:cast_member resource:Artemy_Troitsky }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4071071
P86
Q502895
USER
Which person composed that work of art ?
(Q4071071,P86,c(Q502895))
action filter_type
action find
entity Q4071071
relation P86
type Q502895
['Q4071071', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q4071071 property:P86 ?h }
Arie
action filter_type
action find
entity Arie
relation composer
type common name
['Arie', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Arie property:composer ?h }
[]
common name
Clarification for simple ques.
Q7222605
SYSTEM
Did you mean Nevalyashka ?
Q4071071 Q7222605
(Q4071071,P86,c(Q502895)) (Q7222605,P86,c(Q502895))
[ANSWER]
['Q4071071', 'P86', {'concept': 'Q502895'}] ['Q7222605', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q4071071 property:P86 ?h }
Arie Nevalyashka
Did you mean Nevalyashka ?
Nevalyashka
['Arie', 'composer', {'concept': 'common name'}] ['Nevalyashka', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Arie property:composer ?h }
[]
Simple Question (Coreferenced)
USER
No, I meant Arie. Could you tell me the answer for that?
(Q4071071,P86,c(Q502895))
Q4071071
['Q4071071', 'P86', {'concept': 'Q502895'}]
['Arie', 'composer', {'concept': 'common name'}]
[]
Q2038724
SYSTEM
Vyacheslav Ganelin
Q2038724
(Q4071071,P86,c(Q502895))
action filter_type
action find
entity Q4071071
relation P86
type Q502895
[ANSWER] composed that work of art
['Q4071071', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . resource:Q4071071 property:P86 ?h }
Vyacheslav Ganelin
Vyacheslav Ganelin composed that work of art
Vyacheslav Ganelin
action filter_type
action find
entity Arie
relation composer
type common name
['Arie', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . resource:Arie property:composer ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2038724
P86
Q838948
USER
Which works of art have that person as the composer ?
(c(Q838948),P86,Q2038724)
action filter_type
action find_reverse
entity Q2038724
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q2038724']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P86 resource:Q2038724 }
Vyacheslav Ganelin
action filter_type
action find_reverse
entity Vyacheslav Ganelin
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Vyacheslav Ganelin']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:composer resource:Vyacheslav_Ganelin }
[]
work of art
Q4071071 Q1636925
SYSTEM
Arie, Private Life
Q4071071 Q1636925
(c(Q838948),P86,Q2038724)
action filter_type
action find_reverse
entity Q2038724
relation P86
type Q838948
[ANSWERS] have that person as the composer
[{'concept': 'Q838948'}, 'P86', 'Q2038724']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q838948 . ?k property:P86 resource:Q2038724 }
Arie Private Life
Arie and Private Life have that person as the composer
Arie Private Life
action filter_type
action find_reverse
entity Vyacheslav Ganelin
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Vyacheslav Ganelin']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:work_of_art . ?k property:composer resource:Vyacheslav_Ganelin }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P161
Q502895
USER
How many people starred in that work of art ?
(Q1636925,P161,c(Q502895))
['Q1636925', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7246114 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
['Private Life', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Private_Life property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q4071071
SYSTEM
Did you mean Arie ?
(Q4071071,P161,c(Q502895)) (Q1636925,P161,c(Q502895))
[ANSWER]
['Q4071071', 'P161', {'concept': 'Q502895'}] ['Q1636925', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7246114 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Did you mean Arie ?
Arie
['Arie', 'cast member', {'concept': 'common name'}] ['Private Life', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Private_Life property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Private Life. Could you tell me the answer for that?
(Q1636925,P161,c(Q502895))
Q1636925
['Q1636925', 'P161', {'concept': 'Q502895'}]
['Private Life', 'cast member', {'concept': 'common name'}]
[]
SYSTEM
2
Q466030 Q376335
(Q1636925,P161,c(Q502895))
[ANSWER]
['Q1636925', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q7246114 property:Q3297652 ?z . ?z rdf:type ontology:Q502895 }
Iya Savvina Mikhail Ulyanov
2
['Private Life', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Private_Life property:cast_member ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q23001909 Q7222605
P495
Q15617994
USER
Which administrative territories are the origins of Nevalyashka or Clean Break ?
OR((Q7222605,P495,c(Q15617994)), (Q23001909,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7222605
relation P495
action find
entity Q23001909
relation P495
type Q15617994
{'OR': [['Q7222605', 'P495', {'concept': 'Q15617994'}], ['Q23001909', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Q7222605 ) ( resource:Q23001909 ) } . ?b property:P495 ?p } . ?p rdf:type ontology:Q15617994 }
Clean Break Nevalyashka
action filter_type
action union
action find
entity Nevalyashka
relation country of origin
action find
entity Clean Break
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Nevalyashka', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Clean Break', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Nevalyashka ) ( resource:Clean_Break ) } . ?b property:country_of_origin ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q159 Q27
SYSTEM
Russia, Ireland
Q159 Q27
OR((Q7222605,P495,c(Q15617994)), (Q23001909,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q7222605
relation P495
action find
entity Q23001909
relation P495
type Q15617994
[ANSWERS] are the origins of Nevalyashka or Clean Break
{'OR': [['Q7222605', 'P495', {'concept': 'Q15617994'}], ['Q23001909', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Q7222605 ) ( resource:Q23001909 ) } . ?b property:P495 ?p } . ?p rdf:type ontology:Q15617994 }
Russia Ireland
Russia and Ireland are the origins of Nevalyashka or Clean Break
Russia Ireland
action filter_type
action union
action find
entity Nevalyashka
relation country of origin
action find
entity Clean Break
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Nevalyashka', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Clean Break', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?b ) { ( resource:Nevalyashka ) ( resource:Clean_Break ) } . ?b property:country_of_origin ?p } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q159 Q27
P495
Q15416
USER
Which television programs originated in Russia and Ireland ?
(c(Q15416),P495,Q159) (c(Q15416),P495,Q27)
action union
action filter_type
action find_reverse
entity Q159
relation P495
type Q15416
action filter_type
action find_reverse
entity Q27
relation P495
type Q15416
[{'concept': 'Q15416'}, 'P495', 'Q159'] [{'concept': 'Q15416'}, 'P495', 'Q27']
SELECT DISTINCT ?r WHERE { { ?r property:P495 resource:Q159 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P495 resource:Q27 . ?r rdf:type ontology:Q15416 } }
Russia Ireland
action union
action filter_type
action find_reverse
entity Russia
relation country of origin
type television program
action filter_type
action find_reverse
entity Ireland
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Russia'] [{'concept': 'television program'}, 'country of origin', 'Ireland']
SELECT DISTINCT ?r WHERE { { ?r property:country_of_origin resource:Russia . ?r rdf:type ontology:television_program } UNION { ?r property:country_of_origin resource:Ireland . ?r rdf:type ontology:television_program } }
[]
television program
Q326731 Q2817195 Q32235
SYSTEM
The Tudors, The Three Musketeers, Stalin
Q4101717 Q4523158 Q4475721 Q7730065 Q4528051 Q4474744 Q4197943 Q778718 Q4480683 Q18147982 Q16740163 Q3729092 Q5188227 Q5247142 Q291776 Q4431114 Q2582960 Q972939 Q19886321 Q4329823 Q17904404 Q7862956 Q4077271 Q16272336 Q4289693 Q4058022 Q16272347 Q2667119 Q3315304 Q1974780 Q16272381 Q2817195 Q1951181 Q4155469 Q4085932 Q4081072 Q4058098 Q18407360 Q4081656 Q16272273 Q7129718 Q32235 Q19904621 Q18122841 Q4246940 Q2472357 Q19619067 Q19603765 Q4334878 Q27511167 Q22084214 Q7720908 Q16959909 Q15260610 Q4249828 Q22084229 Q3611892 Q1963084 Q2941802 Q4110462 Q4449950 Q1973970 Q1635748 Q600931 Q4303948 Q4313301 Q1969810 Q3613592 Q4106371 Q4423228 Q22910188 Q2133214 Q17582649 Q2026107 Q4114652 Q27049547 Q18343463 Q1668081 Q20189 Q4413266 Q6297305 Q7723411 Q5281849 Q17018386 Q7757562 Q6115446 Q5456190 Q5656544 Q1192615 Q5291991 Q7763261 Q23001909 Q5084536 Q7754992 Q6807817 Q6785380 Q4838848 Q4751205 Q6878528 Q7785903 Q7604034 Q20875857 Q20718341 Q4631054 Q6068482 Q18712502 Q5325644 Q5432432 Q7737740 Q673790 Q7735375 Q4816229 Q2579463 Q4852204 Q326731 Q5528736 Q4927846 Q7033814 Q7535800 Q7733188 Q8859 Q885302 Q1028495 Q7775843 Q5522148 Q6738882 Q5180911 Q7758098 Q15052365 Q5291585 Q8058734 Q4657783 Q7718620 Q7719567 Q7751847 Q4659346 Q7602317 Q19961306 Q7261116 Q8052751 Q5433126 Q7545884 Q7091551 Q7457170 Q5648040 Q7927162 Q15030934 Q15030937 Q15030936 Q7746303 Q7144858 Q841754 Q7096087 Q3398887 Q6090870 Q5006224 Q4643832 Q7767375 Q5611657 Q11015460 Q20819118 Q5054444 Q5038608 Q1741820 Q6690161 Q5511690
(c(Q15416),P495,Q159) (c(Q15416),P495,Q27)
action union
action filter_type
action find_reverse
entity Q159
relation P495
type Q15416
action filter_type
action find_reverse
entity Q27
relation P495
type Q15416
[ANSWERS] originated in Russia and Ireland
[{'concept': 'Q15416'}, 'P495', 'Q159'] [{'concept': 'Q15416'}, 'P495', 'Q27']
SELECT DISTINCT ?r WHERE { { ?r property:P495 resource:Q159 . ?r rdf:type ontology:Q15416 } UNION { ?r property:P495 resource:Q27 . ?r rdf:type ontology:Q15416 } }
The First Circle Sherlock Holmes Univer The Dialogues with Solzhenitsyn Balakirev the Buffoon Streets of Broken Lights The Idiot Lost in Siberia Faktor A Sto k odnomu Kingdom of Crooked Mirrors Peter the Great: The Testament CrossTalk Inexplicably, but the fact Podnebesnaya Spetsnaz Soviet Storm: World War II in the East Top Model po-russki President The Dark Side of the Moon Sasha+Masha U.E. Bandit Petersburg Rodina Melochi zhizni Adjutants of Love SashaTanya Masha and the Bear Univer Nasha Russia Strasti po Chapayu The Three Musketeers Happy Together Dasha Vasileva. Lyubitelnitsa chastnogo syska Possessed Crazy Day or The Marriage of Figaro Azazel Catherine the Great The White Guard Molodezhka Pan ili Propal Stalin Glavnaya Scena Name That Tune Qumi-Qumi Big Difference Mazhor Crimea. The Way Home They Chose Freedom World Order 1st season of The Voice Kids Russia The Cadets Last Hero Один в один Kitchen 2nd season of The Voice Kids Russia Bullet to Beijing Not Born Beautiful Catherine Vzyat Tarantinu The Secret of Queen Anne or Musketeers Thirty Years After Comedy Club Mr. Freeman My Fair Nanny Moscow Saga Narodniy Artist Daddy's Daughters The Canterbury Tales Water Sled 3rd season of The Voice Kids Russia The Master and Margarita Perevodchik Minuta slavy Muhtar's return Delo bylo na Kubani Klim Interns Kikoriki Sekret Uspekha Joy in the Hood The Clinic Discovery Quirke The Podge and Rodge Show Jack Taylor Five Women Go Back to Work Hardy Bucks Skunk Fu! Don't Tell the Bride The Selection Box Clean Break Charlie Bird Explores The Once a Week Show Meet Your Neighbours Mastermind Bachelors Walk Anamnocht Mission Beach USA This Is Nightlive States of Fear The 7 O'Clock Show Puffin Rock 21st Century Child Ireland's Greatest Red Rock Ear to the Ground Fallout The Great Escape Fair City The Frontline Atlantean Vikings Ballymagash The Tudors Gaybo Laughs Back Blood of the Irish Nighthawks Skippers The Fall The Revolution Will Not Be Televised Bloody Sunday Camelot The Works Garda ar Lár Make 'Em Laugh Craig Doyle Live The Pressure Cooker When Ali Came to Ireland Don't Feed the Gondolas Your Bad Self A Little Bit TV The Blizzard of Odd The Box The Model Agent A Scare at Bedtime Stars Go Racing The Great Irish Bake Off Pure Mule Yes I Can Family Fortunes Smoke and Mirrors On the Street Where You Live Seven Ages Hanging with Hector Victoria and Shane Grow Their Own The Investigators Traffic Blues Teens in the Wild The Late Late Toy Show Paths to Freedom The Informant Open House Ros na Rún It's Too Late – We're On! C.U. Burn 7 Days The Sunday Game Growing Up Gay Tubridy Tonight Ar An Oileán Caught in a Free State Cardinal Secrets Dive Olly Dive! Love/Hate Fíorscéal
The Tudors, The Three Musketeers and Stalin originated in Russia and Ireland
The Tudors The Three Musketeers Stalin
action union
action filter_type
action find_reverse
entity Russia
relation country of origin
type television program
action filter_type
action find_reverse
entity Ireland
relation country of origin
type television program
[{'concept': 'television program'}, 'country of origin', 'Russia'] [{'concept': 'television program'}, 'country of origin', 'Ireland']
SELECT DISTINCT ?r WHERE { { ?r property:country_of_origin resource:Russia . ?r rdf:type ontology:television_program } UNION { ?r property:country_of_origin resource:Ireland . ?r rdf:type ontology:television_program } }
[]