Simple Question (Direct)
Simple Question
Q3824811
P58
Q502895
USER
Who wrote the script for Vengeance Is My Forgiveness ?
(Q3824811,P58,c(Q502895))
action filter_type
action find
entity Q3824811
relation P58
type Q502895
['Q3824811', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3824811 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Vengeance Is My Forgiveness
action filter_type
action find
entity Vengeance Is My Forgiveness
relation screenwriter
type common name
['Vengeance Is My Forgiveness', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Vengeance_Is_My_Forgiveness property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1589490 Q3939005
SYSTEM
Tito Carpi, Roberto Natale
Q1589490 Q3939005
(Q3824811,P58,c(Q502895))
action filter_type
action find
entity Q3824811
relation P58
type Q502895
[ANSWERS] wrote the script for Vengeance Is My Forgiveness
['Q3824811', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q3824811 property:P58 ?u . ?u rdf:type ontology:Q502895 }
Tito Carpi Roberto Natale
Tito Carpi and Roberto Natale wrote the script for Vengeance Is My Forgiveness
Tito Carpi Roberto Natale
action filter_type
action find
entity Vengeance Is My Forgiveness
relation screenwriter
type common name
['Vengeance Is My Forgiveness', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Vengeance_Is_My_Forgiveness property:screenwriter ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1589490 Q3939005
P58
Q838948
USER
Which works of art have Tito Carpi and Roberto Natale as screenwriter ?
(c(Q838948),P58,Q1589490) (c(Q838948),P58,Q3939005)
action union
action filter_type
action find_reverse
entity Q1589490
relation P58
type Q838948
action filter_type
action find_reverse
entity Q3939005
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1589490'] [{'concept': 'Q838948'}, 'P58', 'Q3939005']
SELECT DISTINCT ?l WHERE { ?l property:P58 ?y . VALUES ( ?y ) { ( resource:Q1589490 ) ( resource:Q3939005 ) } }
Tito Carpi Roberto Natale
action union
action filter_type
action find_reverse
entity Tito Carpi
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Roberto Natale
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Tito Carpi'] [{'concept': 'work of art'}, 'screenwriter', 'Roberto Natale']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter ?y . VALUES ( ?y ) { ( resource:Tito_Carpi ) ( resource:Roberto_Natale ) } }
[]
work of art
Q3743004 Q1393891 Q3700136
SYSTEM
Ferragosto in bikini, Le motorizzate, Revenge of the Musketeers
Q1192812 Q3754718 Q679940 Q3344989 Q3743004 Q3824811 Q1430461 Q3824206 Q3616720 Q679573 Q1446167 Q3933925 Q1439270 Q1675813 Q3819897 Q3754053 Q3937203 Q3414572 Q3793192 Q369585 Q1961904 Q489035 Q542918 Q3823371 Q1147808 Q3942852 Q3993878 Q1519513 Q3293713 Q1304601 Q869007 Q3766172 Q1230704 Q3828530 Q3934267 Q3599874 Q1537099 Q1152958 Q3793014 Q3982533 Q322364 Q3899553 Q1232069 Q467221 Q4006029 Q3295146 Q3683691 Q3828380 Q1232023 Q3772152 Q4000101 Q3821397 Q1101794 Q846835 Q3966674 Q1545062 Q1393891 Q3700136 Q1757053 Q3541142 Q3824811 Q3156215 Q535615 Q3600297 Q3794076 Q3332572 Q3898501
(c(Q838948),P58,Q1589490) (c(Q838948),P58,Q3939005)
action union
action filter_type
action find_reverse
entity Q1589490
relation P58
type Q838948
action filter_type
action find_reverse
entity Q3939005
relation P58
type Q838948
[ANSWERS] have Tito Carpi and Roberto Natale as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q1589490'] [{'concept': 'Q838948'}, 'P58', 'Q3939005']
SELECT DISTINCT ?l WHERE { ?l property:P58 ?y . VALUES ( ?y ) { ( resource:Q1589490 ) ( resource:Q3939005 ) } }
Der Commander Holy God, Here Comes the Passatore! Man Called Invincible We Won't Grow Old Together Ferragosto in bikini Vengeance Is My Forgiveness Hunters of the Golden Cobra Poker in Bed Last Platoon Few Dollars for Django The Devil Has Seven Faces Reverend's Colt The New Barbarians They Call Me Hallelujah Last Feelings Tiger Joe Rita, la figlia americana Carioca tigre The Shark Hunter Renegade Riders Sinbad of the Seven Seas Between God Kill Them All and Come Back Alone La notte degli squali Son of Django Rush Last Blood Could of Dust... Cry of Death... Sartana Is Coming Quel gran pezzo dell'Ubalda tutta nuda e tutta calda His Name Was Holy Ghost Il momento di uccidere Giovani, belle... probabilmente ricche I Am Sartana, Trade Your Guns for a Coffin The Loves and Times of Scaramouche Rick and John, Conquerors of the West Seven Murders for Scotland Yard Ultimo mondo cannibale Day of the Cobra Return of Halleluja Sting of the West Code Name: Wild Geese For One Thousand Dollars Per Day Django Shoots First Johnny Hamlet It's Your Move Marta Light Blast Le Mans Trusting Is Good... Shooting Is Better Cold Eyes of Fear Tuareg – The Desert Warrior Eagles Over London High Crime Sartana the Gravedigger Spiaggia libera Any Gun Can Play Le motorizzate Revenge of the Musketeers Tentacles The Three Musketeers of the West Vengeance Is My Forgiveness The Seven Revenges A Long Ride from Hell A... For Assassin Watch Me When I Kill Who Breaks... Pays So Young, So Lovely, So Vicious...
Ferragosto in bikini, Le motorizzate and Revenge of the Musketeers have Tito Carpi and Roberto Natale as screenwriter
Ferragosto in bikini Le motorizzate Revenge of the Musketeers
action union
action filter_type
action find_reverse
entity Tito Carpi
relation screenwriter
type work of art
action filter_type
action find_reverse
entity Roberto Natale
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'Tito Carpi'] [{'concept': 'work of art'}, 'screenwriter', 'Roberto Natale']
SELECT DISTINCT ?l WHERE { ?l property:screenwriter ?y . VALUES ( ?y ) { ( resource:Tito_Carpi ) ( resource:Roberto_Natale ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3700136
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q3700136,P136,c(Q1792379))
action filter_type
action find
entity Q3700136
relation P136
type Q1792379
['Q3700136', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1792379 . resource:Q3700136 property:P136 ?e }
Revenge of the Musketeers
action filter_type
action find
entity Revenge of the Musketeers
relation genre
type art genre
['Revenge of the Musketeers', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:art_genre . resource:Revenge_of_the_Musketeers property:genre ?e }
[]
art genre
Clarification for simple ques.
Q3700136
SYSTEM
Did you mean Revenge of the Musketeers ?
Q3743004 Q1393891 Q3700136
(Q3743004,P136,c(Q1792379)) (Q1393891,P136,c(Q1792379)) (Q3700136,P136,c(Q1792379))
[ANSWER]
['Q3743004', 'P136', {'concept': 'Q1792379'}] ['Q1393891', 'P136', {'concept': 'Q1792379'}] ['Q3700136', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1792379 . resource:Q3700136 property:P136 ?e }
Ferragosto in bikini Le motorizzate Revenge of the Musketeers
Did you mean Revenge of the Musketeers ?
Revenge of the Musketeers
['Ferragosto in bikini', 'genre', {'concept': 'art genre'}] ['Le motorizzate', 'genre', {'concept': 'art genre'}] ['Revenge of the Musketeers', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:art_genre . resource:Revenge_of_the_Musketeers property:genre ?e }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3700136,P136,c(Q1792379))
['Q3700136', 'P136', {'concept': 'Q1792379'}]
['Revenge of the Musketeers', 'genre', {'concept': 'art genre'}]
[]
Q1257444 Q222639 Q319221
SYSTEM
film adaptation, swashbuckler film, adventure film
Q1257444 Q222639 Q319221
(Q3700136,P136,c(Q1792379))
action filter_type
action find
entity Q3700136
relation P136
type Q1792379
[ANSWERS] can be considered as category for that work of art
['Q3700136', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q1792379 . resource:Q3700136 property:P136 ?e }
film adaptation swashbuckler film adventure film
Film adaptation, swashbuckler film and adventure film can be considered as category for that work of art
film adaptation swashbuckler film adventure film
action filter_type
action find
entity Revenge of the Musketeers
relation genre
type art genre
['Revenge of the Musketeers', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:art_genre . resource:Revenge_of_the_Musketeers property:genre ?e }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q15416 Q15709879
USER
How many works of art were exactly 1 television programs and artwork series inspired by ?
(c(Q15416)|c(Q15709879),P941,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
value 1
[[{'concept': 'Q15416'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?x WHERE { VALUES ( ?j ) { ( ontology:Q15709879 ) ( ontology:Q15416 ) } . ?g rdf:type ?j } GROUP BY ?x } . FILTER ( ?v = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
value 1
[[{'concept': 'television program'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?x WHERE { VALUES ( ?j ) { ( ontology:artwork_series ) ( ontology:television_program ) } . ?g rdf:type ?j } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
work of art television program artwork series
SYSTEM
8
Q1198611 Q2568137 Q1432001 Q1144983 Q7445655 Q4936847 Q1170100 Q169082
(c(Q15416)|c(Q15709879),P941,c(Q838948))
action count
action equal
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15416
action find_reverse_tuple_counts
relation P941
type Q838948
type Q15709879
value 1
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q15709879'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?x WHERE { VALUES ( ?j ) { ( ontology:Q15709879 ) ( ontology:Q15416 ) } . ?g rdf:type ?j } GROUP BY ?x } . FILTER ( ?v = 1 ) }
The Absent-Minded Professor How to Explain Pictures to a Dead Hare Torquato Tasso Animal Kingdom Seedbed Body Pressure The Philadelphia Experiment 10 Things I Hate About You
8
action count
action equal
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type television program
action find_reverse_tuple_counts
relation inspired by
type work of art
type artwork series
value 1
[[{'concept': 'television program'}, {'concept': 'artwork series'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) ?x WHERE { VALUES ( ?j ) { ( ontology:artwork_series ) ( ontology:television_program ) } . ?g rdf:type ?j } GROUP BY ?x } . FILTER ( ?v = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P941
Q838948 Q7725634 Q2342494
USER
Which works of art were min number of literary works and collectables inspired by ?
(c(Q7725634)|c(Q2342494),P941,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?m ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?h rdf:type ?m } GROUP BY ?o } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?b WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } . ?e rdf:type ?w } GROUP BY ?b } } }
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?m ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?h rdf:type ?m } GROUP BY ?o } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?b WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:literary_work ) } . ?e rdf:type ?w } GROUP BY ?b } } }
[]
work of art literary work collectable
Q1144983 Q17738 Q107724
SYSTEM
Animal Kingdom, Star Wars Episode IV: A New Hope, Thunderball
Q125191 Q1136305 Q1198611 Q107724 Q1217787 Q7758112 Q46239 Q1852671 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q41567 Q1144983 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q379873 Q734834 Q1170100 Q375786 Q83186 Q465478 Q493755 Q214619 Q169082
(c(Q7725634)|c(Q2342494),P941,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q7725634
action find_reverse_tuple_counts
relation P941
type Q838948
type Q2342494
Min number of literary works and collectables by were inspired by [ANSWERS]
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?m ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?h rdf:type ?m } GROUP BY ?o } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?b WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q7725634 ) } . ?e rdf:type ?w } GROUP BY ?b } } }
photograph Doryphoros The Absent-Minded Professor Thunderball The Time Machine The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls Star Wars Episode IV: A New Hope Song of the South King Lear How to Explain Pictures to a Dead Hare Uncle Vanya Roman Holiday Lady Snowblood Torquato Tasso Hamlet Animal Kingdom The Old Fisherman Seedbed Zeitgeist: The Movie Body Pressure The Judgement of Paris Who Framed Roger Rabbit Ghent Altarpiece The Philadelphia Experiment Hippolytus Romeo and Juliet Star Trek II: The Wrath of Khan Coming to America The Little Mermaid 10 Things I Hate About You
Min number of literary works and collectables by were inspired by Animal Kingdom, Star Wars Episode IV: A New Hope and Thunderball
Animal Kingdom Star Wars Episode IV: A New Hope Thunderball
action argmin
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type literary work
action find_reverse_tuple_counts
relation inspired by
type work of art
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) ?o WHERE { VALUES ( ?m ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?h rdf:type ?m } GROUP BY ?o } . FILTER ( ?r = ?g ) . { SELECT DISTINCT ( MIN ( ?p ) AS ?g ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) ?b WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:literary_work ) } . ?e rdf:type ?w } GROUP BY ?b } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1144983 Q17738 Q107724
P344
Q502895
USER
Who are the director of photography for those works of art ?
(Q1144983,P344,c(Q502895)) (Q17738,P344,c(Q502895)) (Q107724,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
['Q1144983', 'P344', {'concept': 'Q502895'}] ['Q17738', 'P344', {'concept': 'Q502895'}] ['Q107724', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?w property:P344 ?s . VALUES ( ?w ) { ( resource:Q125191 ) ( resource:Q1136305 ) ( resource:Q1198611 ) } }
Animal Kingdom Star Wars Episode IV: A New Hope Thunderball
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Animal Kingdom', 'director of photography', {'concept': 'common name'}] ['Star Wars Episode IV: A New Hope', 'director of photography', {'concept': 'common name'}] ['Thunderball', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?w property:director_of_photography ?s . VALUES ( ?w ) { ( resource:photograph ) ( resource:Doryphoros ) ( resource:The_Absent-Minded_Professor ) } }
[]
common name
Q16039199 Q182148 Q1380910
SYSTEM
Adam Arkapaw, Gilbert Taylor, Ted Moore
Q16039199 Q182148 Q1380910
(Q1144983,P344,c(Q502895)) (Q17738,P344,c(Q502895)) (Q107724,P344,c(Q502895))
action filter_type
action find
entity prev_answer
relation P344
type Q502895
The director of photography for those works of art are [ANSWERS]
['Q1144983', 'P344', {'concept': 'Q502895'}] ['Q17738', 'P344', {'concept': 'Q502895'}] ['Q107724', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?w property:P344 ?s . VALUES ( ?w ) { ( resource:Q125191 ) ( resource:Q1136305 ) ( resource:Q1198611 ) } }
Adam Arkapaw Gilbert Taylor Ted Moore
The director of photography for those works of art are Adam Arkapaw, Gilbert Taylor and Ted Moore
Adam Arkapaw Gilbert Taylor Ted Moore
action filter_type
action find
entity prev_answer
relation director of photography
type common name
['Animal Kingdom', 'director of photography', {'concept': 'common name'}] ['Star Wars Episode IV: A New Hope', 'director of photography', {'concept': 'common name'}] ['Thunderball', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?w property:director_of_photography ?s . VALUES ( ?w ) { ( resource:photograph ) ( resource:Doryphoros ) ( resource:The_Absent-Minded_Professor ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1144983
P840
Q56061
USER
Which is the narrative location of Animal Kingdom ?
(Q1144983,P840,c(Q56061))
action filter_type
action find
entity Q1144983
relation P840
type Q56061
['Q1144983', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1144983 property:P840 ?t }
Animal Kingdom
action filter_type
action find
entity Animal Kingdom
relation narrative location
type administrative territorial entity
['Animal Kingdom', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Animal_Kingdom property:narrative_location ?t }
[]
administrative territorial entity
Q3141
SYSTEM
Melbourne
Q3141
(Q1144983,P840,c(Q56061))
action filter_type
action find
entity Q1144983
relation P840
type Q56061
[ANSWER] is the narrative location of Animal Kingdom
['Q1144983', 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . resource:Q1144983 property:P840 ?t }
Melbourne
Melbourne is the narrative location of Animal Kingdom
Melbourne
action filter_type
action find
entity Animal Kingdom
relation narrative location
type administrative territorial entity
['Animal Kingdom', 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . resource:Animal_Kingdom property:narrative_location ?t }
[]