Simple Question (Direct)
Simple Question
Q3169037
P26
Q502895
USER
Which person is married to Jean-Pierre Bonnefoux ?
(Q3169037,P26,c(Q502895))
action filter_type
action find
entity Q3169037
relation P26
type Q502895
['Q3169037', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3169037 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Jean-Pierre Bonnefoux
action filter_type
action find
entity Jean-Pierre Bonnefoux
relation spouse
type common name
['Jean-Pierre Bonnefoux', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jean-Pierre_Bonnefoux property:spouse ?f . ?f rdf:type ontology:common_name }
[]
common name
Q7145723
SYSTEM
Patricia McBride
Q7145723
(Q3169037,P26,c(Q502895))
action filter_type
action find
entity Q3169037
relation P26
type Q502895
[ANSWER] is married to Jean-Pierre Bonnefoux
['Q3169037', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q3169037 property:P26 ?f . ?f rdf:type ontology:Q502895 }
Patricia McBride
Patricia McBride is married to Jean-Pierre Bonnefoux
Patricia McBride
action filter_type
action find
entity Jean-Pierre Bonnefoux
relation spouse
type common name
['Jean-Pierre Bonnefoux', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Jean-Pierre_Bonnefoux property:spouse ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7145723
P161
Q838948
USER
Which work of art stars that person as actor ?
(c(Q838948),P161,Q7145723)
action filter_type
action find_reverse
entity Q7145723
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7145723']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P161 resource:Q7145723 }
Patricia McBride
action filter_type
action find_reverse
entity Patricia McBride
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patricia McBride']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:cast_member resource:Patricia_McBride }
[]
work of art
Q4658962
SYSTEM
A Portrait of Giselle
Q4658962
(c(Q838948),P161,Q7145723)
action filter_type
action find_reverse
entity Q7145723
relation P161
type Q838948
[ANSWER] stars that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q7145723']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q838948 . ?v property:P161 resource:Q7145723 }
A Portrait of Giselle
A Portrait of Giselle stars that person as actor
A Portrait of Giselle
action filter_type
action find_reverse
entity Patricia McBride
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Patricia McBride']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:work_of_art . ?v property:cast_member resource:Patricia_McBride }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4658962
P162
Q502895
USER
How many people are the producers of A Portrait of Giselle ?
(Q4658962,P162,c(Q502895))
action count
action filter_type
action find
entity Q4658962
relation P162
type Q502895
['Q4658962', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q4658962 property:P162 ?p . ?p rdf:type ontology:Q502895 }
A Portrait of Giselle
action count
action filter_type
action find
entity A Portrait of Giselle
relation producer
type common name
['A Portrait of Giselle', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:A_Portrait_of_Giselle property:producer ?p . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q1287196
(Q4658962,P162,c(Q502895))
action count
action filter_type
action find
entity Q4658962
relation P162
type Q502895
[ANSWER]
['Q4658962', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:Q4658962 property:P162 ?p . ?p rdf:type ontology:Q502895 }
Joseph Wishy
1
action count
action filter_type
action find
entity A Portrait of Giselle
relation producer
type common name
['A Portrait of Giselle', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?r ) WHERE { resource:A_Portrait_of_Giselle property:producer ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q278513
P2554
Q502895
USER
Who acted as the production designer of The Awful Truth ?
(Q278513,P2554,c(Q502895))
action filter_type
action find
entity Q278513
relation P2554
type Q502895
['Q278513', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q278513 property:P2554 ?l . ?l rdf:type ontology:Q502895 }
The Awful Truth
action filter_type
action find
entity The Awful Truth
relation production designer
type common name
['The Awful Truth', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Awful_Truth property:production_designer ?l . ?l rdf:type ontology:common_name }
[]
common name
Q1827227
SYSTEM
Lionel Banks
Q1827227
(Q278513,P2554,c(Q502895))
action filter_type
action find
entity Q278513
relation P2554
type Q502895
[ANSWER] acted as the production designer of The Awful Truth
['Q278513', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q278513 property:P2554 ?l . ?l rdf:type ontology:Q502895 }
Lionel Banks
Lionel Banks acted as the production designer of The Awful Truth
Lionel Banks
action filter_type
action find
entity The Awful Truth
relation production designer
type common name
['The Awful Truth', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Awful_Truth property:production_designer ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4658962
P495
Q15617994
USER
Which administrative territory is the country of origin of A Portrait of Giselle ?
(Q4658962,P495,c(Q15617994))
action filter_type
action find
entity Q4658962
relation P495
type Q15617994
['Q4658962', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4658962 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
A Portrait of Giselle
action filter_type
action find
entity A Portrait of Giselle
relation country of origin
type designation for an administrative territorial entity
['A Portrait of Giselle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:A_Portrait_of_Giselle property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q4658962,P495,c(Q15617994))
action filter_type
action find
entity Q4658962
relation P495
type Q15617994
[ANSWER] is the country of origin of A Portrait of Giselle
['Q4658962', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4658962 property:P495 ?y . ?y rdf:type ontology:Q15617994 }
United States of America
United States of America is the country of origin of A Portrait of Giselle
United States of America
action filter_type
action find
entity A Portrait of Giselle
relation country of origin
type designation for an administrative territorial entity
['A Portrait of Giselle', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:A_Portrait_of_Giselle property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4658962
P162
Q502895
USER
Who produced A Portrait of Giselle ?
(Q4658962,P162,c(Q502895))
action filter_type
action find
entity Q4658962
relation P162
type Q502895
['Q4658962', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4658962 property:P162 ?y . ?y rdf:type ontology:Q502895 }
A Portrait of Giselle
action filter_type
action find
entity A Portrait of Giselle
relation producer
type common name
['A Portrait of Giselle', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Portrait_of_Giselle property:producer ?y . ?y rdf:type ontology:common_name }
[]
common name
Q1287196
SYSTEM
Joseph Wishy
Q1287196
(Q4658962,P162,c(Q502895))
action filter_type
action find
entity Q4658962
relation P162
type Q502895
[ANSWER] produced A Portrait of Giselle
['Q4658962', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q4658962 property:P162 ?y . ?y rdf:type ontology:Q502895 }
Joseph Wishy
Joseph Wishy produced A Portrait of Giselle
Joseph Wishy
action filter_type
action find
entity A Portrait of Giselle
relation producer
type common name
['A Portrait of Giselle', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:A_Portrait_of_Giselle property:producer ?y . ?y rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q19703751
P725
Q502895 Q11424
USER
Which films did approximately the same number of people do the dubbing for as Millionaire Dogs ?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19703751
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?k ) WHERE { ?e property:P725 ?h . ?e rdf:type ontology:Q11424 . ?h rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q11424 . resource:Q19703751 property:P725 ?v } } . FILTER ( ?k = ?o ) }
Millionaire Dogs
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Millionaire Dogs
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?k ) WHERE { ?e property:voice_actor ?h . ?e rdf:type ontology:film . ?h rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:film . resource:Millionaire_Dogs property:voice_actor ?v } } . FILTER ( ?k = ?o ) }
[]
common name film
Q4341553 Q1494230 Q842306
SYSTEM
Pinocchio, Garfield Gets Real, Saludos Amigos
Q1235519 Q378913 Q4499813 Q3038714 Q1138751 Q6296387 Q713543 Q449917 Q909740 Q842306 Q4341553 Q1491010 Q156401 Q811980 Q254671 Q2918397 Q853718 Q374431 Q12084660 Q44817 Q29355 Q9019373 Q223359 Q611739 Q2898231 Q1418615 Q785363 Q869741 Q3588859 Q371490 Q1656435 Q3836716 Q1032225 Q264873 Q4189838 Q943192 Q1361113 Q736731 Q318428 Q19703751 Q1513926 Q336012 Q2299779 Q1494230 Q1406374 Q2068444 Q1634740 Q3190021 Q1102410 Q543486 Q1195096 Q240852
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q19703751
relation P725
type Q11424
The dubbing for approximately the same number of people did in [ANSWERS] as Millionaire Dogs
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?k ) WHERE { ?e property:P725 ?h . ?e rdf:type ontology:Q11424 . ?h rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:Q11424 . resource:Q19703751 property:P725 ?v } } . FILTER ( ?k = ?o ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run The Plague Dogs Rio 2 Cat City The Chipmunk Adventure Krabat – The Sorcerer's Apprentice Saludos Amigos Pinocchio Tintin and the Lake of Sharks Chicken Run The Adventures of Lolo the Penguin Coonskin The Bugs Bunny/Road Runner Movie Fun and Fancy Free The Tigger Movie The Princess and the Goblin The Little Fox Space Dogs The Legend of the North Wind Rio The Ballad of the Daltons The Real Shlemiel Fritz the Cat The Time Masters Melody Time Emilie Jolie Son of the White Mare Ico, the Brave Horse The Looney Looney Looney Bugs Bunny Movie Foam Bath Willy the Sparrow Starchaser: The Legend of Orin Fantasia Pooh's Heffalump Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Millionaire Dogs Magic Boy The Girl Who Leapt Through Time Animal Farms Garfield Gets Real Piglet's Big Movie Felix the Cat: The Movie Jungledyret Hugo Jungledyret Hugo - den store filmhelt Johnny Corncob Daisy Town Havoc in Heaven FernGully: The Last Rainforest
The dubbing for approximately the same number of people did in Pinocchio, Garfield Gets Real and Saludos Amigos as Millionaire Dogs
Pinocchio Garfield Gets Real Saludos Amigos
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity Millionaire Dogs
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?h ) AS ?k ) WHERE { ?e property:voice_actor ?h . ?e rdf:type ontology:film . ?h rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { ?v rdf:type ontology:film . resource:Millionaire_Dogs property:voice_actor ?v } } . FILTER ( ?k = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q980041
P725
Q502895 Q11424
USER
And how about The Adventures of Tintin?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q980041
relation P725
type Q11424
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?e property:P725 ?j . ?e rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:Q11424 . resource:Q980041 property:P725 ?b } } . FILTER ( ?f = ?m ) }
The Adventures of Tintin
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Adventures of Tintin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?e property:voice_actor ?j . ?e rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:film . resource:The_Adventures_of_Tintin property:voice_actor ?b } } . FILTER ( ?f = ?m ) }
[]
common name film
Q19090 Q270470 Q39722
SYSTEM
Robin Hood, Peter Pan, The Rescuers
Q378913 Q4499813 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
action count
action filter_type
action find
entity Q980041
relation P725
type Q11424
[ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?e property:P725 ?j . ?e rdf:type ontology:Q11424 . ?j rdf:type ontology:Q502895 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:Q11424 . resource:Q980041 property:P725 ?b } } . FILTER ( ?f = ?m ) }
The Lord of the Rings Home Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Johnny Corncob Renart the Fox FernGully: The Last Rainforest
Robin Hood Peter Pan The Rescuers
action approx
action find_tuple_counts
relation voice actor
type film
type common name
action count
action filter_type
action find
entity The Adventures of Tintin
relation voice actor
type film
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?j ) AS ?f ) WHERE { ?e property:voice_actor ?j . ?e rdf:type ontology:film . ?j rdf:type ontology:common_name } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { ?b rdf:type ontology:film . resource:The_Adventures_of_Tintin property:voice_actor ?b } } . FILTER ( ?f = ?m ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19090 Q270470 Q39722
P1441
Q95074
USER
Which fictional characters are from the works of Robin Hood, Peter Pan and The Rescuers ?
(c(Q95074),P1441,Q19090) (c(Q95074),P1441,Q270470) (c(Q95074),P1441,Q39722)
action union
action filter_type
action find_reverse
entity Q19090
relation P1441
type Q95074
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
action filter_type
action find_reverse
entity Q39722
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q19090'] [{'concept': 'Q95074'}, 'P1441', 'Q270470'] [{'concept': 'Q95074'}, 'P1441', 'Q39722']
SELECT DISTINCT ?m WHERE { ?m property:P1441 ?e . VALUES ( ?e ) { ( resource:Q270470 ) ( resource:Q19090 ) } }
Robin Hood Peter Pan The Rescuers
action union
action filter_type
action find_reverse
entity Robin Hood
relation present in work
type fictional character
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
action filter_type
action find_reverse
entity The Rescuers
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Robin Hood'] [{'concept': 'fictional character'}, 'present in work', 'Peter Pan'] [{'concept': 'fictional character'}, 'present in work', 'The Rescuers']
SELECT DISTINCT ?m WHERE { ?m property:present_in_work ?e . VALUES ( ?e ) { ( resource:Peter_Pan ) ( resource:Robin_Hood ) } }
[]
fictional character
Q27663642 Q27663814 Q27429777
SYSTEM
Wendy Darling, Captain Hook, Bianca
Q27267273 Q27271402 Q27272794 Q27269911 Q3377158 Q27268652 Q27270096 Q27270825 Q27267295 Q3291275 Q3437147 Q27269399 Q27269137 Q27269717 Q27272386 Q27267091 Q27271937 Q3403328 Q27663642 Q27666446 Q27666216 Q27666236 Q27666260 Q27666386 Q27666118 Q27666112 Q27663814 Q27666068 Q27666317 Q27663545 Q27666036 Q27429978 Q27429907 Q27430168 Q27430148 Q27430141 Q27430121 Q27430130 Q27430106 Q27430190 Q27429777 Q27429724 Q27429887 Q27430179 Q27430214 Q27430200
(c(Q95074),P1441,Q19090) (c(Q95074),P1441,Q270470) (c(Q95074),P1441,Q39722)
action union
action filter_type
action find_reverse
entity Q19090
relation P1441
type Q95074
action filter_type
action find_reverse
entity Q270470
relation P1441
type Q95074
action filter_type
action find_reverse
entity Q39722
relation P1441
type Q95074
[ANSWERS] are from the works of Robin Hood, Peter Pan and The Rescuers
[{'concept': 'Q95074'}, 'P1441', 'Q19090'] [{'concept': 'Q95074'}, 'P1441', 'Q270470'] [{'concept': 'Q95074'}, 'P1441', 'Q39722']
SELECT DISTINCT ?m WHERE { ?m property:P1441 ?e . VALUES ( ?e ) { ( resource:Q270470 ) ( resource:Q19090 ) } }
Sheriff of Nottingham Tagalong Otto Nutsy Little John Friar Tuck Sexton Mouse Skippy Alan-a-Dale Maid Marian Robin Hood Lady Kluck Sir Hiss Trigger Captain Crocodile King Richard Toby Prince John Wendy Darling Tiger Lily Tinker Bell Nana Mr. Smee Indian Chief Michael Darling Mary Darling Captain Hook John Darling Crocodile Peter Pan George Darling Mr. Snoops Penny Chairmouse Evinrude Luke Rufus Ellie Mae Orville Gramps Bianca Bernard Madame Medusa Deadeye Deacon Owl Digger
Wendy Darling, Captain Hook and Bianca are from the works of Robin Hood, Peter Pan and The Rescuers
Wendy Darling Captain Hook Bianca
action union
action filter_type
action find_reverse
entity Robin Hood
relation present in work
type fictional character
action filter_type
action find_reverse
entity Peter Pan
relation present in work
type fictional character
action filter_type
action find_reverse
entity The Rescuers
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Robin Hood'] [{'concept': 'fictional character'}, 'present in work', 'Peter Pan'] [{'concept': 'fictional character'}, 'present in work', 'The Rescuers']
SELECT DISTINCT ?m WHERE { ?m property:present_in_work ?e . VALUES ( ?e ) { ( resource:Peter_Pan ) ( resource:Robin_Hood ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27429777
P175
Q502895
USER
Which people were performed by that fictional character ?
(Q27429777,P175,c(Q502895))
action filter_type
action find
entity Q27429777
relation P175
type Q502895
['Q27429777', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q27429777 property:P175 ?u }
Bianca
action filter_type
action find
entity Bianca
relation performer
type common name
['Bianca', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bianca property:performer ?u }
[]
common name
Clarification for simple ques.
Q27663814
SYSTEM
Did you mean Captain Hook ?
Q27663642 Q27663814 Q27429777
(Q27663642,P175,c(Q502895)) (Q27663814,P175,c(Q502895)) (Q27429777,P175,c(Q502895))
[ANSWER]
['Q27663642', 'P175', {'concept': 'Q502895'}] ['Q27663814', 'P175', {'concept': 'Q502895'}] ['Q27429777', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q27429777 property:P175 ?u }
Wendy Darling Captain Hook Bianca
Did you mean Captain Hook ?
Captain Hook
['Wendy Darling', 'performer', {'concept': 'common name'}] ['Captain Hook', 'performer', {'concept': 'common name'}] ['Bianca', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bianca property:performer ?u }
[]
Simple Question (Coreferenced)
USER
No, I meant Bianca. Could you tell me the answer for that?
(Q27429777,P175,c(Q502895))
Q27429777
['Q27429777', 'P175', {'concept': 'Q502895'}]
['Bianca', 'performer', {'concept': 'common name'}]
[]
Q7352187 Q284643 Q235928
SYSTEM
Robie Lester, Wenche Myhre, Eva Gabor
Q7352187 Q284643 Q1527325 Q235928
(Q27429777,P175,c(Q502895))
action filter_type
action find
entity Q27429777
relation P175
type Q502895
[ANSWERS] were performed by that fictional character
['Q27429777', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q27429777 property:P175 ?u }
Robie Lester Wenche Myhre Gisela Fritsch Eva Gabor
Robie Lester, Wenche Myhre and Eva Gabor were performed by that fictional character
Robie Lester Wenche Myhre Eva Gabor
action filter_type
action find
entity Bianca
relation performer
type common name
['Bianca', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Bianca property:performer ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q5398426 Q15416
USER
How many fictional characters appears as a character in around 1 television series or television programs ?
(c(Q5398426)|c(Q15416),P674,c(Q95074))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
value 1
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { { ?q property:P674 ?s . ?s rdf:type ontology:Q95074 . ?q rdf:type ontology:Q5398426 } UNION { ?s rdf:type ontology:Q95074 . ?q rdf:type ontology:Q15416 . ?q property:P674 ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
value 1
[[{'concept': 'television series'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { { ?q property:characters ?s . ?s rdf:type ontology:fictional_character . ?q rdf:type ontology:television_series } UNION { ?s rdf:type ontology:fictional_character . ?q rdf:type ontology:television_program . ?q property:characters ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
fictional character television series television program
SYSTEM
34
Q16027672 Q4767744 Q7167342 Q17075849 Q1750634 Q5656906 Q2340460 Q5354221 Q1080587 Q23762190 Q14396915 Q610519 Q3704358 Q3939827 Q8002690 Q2715593 Q3603297 Q4755325 Q6748296 Q3471289 Q4749202 Q6929804 Q4795290 Q321349 Q3946354 Q3036775 Q9012447 Q6214458 Q4933846 Q1345373 Q8073344 Q3666688 Q661491 Q6524042
(c(Q5398426)|c(Q15416),P674,c(Q95074))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q5398426'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { { ?q property:P674 ?s . ?s rdf:type ontology:Q95074 . ?q rdf:type ontology:Q5398426 } UNION { ?s rdf:type ontology:Q95074 . ?q rdf:type ontology:Q15416 . ?q property:P674 ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
Dr. Stewart Annabeth Schott Percy Fitzwallace Danny Concannon Quasimodo Josh Lyman Captain Falcon Eleanor Bartlet C. J. Cregg June Wheeler Kate Harper Matt Santos Deborah Fiderer Rocky the Flying Squirrel Will Bailey Josiah Bartlet Abbey Bartlet Andrea Wyatt Mandy Hampton Samurai Goroh Amy Gardner Delores Landingham Arnold Vinick Nick Knatterton Sam Seaborn Donna Moss John Hoynes Joey Lucas Bob Russell Toby Ziegler Zoey Bartlet Charlie Young Esméralda Leo McGarry
34
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action find_reverse_tuple_counts
relation characters
type fictional character
type television program
value 1
[[{'concept': 'television series'}, {'concept': 'television program'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) ?s WHERE { { ?q property:characters ?s . ?s rdf:type ontology:fictional_character . ?q rdf:type ontology:television_series } UNION { ?s rdf:type ontology:fictional_character . ?q rdf:type ontology:television_program . ?q property:characters ?s } } GROUP BY ?s } . FILTER ( ?d = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27429777
P451
Q95074
USER
Which fictional character had Bianca as their girlfriend ?
(c(Q95074),P451,Q27429777)
action filter_type
action find
entity Q27429777
relation P451
type Q95074
[{'concept': 'Q95074'}, 'P451', 'Q27429777']
SELECT DISTINCT ?a WHERE { resource:Q27429777 property:P451 ?a . ?a rdf:type ontology:Q95074 }
Bianca
action filter_type
action find
entity Bianca
relation partner
type fictional character
[{'concept': 'fictional character'}, 'partner', 'Bianca']
SELECT DISTINCT ?a WHERE { resource:Bianca property:partner ?a . ?a rdf:type ontology:fictional_character }
[]
fictional character
Q27429724
SYSTEM
Bernard
Q27429724
(c(Q95074),P451,Q27429777)
action filter_type
action find
entity Q27429777
relation P451
type Q95074
[ANSWER] had Bianca as their girlfriend
[{'concept': 'Q95074'}, 'P451', 'Q27429777']
SELECT DISTINCT ?a WHERE { resource:Q27429777 property:P451 ?a . ?a rdf:type ontology:Q95074 }
Bernard
Bernard had Bianca as their girlfriend
Bernard
action filter_type
action find
entity Bianca
relation partner
type fictional character
[{'concept': 'fictional character'}, 'partner', 'Bianca']
SELECT DISTINCT ?a WHERE { resource:Bianca property:partner ?a . ?a rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27429724
P551
Q56061
USER
What was the place of residence of that fictional character ?
(Q27429724,P551,c(Q56061))
action filter_type
action find
entity Q27429724
relation P551
type Q56061
['Q27429724', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q27429724 property:P551 ?u . ?u rdf:type ontology:Q56061 }
Bernard
action filter_type
action find
entity Bernard
relation residence
type administrative territorial entity
['Bernard', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bernard property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q27429724,P551,c(Q56061))
action filter_type
action find
entity Q27429724
relation P551
type Q56061
The place of residence of that fictional character was in [ANSWER]
['Q27429724', 'P551', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q27429724 property:P551 ?u . ?u rdf:type ontology:Q56061 }
New York City
The place of residence of that fictional character was in New York City
New York City
action filter_type
action find
entity Bernard
relation residence
type administrative territorial entity
['Bernard', 'residence', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Bernard property:residence ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]