Simple Question (Direct)
Simple Question
Q2051292
P58
Q502895
USER
Who was the screenwriter for The Parade ?
(Q2051292,P58,c(Q502895))
action filter_type
action find
entity Q2051292
relation P58
type Q502895
['Q2051292', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2051292 property:P58 ?s . ?s rdf:type ontology:Q502895 }
The Parade
action filter_type
action find
entity The Parade
relation screenwriter
type common name
['The Parade', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Parade property:screenwriter ?s . ?s rdf:type ontology:common_name }
[]
common name
Q385312
SYSTEM
Srđan Dragojević
Q385312
(Q2051292,P58,c(Q502895))
action filter_type
action find
entity Q2051292
relation P58
type Q502895
The screenwriter for The Parade was [ANSWER]
['Q2051292', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q2051292 property:P58 ?s . ?s rdf:type ontology:Q502895 }
Srđan Dragojević
The screenwriter for The Parade was Srđan Dragojević
Srđan Dragojević
action filter_type
action find
entity The Parade
relation screenwriter
type common name
['The Parade', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_Parade property:screenwriter ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2051292
P86
Q502895
USER
Who wrote the music for The Parade ?
(Q2051292,P86,c(Q502895))
action filter_type
action find
entity Q2051292
relation P86
type Q502895
['Q2051292', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2051292 property:P86 ?q . ?q rdf:type ontology:Q502895 }
The Parade
action filter_type
action find
entity The Parade
relation composer
type common name
['The Parade', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Parade property:composer ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3792438
SYSTEM
Igor Perović
Q3792438
(Q2051292,P86,c(Q502895))
action filter_type
action find
entity Q2051292
relation P86
type Q502895
[ANSWER] wrote the music for The Parade
['Q2051292', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q2051292 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Igor Perović
Igor Perović wrote the music for The Parade
Igor Perović
action filter_type
action find
entity The Parade
relation composer
type common name
['The Parade', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:The_Parade property:composer ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3792438 Q2051292
P86
Q838948
USER
Does The Parade have that person as the composer ?
(Q2051292,P86,Q3792438)
action is_in
entity Q3792438
action find
entity Q2051292
relation P86
['Q2051292', 'P86', 'Q3792438']
ASK WHERE { resource:Q2051292 property:P86 resource:Q3792438 }
Igor Perović The Parade
action is_in
entity Igor Perović
action find
entity The Parade
relation composer
['The Parade', 'composer', 'Igor Perović']
ASK WHERE { resource:The_Parade property:composer resource:Igor_Perović }
[]
work of art
SYSTEM
YES
(Q2051292,P86,Q3792438)
action is_in
entity Q3792438
action find
entity Q2051292
relation P86
[ANSWER]
['Q2051292', 'P86', 'Q3792438']
ASK WHERE { resource:Q2051292 property:P86 resource:Q3792438 }
Yes
action is_in
entity Igor Perović
action find
entity The Parade
relation composer
['The Parade', 'composer', 'Igor Perović']
ASK WHERE { resource:The_Parade property:composer resource:Igor_Perović }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q385312 Q573449 Q403
P27
Q15617994
USER
Is Srđan Dragojević a native of Kroppenstedt and Serbia ?
(Q385312,P27,Q573449) (Q385312,P27,Q403)
action is_in
entity Q385312
action intersection
action find_reverse
entity Q573449
relation P27
action find_reverse
entity Q403
relation P27
['Q385312', 'P27', 'Q573449'] ['Q385312', 'P27', 'Q403']
ASK WHERE { resource:Q385312 property:P27 resource:Q403 . resource:Q385312 property:P27 resource:Q573449 }
Srđan Dragojević Kroppenstedt Serbia
action is_in
entity Srđan Dragojević
action intersection
action find_reverse
entity Kroppenstedt
relation country of citizenship
action find_reverse
entity Serbia
relation country of citizenship
['Srđan Dragojević', 'country of citizenship', 'Kroppenstedt'] ['Srđan Dragojević', 'country of citizenship', 'Serbia']
ASK WHERE { resource:Srđan_Dragojević property:country_of_citizenship resource:Serbia . resource:Srđan_Dragojević property:country_of_citizenship resource:Kroppenstedt }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q385312,P27,Q573449) (Q385312,P27,Q403)
action is_in
entity Q385312
action intersection
action find_reverse
entity Q573449
relation P27
action find_reverse
entity Q403
relation P27
[ANSWER]
['Q385312', 'P27', 'Q573449'] ['Q385312', 'P27', 'Q403']
ASK WHERE { resource:Q385312 property:P27 resource:Q403 . resource:Q385312 property:P27 resource:Q573449 }
NO and YES respectively
action is_in
entity Srđan Dragojević
action intersection
action find_reverse
entity Kroppenstedt
relation country of citizenship
action find_reverse
entity Serbia
relation country of citizenship
['Srđan Dragojević', 'country of citizenship', 'Kroppenstedt'] ['Srđan Dragojević', 'country of citizenship', 'Serbia']
ASK WHERE { resource:Srđan_Dragojević property:country_of_citizenship resource:Serbia . resource:Srđan_Dragojević property:country_of_citizenship resource:Kroppenstedt }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 7046 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7046
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?g <= 7046 ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7046
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?g <= 7046 ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7046
[ANSWERS] are played by atmost 7046 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?g <= 7046 ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?v rdf:type ontology:Q502895 } GROUP BY ?h } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 7046 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7046
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?h WHERE { FILTER ( ?g <= 7046 ) . { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?g ) WHERE { ?v property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?v rdf:type ontology:common_name } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q403
P27
Q502895
USER
Which people are a citizen of Serbia and United States of America ?
AND((c(Q502895),P27,Q403), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q403'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P27 resource:Q403 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
United States of America Serbia
action filter_type
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Serbia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:country_of_citizenship resource:Serbia . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
common name
Q2813455 Q82110 Q196287 Q4533902 Q2467522 Q170576 Q538869 Q944999 Q4281610
SYSTEM
Neb Duric, Steven Seagal, Mihajlo Pupin, Stanislav George Djorgovski, Igor Kokoškov, Milla Jovovich, Ivana Božilović, Preki, Mirjana Marić
Q2813455 Q82110 Q196287 Q4533902 Q2467522 Q170576 Q538869 Q944999 Q4281610
AND((c(Q502895),P27,Q403), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q403
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWERS] are a citizen of Serbia and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q403'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?u WHERE { ?u property:P27 resource:Q403 . ?u property:P27 resource:Q30 . ?u rdf:type ontology:Q502895 }
Neb Duric Steven Seagal Mihajlo Pupin Stanislav George Djorgovski Igor Kokoškov Milla Jovovich Ivana Božilović Preki Mirjana Marić
Neb Duric, Steven Seagal, Mihajlo Pupin, Stanislav George Djorgovski, Igor Kokoškov, Milla Jovovich, Ivana Božilović, Preki and Mirjana Marić are a citizen of Serbia and United States of America
Neb Duric Steven Seagal Mihajlo Pupin Stanislav George Djorgovski Igor Kokoškov Milla Jovovich Ivana Božilović Preki Mirjana Marić
action filter_type
action intersection
action find_reverse
entity Serbia
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Serbia'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?u WHERE { ?u property:country_of_citizenship resource:Serbia . ?u property:country_of_citizenship resource:United_States_of_America . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q82110
P161
Q838948
USER
How many works of art have Steven Seagal as actor ?
(c(Q838948),P161,Q82110)
action count
action filter_type
action find_reverse
entity Q82110
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q82110']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P161 resource:Q82110 . ?c rdf:type ontology:Q838948 }
Steven Seagal
action count
action filter_type
action find_reverse
entity Steven Seagal
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Steven Seagal']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:cast_member resource:Steven_Seagal . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
39
Q26742221 Q759351 Q923195 Q539545 Q1617335 Q611364 Q1809761 Q1671523 Q109110 Q610201 Q1355072 Q385798 Q1735808 Q2060567 Q2033263 Q128493 Q1142051 Q3302802 Q1407661 Q697014 Q1983756 Q2041865 Q390164 Q1383916 Q300381 Q1259336 Q517652 Q1753433 Q938790 Q1608185 Q757857 Q783317 Q20649570 Q1812060 Q487889 Q1181317 Q893935 Q1418758 Q637309
(c(Q838948),P161,Q82110)
action count
action filter_type
action find_reverse
entity Q82110
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q82110']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:P161 resource:Q82110 . ?c rdf:type ontology:Q838948 }
Sniper: Special Ops On Deadly Ground Above the Law The Glimmer Man Out of Reach Ticker Flight of Fury Into the Sun Marked for Death Belly of the Beast Under Siege 2: Dark Territory Under Siege The Foreigner Submerged Shadow Man Machete Executive Decision Maximum Conviction Today You Die Half Past Dead The Onion Movie Out for a Kill Against the Dark Exit Wounds A Dangerous Man Mercenary for Justice Out for Justice The Patriot My Giant Black Dawn Attack Force Hard to Kill Code of Honor Urban Justice Clementine Pistol Whipped Born to Raise Hell Fire Down Below Driven to Kill
39
action count
action filter_type
action find_reverse
entity Steven Seagal
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Steven Seagal']
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { ?c property:cast_member resource:Steven_Seagal . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7489431
P161
Q838948
USER
Which works of art have Sharat Saxena in their star cast ?
(c(Q838948),P161,Q7489431)
action filter_type
action find_reverse
entity Q7489431
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7489431']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q7489431 . ?v rdf:type ontology:Q838948 }
Sharat Saxena
action filter_type
action find_reverse
entity Sharat Saxena
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sharat Saxena']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Sharat_Saxena . ?v rdf:type ontology:work_of_art }
[]
work of art
Q1076823 Q1121918 Q657943
SYSTEM
Krrish, Duplicate, Fanaa
Q6720949 Q5438078 Q7387748 Q8065601 Q657943 Q5350239 Q12991706 Q5305957 Q18603021 Q4951674 Q1121918 Q6173093 Q4997836 Q11016307 Q7936066 Q6037050 Q4700753 Q5251026 Q7134859 Q7399597 Q13006510 Q6408256 Q3417275 Q4886782 Q6735917 Q6109605 Q13564956 Q7399600 Q692023 Q7781395 Q6899087 Q5618463 Q7380133 Q7523479 Q2353591 Q7915475 Q5548792 Q1076823 Q7040073
(c(Q838948),P161,Q7489431)
action filter_type
action find_reverse
entity Q7489431
relation P161
type Q838948
[ANSWERS] have Sharat Saxena in their star cast
[{'concept': 'Q838948'}, 'P161', 'Q7489431']
SELECT DISTINCT ?v WHERE { ?v property:P161 resource:Q7489431 . ?v rdf:type ontology:Q838948 }
Maa Kasam Fauj Mein Mauj S. P. Parasuram Zamana Fanaa Ek Saudagar Ugadi Dravidan Bajrangi Bhaijaan Boxer Duplicate Jeevante Jeevan Bunny Kanoon Kya Karega Vishwatma Insan Akhiyon Se Goli Maare Deewana Tere Naam Ka Parakrami Sahhas Mugguru Monagallu Kilukkam Dost Benaam Main Aur Mera Haathi Jaal Maa Tujhhe Salaam Sahi Dhandhe Galat Bande Ghulam Thenmavin Kombath Money Guna Runway Singham 2 Mujrim Varasudu Geraftaar Krrish Nirnayam
Krrish, Duplicate and Fanaa have Sharat Saxena in their star cast
Krrish Duplicate Fanaa
action filter_type
action find_reverse
entity Sharat Saxena
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sharat Saxena']
SELECT DISTINCT ?v WHERE { ?v property:cast_member resource:Sharat_Saxena . ?v rdf:type ontology:work_of_art }
[]