Simple Question (Direct)
Simple Question
Q3608581
P937
Q56061
USER
Where did Alberto Simonini work ?
(Q3608581,P937,c(Q56061))
action filter_type
action find
entity Q3608581
relation P937
type Q56061
['Q3608581', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3608581 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Alberto Simonini
action filter_type
action find
entity Alberto Simonini
relation work location
type administrative territorial entity
['Alberto Simonini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alberto_Simonini property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q3608581,P937,c(Q56061))
action filter_type
action find
entity Q3608581
relation P937
type Q56061
Alberto Simonini worked in [ANSWER]
['Q3608581', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q3608581 property:P937 ?j . ?j rdf:type ontology:Q56061 }
Rome
Alberto Simonini worked in Rome
Rome
action filter_type
action find
entity Alberto Simonini
relation work location
type administrative territorial entity
['Alberto Simonini', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Alberto_Simonini property:work_location ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3608581
P106
Q12737077
USER
What is the job of that person ?
(Q220,P106,c(Q12737077))
action filter_type
action find
entity Q3608581
relation P106
type Q12737077
['Q220', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3608581 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Alberto Simonini
action filter_type
action find
entity Alberto Simonini
relation occupation
type occupation
['Rome', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alberto_Simonini property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q220,P106,c(Q12737077))
action filter_type
action find
entity Q3608581
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q220', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3608581 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
politician
The job of that person is a politician
politician
action filter_type
action find
entity Alberto Simonini
relation occupation
type occupation
['Rome', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Alberto_Simonini property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?d ) WHERE { ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?o } GROUP BY ?o } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P417 ?v . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?n = ?r ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?d ) WHERE { ?o rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?o } GROUP BY ?o } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:patron_saint ?v . ?v rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?n = ?r ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the patron saint of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?d ) WHERE { ?o rdf:type ontology:Q502895 . ?c rdf:type ontology:Q12737077 . ?c property:P417 ?o } GROUP BY ?o } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:P417 ?v . ?v rdf:type ontology:Q502895 . ?j rdf:type ontology:Q12737077 } GROUP BY ?v } . FILTER ( ?n = ?r ) }
Catherine of Alexandria
Catherine of Alexandria is the patron saint of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?r ) { SELECT DISTINCT ?o ( COUNT ( ?c ) AS ?d ) WHERE { ?o rdf:type ontology:common_name . ?c rdf:type ontology:occupation . ?c property:patron_saint ?o } GROUP BY ?o } } . { SELECT DISTINCT ?v ( COUNT ( ?j ) AS ?n ) WHERE { ?j property:patron_saint ?v . ?v rdf:type ontology:common_name . ?j rdf:type ontology:occupation } GROUP BY ?v } . FILTER ( ?n = ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1143800
P725
Q502895 Q15416
USER
How many television programs did lesser number of people dub for than Postman Pat ?
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1143800
relation P725
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { ?n property:P725 ?k . ?n rdf:type ontology:Q15416 . ?k rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q1143800 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?u < ?h ) }
Postman Pat
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Postman Pat
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { ?n property:voice_actor ?k . ?n rdf:type ontology:television_program . ?k rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Postman_Pat property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?u < ?h ) }
[]
common name television program
SYSTEM
72
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q4033639 Q550555 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q1143800
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { ?n property:P725 ?k . ?n rdf:type ontology:Q15416 . ?k rdf:type ontology:Q502895 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Q1143800 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?u < ?h ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Gravity Falls Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
72
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Postman Pat
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?s ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?u ) WHERE { ?n property:voice_actor ?k . ?n rdf:type ontology:television_program . ?k rdf:type ontology:common_name } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?h ) WHERE { resource:Postman_Pat property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?u < ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q20899576
P725
Q502895 Q15416
USER
And also tell me about Shimmer and Shine?
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q20899576
relation P725
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?l ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q15416 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q20899576 property:P725 ?f } } . FILTER ( ?l < ?g ) }
Shimmer and Shine
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Shimmer and Shine
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?l ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:television_program . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:common_name . resource:Shimmer_and_Shine property:voice_actor ?f } } . FILTER ( ?l < ?g ) }
[]
common name television program
SYSTEM
72
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q467722 Q239937 Q1857269 Q1195326 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q3547706 Q845452 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q20669175 Q1050091 Q699760 Q1146803 Q2140751 Q4033639 Q550555 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q45035
(c(Q15416),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q20899576
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?l ) WHERE { ?h property:P725 ?u . ?h rdf:type ontology:Q15416 . ?u rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:Q502895 . resource:Q20899576 property:P725 ?f } } . FILTER ( ?l < ?g ) }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound The Puppy's Further Adventures Pokémon Rio: Rainbow Gate! LOG HORIZON Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin Uchūsen Sagittarius Project Blue Earth SOS H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Cuéntame cómo pasó Boogiepop Phantom Akahori Gedou Hour Rabuge Gravity Falls Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Renkin 3-kyū Magical? Pokān
72
action count
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity Shimmer and Shine
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?l ) WHERE { ?h property:voice_actor ?u . ?h rdf:type ontology:television_program . ?u rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { ?f rdf:type ontology:common_name . resource:Shimmer_and_Shine property:voice_actor ?f } } . FILTER ( ?l < ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q3139297
P725
Q502895 Q838948
USER
Which works of art had their voice dubbing done by more number of people than Hold the Lion, Please ?
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q3139297
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?w ) WHERE { ?c property:P725 ?x . ?c rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q3139297 property:P725 ?m . ?m rdf:type ontology:Q838948 } } }
Hold the Lion, Please
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Hold the Lion, Please
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?w ) WHERE { ?c property:voice_actor ?x . ?c rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Hold_the_Lion,_Please property:voice_actor ?m . ?m rdf:type ontology:work_of_art } } }
[]
common name work of art
Q17485699 Q16857406 Q13393950
SYSTEM
Alice Through the Looking Glass, The Jungle Book, My Little Pony: Equestria Girls
Q13393950 Q16207076 Q23838455 Q568928 Q17485699 Q7737199 Q477965 Q5640689 Q3282491 Q477365 Q16782 Q4503243 Q16857406 Q622742 Q1058469 Q204416 Q2165639 Q1201022 Q387674 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q3139297
relation P725
type Q838948
[ANSWERS] had their voice dubbing done by more number of people than Hold the Lion, Please
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?w ) WHERE { ?c property:P725 ?x . ?c rdf:type ontology:Q838948 . ?x rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Q3139297 property:P725 ?m . ?m rdf:type ontology:Q838948 } } }
My Little Pony: Equestria Girls Battle Beyond the Sun Planetarian: Hoshi no Hito Garfield: The Movie Alice Through the Looking Glass The Good Dinosaur Persepolis Hal Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried The Tsar's Bride The Jungle Book Where the Wild Things Are Ghost in the Shell 2: Innocence Felidae Watership Down Tiger & Bunny Final Fantasy VII: Advent Children The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
Alice Through the Looking Glass, The Jungle Book and My Little Pony: Equestria Girls had their voice dubbing done by more number of people than Hold the Lion, Please
Alice Through the Looking Glass The Jungle Book My Little Pony: Equestria Girls
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Hold the Lion, Please
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?x ) AS ?w ) WHERE { ?c property:voice_actor ?x . ?c rdf:type ontology:work_of_art . ?x rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?w > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { resource:Hold_the_Lion,_Please property:voice_actor ?m . ?m rdf:type ontology:work_of_art } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q868048
P725
Q502895 Q838948
USER
And also tell me about Pokémon: The Movie 2000: The Power of One?
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q868048
relation P725
type Q838948
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q868048 property:P725 ?a . ?a rdf:type ontology:Q838948 } } . FILTER ( ?g > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?g ) WHERE { ?x property:P725 ?z . ?x rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } }
Pokémon: The Movie 2000: The Power of One
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Pokémon: The Movie 2000: The Power of One
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Pokémon:_The_Movie_2000:_The_Power_of_One property:voice_actor ?a . ?a rdf:type ontology:work_of_art } } . FILTER ( ?g > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?g ) WHERE { ?x property:voice_actor ?z . ?x rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?x } }
[]
common name work of art
Q18407657 Q18786473 Q127367
SYSTEM
Captain America: Civil War, Pete's Dragon, The Lord of the Rings: The Fellowship of the Ring
Q13393950 Q127367 Q16207076 Q23838455 Q21428001 Q568928 Q3139297 Q212792 Q17485699 Q390341 Q7737199 Q477965 Q5640689 Q777739 Q3282491 Q477365 Q16782 Q18407657 Q4158396 Q4503243 Q1185099 Q4646903 Q18786473 Q16857406 Q4305149 Q25167044 Q622742 Q1058469 Q19776435 Q204416 Q207659 Q1519753 Q729809 Q23034444 Q318975 Q2165639 Q1201022 Q387674 Q741883 Q1193324 Q19263748 Q246418 Q16248866
(c(Q838948),P725,c(Q502895))
action greater
action find_tuple_counts
relation P725
type Q838948
type Q502895
action count
action filter_type
action find
entity Q868048
relation P725
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Q868048 property:P725 ?a . ?a rdf:type ontology:Q838948 } } . FILTER ( ?g > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?g ) WHERE { ?x property:P725 ?z . ?x rdf:type ontology:Q838948 . ?z rdf:type ontology:Q502895 } GROUP BY ?x } }
My Little Pony: Equestria Girls The Lord of the Rings: The Fellowship of the Ring Battle Beyond the Sun Planetarian: Hoshi no Hito Riley's First Date? Garfield: The Movie Hold the Lion, Please Bolt Alice Through the Looking Glass Beverly Hills Chihuahua The Good Dinosaur Persepolis Hal Ivan Vasilievich: Back to the Future Trigun: Badlands Rumble 101 Dalmatians II: Patch's London Adventure Buried Captain America: Civil War Radio Day The Tsar's Bride Star Driver: Kagayaki no Takuto A-Haunting We Will Go Pete's Dragon The Jungle Book Mozart and Salieri Wreck-It Ralph 2 Where the Wild Things Are Ghost in the Shell 2: Innocence Szenario Felidae Space Jam Mimino Bodacious Space Pirates Ghost in the Shell 2.0 Atlantis: The Lost Empire Watership Down Tiger & Bunny Final Fantasy VII: Advent Children Heaven's Lost Property The Disappearance of Haruhi Suzumiya The Anthem of the Heart Gulliver's Travels The Book of Life
Captain America: Civil War Pete's Dragon The Lord of the Rings: The Fellowship of the Ring
action greater
action find_tuple_counts
relation voice actor
type work of art
type common name
action count
action filter_type
action find
entity Pokémon: The Movie 2000: The Power of One
relation voice actor
type work of art
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { resource:Pokémon:_The_Movie_2000:_The_Power_of_One property:voice_actor ?a . ?a rdf:type ontology:work_of_art } } . FILTER ( ?g > ?j ) . { SELECT DISTINCT ?x ( COUNT ( ?z ) AS ?g ) WHERE { ?x property:voice_actor ?z . ?x rdf:type ontology:work_of_art . ?z rdf:type ontology:common_name } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q170593
P2079
Q2695280 Q838948
USER
Which technicss are used for the assembly of lesser number of works of art than collage ?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P2079 resource:Q170593 . ?i rdf:type ontology:Q838948 } } }
collage
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:fabrication_method ?y . ?y rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:fabrication_method resource:collage . ?i rdf:type ontology:work_of_art } } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q170593
relation P2079
type Q838948
[ANSWERS] are used for the assembly of lesser number of works of art than collage
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P2079 ?y . ?y rdf:type ontology:Q2695280 . ?m rdf:type ontology:Q838948 } GROUP BY ?y } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:P2079 resource:Q170593 . ?i rdf:type ontology:Q838948 } } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used for the assembly of lesser number of works of art than collage
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity collage
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:fabrication_method ?y . ?y rdf:type ontology:technics . ?m rdf:type ontology:work_of_art } GROUP BY ?y } . FILTER ( ?z < ?a ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) WHERE { ?i property:fabrication_method resource:collage . ?i rdf:type ontology:work_of_art } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1334300
P2079
Q2695280 Q838948
USER
And what about gilding?
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P2079 ?m . ?m rdf:type ontology:Q2695280 . ?x rdf:type ontology:Q838948 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q838948 . ?l property:P2079 resource:Q1334300 } } . FILTER ( ?y < ?k ) }
gilding
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fabrication_method ?m . ?m rdf:type ontology:technics . ?x rdf:type ontology:work_of_art } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:work_of_art . ?l property:fabrication_method resource:gilding } } . FILTER ( ?y < ?k ) }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action less
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find_reverse
entity Q1334300
relation P2079
type Q838948
[ANSWERS]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:P2079 ?m . ?m rdf:type ontology:Q2695280 . ?x rdf:type ontology:Q838948 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:Q838948 . ?l property:P2079 resource:Q1334300 } } . FILTER ( ?y < ?k ) }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
woodcut technique chasing engraving
action less
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find_reverse
entity gilding
relation fabrication method
type work of art
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?y ) WHERE { ?x property:fabrication_method ?m . ?m rdf:type ontology:technics . ?x rdf:type ontology:work_of_art } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) WHERE { ?l rdf:type ontology:work_of_art . ?l property:fabrication_method resource:gilding } } . FILTER ( ?y < ?k ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P452
Q4830453 Q43229
USER
How many business enterprises or organizations are associated with the industry that technics ?
(c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106) (c(Q4830453),P452,Q173242) (c(Q43229),P452,Q173242) (c(Q4830453),P452,Q26265824) (c(Q43229),P452,Q26265824) (c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106)
[{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106'] [{'concept': 'Q4830453'}, 'P452', 'Q173242'] [{'concept': 'Q43229'}, 'P452', 'Q173242'] [{'concept': 'Q4830453'}, 'P452', 'Q26265824'] [{'concept': 'Q43229'}, 'P452', 'Q26265824'] [{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } UNION { ?z property:Q8148 resource:Q173242 } UNION { ?y property:Q8148 resource:Q173242 } UNION { ?z property:Q8148 resource:Q26265824 } UNION { ?y property:Q8148 resource:Q26265824 } UNION { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q43229 }
[{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving'] [{'concept': 'business enterprise'}, 'industry', 'woodcut technique'] [{'concept': 'organization'}, 'industry', 'woodcut technique'] [{'concept': 'business enterprise'}, 'industry', 'chasing'] [{'concept': 'organization'}, 'industry', 'chasing'] [{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } UNION { ?z property:industry resource:woodcut_technique } UNION { ?y property:industry resource:woodcut_technique } UNION { ?z property:industry resource:chasing } UNION { ?y property:industry resource:chasing } UNION { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:organization }
[]
business enterprise organization
Quantitative|Count|Mult. entity type|Clarification
Q173242
SYSTEM
Did you mean woodcut technique ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } UNION { ?z property:Q8148 resource:Q173242 } UNION { ?y property:Q8148 resource:Q173242 } UNION { ?z property:Q8148 resource:Q26265824 } UNION { ?y property:Q8148 resource:Q26265824 } UNION { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q43229 }
Did you mean woodcut technique ?
woodcut technique
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } UNION { ?z property:industry resource:woodcut_technique } UNION { ?y property:industry resource:woodcut_technique } UNION { ?z property:industry resource:chasing } UNION { ?y property:industry resource:chasing } UNION { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant engraving. Could you tell me the answer for that?
(c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106) (c(Q4830453),P452,Q173242) (c(Q43229),P452,Q173242) (c(Q4830453),P452,Q26265824) (c(Q43229),P452,Q26265824) (c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106)
Q139106
[{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106'] [{'concept': 'Q4830453'}, 'P452', 'Q173242'] [{'concept': 'Q43229'}, 'P452', 'Q173242'] [{'concept': 'Q4830453'}, 'P452', 'Q26265824'] [{'concept': 'Q43229'}, 'P452', 'Q26265824'] [{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106']
[{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving'] [{'concept': 'business enterprise'}, 'industry', 'woodcut technique'] [{'concept': 'organization'}, 'industry', 'woodcut technique'] [{'concept': 'business enterprise'}, 'industry', 'chasing'] [{'concept': 'organization'}, 'industry', 'chasing'] [{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving']
[]
SYSTEM
3
Q23657139 Q24538764 Q23654434
(c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106) (c(Q4830453),P452,Q173242) (c(Q43229),P452,Q173242) (c(Q4830453),P452,Q26265824) (c(Q43229),P452,Q26265824) (c(Q4830453),P452,Q139106) (c(Q43229),P452,Q139106)
[ANSWER]
[{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106'] [{'concept': 'Q4830453'}, 'P452', 'Q173242'] [{'concept': 'Q43229'}, 'P452', 'Q173242'] [{'concept': 'Q4830453'}, 'P452', 'Q26265824'] [{'concept': 'Q43229'}, 'P452', 'Q26265824'] [{'concept': 'Q4830453'}, 'P452', 'Q139106'] [{'concept': 'Q43229'}, 'P452', 'Q139106']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } UNION { ?z property:Q8148 resource:Q173242 } UNION { ?y property:Q8148 resource:Q173242 } UNION { ?z property:Q8148 resource:Q26265824 } UNION { ?y property:Q8148 resource:Q26265824 } UNION { ?z property:Q8148 resource:Q22669429 } UNION { ?y property:Q8148 resource:Q22669429 } } . ?z rdf:type ontology:Q4830453 . ?y rdf:type ontology:Q43229 }
Laurie & Whittle Edward Lewis & Co. William Banks & Son
3
[{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving'] [{'concept': 'business enterprise'}, 'industry', 'woodcut technique'] [{'concept': 'organization'}, 'industry', 'woodcut technique'] [{'concept': 'business enterprise'}, 'industry', 'chasing'] [{'concept': 'organization'}, 'industry', 'chasing'] [{'concept': 'business enterprise'}, 'industry', 'engraving'] [{'concept': 'organization'}, 'industry', 'engraving']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } UNION { ?z property:industry resource:woodcut_technique } UNION { ?y property:industry resource:woodcut_technique } UNION { ?z property:industry resource:chasing } UNION { ?y property:industry resource:chasing } UNION { ?z property:industry resource:engraving } UNION { ?y property:industry resource:engraving } } . ?z rdf:type ontology:business_enterprise . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q201658 Q11424
USER
How many works of art were atmost 1 film genres or films inspired by ?
(c(Q201658)|c(Q11424),P941,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?e WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } } GROUP BY ?e } . FILTER ( ?h <= 1 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'film genre'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?e WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:film ) } } GROUP BY ?e } . FILTER ( ?h <= 1 ) }
[]
work of art film genre film
SYSTEM
35
Q125191 Q1136305 Q1198611 Q107724 Q1217787 Q1856846 Q7758112 Q46239 Q1852671 Q19560629 Q17738 Q1345920 Q181598 Q2568137 Q753298 Q201293 Q1754737 Q1432001 Q41567 Q1144983 Q18668045 Q7445655 Q186014 Q4936847 Q3223805 Q5968141 Q379873 Q734834 Q1170100 Q375786 Q83186 Q465478 Q493755 Q214619 Q169082
(c(Q201658)|c(Q11424),P941,c(Q838948))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
value 1
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q11424'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?e WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:Q201658 ) ( ontology:Q11424 ) } } GROUP BY ?e } . FILTER ( ?h <= 1 ) }
photograph Doryphoros The Absent-Minded Professor Thunderball The Time Machine The Ballad of Cable Hogue The Pretty Sister of Jose Statue of Zeus at Olympia Carnival of Souls 9/11 entschlüsselt 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 La sirena varada 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
35
action count
action atmost
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
value 1
[[{'concept': 'film genre'}, {'concept': 'film'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) ?e WHERE { ?w rdf:type ?r . VALUES ( ?r ) { ( ontology:film_genre ) ( ontology:film ) } } GROUP BY ?e } . FILTER ( ?h <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18407657
P1441
Q6619679
USER
Which fictional humanoids are featured in Captain America: Civil War ?
(c(Q6619679),P1441,Q18407657)
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q6619679
[{'concept': 'Q6619679'}, 'P1441', 'Q18407657']
SELECT DISTINCT ?q WHERE { ?q property:P1441 resource:Q18407657 . ?q rdf:type ontology:Q6619679 }
Captain America: Civil War
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War']
SELECT DISTINCT ?q WHERE { ?q property:present_in_work resource:Captain_America:_Civil_War . ?q rdf:type ontology:fictional_humanoid }
[]
fictional humanoid
Q23894967 Q23900446 Q24022098
SYSTEM
Tony Stark / Iron Man, Howard Stark, Steve Rogers
Q26761002 Q26771565 Q24022542 Q26758859 Q24040968 Q24022457 Q24022098 Q24040949 Q26760561 Q26758865 Q26760993 Q23894967 Q23991129 Q23900446 Q26758645 Q26771620 Q24040913 Q24027486 Q26760999 Q26759592 Q26758873 Q23991271 Q26758896 Q24040958 Q26761607 Q26771595 Q26760321 Q26758884 Q26761640 Q24040935 Q26760328 Q26761595 Q24026703 Q24027376 Q26760979 Q26771631 Q26760976 Q26760974 Q24022345 Q24004905 Q24040742 Q24026688 Q26760944 Q26761024 Q24004885 Q26759605 Q26759584 Q26759603 Q26760988 Q26760312 Q26758894 Q26759589 Q26761615 Q26760337 Q26761610 Q26758877 Q26758893 Q23895063 Q26758890 Q26758863 Q23991694 Q26771605 Q23895040
(c(Q6619679),P1441,Q18407657)
action filter_type
action find_reverse
entity Q18407657
relation P1441
type Q6619679
[ANSWERS] are featured in Captain America: Civil War
[{'concept': 'Q6619679'}, 'P1441', 'Q18407657']
SELECT DISTINCT ?q WHERE { ?q property:P1441 resource:Q18407657 . ?q rdf:type ontology:Q6619679 }
Teenage Girl Josef / Super Soldier #1 Wanda Maximoff / Scarlet Witch Vicar Karpov Zemo Steve Rogers Miriam Busboy (Lagos) Attaché Hero Merc #4 Tony Stark / Iron Man Peter Parker / Spider-Man Howard Stark MRI Tech Super Soldier #4 Everett K. Ross Sharon Carter / Agent 13 M.I.T. Liaison Woman in Lobby #1 Man at Kiosk May Parker Barge Man #2 FedEx Driver Stark's Assistant Super Soldier #2 German Newscaster #1 GSG9 Task Force Pilot Zemo's Wife Maria Stark German Newscaster #2 UN Staffer Gibson Scott Lang / Ant-Man Thaddeus Ross Hero Merc #2 Super Soldier #5 Hero Merc #1 Secretary Ross's Aide Sam Wilson / Falcon T'Chaka Brock Rumlow / Crossbones Clint Barton / Hawkeye Waiter (Lagos) Dr. Broussard T'Challa / Black Panther Delivery Truck Driver Custodian Woman in Lobby #2 Hero Merc #3 Chinese Newscaster Barge Man #1 Funeral Director Cultural Attaché News Reporter Nurse GSG9 Task Force Gunner Raft Guard Natasha Romanoff / Black Widow German Innkeeper Ayo Bucky Barnes / Winter Soldier Super Soldier #3 Jim Rhodes / War Machine
Tony Stark / Iron Man, Howard Stark and Steve Rogers are featured in Captain America: Civil War
Tony Stark / Iron Man Howard Stark Steve Rogers
action filter_type
action find_reverse
entity Captain America: Civil War
relation present in work
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'present in work', 'Captain America: Civil War']
SELECT DISTINCT ?q WHERE { ?q property:present_in_work resource:Captain_America:_Civil_War . ?q rdf:type ontology:fictional_humanoid }
[]
Clarification
Simple Question|Single Entity|Indirect
Q24022098
P1080
Q36649
USER
Which visual arts is featured in that fictional humanoid ?
(Q24022098,P1080,c(Q36649))
action filter_type
action find
entity Q24022098
relation P1080
type Q36649
['Q24022098', 'P1080', {'concept': 'Q36649'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q36649 . resource:Q24022098 property:P1080 ?p }
Steve Rogers
action filter_type
action find
entity Steve Rogers
relation from fictional universe
type visual arts
['Steve Rogers', 'from fictional universe', {'concept': 'visual arts'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:visual_arts . resource:Steve_Rogers property:from_fictional_universe ?p }
[]
visual arts
Clarification for simple ques.
Q23894967
SYSTEM
Did you mean Tony Stark / Iron Man ?
Q23894967 Q23900446 Q24022098
(Q23894967,P1080,c(Q36649)) (Q23900446,P1080,c(Q36649)) (Q24022098,P1080,c(Q36649))
[ANSWER]
['Q23894967', 'P1080', {'concept': 'Q36649'}] ['Q23900446', 'P1080', {'concept': 'Q36649'}] ['Q24022098', 'P1080', {'concept': 'Q36649'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q36649 . resource:Q24022098 property:P1080 ?p }
Tony Stark / Iron Man Howard Stark Steve Rogers
Did you mean Tony Stark / Iron Man ?
Tony Stark / Iron Man
['Tony Stark / Iron Man', 'from fictional universe', {'concept': 'visual arts'}] ['Howard Stark', 'from fictional universe', {'concept': 'visual arts'}] ['Steve Rogers', 'from fictional universe', {'concept': 'visual arts'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:visual_arts . resource:Steve_Rogers property:from_fictional_universe ?p }
[]
Simple Question (Coreferenced)
USER
No, I meant Steve Rogers. Could you tell me the answer for that?
(Q24022098,P1080,c(Q36649))
Q24022098
['Q24022098', 'P1080', {'concept': 'Q36649'}]
['Steve Rogers', 'from fictional universe', {'concept': 'visual arts'}]
[]
Q642878
SYSTEM
Marvel Cinematic Universe
Q642878
(Q24022098,P1080,c(Q36649))
action filter_type
action find
entity Q24022098
relation P1080
type Q36649
[ANSWER] is featured in that fictional humanoid
['Q24022098', 'P1080', {'concept': 'Q36649'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q36649 . resource:Q24022098 property:P1080 ?p }
Marvel Cinematic Universe
Marvel Cinematic Universe is featured in that fictional humanoid
Marvel Cinematic Universe
action filter_type
action find
entity Steve Rogers
relation from fictional universe
type visual arts
['Steve Rogers', 'from fictional universe', {'concept': 'visual arts'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:visual_arts . resource:Steve_Rogers property:from_fictional_universe ?p }
[]