Simple Question (Direct)
Simple Question
Q3822293
P58
Q502895
USER
Which people wrote the script for The Fever ?
(Q3822293,P58,c(Q502895))
action filter_type
action find
entity Q3822293
relation P58
type Q502895
['Q3822293', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q3822293 property:P58 ?c }
The Fever
action filter_type
action find
entity The Fever
relation screenwriter
type common name
['The Fever', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:The_Fever property:screenwriter ?c }
[]
common name
Q3759828 Q357566
SYSTEM
Gennaro Nunziante, Domenico Starnone
Q3759828 Q357566
(Q3822293,P58,c(Q502895))
action filter_type
action find
entity Q3822293
relation P58
type Q502895
[ANSWERS] wrote the script for The Fever
['Q3822293', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q3822293 property:P58 ?c }
Gennaro Nunziante Domenico Starnone
Gennaro Nunziante and Domenico Starnone wrote the script for The Fever
Gennaro Nunziante Domenico Starnone
action filter_type
action find
entity The Fever
relation screenwriter
type common name
['The Fever', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:The_Fever property:screenwriter ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3759828
P57
Q838948
USER
Which works of art are that person a director of ?
(c(Q838948),P57,Q3759828)
action filter_type
action find_reverse
entity Q3759828
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q3759828']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q3759828 . ?p rdf:type ontology:Q838948 }
Gennaro Nunziante
action filter_type
action find_reverse
entity Gennaro Nunziante
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Gennaro Nunziante']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Gennaro_Nunziante . ?p rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q357566
SYSTEM
Did you mean Domenico Starnone ?
Q3759828 Q357566
(c(Q838948),P57,Q3759828) (c(Q838948),P57,Q357566)
[ANSWER]
[{'concept': 'Q838948'}, 'P57', 'Q3759828'] [{'concept': 'Q838948'}, 'P57', 'Q357566']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q3759828 . ?p rdf:type ontology:Q838948 }
Gennaro Nunziante Domenico Starnone
Did you mean Domenico Starnone ?
Domenico Starnone
[{'concept': 'work of art'}, 'director', 'Gennaro Nunziante'] [{'concept': 'work of art'}, 'director', 'Domenico Starnone']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Gennaro_Nunziante . ?p rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Gennaro Nunziante. Could you tell me the answer for that?
(c(Q838948),P57,Q3759828)
Q3759828
[{'concept': 'Q838948'}, 'P57', 'Q3759828']
[{'concept': 'work of art'}, 'director', 'Gennaro Nunziante']
[]
Q21915467 Q3649482 Q1242957
SYSTEM
Quo vado?, Cado dalle nubi, What a Beautiful Day
Q3649482 Q15628573 Q21915467 Q1242957
(c(Q838948),P57,Q3759828)
action filter_type
action find_reverse
entity Q3759828
relation P57
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P57', 'Q3759828']
SELECT DISTINCT ?p WHERE { ?p property:P57 resource:Q3759828 . ?p rdf:type ontology:Q838948 }
Cado dalle nubi Sole a catinelle Quo vado? What a Beautiful Day
Quo vado, Cado dalle nubi and What a Beautiful Day are that person a director of
Quo vado? Cado dalle nubi What a Beautiful Day
action filter_type
action find_reverse
entity Gennaro Nunziante
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Gennaro Nunziante']
SELECT DISTINCT ?p WHERE { ?p property:director resource:Gennaro_Nunziante . ?p rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P361
Q838948 Q482994 Q2031291
USER
Which works of art are min number of albums or releases a part of ?
(c(Q482994)|c(Q2031291),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b rdf:type ontology:Q2031291 . ?d rdf:type ontology:Q838948 . ?b property:P361 ?d } UNION { ?b property:P361 ?d . ?d rdf:type ontology:Q838948 . ?b rdf:type ontology:Q482994 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?c WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } GROUP BY ?c } . FILTER ( ?f = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation part of
type work of art
type album
action find_reverse_tuple_counts
relation part of
type work of art
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b rdf:type ontology:release . ?d rdf:type ontology:work_of_art . ?b property:part_of ?d } UNION { ?b property:part_of ?d . ?d rdf:type ontology:work_of_art . ?b rdf:type ontology:album } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?c WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:release ) } } GROUP BY ?c } . FILTER ( ?f = ?w ) }
[]
work of art album release
Q102438 Q15624215 Q127367
SYSTEM
Harry Potter and the Philosopher's Stone, Lucy, The Lord of the Rings: The Fellowship of the Ring
Q1762957 Q5723375 Q3415280 Q127367 Q22260775 Q193066 Q15624215 Q206400 Q2364709 Q7719555 Q102438 Q10371896 Q18547944 Q6503493 Q3907523 Q3907489 Q29478 Q17275612 Q6675667 Q552002 Q19393199 Q10550583 Q934970 Q18609716 Q16161848 Q215750 Q734834 Q4660040 Q495954 Q733065 Q747847 Q977372 Q4656518 Q1411766 Q1760893 Q753449 Q4135545 Q314003 Q4110177 Q1356770 Q3193421 Q16741153 Q3983379 Q1195466 Q21129836 Q21129837 Q2003287 Q1752478 Q945138 Q187483 Q6519361 Q874496 Q475476 Q976149 Q3907478 Q1988321 Q18577910 Q3428050 Q3346699 Q1360347 Q632753 Q489772 Q41567 Q7572454 Q3747490 Q1270166 Q3395799 Q7451782 Q18217301 Q309153 Q2905386 Q165325 Q2626332 Q15057808 Q22527805 Q203443 Q201022 Q213053 Q3907484 Q4680630 Q2089457 Q3907512 Q2661437 Q79218 Q1125687 Q20857440 Q24980 Q283134 Q93184 Q24568939 Q16980242 Q1230318 Q378838 Q928019 Q152185 Q2405799 Q281465 Q3907505 Q164804 Q16156301 Q3992615 Q1297233 Q482994 Q3087894 Q21340348 Q7600677 Q2467518 Q10512738
(c(Q482994)|c(Q2031291),P361,c(Q838948))
action argmin
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
[ANSWERS] are min number of albums or releases a part of
[[{'concept': 'Q482994'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b rdf:type ontology:Q2031291 . ?d rdf:type ontology:Q838948 . ?b property:P361 ?d } UNION { ?b property:P361 ?d . ?d rdf:type ontology:Q838948 . ?b rdf:type ontology:Q482994 } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?c WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q482994 ) ( ontology:Q2031291 ) } } GROUP BY ?c } . FILTER ( ?f = ?w ) }
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 The Merchant of Venice Alice Comedies The Bowman and The Spearman Harry Potter and the Philosopher's Stone Sing, Baby, Sing The Martian 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 Scenes from the Life of the Virgin The Arts of War and The Arts of Peace Julius Caesar Ghent Altarpiece A Texas Trilogy Henry V Dabangg New Orleans New York Stories A Divine Double Feature predella 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 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 Hunnestad Monument Babes in Arms Seven Wonders of the Ancient World Hamlet 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 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 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 albums or releases a part 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 album
action find_reverse_tuple_counts
relation part of
type work of art
type release
[[{'concept': 'album'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) ?d WHERE { { ?b rdf:type ontology:release . ?d rdf:type ontology:work_of_art . ?b property:part_of ?d } UNION { ?b property:part_of ?d . ?d rdf:type ontology:work_of_art . ?b rdf:type ontology:album } } GROUP BY ?d } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) ?c WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:album ) ( ontology:release ) } } GROUP BY ?c } . FILTER ( ?f = ?w ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15624215
P800
Q502895
USER
Which person has that one as a notable work ?
(c(Q502895),P800,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q15624215']
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q15624215 . ?q rdf:type ontology:Q502895 }
Lucy
action filter_type
action find_reverse
entity Lucy
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Lucy']
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:Lucy . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q127367
SYSTEM
Did you mean The Lord of the Rings: The Fellowship of the Ring ?
Q102438 Q15624215 Q127367
(c(Q502895),P800,Q102438) (c(Q502895),P800,Q15624215) (c(Q502895),P800,Q127367)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q102438'] [{'concept': 'Q502895'}, 'P800', 'Q15624215'] [{'concept': 'Q502895'}, 'P800', 'Q127367']
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q15624215 . ?q rdf:type ontology:Q502895 }
Harry Potter and the Philosopher's Stone Lucy The Lord of the Rings: The Fellowship of the Ring
Did you mean The Lord of the Rings: The Fellowship of the Ring ?
The Lord of the Rings: The Fellowship of the Ring
[{'concept': 'common name'}, 'notable work', "Harry Potter and the Philosopher's Stone"] [{'concept': 'common name'}, 'notable work', 'Lucy'] [{'concept': 'common name'}, 'notable work', 'The Lord of the Rings: The Fellowship of the Ring']
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:Lucy . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Lucy. Could you tell me the answer for that?
(c(Q502895),P800,Q15624215)
Q15624215
[{'concept': 'Q502895'}, 'P800', 'Q15624215']
[{'concept': 'common name'}, 'notable work', 'Lucy']
[]
Q484779
SYSTEM
Luc Besson
Q484779
(c(Q502895),P800,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P800
type Q502895
[ANSWER] has that one as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q15624215']
SELECT DISTINCT ?q WHERE { ?q property:P800 resource:Q15624215 . ?q rdf:type ontology:Q502895 }
Luc Besson
Luc Besson has that one as a notable work
Luc Besson
action filter_type
action find_reverse
entity Lucy
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Lucy']
SELECT DISTINCT ?q WHERE { ?q property:notable_work resource:Lucy . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q484779
P162
Q36649 Q838948
USER
How many visual artss and works of art have been produced by Luc Besson ?
(c(Q36649),P162,Q484779) (c(Q838948),P162,Q484779)
action count
action union
action filter_type
action find_reverse
entity Q484779
relation P162
type Q36649
action filter_type
action find_reverse
entity Q484779
relation P162
type Q838948
[{'concept': 'Q36649'}, 'P162', 'Q484779'] [{'concept': 'Q838948'}, 'P162', 'Q484779']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:P162 resource:Q484779 . ?d rdf:type ontology:Q36649 } UNION { ?d property:P162 resource:Q484779 . ?d rdf:type ontology:Q838948 } }
Luc Besson
action count
action union
action filter_type
action find_reverse
entity Luc Besson
relation producer
type visual arts
action filter_type
action find_reverse
entity Luc Besson
relation producer
type work of art
[{'concept': 'visual arts'}, 'producer', 'Luc Besson'] [{'concept': 'work of art'}, 'producer', 'Luc Besson']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:producer resource:Luc_Besson . ?d rdf:type ontology:visual_arts } UNION { ?d property:producer resource:Luc_Besson . ?d rdf:type ontology:work_of_art } }
[]
visual arts work of art
SYSTEM
1 visual artss and 69 works of art
Q171193 Q3548451 Q19961230 Q868329 Q2874528 Q819972 Q587407 Q637087 Q277648 Q113549 Q59567 Q19897965 Q70069 Q215319 Q3061609 Q389466 Q1771299 Q3267522 Q531362 Q165630 Q815550 Q18170549 Q754742 Q2880229 Q3055215 Q2394091 Q1057015 Q3548954 Q277080 Q1219184 Q355988 Q550232 Q634729 Q1799209 Q3210958 Q1507299 Q3525931 Q756572 Q743928 Q13383501 Q1144055 Q470507 Q1518031 Q841114 Q756574 Q4154885 Q1748143 Q15961525 Q1140257 Q517239 Q16799334 Q906639 Q691916 Q865346 Q689005 Q3231885 Q726215 Q13435412 Q386210 Q2533351 Q581318 Q380349 Q1516852 Q971941 Q16781911 Q2078287 Q471913 Q954949 Q2709092 Q583869
(c(Q36649),P162,Q484779) (c(Q838948),P162,Q484779)
action count
action union
action filter_type
action find_reverse
entity Q484779
relation P162
type Q36649
action filter_type
action find_reverse
entity Q484779
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q36649'}, 'P162', 'Q484779'] [{'concept': 'Q838948'}, 'P162', 'Q484779']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:P162 resource:Q484779 . ?d rdf:type ontology:Q36649 } UNION { ?d property:P162 resource:Q484779 . ?d rdf:type ontology:Q838948 } }
Lockout A Castle in Spain Shut In Colombiana April in Love The Transporter High Tension Home Taxi 3 Nuovomondo Tell No One The Lake District 13 22 Bullets Malavita Arthur and the Revenge of Maltazard Kamikaze Cold Moon Angel-A A Monster in Paris Transporter 3 The Transporter Legacy Bandidas The Secret In His Hands 15 August Taken 2 Un prince (presque) charmant Taken Crimson Rivers II: Angels of the Apocalypse Fanfan la Tulipe Arthur and the Minimoys Subway Chaos and Desire Jack and the Cuckoo-Clock Heart Human Zoo 3 Days to Kill Taxi 2 Nikita Intersections District 13: Ultimatum Unleashed Nil by Mouth Transporter 2 Taxi 4 The Dancer Michel Vaillant The Homesman The Messenger: The Story of Joan of Arc The Big Blue Taken Wasabi Hitman From Paris with Love Frontier(s) Les Côtelettes Taxi Brick Mansions Le Dernier Combat Atlantis Love and Other Disasters The Extraordinary Adventures of Adèle Blanc-Sec Taxi The Lady Taken 3 Staten Island Kiss of the Dragon The Three Burials of Melquiades Estrada The Source Revolver
1 visual artss and 69 works of art
action count
action union
action filter_type
action find_reverse
entity Luc Besson
relation producer
type visual arts
action filter_type
action find_reverse
entity Luc Besson
relation producer
type work of art
[{'concept': 'visual arts'}, 'producer', 'Luc Besson'] [{'concept': 'work of art'}, 'producer', 'Luc Besson']
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { ?d property:producer resource:Luc_Besson . ?d rdf:type ontology:visual_arts } UNION { ?d property:producer resource:Luc_Besson . ?d rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q484779
P26
Q502895
USER
Which people have Luc Besson as spouse ?
(c(Q502895),P26,Q484779)
action filter_type
action find
entity Q484779
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q484779']
SELECT DISTINCT ?s WHERE { resource:Q484779 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Luc Besson
action filter_type
action find
entity Luc Besson
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Luc Besson']
SELECT DISTINCT ?s WHERE { resource:Luc_Besson property:spouse ?s . ?s rdf:type ontology:common_name }
[]
common name
Q170576 Q201985 Q565692
SYSTEM
Milla Jovovich, Maïwenn, Anne Parillaud
Q170576 Q201985 Q3560774 Q565692
(c(Q502895),P26,Q484779)
action filter_type
action find
entity Q484779
relation P26
type Q502895
[ANSWERS] have Luc Besson as spouse
[{'concept': 'Q502895'}, 'P26', 'Q484779']
SELECT DISTINCT ?s WHERE { resource:Q484779 property:P26 ?s . ?s rdf:type ontology:Q502895 }
Milla Jovovich Maïwenn Virginie Silla Anne Parillaud
Milla Jovovich, Maïwenn and Anne Parillaud have Luc Besson as spouse
Milla Jovovich Maïwenn Anne Parillaud
action filter_type
action find
entity Luc Besson
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Luc Besson']
SELECT DISTINCT ?s WHERE { resource:Luc_Besson property:spouse ?s . ?s rdf:type ontology:common_name }
[]