Simple Question (Direct)
Simple Question
Q6305601
P86
Q502895
USER
Who did the compostion for Julai ?
(Q6305601,P86,c(Q502895))
action filter_type
action find
entity Q6305601
relation P86
type Q502895
['Q6305601', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6305601 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Julai
action filter_type
action find
entity Julai
relation composer
type common name
['Julai', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Julai property:composer ?q . ?q rdf:type ontology:common_name }
[]
common name
Q3523638
SYSTEM
Devi Sri Prasad
Q3523638
(Q6305601,P86,c(Q502895))
action filter_type
action find
entity Q6305601
relation P86
type Q502895
[ANSWER] did the compostion for Julai
['Q6305601', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q6305601 property:P86 ?q . ?q rdf:type ontology:Q502895 }
Devi Sri Prasad
Devi Sri Prasad did the compostion for Julai
Devi Sri Prasad
action filter_type
action find
entity Julai
relation composer
type common name
['Julai', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Julai property:composer ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3523638
P735
Q82799
USER
What is the firstname of that person ?
(Q3523638,P735,c(Q82799))
action filter_type
action find
entity Q3523638
relation P735
type Q82799
['Q3523638', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q3523638 property:P735 ?s }
Devi Sri Prasad
action filter_type
action find
entity Devi Sri Prasad
relation given name
type name
['Devi Sri Prasad', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Devi_Sri_Prasad property:given_name ?s }
[]
name
Q668902
SYSTEM
Devi
Q668902
(Q3523638,P735,c(Q82799))
action filter_type
action find
entity Q3523638
relation P735
type Q82799
The firstname of that person is [ANSWER]
['Q3523638', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q82799 . resource:Q3523638 property:P735 ?s }
Devi
The firstname of that person is Devi
Devi
action filter_type
action find
entity Devi Sri Prasad
relation given name
type name
['Devi Sri Prasad', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:name . resource:Devi_Sri_Prasad property:given_name ?s }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3536748 Q3523638
P86
Q838948
USER
Which works of art have Devi Sri Prasad or K. V. Mahadevan as the melodist ?
OR((c(Q838948),P86,Q3523638), (c(Q838948),P86,Q3536748))
action filter_type
action union
action find_reverse
entity Q3523638
relation P86
action find_reverse
entity Q3536748
relation P86
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P86', 'Q3523638'], [{'concept': 'Q838948'}, 'P86', 'Q3536748']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P86 resource:Q3536748 } UNION { ?c property:P86 resource:Q3523638 } } . ?c rdf:type ontology:Q838948 }
K. V. Mahadevan Devi Sri Prasad
action filter_type
action union
action find_reverse
entity Devi Sri Prasad
relation composer
action find_reverse
entity K. V. Mahadevan
relation composer
type work of art
{'OR': [[{'concept': 'work of art'}, 'composer', 'Devi Sri Prasad'], [{'concept': 'work of art'}, 'composer', 'K. V. Mahadevan']]}
SELECT DISTINCT ?c WHERE { { { ?c property:composer resource:K._V._Mahadevan } UNION { ?c property:composer resource:Devi_Sri_Prasad } } . ?c rdf:type ontology:work_of_art }
[]
work of art
Q4682851 Q12974743 Q7918145 Q7121495 Q16249991 Q4662750 Q16974667 Q13651354 Q4733336 Q25999952
SYSTEM
Some of them are Adimai Penn, Irulum Oliyum, Veerabhimanyu, Paavai Vilakku, Kaliyuga Ramudu, Aastiparulu, Alludu Sreenu, Mutyala Muggu, Allulu Vasthunnaru, Aayiram Roobai
Q7424425 Q6491585 Q6956488 Q12989121 Q7445963 Q7285519 Q3536188 Q16308555 Q3536183 Q7504356 Q7395800 Q7920110 Q21869666 Q24905440 Q12982106 Q4784300 Q12980351 Q4662755 Q7488680 Q4997836 Q7784172 Q7300646 Q10971118 Q12979247 Q6721000 Q12978314 Q7796936 Q16252939 Q5089930 Q1626954 Q7916121 Q12978916 Q24883748 Q7530436 Q13646287 Q21010871 Q24904976 Q7395632 Q7137490 Q4733336 Q4733334 Q7882972 Q18170994 Q7711585 Q16313670 Q5268822 Q7650116 Q5515292 Q12980362 Q4753492 Q12980939 Q19599620 Q16311785 Q18109820 Q6747604 Q3473383 Q6748753 Q9206626 Q16828861 Q18357581 Q7654040 Q20649340 Q7689754 Q6929084 Q16308610 Q4662750 Q5985161 Q7504562 Q7931129 Q11003376 Q15627707 Q12993439 Q4771062 Q7240156 Q4751336 Q7423281 Q7127732 Q23041957 Q18395078 Q7635909 Q6961976 Q12973514 Q7851970 Q16841214 Q7586453 Q15220867 Q4940867 Q7488679 Q14476921 Q7421150 Q7445956 Q21646968 Q6425483 Q4784507 Q4752514 Q4900534 Q3192753 Q7417799 Q6343436 Q25999952 Q6965919 Q16312118 Q16249991 Q18703181 Q5374955 Q4802580 Q1673252 Q4802586 Q6753227 Q6150711 Q3286029 Q6305601 Q19573104 Q16312335 Q16254994 Q25302993 Q6986561 Q4680903 Q4832503 Q7278415 Q25216475 Q21647252 Q20647935 Q7785407 Q8053079 Q6798475 Q7937556 Q1008801 Q3072954 Q3473354 Q6430676 Q6398880 Q7809322 Q7859668 Q7708815 Q4808670 Q4545957 Q7123750 Q12974743 Q18085741 Q15286542 Q4661528 Q7923791 Q7073325 Q12999498 Q6350170 Q6956535 Q4242495 Q7916353 Q3424148 Q12976360 Q21646575 Q6960928 Q3536789 Q21645982 Q15987830 Q7785557 Q7121495 Q11016581 Q7699671 Q4753618 Q7410191 Q7554493 Q16313958 Q7426909 Q4900725 Q12976716 Q4717598 Q16311446 Q12989335 Q6443597 Q3986296 Q5586514 Q3200708 Q13651354 Q6750638 Q20814736 Q6982094 Q3411563 Q19892994 Q12977094 Q22315120 Q4753628 Q23020721 Q7708799 Q25999735 Q7785312 Q4682851 Q12980867 Q4840912 Q24905745 Q7918145 Q25210973 Q24904997 Q6173073 Q12975475 Q3595536 Q5269278 Q6444577 Q3424087 Q16974667 Q12983864 Q4854547 Q7280178 Q7081692 Q10971759 Q16250063 Q17069955 Q12977458 Q3534938 Q6721313 Q7907826 Q6122063 Q19898645 Q18126986 Q7235723 Q13007654 Q7708802 Q25999848
OR((c(Q838948),P86,Q3523638), (c(Q838948),P86,Q3536748))
action filter_type
action union
action find_reverse
entity Q3523638
relation P86
action find_reverse
entity Q3536748
relation P86
type Q838948
[ANSWERS] have Devi Sri Prasad or K. V. Mahadevan as the melodist
{'OR': [[{'concept': 'Q838948'}, 'P86', 'Q3523638'], [{'concept': 'Q838948'}, 'P86', 'Q3536748']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P86 resource:Q3536748 } UNION { ?c property:P86 resource:Q3523638 } } . ?c rdf:type ontology:Q838948 }
Sarocharu Singam II Naa Alludu Vietnam Veedu Seetamalakshmi Raja Rajan Nuvvostanante Nenoddantana Mangalyam Bommarillu Shrutilayalu Sabaash Mapillai Venky Nenu Sailaja Andru Kanda Mugam Aathi Parasakthi Arasa Kattalai Kumudham Aata Shankar Dada Zindabad Bunny Thillaanaa Mohanambal Ready Mooga Manasulu Idhayak Kamalam Maadappura Chinnanchiru Ulagam Thotti Gang Pelli Pustakam Chelleli Kapuram Thayilla Pillai Varsham Anbu Sagodharargal Thai Pirandhal Vazhi Pirakkum Sirivennela Mana Voori Pandavulu Nannaku Prematho Town Bus Saakshi Parisu Allulu Vasthunnaru Alludugaru Undamma Bottu Pedata Thiruvarutchelvar Thazhampoo Thirumagal Dhamarukam Sutradharulu Gabbar Singh Kurathi Magan Andala Ramudu Cupatinam Sita Rama Kalyanam Valar Pirai Arunodhayam Manchi Manasulu Sachein Mangammagari Manavadu Devi Antha Rathirikku Satchi Illai Uthaman Swati Kiranam Panama Pasama Tayaramma Bangarayya Mr. Perfect Maattukara Velan Aastiparulu Ice Shubhalekha Villu Venghai Brahman King Antastulu Prem Nagar Anandam Saraswati Sabatham Pallandu Vazhga Neelamalai Thirudan Srimanthudu 1: Nenokkadine Namo Venkatesa Annai Illam Tulasi Bhaag Johnny Srinivasa Kalyanam Makkalai Petra Magarasi Bommai Kalyanam Shankar Dada MBBS Thozhilali Saptapadi Seeta Kalyanam Sarada Koduthu Vaithaval Aravind 2 Anbu Thangai Bhadra Kanthaswamy Sangama Kaanji Thalaivan Aayiram Roobai Nari Nari Naduma Murari Vaazha Vaitha Deivam Kaliyuga Ramudu Naara Puli En Annan Arya Iruvar Ullam Arya 2 Manushulu Marali Janaki Ramudu Manmadan Ambu Julai Muddula Mavayya Panithirai S/O Satyamurthy Khaidi No. 150 Needhikkuppin Paasam Adavi Ramudu Azhagu Nila Raani Samyuktha Nalla Idathu Sambandham Janatha Garage Shivam 2015 Thirupaachi Yevadu Mazhai Vivasayee Adhurs Singam Santosh Subramaniam Koondukkili Khadgam Tirugu Leni Manishi Tyagayya Thaayai Kaatha Thanayan Assembly Rowdy 100% Love Padikkadha Medhai Irulum Oliyum Ratha Thilagam Attarintiki Dared Aana Valarthiya Vanampadiyude Makan Vettaikaaran O Seeta Katha Trishulam Kalai Arasi Naalvar Iddarammayilatho Vasantha Maligai Lava Kusha Kanni Thaai Kaakum Karangal Nalla Neram Mass Aadavantha Deivam Legend Thiruvilayadal Paavai Vilakku Shri Datta Darshanam Thene Manasulu Andarivaadu Sampoorna Ramayanam Soggadu Pennarasi Satyam Bhai Kaakkum Karangal Alex Pandian Vannakili Veeram Alith movie Kumari Mirchi Gorintaku Kutty Mutyala Muggu Manmadhudu Sardar Navarathri Something Something... Unakkum Enakkum Kumari 21F Kudumba Thalaivan Manapanthal Andaru Dongale Enippadigal Thaaikkuppin Thaaram Mel Maruvathoor Arpudhangal Thirumal Perumai Adimai Penn Sivagami Badi Panthulu Gnana Kuzhandhai Veerabhimanyu Gautamiputra Satakarni Veerakkanal Jeevana Jyothi Ethiroli Sankarabharanam Dharmam Thalai Kaakkum Kungumam Jalsa Alludu Sreenu Thaai Sollai Thattadhe Bandhalu Anubandhalu Radha Kalyanam Oka Oorilo Sudigundalu Kandan Karunai Srinatha Kavi Sarvabhowmudu Kaithi Kannayiram Aaru Maayavi Vaanampadi Jagadam Thunaivan Kulama Gunama Pournami Rakhi Thaali Bhagyam Panchaali
Adimai Penn, Irulum Oliyum, Veerabhimanyu, Paavai Vilakku, Kaliyuga Ramudu, Aastiparulu, Alludu Sreenu, Mutyala Muggu, Allulu Vasthunnaru and Aayiram Roobai have Devi Sri Prasad or K. V. Mahadevan as the melodist
Adimai Penn Irulum Oliyum Veerabhimanyu Paavai Vilakku Kaliyuga Ramudu Aastiparulu Alludu Sreenu Mutyala Muggu Allulu Vasthunnaru Aayiram Roobai
action filter_type
action union
action find_reverse
entity Devi Sri Prasad
relation composer
action find_reverse
entity K. V. Mahadevan
relation composer
type work of art
{'OR': [[{'concept': 'work of art'}, 'composer', 'Devi Sri Prasad'], [{'concept': 'work of art'}, 'composer', 'K. V. Mahadevan']]}
SELECT DISTINCT ?c WHERE { { { ?c property:composer resource:K._V._Mahadevan } UNION { ?c property:composer resource:Devi_Sri_Prasad } } . ?c rdf:type ontology:work_of_art }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18147625
P180
Q838948 Q838948 Q11060274
USER
How many works of art are demonstrated in more number of works of art and prints than Farnese Flora ?
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q18147625
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P180 ?w . ?w rdf:type ontology:Q838948 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P180 ?w . ?n rdf:type ontology:Q11060274 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P180 resource:Q18147625 . { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?o rdf:type ?k } } } . FILTER ( ?x > ?p ) }
Farnese Flora
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Farnese Flora
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:depicts ?w . ?w rdf:type ontology:work_of_art . ?n rdf:type ontology:work_of_art } UNION { ?n property:depicts ?w . ?n rdf:type ontology:print . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:depicts resource:Farnese_Flora . { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:print ) } . ?o rdf:type ?k } } } . FILTER ( ?x > ?p ) }
[]
work of art work of art print
SYSTEM
20
Q143912 Q178401 Q1519294 Q215194 Q46847 Q23770419 Q1064990 Q3497617 Q324926 Q3013723 Q17305006 Q2551806 Q9764 Q179900 Q3575260 Q18177089 Q3143107 Q492461 Q1349065 Q397447
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q18147625
relation P180
type Q838948
type Q11060274
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:P180 ?w . ?w rdf:type ontology:Q838948 . ?n rdf:type ontology:Q838948 } UNION { ?n property:P180 ?w . ?n rdf:type ontology:Q11060274 . ?w rdf:type ontology:Q838948 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:P180 resource:Q18147625 . { VALUES ( ?k ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?o rdf:type ?k } } } . FILTER ( ?x > ?p ) }
triumphal arch amphora lagynos gargoyle ring Bear Hunter Monument aux Girondins equestrian statue of Joan of Arc fibula The Railrodder Galatea Belvedere Torso flamenco David bijou Dénicheur d'oursons Humains kalathos Passion play torc
20
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Farnese Flora
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?n ) AS ?x ) WHERE { { ?n property:depicts ?w . ?w rdf:type ontology:work_of_art . ?n rdf:type ontology:work_of_art } UNION { ?n property:depicts ?w . ?n rdf:type ontology:print . ?w rdf:type ontology:work_of_art } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { ?o property:depicts resource:Farnese_Flora . { VALUES ( ?k ) { ( ontology:work_of_art ) ( ontology:print ) } . ?o rdf:type ?k } } } . FILTER ( ?x > ?p ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q619135
P180
Q838948 Q838948 Q11060274
USER
And what about Apollo Belvedere?
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q619135
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?t rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P180 resource:Q619135 . { { ?n rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q11060274 } } } } . FILTER ( ?z > ?b ) }
Apollo Belvedere
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Apollo Belvedere
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:print ) } . ?t rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:depicts resource:Apollo_Belvedere . { { ?n rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:print } } } } . FILTER ( ?z > ?b ) }
[]
work of art work of art print
SYSTEM
20
Q143912 Q178401 Q1519294 Q215194 Q46847 Q23770419 Q1064990 Q3497617 Q324926 Q3013723 Q17305006 Q2551806 Q9764 Q179900 Q3575260 Q18177089 Q3143107 Q492461 Q1349065 Q397447
(c(Q838948)|c(Q11060274),P180,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q838948
type Q838948
action find_reverse_tuple_counts
relation P180
type Q838948
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q619135
relation P180
type Q838948
type Q11060274
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?t rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:P180 resource:Q619135 . { { ?n rdf:type ontology:Q838948 } UNION { ?n rdf:type ontology:Q11060274 } } } } . FILTER ( ?z > ?b ) }
triumphal arch amphora lagynos gargoyle ring Bear Hunter Monument aux Girondins equestrian statue of Joan of Arc fibula The Railrodder Galatea Belvedere Torso flamenco David bijou Dénicheur d'oursons Humains kalathos Passion play torc
20
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type work of art
type work of art
action find_reverse_tuple_counts
relation depicts
type work of art
type print
action count
action filter_multi_types
action find_reverse
entity Apollo Belvedere
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?w ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?z ) WHERE { VALUES ( ?y ) { ( ontology:work_of_art ) ( ontology:print ) } . ?t rdf:type ?y } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) WHERE { ?n property:depicts resource:Apollo_Belvedere . { { ?n rdf:type ontology:work_of_art } UNION { ?n rdf:type ontology:print } } } } . FILTER ( ?z > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7179243 Q16974667
P495 P17
Q15617994
USER
Which administrative territories are the countries of origin of Alludu Sreenu or are Petrynówka located in ?
OR((Q16974667,P495,c(Q15617994)), (Q7179243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16974667
relation P495
action find
entity Q7179243
relation P17
type Q15617994
{'OR': [['Q16974667', 'P495', {'concept': 'Q15617994'}], ['Q7179243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16974667 property:P495 ?t } UNION { resource:Q7179243 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Petrynówka Alludu Sreenu
action filter_type
action union
action find
entity Alludu Sreenu
relation country of origin
action find
entity Petrynówka
relation country
type designation for an administrative territorial entity
{'OR': [['Alludu Sreenu', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Petrynówka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Alludu_Sreenu property:country_of_origin ?t } UNION { resource:Petrynówka property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36 Q668
SYSTEM
Poland, India
Q36 Q668
OR((Q16974667,P495,c(Q15617994)), (Q7179243,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q16974667
relation P495
action find
entity Q7179243
relation P17
type Q15617994
[ANSWERS] are the countries of origin of Alludu Sreenu or are Petrynówka located in
{'OR': [['Q16974667', 'P495', {'concept': 'Q15617994'}], ['Q7179243', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Q16974667 property:P495 ?t } UNION { resource:Q7179243 property:P17 ?t } } . ?t rdf:type ontology:Q15617994 }
Poland India
Poland and India are the countries of origin of Alludu Sreenu or are Petrynówka located in
Poland India
action filter_type
action union
action find
entity Alludu Sreenu
relation country of origin
action find
entity Petrynówka
relation country
type designation for an administrative territorial entity
{'OR': [['Alludu Sreenu', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Petrynówka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { { { resource:Alludu_Sreenu property:country_of_origin ?t } UNION { resource:Petrynówka property:country ?t } } . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q36 Q668
P30
Q2221906
USER
Which geographic locations are those administrative territories a part of ?
(Q36,P30,c(Q2221906)) (Q668,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q36', 'P30', {'concept': 'Q2221906'}] ['Q668', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Q36 ) ( resource:Q668 ) } . ?s property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Poland India
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Poland', 'continent', {'concept': 'geographic location'}] ['India', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Poland ) ( resource:India ) } . ?s property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46 Q48
SYSTEM
Europe, Asia
Q46 Q48
(Q36,P30,c(Q2221906)) (Q668,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
[ANSWERS] are those administrative territories a part of
['Q36', 'P30', {'concept': 'Q2221906'}] ['Q668', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Q36 ) ( resource:Q668 ) } . ?s property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe Asia
Europe and Asia are those administrative territories a part of
Europe Asia
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Poland', 'continent', {'concept': 'geographic location'}] ['India', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { VALUES ( ?s ) { ( resource:Poland ) ( resource:India ) } . ?s property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q46 Q48
P361
Q2221906
USER
Which geographic locations are Europe and Asia a part of ?
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?w ) { ( resource:Q46 ) ( resource:Q48 ) } . ?w property:P361 ?d }
Europe Asia
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?w ) { ( resource:Europe ) ( resource:Asia ) } . ?w property:part_of ?d }
[]
geographic location
Q5401 Q2035462 Q5401
SYSTEM
Ostfeste for 2nd, Eurasia for 1st, 3rd
Q5401 Q2035462 Q5401
(Q46,P361,c(Q2221906)) (Q48,P361,c(Q2221906))
action union
action filter_type
action find
entity Q46
relation P361
type Q2221906
action filter_type
action find
entity Q48
relation P361
type Q2221906
[ANSWERS]
['Q46', 'P361', {'concept': 'Q2221906'}] ['Q48', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?w ) { ( resource:Q46 ) ( resource:Q48 ) } . ?w property:P361 ?d }
Eurasia Ostfeste Eurasia
Are Eurasia, Ostfeste and Eurasia are Europe and Asia a part of
Eurasia Ostfeste Eurasia
action union
action filter_type
action find
entity Europe
relation part of
type geographic location
action filter_type
action find
entity Asia
relation part of
type geographic location
['Europe', 'part of', {'concept': 'geographic location'}] ['Asia', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?d WHERE { VALUES ( ?w ) { ( resource:Europe ) ( resource:Asia ) } . ?w property:part_of ?d }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2035462
P47
Q2221906
USER
Which geographic location does that one share a border with ?
(c(Q2221906),P47,Q2035462)
action filter_type
action find
entity Q2035462
relation P47
type Q2221906
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
SELECT DISTINCT ?e WHERE { resource:Q2035462 property:P47 ?e . ?e rdf:type ontology:Q2221906 }
Ostfeste
action filter_type
action find
entity Ostfeste
relation shares border with
type geographic location
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
SELECT DISTINCT ?e WHERE { resource:Ostfeste property:shares_border_with ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Clarification for simple ques.
Q5401
SYSTEM
Did you mean Eurasia ?
Q5401 Q2035462 Q5401
(c(Q2221906),P47,Q5401) (c(Q2221906),P47,Q2035462) (c(Q2221906),P47,Q5401)
[ANSWER]
[{'concept': 'Q2221906'}, 'P47', 'Q5401'] [{'concept': 'Q2221906'}, 'P47', 'Q2035462'] [{'concept': 'Q2221906'}, 'P47', 'Q5401']
SELECT DISTINCT ?e WHERE { resource:Q2035462 property:P47 ?e . ?e rdf:type ontology:Q2221906 }
Eurasia Ostfeste Eurasia
Did you mean Eurasia ?
Eurasia
[{'concept': 'geographic location'}, 'shares border with', 'Eurasia'] [{'concept': 'geographic location'}, 'shares border with', 'Ostfeste'] [{'concept': 'geographic location'}, 'shares border with', 'Eurasia']
SELECT DISTINCT ?e WHERE { resource:Ostfeste property:shares_border_with ?e . ?e rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
USER
No, I meant Ostfeste. Could you tell me the answer for that?
(c(Q2221906),P47,Q2035462)
Q2035462
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
[]
Q2565175
SYSTEM
Westfeste
Q2565175
(c(Q2221906),P47,Q2035462)
action filter_type
action find
entity Q2035462
relation P47
type Q2221906
That one shares a border with the [ANSWER]
[{'concept': 'Q2221906'}, 'P47', 'Q2035462']
SELECT DISTINCT ?e WHERE { resource:Q2035462 property:P47 ?e . ?e rdf:type ontology:Q2221906 }
Westfeste
That one shares a border with the Westfeste
Westfeste
action filter_type
action find
entity Ostfeste
relation shares border with
type geographic location
[{'concept': 'geographic location'}, 'shares border with', 'Ostfeste']
SELECT DISTINCT ?e WHERE { resource:Ostfeste property:shares_border_with ?e . ?e rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q489772
P361
Q838948 Q107425 Q15619164
USER
Which works of art are less number of landscapes and abstract beings a part of than Seven Wonders of the Ancient World ?
(c(Q107425)|c(Q15619164),P361,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q489772
relation P361
type Q107425
type Q15619164
[[{'concept': 'Q107425'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?h WHERE { { ?b property:P361 ?h . ?h rdf:type ontology:Q838948 . ?b rdf:type ontology:Q107425 } UNION { ?b property:P361 ?h . ?h rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15619164 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P361 resource:Q489772 . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q107425 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?c < ?f ) }
Seven Wonders of the Ancient World
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Seven Wonders of the Ancient World
relation part of
type landscape
type abstract being
[[{'concept': 'landscape'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?h WHERE { { ?b property:part_of ?h . ?h rdf:type ontology:work_of_art . ?b rdf:type ontology:landscape } UNION { ?b property:part_of ?h . ?h rdf:type ontology:work_of_art . ?b rdf:type ontology:abstract_being } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:part_of resource:Seven_Wonders_of_the_Ancient_World . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:landscape ) ( ontology:abstract_being ) } } } } . FILTER ( ?c < ?f ) }
[]
work of art landscape abstract being
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q107425)|c(Q15619164),P361,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q489772
relation P361
type Q107425
type Q15619164
[ANSWERS] are less number of landscapes and abstract beings a part of than Seven Wonders of the Ancient World
[[{'concept': 'Q107425'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?h WHERE { { ?b property:P361 ?h . ?h rdf:type ontology:Q838948 . ?b rdf:type ontology:Q107425 } UNION { ?b property:P361 ?h . ?h rdf:type ontology:Q838948 . ?b rdf:type ontology:Q15619164 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P361 resource:Q489772 . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:Q107425 ) ( ontology:Q15619164 ) } } } } . FILTER ( ?c < ?f ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy are less number of landscapes and abstract beings a part of than Seven Wonders of the Ancient World
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Seven Wonders of the Ancient World
relation part of
type landscape
type abstract being
[[{'concept': 'landscape'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) ?h WHERE { { ?b property:part_of ?h . ?h rdf:type ontology:work_of_art . ?b rdf:type ontology:landscape } UNION { ?b property:part_of ?h . ?h rdf:type ontology:work_of_art . ?b rdf:type ontology:abstract_being } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:part_of resource:Seven_Wonders_of_the_Ancient_World . { ?m rdf:type ?w . VALUES ( ?w ) { ( ontology:landscape ) ( ontology:abstract_being ) } } } } . FILTER ( ?c < ?f ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q24980
P361
Q838948 Q107425 Q15619164
USER
And also tell me about Monty Python's The Meaning of Life?
(c(Q107425)|c(Q15619164),P361,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q24980
relation P361
type Q107425
type Q15619164
[[{'concept': 'Q107425'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?a ) { ( ontology:Q107425 ) ( ontology:Q15619164 ) } . ?h rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P361 resource:Q24980 . { { ?m rdf:type ontology:Q107425 } UNION { ?m rdf:type ontology:Q15619164 } } } } . FILTER ( ?r < ?w ) }
Monty Python's The Meaning of Life
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Monty Python's The Meaning of Life
relation part of
type landscape
type abstract being
[[{'concept': 'landscape'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?a ) { ( ontology:landscape ) ( ontology:abstract_being ) } . ?h rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:part_of resource:Monty_Python's_The_Meaning_of_Life . { { ?m rdf:type ontology:landscape } UNION { ?m rdf:type ontology:abstract_being } } } } . FILTER ( ?r < ?w ) }
[]
work of art landscape abstract being
Q205028 Q102438 Q15624215
SYSTEM
Iron Man 2, Harry Potter and the Philosopher's Stone, Lucy
Q2312028 Q1762957 Q5723375 Q3415280 Q4143086 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q1209853 Q18609716 Q284184 Q16161848 Q215750 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q161687 Q1534737 Q4656518 Q1411766 Q205028 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q332368 Q3983379 Q478748 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q103569 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q971109 Q1360347 Q632753 Q60072 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q463313 Q18217301 Q232009 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q107425)|c(Q15619164),P361,c(Q838948))
action less
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q107425
action find_reverse_tuple_counts
relation P361
type Q838948
type Q15619164
action count
action filter_multi_types
action find_reverse
entity Q24980
relation P361
type Q107425
type Q15619164
[ANSWERS]
[[{'concept': 'Q107425'}, {'concept': 'Q15619164'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?a ) { ( ontology:Q107425 ) ( ontology:Q15619164 ) } . ?h rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P361 resource:Q24980 . { { ?m rdf:type ontology:Q107425 } UNION { ?m rdf:type ontology:Q15619164 } } } } . FILTER ( ?r < ?w ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight Ride The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy The Merchant of Venice Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing Law of the Sea polyptych of Saint Augustine Assumption Faust Le Tour de France dans les Pyrénées Looney Tunes: Unleashed Ro.Go.Pa.G. Life of Humanity Kurt Olsson – filmen om mitt liv som mig själv Le Roi et l'oiseau Dick Tracy Scenes from the Life of the Virgin Ra.One The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories Harry Potter and the Half-Blood Prince Life A Divine Double Feature predella Iron Man 2 The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D A View to a Kill Ten Minutes Older: The Trumpet The Holiday The Man on the Roof The Arts of War The Arts of Peace The Gates of Hell Slap Shot Up Bedknobs and Broomsticks Bayeux Tapestry Leif The Poseidon Adventure diptych Alien Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Inferno Hunnestad Monument Babes in Arms The Sound of Music Hamlet Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Romeo + Juliet Rizal Monument Harry Potter and the Deathly Hallows – Part 2 Singin' in the Rain Black Jack Kill Bill Volume 1 A Breed Apart Rivers and Tides Monument to the Republic Chatsworth Apollo headstone folk dance Superman 1472 Polyptych Sculptural Ensemble of Constantin Brâncuși at Târgu Jiu Cold War Porto San Giorgio Polyptych The Witches triptych Teheran 43 Henry VI (play) Part 1-3 Supergirl drawing Meditation Playing for Keeps Arabian Nights Carefree The Oldest Profession Kill Bill Volume 2 The Legend of Lucy Keyes DC Universe Animated Original Movies Albert Memorial Montefiore dell'Aso Polyptych Underworld Medals by Pisanello Tomb of Giuliano de' Medici, Duke of Nemours Ferdinand the Bull album Parthenon Frieze Madonna and Child, Saints Francis, John the Baptist, John the Evangelist and Anthony of Padua computer graphics Visions of the Hereafter Göta kanal eller Vem drog ur proppen?
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action less
action union
action find_reverse_tuple_counts
relation part of
type work of art
type landscape
action find_reverse_tuple_counts
relation part of
type work of art
type abstract being
action count
action filter_multi_types
action find_reverse
entity Monty Python's The Meaning of Life
relation part of
type landscape
type abstract being
[[{'concept': 'landscape'}, {'concept': 'abstract being'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?a ) { ( ontology:landscape ) ( ontology:abstract_being ) } . ?h rdf:type ?a } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:part_of resource:Monty_Python's_The_Meaning_of_Life . { { ?m rdf:type ontology:landscape } UNION { ?m rdf:type ontology:abstract_being } } } } . FILTER ( ?r < ?w ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q205028 Q102438 Q15624215
P161
Q502895
USER
Which people were casted in Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy ?
(Q205028,P161,c(Q502895)) (Q102438,P161,c(Q502895)) (Q15624215,P161,c(Q502895))
action union
action filter_type
action find
entity Q205028
relation P161
type Q502895
action filter_type
action find
entity Q102438
relation P161
type Q502895
action filter_type
action find
entity Q15624215
relation P161
type Q502895
['Q205028', 'P161', {'concept': 'Q502895'}] ['Q102438', 'P161', {'concept': 'Q502895'}] ['Q15624215', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q102438 property:P161 ?r . ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q502895 . resource:Q205028 property:P161 ?r } }
Iron Man 2 Harry Potter and the Philosopher's Stone Lucy
action union
action filter_type
action find
entity Iron Man 2
relation cast member
type common name
action filter_type
action find
entity Harry Potter and the Philosopher's Stone
relation cast member
type common name
action filter_type
action find
entity Lucy
relation cast member
type common name
['Iron Man 2', 'cast member', {'concept': 'common name'}] ["Harry Potter and the Philosopher's Stone", 'cast member', {'concept': 'common name'}] ['Lucy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:Harry_Potter_and_the_Philosopher's_Stone property:cast_member ?r . ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:common_name . resource:Iron_Man_2 property:cast_member ?r } }
[]
common name
Q106481 Q106775 Q317521
SYSTEM
Alan Rickman, Richard Harris, Elon Musk
Q24073661 Q24068237 Q24073723 Q178552 Q24068403 Q34436 Q24068258 Q981913 Q295964 Q3379332 Q24068248 Q181900 Q1374481 Q4778206 Q172678 Q788586 Q3193213 Q374346 Q236475 Q24068217 Q24073706 Q24068393 Q1148858 Q24068385 Q24073711 Q242707 Q16195902 Q24073717 Q236939 Q349529 Q165219 Q113206 Q4252802 Q241854 Q34460 Q317521 Q316446 Q272019 Q2832463 Q310953 Q231249 Q92759 Q239453 Q236948 Q374041 Q73612 Q105682 Q8003151 Q336486 Q314831 Q16188190 Q4590871 Q39476 Q553037 Q38119 Q459422 Q10863062 Q250250 Q318155 Q5231720 Q274670 Q1775521 Q511148 Q362228 Q7606231 Q25014 Q441923 Q172653 Q272554 Q106775 Q968461 Q228747 Q1189327 Q105466 Q3807708 Q232646 Q108270 Q2093633 Q6851522 Q7152188 Q956349 Q16223393 Q106481 Q17058226 Q227142 Q461401 Q235572 Q19190 Q200405 Q271471 Q2409879 Q320073 Q922135 Q710142 Q1753971 Q329778 Q296008 Q111230 Q1401230 Q17475769 Q2966335 Q17420044 Q17377472 Q17374209 Q17420049 Q17374224 Q34436 Q17420615 Q17419656 Q17417439 Q17419994 Q17417871 Q17417778 Q15902596 Q17377226 Q117906 Q238843 Q1907247 Q3424854 Q484575 Q7219275 Q17417441 Q17375633 Q17484077 Q3089707 Q920094 Q9183272 Q17485219 Q17417435 Q17377446 Q3838012 Q17377465 Q17419644 Q17417764 Q17475584 Q3264492 Q17377231 Q3574198 Q3471076 Q17419723 Q17377491 Q17377232 Q48337 Q17374188 Q17419822 Q118782 Q17420026 Q8987299 Q17420062 Q602231 Q3009868 Q9292584 Q17419926
(Q205028,P161,c(Q502895)) (Q102438,P161,c(Q502895)) (Q15624215,P161,c(Q502895))
action union
action filter_type
action find
entity Q205028
relation P161
type Q502895
action filter_type
action find
entity Q102438
relation P161
type Q502895
action filter_type
action find
entity Q15624215
relation P161
type Q502895
[ANSWERS] were casted in Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy
['Q205028', 'P161', {'concept': 'Q502895'}] ['Q102438', 'P161', {'concept': 'Q502895'}] ['Q15624215', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q102438 property:P161 ?r . ?r rdf:type ontology:Q502895 } UNION { ?r rdf:type ontology:Q502895 . resource:Q205028 property:P161 ?r } }
Margy Stein Kate Clark Jack White Mickey Rourke Keith Middlebrook Scarlett Johansson François Duhamel Eric L. Haney Jon Favreau Philippe Bergeron Lumi Docan Stan Lee Garry Shandling Anya Monzikova Samuel L. Jackson Tim Guinee Karim Saleh John Slattery Olivia Munn Michael Bruno Davin Ransom Isaiah Guyman Martin IV Tanoai Reed Ali Khan Brian Schaeffer Paul Bettany James Bethea Phillipe Simon Christiane Amanpour Adam Goldstein Robert Downey, Jr. Clark Gregg Yevgeni Lazarev Helena Mattsson Gwyneth Paltrow Elon Musk Sam Rockwell Don Cheadle Alejandro Patino Bill O'Reilly Kate Mara Larry Ellison Leslie Bibb Tamara Taylor Adrian Rawlins Fiona Shaw Tom Felton Will Theakston Ian Hart Richard Griffiths Emily Dale Leilah Sutherland Emma Watson Richard Bremmer Daniel Radcliffe Joshua Herdman Oliver Phelps Alfred Enoch Devon Murray David Brett Danielle Tabor Simon Fisher-Becker Luke Youngblood Sean Biggerstaff Stefan Pejic John Cleese Chris Rankin Maggie Smith Elizabeth Spriggs Richard Harris David Holmes Julie Walters Derek Hough Bonnie Wright Jean Southern Julianne Hough Warwick Davis Ray Fearon Miles Richardson Paul Marc Davis Eleanor Columbus Richard Reid Alan Rickman Scott Fern Zoë Wanamaker Jamie Waylett Geraldine Somerville Rupert Grint John Hurt Verne Troyer Derek Deadman David Bradley Terence Bayler Leslie Phillips Nina Young Harry Melling Robbie Coltrane Matthew Lewis James Phelps Thibault Segouin Christophe Lavalle Mohammad Aslam Ansari Isabelle Cagnat Christophe Tek Kanneti Sae Han Jan Oliver Schroeder Scarlett Johansson Pierre Gérard François Legrand Hsu Hao-Hsiang Alessandro Giallocosta Frank Ma Huan Jhih-Cyuan Hsing Feng Nicolas Phongpheth Pilou Asbæk Analeigh Tipton Mason Lee Renaud Cestre Choi Min-sik Chloe Wang Liu Hsieh-Min Michèle Raingeval Claire Zaniolo Frédéric Chau Julian Rhind-Tutt Sharon Kao Sandra Abouav Sifan Shao Bertrand Quoniam Luca Angeletti Pascal Loison Paul Chan Tseng Sheng-En Matthew Bravais Loïc Brabant Pierre Grammont Yvonne Gradelet Samuel Churin Bob Martet Julien Personnaz Pierre Poirot Morgan Freeman Claire Tran Alexis Rangheard Wolfgang Pissors I Cheng-Sheng Zaizai Lin Chou Chung-Wei Amr Waked Cédric Chevalme Ken Lin Tonio Descanvelle
Alan Rickman, Richard Harris and Elon Musk were casted in Iron Man 2, Harry Potter and the Philosopher's Stone and Lucy
Alan Rickman Richard Harris Elon Musk
action union
action filter_type
action find
entity Iron Man 2
relation cast member
type common name
action filter_type
action find
entity Harry Potter and the Philosopher's Stone
relation cast member
type common name
action filter_type
action find
entity Lucy
relation cast member
type common name
['Iron Man 2', 'cast member', {'concept': 'common name'}] ["Harry Potter and the Philosopher's Stone", 'cast member', {'concept': 'common name'}] ['Lucy', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:Harry_Potter_and_the_Philosopher's_Stone property:cast_member ?r . ?r rdf:type ontology:common_name } UNION { ?r rdf:type ontology:common_name . resource:Iron_Man_2 property:cast_member ?r } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q106481 Q106775 Q317521
P26
Q502895
USER
Who are married to Alan Rickman, Richard Harris and Elon Musk ?
(Q106481,P26,c(Q502895)) (Q106775,P26,c(Q502895)) (Q317521,P26,c(Q502895))
action union
action filter_type
action find
entity Q106481
relation P26
type Q502895
action filter_type
action find
entity Q106775
relation P26
type Q502895
action filter_type
action find
entity Q317521
relation P26
type Q502895
['Q106481', 'P26', {'concept': 'Q502895'}] ['Q106775', 'P26', {'concept': 'Q502895'}] ['Q317521', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { resource:Q106775 property:P26 ?s . ?s rdf:type ontology:Q502895 } UNION { resource:Q106481 property:P26 ?s . ?s rdf:type ontology:Q502895 } }
Alan Rickman Richard Harris Elon Musk
action union
action filter_type
action find
entity Alan Rickman
relation spouse
type common name
action filter_type
action find
entity Richard Harris
relation spouse
type common name
action filter_type
action find
entity Elon Musk
relation spouse
type common name
['Alan Rickman', 'spouse', {'concept': 'common name'}] ['Richard Harris', 'spouse', {'concept': 'common name'}] ['Elon Musk', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { resource:Richard_Harris property:spouse ?s . ?s rdf:type ontology:common_name } UNION { resource:Alan_Rickman property:spouse ?s . ?s rdf:type ontology:common_name } }
[]
common name
Q5363418 Q558801 Q21073215
SYSTEM
Elizabeth Rees-Williams, Ann Turkel, Rima Horton
Q21073215 Q558801 Q5363418 Q6318376 Q269309
(Q106481,P26,c(Q502895)) (Q106775,P26,c(Q502895)) (Q317521,P26,c(Q502895))
action union
action filter_type
action find
entity Q106481
relation P26
type Q502895
action filter_type
action find
entity Q106775
relation P26
type Q502895
action filter_type
action find
entity Q317521
relation P26
type Q502895
[ANSWERS] are married to Alan Rickman, Richard Harris and Elon Musk
['Q106481', 'P26', {'concept': 'Q502895'}] ['Q106775', 'P26', {'concept': 'Q502895'}] ['Q317521', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { resource:Q106775 property:P26 ?s . ?s rdf:type ontology:Q502895 } UNION { resource:Q106481 property:P26 ?s . ?s rdf:type ontology:Q502895 } }
Rima Horton Ann Turkel Elizabeth Rees-Williams Justine Musk Talulah Riley
Elizabeth Rees-Williams, Ann Turkel and Rima Horton are married to Alan Rickman, Richard Harris and Elon Musk
Elizabeth Rees-Williams Ann Turkel Rima Horton
action union
action filter_type
action find
entity Alan Rickman
relation spouse
type common name
action filter_type
action find
entity Richard Harris
relation spouse
type common name
action filter_type
action find
entity Elon Musk
relation spouse
type common name
['Alan Rickman', 'spouse', {'concept': 'common name'}] ['Richard Harris', 'spouse', {'concept': 'common name'}] ['Elon Musk', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { resource:Richard_Harris property:spouse ?s . ?s rdf:type ontology:common_name } UNION { resource:Alan_Rickman property:spouse ?s . ?s rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q317521
P7
Q502895
USER
Who is the brother of Elon Musk ?
(Q317521,P7,c(Q502895))
action filter_type
action find
entity Q317521
relation P7
type Q502895
['Q317521', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q317521 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Elon Musk
action filter_type
action find
entity Elon Musk
relation brother
type common name
['Elon Musk', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Elon_Musk property:brother ?x . ?x rdf:type ontology:common_name }
[]
common name
Q6409751
SYSTEM
Kimbal Musk
Q6409751
(Q317521,P7,c(Q502895))
action filter_type
action find
entity Q317521
relation P7
type Q502895
The brother of Elon Musk is named [ANSWER]
['Q317521', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q317521 property:P7 ?x . ?x rdf:type ontology:Q502895 }
Kimbal Musk
The brother of Elon Musk is named Kimbal Musk
Kimbal Musk
action filter_type
action find
entity Elon Musk
relation brother
type common name
['Elon Musk', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Elon_Musk property:brother ?x . ?x rdf:type ontology:common_name }
[]