Simple Question (Direct)
Simple Question
Q16341387
P161
Q502895
USER
Who were casted in Premaku Velayara ?
(Q16341387,P161,c(Q502895))
action filter_type
action find
entity Q16341387
relation P161
type Q502895
['Q16341387', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q16341387 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Premaku Velayara
action filter_type
action find
entity Premaku Velayara
relation cast member
type common name
['Premaku Velayara', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Premaku_Velayara property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
Q1322453 Q3345518 Q3501376
SYSTEM
Prakash Raj, Suriya, Soundarya
Q1322453 Q3501376 Q7296669 Q3345518 Q3765029 Q6105225 Q7586371
(Q16341387,P161,c(Q502895))
action filter_type
action find
entity Q16341387
relation P161
type Q502895
[ANSWERS] were casted in Premaku Velayara
['Q16341387', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q16341387 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Prakash Raj Soundarya Ravi Teja Suriya Brahmanandam J. D. Chakravarthy Srihari
Prakash Raj, Suriya and Soundarya were casted in Premaku Velayara
Prakash Raj Suriya Soundarya
action filter_type
action find
entity Premaku Velayara
relation cast member
type common name
['Premaku Velayara', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Premaku_Velayara property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3345518
P162
Q838948
USER
Which works of art have been produced by Suriya ?
(c(Q838948),P162,Q3345518)
action filter_type
action find_reverse
entity Q3345518
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q3345518']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P162 resource:Q3345518 }
Suriya
action filter_type
action find_reverse
entity Suriya
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Suriya']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:producer resource:Suriya }
[]
work of art
Q19804229 Q19630501
SYSTEM
24, Haiku
Q19804229 Q19630501
(c(Q838948),P162,Q3345518)
action filter_type
action find_reverse
entity Q3345518
relation P162
type Q838948
[ANSWERS] have been produced by Suriya
[{'concept': 'Q838948'}, 'P162', 'Q3345518']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q838948 . ?t property:P162 resource:Q3345518 }
24 Haiku
24 and Haiku have been produced by Suriya
24 Haiku
action filter_type
action find_reverse
entity Suriya
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Suriya']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:work_of_art . ?t property:producer resource:Suriya }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3345518
P7
Q502895
USER
Who has Suriya as their sibling ?
(Q3345518,P7,c(Q502895))
action filter_type
action find
entity Q3345518
relation P7
type Q502895
['Q3345518', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3345518 property:P7 ?i }
Suriya
action filter_type
action find
entity Suriya
relation brother
type common name
['Suriya', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Suriya property:brother ?i }
[]
common name
Q3534361
SYSTEM
Karthi
Q3534361
(Q3345518,P7,c(Q502895))
action filter_type
action find
entity Q3345518
relation P7
type Q502895
[ANSWER] has Suriya as their sibling
['Q3345518', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q3345518 property:P7 ?i }
Karthi
Karthi has Suriya as their sibling
Karthi
action filter_type
action find
entity Suriya
relation brother
type common name
['Suriya', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Suriya property:brother ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18757212
Q502895
USER
And what about William Ormerod?
(Q18757212,P7,c(Q502895))
action filter_type
action find
entity Q18757212
relation P7
type Q502895
['Q18757212', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q18757212 property:P7 ?q . ?q rdf:type ontology:Q502895 }
William Ormerod
action filter_type
action find
entity William Ormerod
relation brother
type common name
['William Ormerod', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:William_Ormerod property:brother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q18528329 Q18756713
SYSTEM
Edward Ormerod, George Ormerod
Q18528329 Q18756713
(Q18757212,P7,c(Q502895))
action filter_type
action find
entity Q18757212
relation P7
type Q502895
[ANSWERS]
['Q18757212', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q18757212 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Edward Ormerod George Ormerod
Edward Ormerod George Ormerod
action filter_type
action find
entity William Ormerod
relation brother
type common name
['William Ormerod', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:William_Ormerod property:brother ?q . ?q rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3778026
P7
Q502895
USER
Do Gu Zhao Nian have those ones as their sibling ?
(Q3778026,P7,Q18528329) (Q3778026,P7,Q18756713)
action is_in
entity prev_answer
action find
entity Q3778026
relation P7
['Q3778026', 'P7', 'Q18528329'] ['Q3778026', 'P7', 'Q18756713']
ASK WHERE { resource:Q3778026 property:P7 ?s . VALUES ( ?s ) { ( resource:Q18528329 ) ( resource:Q18756713 ) } }
Gu Zhao Nian
action is_in
entity prev_answer
action find
entity Gu Zhao Nian
relation brother
['Gu Zhao Nian', 'brother', 'Edward Ormerod'] ['Gu Zhao Nian', 'brother', 'George Ormerod']
ASK WHERE { resource:Gu_Zhao_Nian property:brother ?s . VALUES ( ?s ) { ( resource:Edward_Ormerod ) ( resource:George_Ormerod ) } }
[]
common name
SYSTEM
NO
(Q3778026,P7,Q18528329) (Q3778026,P7,Q18756713)
action is_in
entity prev_answer
action find
entity Q3778026
relation P7
[ANSWER]
['Q3778026', 'P7', 'Q18528329'] ['Q3778026', 'P7', 'Q18756713']
ASK WHERE { resource:Q3778026 property:P7 ?s . VALUES ( ?s ) { ( resource:Q18528329 ) ( resource:Q18756713 ) } }
No
action is_in
entity prev_answer
action find
entity Gu Zhao Nian
relation brother
['Gu Zhao Nian', 'brother', 'Edward Ormerod'] ['Gu Zhao Nian', 'brother', 'George Ormerod']
ASK WHERE { resource:Gu_Zhao_Nian property:brother ?s . VALUES ( ?s ) { ( resource:Edward_Ormerod ) ( resource:George_Ormerod ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do approximately 850 people know to play ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 850
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?c . ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . FILTER ( ?r = 850 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 850
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?c . ?w rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . FILTER ( ?r = 850 ) }
[]
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 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 850
Approximately 850 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?c . ?w rdf:type ontology:Q502895 . ?c rdf:type ontology:Q34379 } GROUP BY ?c } . FILTER ( ?r = 850 ) }
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 cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano 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
Approximately 850 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 850
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?c . ?w rdf:type ontology:common_name . ?c rdf:type ontology:musical_instrument } GROUP BY ?c } . FILTER ( ?r = 850 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7527206 Q81982
P39 P425
Q12737077
USER
Which occupations have harpsichord as thier associated field of occupation or were a position held by Sir Henry Puckering, 3rd Baronet ?
OR((Q81982,P425,c(Q12737077)), (Q7527206,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q81982
relation P425
action find
entity Q7527206
relation P39
type Q12737077
{'OR': [['Q81982', 'P425', {'concept': 'Q12737077'}], ['Q7527206', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q81982 property:P425 ?c } UNION { resource:Q7527206 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
Sir Henry Puckering, 3rd Baronet harpsichord
action filter_type
action union
action find
entity harpsichord
relation field of this occupation
action find
entity Sir Henry Puckering, 3rd Baronet
relation position held
type occupation
{'OR': [['harpsichord', 'field of this occupation', {'concept': 'occupation'}], ['Sir Henry Puckering, 3rd Baronet', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:harpsichord property:field_of_this_occupation ?c } UNION { resource:Sir_Henry_Puckering,_3rd_Baronet property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
occupation
Q18018860 Q5371902 Q189290
SYSTEM
Member of Parliament in the Parliament of England, harpsichordist, officer
Q18018860 Q5371902 Q189290
OR((Q81982,P425,c(Q12737077)), (Q7527206,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q81982
relation P425
action find
entity Q7527206
relation P39
type Q12737077
[ANSWERS] have harpsichord as thier associated field of occupation or were a position held by Sir Henry Puckering, 3rd Baronet
{'OR': [['Q81982', 'P425', {'concept': 'Q12737077'}], ['Q7527206', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q81982 property:P425 ?c } UNION { resource:Q7527206 property:P39 ?c } } . ?c rdf:type ontology:Q12737077 }
Member of Parliament in the Parliament of England harpsichordist officer
Member of Parliament in the Parliament of England, harpsichordist and officer have harpsichord as thier associated field of occupation or were a position held by Sir Henry Puckering, 3rd Baronet
Member of Parliament in the Parliament of England harpsichordist officer
action filter_type
action union
action find
entity harpsichord
relation field of this occupation
action find
entity Sir Henry Puckering, 3rd Baronet
relation position held
type occupation
{'OR': [['harpsichord', 'field of this occupation', {'concept': 'occupation'}], ['Sir Henry Puckering, 3rd Baronet', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?c WHERE { { { resource:harpsichord property:field_of_this_occupation ?c } UNION { resource:Sir_Henry_Puckering,_3rd_Baronet property:position_held ?c } } . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q191067
USER
How many occupations were around 3 collectables and articles mainly about ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 3
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P921 ?j . ?e rdf:type ontology:Q191067 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } . FILTER ( ?f = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 3
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:main_subject ?j . ?j rdf:type ontology:occupation . ?e rdf:type ontology:collectable } UNION { ?e property:main_subject ?j . ?e rdf:type ontology:article . ?j rdf:type ontology:occupation } } GROUP BY ?j } . FILTER ( ?f = 3 ) }
[]
occupation collectable article
SYSTEM
2
Q39631 Q937857
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
value 3
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:P921 ?j . ?j rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P921 ?j . ?e rdf:type ontology:Q191067 . ?j rdf:type ontology:Q12737077 } } GROUP BY ?j } . FILTER ( ?f = 3 ) }
physician association football player
2
action count
action approx
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
value 3
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?r ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?f ) WHERE { { ?e property:main_subject ?j . ?j rdf:type ontology:occupation . ?e rdf:type ontology:collectable } UNION { ?e property:main_subject ?j . ?e rdf:type ontology:article . ?j rdf:type ontology:occupation } } GROUP BY ?j } . FILTER ( ?f = 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19804229
P495
Q15617994
USER
Which administrative territory is the origin of 24 ?
(Q19804229,P495,c(Q15617994))
action filter_type
action find
entity Q19804229
relation P495
type Q15617994
['Q19804229', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19804229 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
24
action filter_type
action find
entity 24
relation country of origin
type designation for an administrative territorial entity
['24', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:24 property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q19804229,P495,c(Q15617994))
action filter_type
action find
entity Q19804229
relation P495
type Q15617994
[ANSWER] is the origin of 24
['Q19804229', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q19804229 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
India
India is the origin of 24
India
action filter_type
action find
entity 24
relation country of origin
type designation for an administrative territorial entity
['24', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:24 property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19804229
P58
Q502895
USER
Who wrote the script for that work of art ?
(Q668,P58,c(Q502895))
action filter_type
action find
entity Q19804229
relation P58
type Q502895
['Q668', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q19804229 property:P58 ?c . ?c rdf:type ontology:Q502895 }
24
action filter_type
action find
entity 24
relation screenwriter
type common name
['India', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:24 property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]
common name
Q7929565
SYSTEM
Vikram Kumar
Q7929565
(Q668,P58,c(Q502895))
action filter_type
action find
entity Q19804229
relation P58
type Q502895
[ANSWER] wrote the script for that work of art
['Q668', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q19804229 property:P58 ?c . ?c rdf:type ontology:Q502895 }
Vikram Kumar
Vikram Kumar wrote the script for that work of art
Vikram Kumar
action filter_type
action find
entity 24
relation screenwriter
type common name
['India', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:24 property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P57
Q838948
USER
How many works of art did that person direct ?
(c(Q838948),P57,Q7929565)
action count
action filter_type
action find_reverse
entity Q7929565
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q7929565']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P57 resource:Q7929565 . ?l rdf:type ontology:Q838948 }
action count
action filter_type
action find_reverse
entity Vikram Kumar
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Vikram Kumar']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:director resource:Vikram_Kumar . ?l rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
6
Q6080566 Q19804229 Q16251228 Q16249342 Q4705606 Q8050382
(c(Q838948),P57,Q7929565)
action count
action filter_type
action find_reverse
entity Q7929565
relation P57
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q7929565']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:P57 resource:Q7929565 . ?l rdf:type ontology:Q838948 }
Ishq 24 Manam Ishtam Alai Yavarum Nalam
6
action count
action filter_type
action find_reverse
entity Vikram Kumar
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Vikram Kumar']
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l property:director resource:Vikram_Kumar . ?l rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1441
Q838948 Q502895 Q15619164
USER
Which works of art do min number of people or abstract beings appear ?
(c(Q502895)|c(Q15619164),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
[[{'concept': 'Q502895'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?q rdf:type ontology:Q15619164 } } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P1441 ?s . ?s rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P1441 ?s . ?s rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15619164 } } GROUP BY ?s } . FILTER ( ?x = ?g ) }
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
[[{'concept': 'common name'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?q rdf:type ontology:common_name } UNION { ?q property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?q rdf:type ontology:abstract_being } } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:present_in_work ?s . ?s rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name } UNION { ?b property:present_in_work ?s . ?s rdf:type ontology:work_of_art . ?b rdf:type ontology:abstract_being } } GROUP BY ?s } . FILTER ( ?x = ?g ) }
[]
work of art common name abstract being
Q134773 Q18407657 Q104123
SYSTEM
Forrest Gump, Captain America: Civil War, Pulp Fiction
Q3512046 Q1002100 Q164813 Q190588 Q4008453 Q4205355 Q2875 Q28234 Q1140272 Q15220567 Q941944 Q195261 Q221947 Q7750966 Q3273477 Q204398 Q327713 Q309289 Q22665878 Q130283 Q512415 Q1388653 Q182692 Q2566505 Q786019 Q46717 Q18822138 Q215750 Q171453 Q15990861 Q1171556 Q388360 Q54274 Q5095462 Q1139454 Q102754 Q7742105 Q922006 Q158759 Q26154237 Q842106 Q719915 Q16937096 Q24815 Q22957393 Q537407 Q4655870 Q134773 Q27587130 Q477365 Q388319 Q15304052 Q332368 Q7283713 Q230558 Q1196177 Q230552 Q385798 Q1765358 Q506418 Q3211484 Q132351 Q628154 Q28891 Q1248487 Q2527293 Q431140 Q934036 Q2891244 Q107894 Q1229857 Q51416 Q784444 Q714941 Q200873 Q2806739 Q1196264 Q4253250 Q64110 Q146673 Q83186 Q7707180 Q475693 Q218458 Q181795 Q2345 Q464933 Q195710 Q466611 Q171669 Q6481017 Q659037 Q1355072 Q1740704 Q17509388 Q436988 Q939143 Q1192536 Q23010088 Q212792 Q14775069 Q431660 Q844836 Q426828 Q1140762 Q883197 Q1232349 Q72276 Q1147689 Q24272881 Q16781911 Q8561227 Q320423 Q467053 Q2855777 Q2207300 Q302490 Q1364029 Q919649 Q961492 Q903819 Q2497086 Q841114 Q844296 Q836298 Q50861 Q3039787 Q631855 Q106871 Q568928 Q179215 Q505790 Q759383 Q471746 Q1050533 Q1649282 Q1325217 Q538438 Q16997069 Q106571 Q174284 Q2363062 Q1962005 Q222939 Q951949 Q2386746 Q212145 Q221236 Q977372 Q483941 Q10350033 Q4189330 Q1102396 Q26970 Q309366 Q1166264 Q137109 Q2340655 Q1167434 Q1710012 Q220591 Q182373 Q24278982 Q466781 Q334780 Q7764815 Q1471358 Q1048916 Q165847 Q650063 Q181540 Q1469426 Q2836733 Q15140437 Q219421 Q105598 Q4208812 Q107724 Q4208814 Q185658 Q2247470 Q2296376 Q20001199 Q19089 Q1046295 Q1749553 Q18406872 Q23823458 Q1304560 Q1595630 Q1962426 Q1962032 Q7774950 Q41567 Q2608065 Q24871 Q753907 Q2568261 Q1102220 Q124612 Q160618 Q180279 Q1971726 Q1122571 Q550558 Q635632 Q497850 Q1075182 Q165325 Q543403 Q1198611 Q1059703 Q176568 Q1325828 Q641492 Q1702819 Q626483 Q740143 Q156539 Q518863 Q106440 Q641362 Q33191 Q123742 Q2293972 Q1217234 Q665446 Q1758112 Q1810461 Q4941 Q19590955 Q3754344 Q245172 Q3311826 Q337078 Q536139 Q637021 Q169082 Q7741587 Q26904729 Q21403132 Q810012 Q507994 Q1125262 Q332330 Q20711488 Q726464 Q206400 Q114819 Q19689203 Q83656 Q1306939 Q1057015 Q274167 Q807742 Q27566067 Q8873426 Q109331 Q1540124 Q207698 Q80379 Q2081291 Q379873 Q1158528 Q1209853 Q1888547 Q588470 Q107761 Q18786433 Q207916 Q23780734 Q971630 Q490464 Q170250 Q421777 Q161687 Q11060926 Q47075 Q272064 Q715374 Q105993 Q18407657 Q1193096 Q22000000 Q554843 Q776302 Q949228 Q302682 Q5466971 Q23781129 Q729782 Q1125566 Q525128 Q18703028 Q2003850 Q1211716 Q532006 Q691611 Q2090255 Q2529482 Q16254109 Q628851 Q27204 Q2836545 Q1330582 Q477865 Q753298 Q1616185 Q181086 Q590098 Q1141727 Q662342 Q288173 Q19648591 Q2419344 Q2257944 Q502153 Q307620 Q1354162 Q3024211 Q192142 Q184768 Q275120 Q636038 Q154581 Q226944 Q777591 Q624603 Q107914 Q1105359 Q13582568 Q164963 Q15713892 Q248775 Q280186 Q13091172 Q819972 Q221211 Q4752758 Q474033 Q30931 Q47221 Q1189436 Q868483 Q3985991 Q277080 Q3522637 Q58439 Q118713 Q673153 Q1305497 Q3522995 Q1187607 Q1583966 Q104871 Q18815806 Q237572 Q495954 Q3519310 Q3282983 Q478626 Q106316 Q815550 Q18170549 Q162255 Q858508 Q209170 Q749624 Q591272 Q1741232 Q24953 Q388873 Q158559 Q205447 Q1146570 Q612323 Q3489000 Q174811 Q151904 Q339693 Q25167044 Q1617874 Q3298599 Q2306995 Q590216 Q2364439 Q23781155 Q1057584 Q3120992 Q612740 Q1757288 Q1367163 Q1609444 Q15715647 Q17103010 Q608261 Q309086 Q223163 Q1467237 Q1759684 Q183555 Q171300 Q102244 Q1196673 Q673198 Q3224298 Q172271 Q7752052 Q8594 Q464716 Q1140085 Q587921 Q1249536 Q18167809 Q2406987 Q1192024 Q18602670 Q1192189 Q179411 Q1178292 Q23780914 Q104123 Q15046091 Q263930
(c(Q502895)|c(Q15619164),P1441,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q838948
type Q15619164
[ANSWERS] do min number of people or abstract beings appear
[[{'concept': 'Q502895'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q838948'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?q rdf:type ontology:Q502895 } UNION { ?q property:P1441 ?y . ?y rdf:type ontology:Q838948 . ?q rdf:type ontology:Q15619164 } } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:P1441 ?s . ?s rdf:type ontology:Q838948 . ?b rdf:type ontology:Q502895 } UNION { ?b property:P1441 ?s . ?s rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15619164 } } GROUP BY ?s } . FILTER ( ?x = ?g ) }
Jurassic World Miracle at St. Anna Perfume: The Story of a Murderer Love Actually Vampirella Ethan Frome Gone with the Wind Les Misérables Soul Food Run All Night Popeye Business is business The Jungle Book 2 The Memorandum Ma and Pa Kettle Octopussy Men in Black 3 The Man with the Golden Gun Thor: Ragnarok Macbeth Macross Frontier Pacific Rim Apocalypse Now Father of the Bride The Haunting Pirates of the Caribbean: The Curse of the Black Pearl Creed Julius Caesar Transformers Za-la-mort Cradle Will Rock National Treasure: Book of Secrets Pirates of the Caribbean: At World's End Chicago The Straight Story Dr. No The Innocent Race to Witch Mountain Unknown Descendants 2 A Streetcar Named Desire The Hobbit: The Desolation of Smaug Pride Citizen Kane Ant-Man and the Wasp Mulan A Chinese Tall Story Forrest Gump Sworn to Silence 101 Dalmatians II: Patch's London Adventure Star Trek: Nemesis Pokémon the Movie: Diancie and the Cocoon of Destruction A View to a Kill Raid Homeward Bound: The Incredible Journey Son of Flubber Back to the Future Part III Under Siege Captain America: The Winter Soldier The Princess Bride Me Two The Usual Suspects Mission: Impossible – Ghost Protocol Wreck-It Ralph Satisfaction The Creature Walks Among Us Hocus Pocus Fiddler on the Roof Una Película de Huevos On Her Majesty's Secret Service Old Dogs Men in Black G-Force Love Is a Many-Splendored Thing The Lost World: Jurassic Park Deadline The Good Mother Journey to the West: Conquering the Demons 20,000 Leagues Under the Sea Basic Instinct Romeo and Juliet Tevye and His Seven Daughters Oldboy 25th Hour The Empire Strikes Back 12 Angry Men Ocean's 11 Krull The Incredible Hulk One Flew Over the Cuckoo's Nest Lamb Angels in the Outfield Under Siege 2: Dark Territory The Rocketeer ABCD: Any Body Can Dance 2 Operation Dumbo Drop Spamalot Biggles: Adventures in Time Spider-Man: Homecoming Bolt Clouds of Sils Maria Godzilla: Final Wars The Merry Wives of Windsor Donnie Darko Sister Act 2: Back in the Habit Blaze Henry IV, Part 2 A Good Day to Die Hard The Grey Mary Poppins Returns Taken 3 Divergent The Spy Who Loved Me A Bridge Too Far Non-Stop Summer Magic The Mission Peter Pan The Hobbit: The Battle of the Five Armies OSS 117: Lost in Rio Breakfast on Pluto Under Suspicion Transporter 2 One Good Cop The Omen Live Free or Die Hard Glengarry Glen Ross Henry IV, Part 1 Die Hard with a Vengeance Garfield: The Movie Indiana Jones and the Temple of Doom Mission: Impossible II A Prayer for the Dying The A-Team Catch-22 Duet for One Flubber Shining Through The Divergent Series: Insurgent From Russia with Love Raiders of the Lost Ark 3 Ninjas Bloodfist II Jumanji Cuore di cane The Possessed The World Is Not Enough Star Trek: First Contact New York Stories Schindler's List Pirates of the Caribbean: Dead Men Tell No Tales Kamen Rider Blade: Missing Ace That Darn Cat! Joy Ride National Treasure Darkman The Shaggy Dog Inside Llewyn Davis Phantasm III: Lord of the Dead Joy Ride 2: Dead Ahead Hannah Montana: The Movie Indiana Jones and the Kingdom of the Crystal Skull Indiana Jones 5 All the President's Men Moonraker The Sleepy Twinkle Star Jack Cyrano de Bergerac 102 Dalmatians The Seagull Quantum of Solace The Santa Clause 2 Alice on the Farm Terminator Genisys The Mask Die Hard How the Steel Was Tempered Thunderball How the Steel Was Tempered Indiana Jones and the Last Crusade Snow White and the Seven Dwarfs The Joy Luck Club Guardians of the Galaxy Vol. 2 GoldenEye The Princess Diaries Everest Doctor Strange I, Daniel Blake Father of the Bride Part II Phantasm IV: Oblivion A Low Down Dirty Shame Bloodfist The Wildest Dream Hamlet The Lego Movie Avatar Lysistrata Les Mauvais Bergers Jurassic Park III Creature from the Black Lagoon Brokeback Mountain Never Say Never Again Suspect The Unbearable Lightness of Being The Muppets Ocean's Thirteen The Santa Clause Chloe Kill Bill Volume 1 Dead Silence The Absent-Minded Professor One Magic Christmas The Forbidden Kingdom The Santa Clause 3: The Escape Clause Herbie: Fully Loaded Secret of the Wings Tron Husbands and Wives Highlander The Omen Goldfinger Monsters University People Like Us Cloverfield Pee-Wee's Big Adventure The Parent Trap Measure for Measure Ender's Game Springtime with Roo Skyfall Rogue One: A Star Wars Story The Opium Den Prince of Persia: The Sands of Time Mickey's Follies The Big Lebowski Phantasm II The Golden Compass 10 Things I Hate About You The Impossible Kid Le Chemin de crête Agent 00 Basic Instinct 2 The Hunt for Red October Mad Max 2 For Your Eyes Only Harry Potter and the Cursed Child Bedtime Stories The Merchant of Venice Dune The BFG Kinsey I'll Be Home for Christmas Taken 2 The Exorcist Omen III: The Final Conflict The Commuter Voyage to the Bottom of the Sea Back to the Future Part II Three Men and a Baby Kingdom of Heaven The Hobbit: An Unexpected Journey The Apple Dumpling Gang Who Framed Roger Rabbit Damien: Omen II Dick Tracy Hondo Ernest Goes to Camp You Only Live Twice Victoria Tomorrow Never Dies Black Panther The Delta Force Enchanted Bicentennial Man Napoleon and Samantha Harry Potter and the Half-Blood Prince A Walk Among the Tombstones Scarface The Living Daylights Initial D Die Hard 2 Captain America: Civil War Les Misérables Circus of Love Ernest Saves Christmas Sister Act Sholay Oscar For Your Height Only Captain Marvel The Parent Trap Duck Soup Mighty Joe Young Now You See Me: The Second Act Next of Kin The Bounty Les Vacances de Monsieur Hulot Serenity So Dear to My Heart Chimes at Midnight Phantasm: Ravager Mirror Mirror Live and Let Die Alice Cans the Cannibals Keeping the Faith The Sorcerer's Apprentice Uncle Vanya Tom and Huck A Clockwork Orange Ultimate Avengers 2 Rob Roy K-19: The Widowmaker Mission: Impossible III The Divergent Series: Allegiant Revenge of the Creature She's Gotta Have It The Snow Maiden Heart of a Dog Seraphim Falls La Cité de la peur Terminator 3: Rise of the Machines The Godfather Part II Captain America: The First Avenger Gun Shy Gangs of New York The Shaggy D.A. For Love of the Game Snow White and the Huntsman Diamonds Are Forever Cocktail A Million Ways to Die in the West The Lord of the Rings: The Two Towers Pan Mad Max Disney's The Kid Big Hero 6 The Transporter Twelfth Night Anchorman: The Legend Continues Battleship Die Another Day Taxi Driver OSS 117: Cairo, Nest of Spies A Chinese Odyssey The Black Cobra 2 Taken The Secret Life of Walter Mitty Teenage Mutant Ninja Turtles Freaky Friday Same Old Song Freaky Friday Third Person Edge of Tomorrow Underdog A Midsummer Night's Dream Pokémon the Movie: Hoopa and the Clash of Ages As You Like It Henry V Tex O Auto da Compadecida Starship Troopers Dead Poets Society Transporter 3 The Transporter Legacy The Terminator Sky High Mary Poppins Tuck Everlasting Casino Royale Mission: Impossible Monty Python’s Life of Brian After.Life Man of the House Ocean's Eleven Howard the Duck Nell The Big Man Up Casino Royale Mafia! Wreck-It Ralph 2 High Spirits Mathias Sandorf The Dukes of Hazzard Oz: The Great and Powerful Big Top Pee-wee Untitled Avengers Movie Crossing the Bridge Gus Phantasm Mad Max: Fury Road Swiss Family Robinson Herbie Rides Again Survivor Za La Mort Assemblywomen Licence to Kill The Emperor's New Groove Ruby Cairo Atragon Pirates of the Caribbean: On Stranger Tides The Princess and the Frog Harry Potter and the Chamber of Secrets Leap of Faith Star Trek: Insurrection Tangled Ever After Maleficent The Monkey King 101 Dalmatians Phenomenon Crimson Tide Garfield: A Tail of Two Kitties The Scarlet Pimpernel The Prophet Squanto: A Warrior's Tale Gone Fishin' Spectre The Other Man A Very Merry Pooh Year Before and After Avengers: Infinity War Pulp Fiction Cinderella The Next Three Days
Forrest Gump, Captain America: Civil War and Pulp Fiction do min number of people or abstract beings appear
Forrest Gump Captain America: Civil War Pulp Fiction
action argmin
action union
action find_reverse_tuple_counts
relation present in work
type work of art
type common name
action find_reverse_tuple_counts
relation present in work
type work of art
type abstract being
[[{'concept': 'common name'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'work of art'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MIN ( ?i ) AS ?g ) { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?i ) WHERE { { ?q property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?q rdf:type ontology:common_name } UNION { ?q property:present_in_work ?y . ?y rdf:type ontology:work_of_art . ?q rdf:type ontology:abstract_being } } GROUP BY ?y } } . { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?x ) WHERE { { ?b property:present_in_work ?s . ?s rdf:type ontology:work_of_art . ?b rdf:type ontology:common_name } UNION { ?b property:present_in_work ?s . ?s rdf:type ontology:work_of_art . ?b rdf:type ontology:abstract_being } } GROUP BY ?s } . FILTER ( ?x = ?g ) }
[]