Simple Question (Direct)
Simple Question
Q16255225
P495
Q15617994
USER
What is the origin of Ek Villain ?
(Q16255225,P495,c(Q15617994))
action filter_type
action find
entity Q16255225
relation P495
type Q15617994
['Q16255225', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q16255225 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
Ek Villain
action filter_type
action find
entity Ek Villain
relation country of origin
type designation for an administrative territorial entity
['Ek Villain', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ek_Villain 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
(Q16255225,P495,c(Q15617994))
action filter_type
action find
entity Q16255225
relation P495
type Q15617994
The origin of Ek Villain is from [ANSWER]
['Q16255225', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q16255225 property:P495 ?v . ?v rdf:type ontology:Q15617994 }
India
The origin of Ek Villain is from India
India
action filter_type
action find
entity Ek Villain
relation country of origin
type designation for an administrative territorial entity
['Ek Villain', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Ek_Villain property:country_of_origin ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16255225
P57
Q502895
USER
Which person directed Ek Villain ?
(Q16255225,P57,c(Q502895))
action filter_type
action find
entity Q16255225
relation P57
type Q502895
['Q16255225', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q16255225 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Ek Villain
action filter_type
action find
entity Ek Villain
relation director
type common name
['Ek Villain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Ek_Villain property:director ?y . ?y rdf:type ontology:common_name }
[]
common name
Q3319134
SYSTEM
Mohit Suri
Q3319134
(Q16255225,P57,c(Q502895))
action filter_type
action find
entity Q16255225
relation P57
type Q502895
[ANSWER] directed Ek Villain
['Q16255225', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q16255225 property:P57 ?y . ?y rdf:type ontology:Q502895 }
Mohit Suri
Mohit Suri directed Ek Villain
Mohit Suri
action filter_type
action find
entity Ek Villain
relation director
type common name
['Ek Villain', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Ek_Villain property:director ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3319134
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q3319134,P27,c(Q15617994))
action filter_type
action find
entity Q3319134
relation P27
type Q15617994
['Q3319134', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3319134 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Mohit Suri
action filter_type
action find
entity Mohit Suri
relation country of citizenship
type designation for an administrative territorial entity
['Mohit Suri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Mohit_Suri property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668
SYSTEM
India
Q668
(Q3319134,P27,c(Q15617994))
action filter_type
action find
entity Q3319134
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q3319134', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q3319134 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
India
The India is that person a civilian of
India
action filter_type
action find
entity Mohit Suri
relation country of citizenship
type designation for an administrative territorial entity
['Mohit Suri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Mohit_Suri property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21180926 Q3319134
P27
Q15617994
USER
Or Norlla Amiri?
OR((Q3319134,P27,c(Q15617994)), (Q21180926,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3319134
relation P27
action find
entity Q21180926
relation P27
type Q15617994
{'OR': [['Q3319134', 'P27', {'concept': 'Q15617994'}], ['Q21180926', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3319134 property:P27 ?d } UNION { resource:Q21180926 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Norlla Amiri Mohit Suri
action filter_type
action union
action find
entity Mohit Suri
relation country of citizenship
action find
entity Norlla Amiri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohit Suri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Norlla Amiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Mohit_Suri property:country_of_citizenship ?d } UNION { resource:Norlla_Amiri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q668 Q889 Q34
SYSTEM
India, Afghanistan, Sweden
Q668 Q889 Q34
OR((Q3319134,P27,c(Q15617994)), (Q21180926,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3319134
relation P27
action find
entity Q21180926
relation P27
type Q15617994
[ANSWERS]
{'OR': [['Q3319134', 'P27', {'concept': 'Q15617994'}], ['Q21180926', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3319134 property:P27 ?d } UNION { resource:Q21180926 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
India Afghanistan Sweden
India Afghanistan Sweden
action filter_type
action union
action find
entity Mohit Suri
relation country of citizenship
action find
entity Norlla Amiri
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohit Suri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Norlla Amiri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Mohit_Suri property:country_of_citizenship ?d } UNION { resource:Norlla_Amiri property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21180926
P54
Q1194951
USER
What is Norlla Amiri a member of ?
(Q21180926,P54,c(Q1194951))
action filter_type
action find
entity Q21180926
relation P54
type Q1194951
['Q21180926', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q21180926 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Norlla Amiri
action filter_type
action find
entity Norlla Amiri
relation member of sports team
type national sports team
['Norlla Amiri', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Norlla_Amiri property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
national sports team
Q192966
SYSTEM
Afghanistan national football team
Q192966
(Q21180926,P54,c(Q1194951))
action filter_type
action find
entity Q21180926
relation P54
type Q1194951
Norlla Amiri is a member of [ANSWER]
['Q21180926', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?k WHERE { resource:Q21180926 property:P54 ?k . ?k rdf:type ontology:Q1194951 }
Afghanistan national football team
Norlla Amiri is a member of Afghanistan national football team
Afghanistan national football team
action filter_type
action find
entity Norlla Amiri
relation member of sports team
type national sports team
['Norlla Amiri', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?k WHERE { resource:Norlla_Amiri property:member_of_sports_team ?k . ?k rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q192966
P1532
Q15617994
USER
Which administrative territory is played by that national sports team ?
(Q192966,P1532,c(Q15617994))
action filter_type
action find
entity Q192966
relation P1532
type Q15617994
['Q192966', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q192966 property:P1532 ?w . ?w rdf:type ontology:Q15617994 }
Afghanistan national football team
action filter_type
action find
entity Afghanistan national football team
relation country for sport
type designation for an administrative territorial entity
['Afghanistan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Afghanistan_national_football_team property:country_for_sport ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q889
SYSTEM
Afghanistan
Q889
(Q192966,P1532,c(Q15617994))
action filter_type
action find
entity Q192966
relation P1532
type Q15617994
[ANSWER] is played by that national sports team
['Q192966', 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q192966 property:P1532 ?w . ?w rdf:type ontology:Q15617994 }
Afghanistan
Afghanistan is played by that national sports team
Afghanistan
action filter_type
action find
entity Afghanistan national football team
relation country for sport
type designation for an administrative territorial entity
['Afghanistan national football team', 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Afghanistan_national_football_team property:country_for_sport ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q113814 Q3319134
P57
Q838948
USER
Which works of art are Mohit Suri or Larry Semon a director of ?
OR((c(Q838948),P57,Q3319134), (c(Q838948),P57,Q113814))
action filter_type
action union
action find_reverse
entity Q3319134
relation P57
action find_reverse
entity Q113814
relation P57
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q3319134'], [{'concept': 'Q838948'}, 'P57', 'Q113814']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P57 resource:Q3319134 } UNION { ?b property:P57 resource:Q113814 } } . ?b rdf:type ontology:Q838948 }
Larry Semon Mohit Suri
action filter_type
action union
action find_reverse
entity Mohit Suri
relation director
action find_reverse
entity Larry Semon
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Mohit Suri'], [{'concept': 'work of art'}, 'director', 'Larry Semon']]}
SELECT DISTINCT ?b WHERE { { { ?b property:director resource:Mohit_Suri } UNION { ?b property:director resource:Larry_Semon } } . ?b rdf:type ontology:work_of_art }
[]
work of art
Q3575515 Q7846409 Q8068528 Q2888976 Q8029077 Q1952224 Q5187761 Q3192282 Q16248781 Q5314693
SYSTEM
Some of them are The Stage Hand, Trouble Brewing, Zeher, Murder 2, Woh Lamhe, The Rent Collector, Crook, Kalyug, Hamari Adhuri Kahani, Dunces and Dangers
Q5314693 Q759314 Q7727764 Q6546449 Q1651718 Q7278449 Q3773106 Q3787638 Q7716393 Q7715368 Q4662712 Q3575515 Q2888976 Q16248781 Q3521048 Q4829827 Q3637174 Q19572022 Q8068528 Q3522699 Q7846409 Q16255225 Q3192282 Q7715669 Q3133349 Q3196377 Q7733190 Q3522608 Q5187761 Q19891069 Q8029077 Q5313428 Q3752488 Q1952224 Q3475494
OR((c(Q838948),P57,Q3319134), (c(Q838948),P57,Q113814))
action filter_type
action union
action find_reverse
entity Q3319134
relation P57
action find_reverse
entity Q113814
relation P57
type Q838948
[ANSWERS] are Mohit Suri or Larry Semon a director of
{'OR': [[{'concept': 'Q838948'}, 'P57', 'Q3319134'], [{'concept': 'Q838948'}, 'P57', 'Q113814']]}
SELECT DISTINCT ?b WHERE { { { ?b property:P57 resource:Q3319134 } UNION { ?b property:P57 resource:Q113814 } } . ?b rdf:type ontology:Q838948 }
Dunces and Dangers The Suitor The Counter Jumper Lightning Love The Midnight Cabaret Raaz – The Mystery Continues Golf Huns and Hyphens The Bell Hop The Bakery Aashiqui 2 The Stage Hand Murder 2 Hamari Adhuri Kahani The Girl in the Limousine Awarapan Bears and Bad Men The Grocery Clerk Zeher The Show Trouble Brewing Ek Villain Kalyug The Barnyard Her Boy Friend Kid Speed The Fall Guy The Sawmill Crook Half Girlfriend Woh Lamhe Dull Care Frauds and Frenzies The Rent Collector School Days
The Stage Hand, Trouble Brewing, Zeher, Murder 2, Woh Lamhe, The Rent Collector, Crook, Kalyug, Hamari Adhuri Kahani and Dunces and Dangers are Mohit Suri or Larry Semon a director of
The Stage Hand Trouble Brewing Zeher Murder 2 Woh Lamhe The Rent Collector Crook Kalyug Hamari Adhuri Kahani Dunces and Dangers
action filter_type
action union
action find_reverse
entity Mohit Suri
relation director
action find_reverse
entity Larry Semon
relation director
type work of art
{'OR': [[{'concept': 'work of art'}, 'director', 'Mohit Suri'], [{'concept': 'work of art'}, 'director', 'Larry Semon']]}
SELECT DISTINCT ?b WHERE { { { ?b property:director resource:Mohit_Suri } UNION { ?b property:director resource:Larry_Semon } } . ?b rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q234460 Q482994
USER
Which works of art are min number of texts or albums a portion of ?
(c(Q234460)|c(Q482994),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
[[{'concept': 'Q234460'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?d WHERE { { ?d rdf:type ontology:Q838948 . ?w rdf:type ontology:Q234460 . ?w property:P361 ?d } UNION { ?w property:P361 ?d . ?d rdf:type ontology:Q838948 . ?w rdf:type ontology:Q482994 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?k WHERE { { ?v property:P361 ?k . ?v rdf:type ontology:Q482994 . ?k rdf:type ontology:Q838948 } UNION { ?v property:P361 ?k . ?k rdf:type ontology:Q838948 . ?v rdf:type ontology:Q234460 } } GROUP BY ?k } . FILTER ( ?u = ?x ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type album
[[{'concept': 'text'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?d WHERE { { ?d rdf:type ontology:work_of_art . ?w rdf:type ontology:text . ?w property:part_of ?d } UNION { ?w property:part_of ?d . ?d rdf:type ontology:work_of_art . ?w rdf:type ontology:album } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?k WHERE { { ?v property:part_of ?k . ?v rdf:type ontology:album . ?k rdf:type ontology:work_of_art } UNION { ?v property:part_of ?k . ?k rdf:type ontology:work_of_art . ?v rdf:type ontology:text } } GROUP BY ?k } . FILTER ( ?u = ?x ) }
[]
work of art text album
Q102438 Q15624215 Q127367
SYSTEM
Harry Potter and the Philosopher's Stone, Lucy, The Lord of the Rings: The Fellowship of the Ring
Q2312028 Q1762957 Q5723375 Q3415280 Q127367 Q22260775 Q193066 Q15624215 Q2364709 Q7719555 Q372959 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q18609716 Q16161848 Q734834 Q222867 Q4660040 Q495954 Q733065 Q747847 Q977372 Q4656518 Q1411766 Q1623056 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q3983379 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q174811 Q945138 Q187483 Q6519361 Q874496 Q475476 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q472359 Q1360347 Q632753 Q60072 Q489772 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q18217301 Q309153 Q2905386 Q165325 Q2626332 Q7338317 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q7203413 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q234460)|c(Q482994),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q234460
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
[ANSWERS] are min number of texts or albums a portion of
[[{'concept': 'Q234460'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?d WHERE { { ?d rdf:type ontology:Q838948 . ?w rdf:type ontology:Q234460 . ?w property:P361 ?d } UNION { ?w property:P361 ?d . ?d rdf:type ontology:Q838948 . ?w rdf:type ontology:Q482994 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?k WHERE { { ?v property:P361 ?k . ?v rdf:type ontology:Q482994 . ?k rdf:type ontology:Q838948 } UNION { ?v property:P361 ?k . ?k rdf:type ontology:Q838948 . ?v rdf:type ontology:Q234460 } } GROUP BY ?k } . FILTER ( ?u = ?x ) }
Star Spangled Rhythm Release the Prisoners to Spring Tales of an Island Dangerous Moonlight The Lord of the Rings: The Fellowship of the Ring Sonar Kella Breakfast at Tiffany's Lucy Alice Comedies The Bowman and The Spearman The Towering Inferno Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian Law of the Sea polyptych of Saint Augustine Assumption 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 Scenes from the Life of the Virgin The Arts of War and The Arts of Peace Ghent Altarpiece 2 Fast 2 Furious A Texas Trilogy Henry V Dabangg New Orleans New York Stories A Divine Double Feature predella The Fighting Temptations Roseanna Christine Henry IV (play) Stolpersteine A Night Before Christmas Heroon Karl Liebknecht 3x3D Ten Minutes Older: The Trumpet 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 Laura Roverella Altarpiece Seven Sorrows Polyptych George VI and Queen Elizabeth Memorial Christ with singing and music-making Angels Nymphomaniac El Cantante Hunnestad Monument Babes in Arms The Sound of Music Seven Wonders of the Ancient World Space Pirate Captain Harlock baptismal font of the Siena Baptistry Danish Crown Regalia Polyptych of Certosa di Pavia Separate Tables Rizal Monument 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 Monty Python's The Meaning of Life 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?
Harry Potter and the Philosopher's Stone, Lucy and The Lord of the Rings: The Fellowship of the Ring are min number of texts or albums a portion of
Harry Potter and the Philosopher's Stone Lucy The Lord of the Rings: The Fellowship of the Ring
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type text
action find_reverse_tuple_counts
relation part of
type work of art
type album
[[{'concept': 'text'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?x ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?d WHERE { { ?d rdf:type ontology:work_of_art . ?w rdf:type ontology:text . ?w property:part_of ?d } UNION { ?w property:part_of ?d . ?d rdf:type ontology:work_of_art . ?w rdf:type ontology:album } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?u ) ?k WHERE { { ?v property:part_of ?k . ?v rdf:type ontology:album . ?k rdf:type ontology:work_of_art } UNION { ?v property:part_of ?k . ?k rdf:type ontology:work_of_art . ?v rdf:type ontology:text } } GROUP BY ?k } . FILTER ( ?u = ?x ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q238866 Q16255225
P161
Q502895
USER
Which people starred in Ek Villain or Wedding Crashers ?
OR((Q16255225,P161,c(Q502895)), (Q238866,P161,c(Q502895)))
action filter_type
action union
action find
entity Q16255225
relation P161
action find
entity Q238866
relation P161
type Q502895
{'OR': [['Q16255225', 'P161', {'concept': 'Q502895'}], ['Q238866', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q238866 ) ( resource:Q16255225 ) } . ?e property:P161 ?j } . ?j rdf:type ontology:Q502895 }
Wedding Crashers Ek Villain
action filter_type
action union
action find
entity Ek Villain
relation cast member
action find
entity Wedding Crashers
relation cast member
type common name
{'OR': [['Ek Villain', 'cast member', {'concept': 'common name'}], ['Wedding Crashers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Wedding_Crashers ) ( resource:Ek_Villain ) } . ?e property:cast_member ?j } . ?j rdf:type ontology:common_name }
[]
common name
Q190386 Q738291 Q283504 Q1686928 Q1065027 Q1738023 Q255293 Q15055683 Q161916 Q205707
SYSTEM
Some of them are Rachel McAdams, Riteish Deshmukh, Diora Baird, Jennifer Alden, Camille Anderson, Keir O'Donnell, Geoff Stults, Shraddha Kapoor, Owen Wilson, Bradley Cooper
Q161916 Q185051 Q713099 Q225657 Q949043 Q3483111 Q458512 Q152082 Q1738023 Q107730 Q232851 Q190386 Q283504 Q205707 Q15055683 Q218503 Q738291 Q255293 Q1065027 Q1686928 Q551411 Q228638 Q123849
OR((Q16255225,P161,c(Q502895)), (Q238866,P161,c(Q502895)))
action filter_type
action union
action find
entity Q16255225
relation P161
action find
entity Q238866
relation P161
type Q502895
[ANSWERS] starred in Ek Villain or Wedding Crashers
{'OR': [['Q16255225', 'P161', {'concept': 'Q502895'}], ['Q238866', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Q238866 ) ( resource:Q16255225 ) } . ?e property:P161 ?j } . ?j rdf:type ontology:Q502895 }
Owen Wilson Christopher Walken Dwight Yoakam Henry Gibson Larry Joe Campbell Sidharth Malhotra Ellen Albertini Dow Ron Canada Keir O'Donnell Vince Vaughn Rebecca De Mornay Rachel McAdams Diora Baird Bradley Cooper Shraddha Kapoor Will Ferrell Riteish Deshmukh Geoff Stults Camille Anderson Jennifer Alden David Conrad Isla Fisher Jane Seymour
Rachel McAdams, Riteish Deshmukh, Diora Baird, Jennifer Alden, Camille Anderson, Keir O'Donnell, Geoff Stults, Shraddha Kapoor, Owen Wilson and Bradley Cooper starred in Ek Villain or Wedding Crashers
Rachel McAdams Riteish Deshmukh Diora Baird Jennifer Alden Camille Anderson Keir O'Donnell Geoff Stults Shraddha Kapoor Owen Wilson Bradley Cooper
action filter_type
action union
action find
entity Ek Villain
relation cast member
action find
entity Wedding Crashers
relation cast member
type common name
{'OR': [['Ek Villain', 'cast member', {'concept': 'common name'}], ['Wedding Crashers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { { VALUES ( ?e ) { ( resource:Wedding_Crashers ) ( resource:Ek_Villain ) } . ?e property:cast_member ?j } . ?j rdf:type ontology:common_name }
[]