Simple Question (Direct)
Simple Question
Q5720939
P27
Q15617994
USER
Which administrative territory does Henry Eugene Davies belong to ?
(Q5720939,P27,c(Q15617994))
action filter_type
action find
entity Q5720939
relation P27
type Q15617994
['Q5720939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q5720939 property:P27 ?v }
Henry Eugene Davies
action filter_type
action find
entity Henry Eugene Davies
relation country of citizenship
type designation for an administrative territorial entity
['Henry Eugene Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Eugene_Davies property:country_of_citizenship ?v }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5720939,P27,c(Q15617994))
action filter_type
action find
entity Q5720939
relation P27
type Q15617994
Henry Eugene Davies belongs to [ANSWER]
['Q5720939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q5720939 property:P27 ?v }
United States of America
Henry Eugene Davies belongs to United States of America
United States of America
action filter_type
action find
entity Henry Eugene Davies
relation country of citizenship
type designation for an administrative territorial entity
['Henry Eugene Davies', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Henry_Eugene_Davies property:country_of_citizenship ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5720939
P106
Q12737077
USER
What is the job of that person ?
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5720939
relation P106
type Q12737077
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5720939 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Henry Eugene Davies
action filter_type
action find
entity Henry Eugene Davies
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Eugene_Davies property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q189290
SYSTEM
officer
Q189290
(Q30,P106,c(Q12737077))
action filter_type
action find
entity Q5720939
relation P106
type Q12737077
The job of that person is an [ANSWER]
['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5720939 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
officer
The job of that person is an officer
officer
action filter_type
action find
entity Henry Eugene Davies
relation occupation
type occupation
['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Eugene_Davies property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5720939
P607
Q198
USER
Which battle did that person take part in ?
(Q189290,P607,c(Q198))
action filter_type
action find
entity Q5720939
relation P607
type Q198
['Q189290', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q198 . resource:Q5720939 property:P607 ?l }
Henry Eugene Davies
action filter_type
action find
entity Henry Eugene Davies
relation conflict
type war
['officer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:war . resource:Henry_Eugene_Davies property:conflict ?l }
[]
war
Q8676
SYSTEM
American Civil War
Q8676
(Q189290,P607,c(Q198))
action filter_type
action find
entity Q5720939
relation P607
type Q198
Part that person took in the [ANSWER]
['Q189290', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q198 . resource:Q5720939 property:P607 ?l }
American Civil War
Part that person took in the American Civil War
American Civil War
action filter_type
action find
entity Henry Eugene Davies
relation conflict
type war
['officer', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:war . resource:Henry_Eugene_Davies property:conflict ?l }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P361
Q198 Q176799
USER
How many wars are greater number of military units a component of than that war ?
(c(Q176799),P361,c(Q198))
action count
action greater
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find_reverse
entity Q8676
relation P361
type Q198
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?s ) WHERE { ?z property:P361 ?c . ?c rdf:type ontology:Q176799 . ?z rdf:type ontology:Q198 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P361 resource:Q8676 . ?x rdf:type ontology:Q198 } } . FILTER ( ?s > ?l ) }
action count
action greater
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find_reverse
entity American Civil War
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?s ) WHERE { ?z property:part_of ?c . ?c rdf:type ontology:military_unit . ?z rdf:type ontology:war } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:part_of resource:American_Civil_War . ?x rdf:type ontology:war } } . FILTER ( ?s > ?l ) }
[]
war military unit
SYSTEM
1
Q79911
(c(Q176799),P361,c(Q198))
action count
action greater
action find_tuple_counts
relation P361
type Q198
type Q176799
action count
action filter_type
action find_reverse
entity Q8676
relation P361
type Q198
[ANSWER]
[{'concept': 'Q176799'}, 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?s ) WHERE { ?z property:P361 ?c . ?c rdf:type ontology:Q176799 . ?z rdf:type ontology:Q198 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P361 resource:Q8676 . ?x rdf:type ontology:Q198 } } . FILTER ( ?s > ?l ) }
Russian Civil War
1
action count
action greater
action find_tuple_counts
relation part of
type war
type military unit
action count
action filter_type
action find_reverse
entity American Civil War
relation part of
type war
[{'concept': 'military unit'}, 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?c ) AS ?s ) WHERE { ?z property:part_of ?c . ?c rdf:type ontology:military_unit . ?z rdf:type ontology:war } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:part_of resource:American_Civil_War . ?x rdf:type ontology:war } } . FILTER ( ?s > ?l ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q455359 Q8676
P27 P17
Q15617994
USER
Which administrative territories are American Civil War a part of or are the native countriesof Alberto Medina ?
OR((Q8676,P17,c(Q15617994)), (Q455359,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8676
relation P17
action find
entity Q455359
relation P27
type Q15617994
{'OR': [['Q8676', 'P17', {'concept': 'Q15617994'}], ['Q455359', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q8676 property:P17 ?w } UNION { resource:Q455359 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Alberto Medina American Civil War
action filter_type
action union
action find
entity American Civil War
relation country
action find
entity Alberto Medina
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alberto Medina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:American_Civil_War property:country ?w } UNION { resource:Alberto_Medina property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96 Q30
SYSTEM
Mexico, United States of America
Q96 Q30
OR((Q8676,P17,c(Q15617994)), (Q455359,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8676
relation P17
action find
entity Q455359
relation P27
type Q15617994
[ANSWERS] are American Civil War a part of or are the native countriesof Alberto Medina
{'OR': [['Q8676', 'P17', {'concept': 'Q15617994'}], ['Q455359', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q8676 property:P17 ?w } UNION { resource:Q455359 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Mexico United States of America
Mexico and United States of America are American Civil War a part of or are the native countriesof Alberto Medina
Mexico United States of America
action filter_type
action union
action find
entity American Civil War
relation country
action find
entity Alberto Medina
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['American Civil War', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Alberto Medina', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:American_Civil_War property:country ?w } UNION { resource:Alberto_Medina property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
How many political territories holds diplomatic relationship with atleast 21 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { FILTER ( ?t >= 21 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?t ) WHERE { ?b property:P530 ?y . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?b } }
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { FILTER ( ?t >= 21 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?t ) WHERE { ?b property:diplomatic_relation ?y . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q15617994),P530,c(Q1048835))
action count
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 21
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { FILTER ( ?t >= 21 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?t ) WHERE { ?b property:P530 ?y . ?b rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?b } }
Germany Australia Canada
3
action count
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 21
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { FILTER ( ?t >= 21 ) . { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?t ) WHERE { ?b property:diplomatic_relation ?y . ?b rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic associations with approximately 52 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 52
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?y property:P530 ?d } GROUP BY ?y } . FILTER ( ?u = 52 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation ?d } GROUP BY ?y } . FILTER ( ?u = 52 ) }
[]
designation for an administrative territorial entity political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 52
[ANSWER] have diplomatic associations with approximately 52 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 . ?y property:P530 ?d } GROUP BY ?y } . FILTER ( ?u = 52 ) }
Canada
Canada have diplomatic associations with approximately 52 administrative territories
Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 52
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?u ) WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity . ?y property:diplomatic_relation ?d } GROUP BY ?y } . FILTER ( ?u = 52 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P840
Q201658
USER
Which film genre has a setting location of that political territory ?
(c(Q201658),P840,Q16)
action filter_type
action find_reverse
entity Q16
relation P840
type Q201658
[{'concept': 'Q201658'}, 'P840', 'Q16']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q16 . ?r rdf:type ontology:Q201658 }
Canada
action filter_type
action find_reverse
entity Canada
relation narrative location
type film genre
[{'concept': 'film genre'}, 'narrative location', 'Canada']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Canada . ?r rdf:type ontology:film_genre }
[]
film genre
Q2413979
SYSTEM
The Romance of Transportation in Canada
Q2413979
(c(Q201658),P840,Q16)
action filter_type
action find_reverse
entity Q16
relation P840
type Q201658
[ANSWER] has a setting location of that political territory
[{'concept': 'Q201658'}, 'P840', 'Q16']
SELECT DISTINCT ?r WHERE { ?r property:P840 resource:Q16 . ?r rdf:type ontology:Q201658 }
The Romance of Transportation in Canada
The Romance of Transportation in Canada has a setting location of that political territory
The Romance of Transportation in Canada
action filter_type
action find_reverse
entity Canada
relation narrative location
type film genre
[{'concept': 'film genre'}, 'narrative location', 'Canada']
SELECT DISTINCT ?r WHERE { ?r property:narrative_location resource:Canada . ?r rdf:type ontology:film_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2413979
P136
Q1001378
USER
Which genre does that one belong to ?
(Q2413979,P136,c(Q1001378))
action filter_type
action find
entity Q2413979
relation P136
type Q1001378
['Q2413979', 'P136', {'concept': 'Q1001378'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1001378 . resource:Q2413979 property:P136 ?p }
The Romance of Transportation in Canada
action filter_type
action find
entity The Romance of Transportation in Canada
relation genre
type cinematic technique
['The Romance of Transportation in Canada', 'genre', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cinematic_technique . resource:The_Romance_of_Transportation_in_Canada property:genre ?p }
[]
cinematic technique
Q1130164
SYSTEM
limited animation
Q1130164
(Q2413979,P136,c(Q1001378))
action filter_type
action find
entity Q2413979
relation P136
type Q1001378
That one belongs to [ANSWER]
['Q2413979', 'P136', {'concept': 'Q1001378'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1001378 . resource:Q2413979 property:P136 ?p }
limited animation
That one belongs to limited animation
limited animation
action filter_type
action find
entity The Romance of Transportation in Canada
relation genre
type cinematic technique
['The Romance of Transportation in Canada', 'genre', {'concept': 'cinematic technique'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:cinematic_technique . resource:The_Romance_of_Transportation_in_Canada property:genre ?p }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6888619
P144
Q15416 Q6619679 Q1001378
USER
Which cinematic techniques are adapted from less number of television programs and fictional humanoids than K-On! The Movie ?
(c(Q1001378),P144,c(Q15416)|c(Q6619679))
action less
action union
action find_tuple_counts
relation P144
type Q1001378
type Q15416
action find_tuple_counts
relation P144
type Q1001378
type Q6619679
action count
action filter_multi_types
action find
entity Q6888619
relation P144
type Q15416
type Q6619679
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q15416'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?v WHERE { { ?n rdf:type ontology:Q15416 . ?v rdf:type ontology:Q1001378 . ?v property:P144 ?n } UNION { ?v property:P144 ?n . ?v rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q6619679 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q6619679 ) } } . resource:Q6888619 property:P144 ?k } } . FILTER ( ?e < ?y ) }
K-On! The Movie
action less
action union
action find_tuple_counts
relation based on
type cinematic technique
type television program
action find_tuple_counts
relation based on
type cinematic technique
type fictional humanoid
action count
action filter_multi_types
action find
entity K-On! The Movie
relation based on
type television program
type fictional humanoid
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'television program'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?v WHERE { { ?n rdf:type ontology:television_program . ?v rdf:type ontology:cinematic_technique . ?v property:based_on ?n } UNION { ?v property:based_on ?n . ?v rdf:type ontology:cinematic_technique . ?n rdf:type ontology:fictional_humanoid } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:television_program ) ( ontology:fictional_humanoid ) } } . resource:K-On!_The_Movie property:based_on ?k } } . FILTER ( ?e < ?y ) }
[]
television program fictional humanoid cinematic technique
Q15728879 Q888136 Q454398
SYSTEM
My Little Pony: Equestria Girls 2 – Rainbow Rocks, The Tale of the Princess Kaguya, The Smurfs
Q656998 Q221679 Q20745334 Q245366 Q188439 Q3658413 Q2422342 Q1093555 Q138718 Q1756220 Q7754064 Q203108 Q23647031 Q75682 Q15293047 Q454398 Q1150595 Q2613318 Q208696 Q483815 Q1368509 Q632668 Q2626114 Q373096 Q534247 Q274520 Q7752510 Q14542320 Q15270669 Q16030241 Q26723758 Q25646553 Q22960653 Q6966481 Q1740304 Q703571 Q2376391 Q15728879 Q4096274 Q4443593 Q15635431 Q477687 Q1230691 Q2388260 Q17708 Q284042 Q406705 Q703524 Q25733 Q608079 Q2329413 Q738678 Q30568 Q3225036 Q86791 Q246283 Q2629768 Q1905968 Q655133 Q753677 Q4379477 Q4912095 Q4243413 Q1294193 Q786594 Q1154751 Q5114248 Q888136 Q15270742 Q630032 Q1137359 Q1150785 Q15730443 Q392530 Q10899321 Q622763 Q685785 Q2388653 Q20949829 Q807842 Q3840831 Q191803 Q1330720 Q2033042 Q16386722 Q75690 Q4378413
(c(Q1001378),P144,c(Q15416)|c(Q6619679))
action less
action union
action find_tuple_counts
relation P144
type Q1001378
type Q15416
action find_tuple_counts
relation P144
type Q1001378
type Q6619679
action count
action filter_multi_types
action find
entity Q6888619
relation P144
type Q15416
type Q6619679
And [ANSWERS] are adapted from less number of television programs and fictional humanoids than K-On! The Movie
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q15416'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?v WHERE { { ?n rdf:type ontology:Q15416 . ?v rdf:type ontology:Q1001378 . ?v property:P144 ?n } UNION { ?v property:P144 ?n . ?v rdf:type ontology:Q1001378 . ?n rdf:type ontology:Q6619679 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:Q15416 ) ( ontology:Q6619679 ) } } . resource:Q6888619 property:P144 ?k } } . FILTER ( ?e < ?y ) }
Garfield's Pet Force Meet the Robinsons Regular Show: The Movie Over the Hedge Tangled Cardcaptor Sakura: The Movie Motion Painting No. 1 Swan Lake Barbie of Swan Lake Mystery of Mamo The Night Before Christmas TMNT Batman: The Killing Joke Naruto Shippuden the Movie: The Lost Tower Stand by Me Doraemon The Smurfs Dragon Ball Z: Battle of Gods Garfield's Fun Fest Tarzan Shrek Macross: Do You Remember Love? Coraline Alakazam the Great How to Train Your Dragon Hans Christian Andersen's The Little Mermaid Grave of the Fireflies The Mouse and His Child Gintama: The Movie: The Final Chapter: Be Forever Yorozuya The Canterville Ghost The Butter Battle Book Hur gick det sen? Corto Maltese and the Gilded House of Samarkand Kizumonogatari Part 1: Tekketsu Naruto Shippuden 7: The last Movie Alice in Wonderland Naruto Shippuden the Movie: The Will of Fire The Snow Queen My Little Pony: Equestria Girls 2 – Rainbow Rocks The Bremen Town Musicians The Grasshopper and the Ant Son of Batman Fantastic Planet Appleseed The Humpbacked Horse The Plot of the Fuma Clan Resident Evil: Degeneration Lupin III: Dead or Alive Naruto Shippuden the Movie: Bonds Barbie in the Nutcracker The Castle of Cagliostro Barbie as the Princess and the Pauper Green Vs. Red Barbie as Rapunzel The New Gulliver A Christmas Carol Frozen An All Dogs Christmas Carol Akira Treasure Island Gnomeo & Juliet The Tale of Soldier Fedot, The Daring Fellow Gintama: The Movie Ku! Kin-dza-dza Farewell to Nostradamus The Lorax Legend of the Gold of Babylon Chronopolis The Tale of the Princess Kaguya Adventures of Mowgli Horton Hears a Who! The Pirates! In an Adventure with Scientists! Mickey, Donald, Goofy: The Three Musketeers The Grasshopper and the Ant Treasure Planet Puella Magi Madoka Magica: The Movie Legend of the Guardians: The Owls of Ga'Hoole 9 Tom Sawyer Blinky Bill the Movie Barbie and the Three Musketeers Return of the Magician The Lion King II: Simba's Pride Alois Nebel The Snow Maiden The Little Prince Naruto Shippuden the Movie The Adventures of Buratino
And My Little Pony: Equestria Girls 2 – Rainbow Rocks, The Tale of the Princess Kaguya and The Smurfs are adapted from less number of television programs and fictional humanoids than K-On! The Movie
My Little Pony: Equestria Girls 2 – Rainbow Rocks The Tale of the Princess Kaguya The Smurfs
action less
action union
action find_tuple_counts
relation based on
type cinematic technique
type television program
action find_tuple_counts
relation based on
type cinematic technique
type fictional humanoid
action count
action filter_multi_types
action find
entity K-On! The Movie
relation based on
type television program
type fictional humanoid
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'television program'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) ?v WHERE { { ?n rdf:type ontology:television_program . ?v rdf:type ontology:cinematic_technique . ?v property:based_on ?n } UNION { ?v property:based_on ?n . ?v rdf:type ontology:cinematic_technique . ?n rdf:type ontology:fictional_humanoid } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { { ?k rdf:type ?z . VALUES ( ?z ) { ( ontology:television_program ) ( ontology:fictional_humanoid ) } } . resource:K-On!_The_Movie property:based_on ?k } } . FILTER ( ?e < ?y ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2971575
P144
Q15416 Q6619679 Q1001378
USER
And also tell me about Pippi Longstocking?
(c(Q1001378),P144,c(Q15416)|c(Q6619679))
action less
action union
action find_tuple_counts
relation P144
type Q1001378
type Q15416
action find_tuple_counts
relation P144
type Q1001378
type Q6619679
action count
action filter_multi_types
action find
entity Q2971575
relation P144
type Q15416
type Q6619679
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q15416'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q6619679 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q2971575 property:P144 ?m . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q6619679 ) ( ontology:Q15416 ) } } } } . FILTER ( ?b < ?g ) }
Pippi Longstocking
action less
action union
action find_tuple_counts
relation based on
type cinematic technique
type television program
action find_tuple_counts
relation based on
type cinematic technique
type fictional humanoid
action count
action filter_multi_types
action find
entity Pippi Longstocking
relation based on
type television program
type fictional humanoid
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'television program'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:fictional_humanoid ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Pippi_Longstocking property:based_on ?m . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:fictional_humanoid ) ( ontology:television_program ) } } } } . FILTER ( ?b < ?g ) }
[]
television program fictional humanoid cinematic technique
Q15728879 Q888136 Q454398
SYSTEM
My Little Pony: Equestria Girls 2 – Rainbow Rocks, The Tale of the Princess Kaguya, The Smurfs
Q656998 Q221679 Q20745334 Q245366 Q188439 Q3658413 Q2422342 Q1093555 Q138718 Q1756220 Q7754064 Q203108 Q23647031 Q75682 Q15293047 Q454398 Q1150595 Q2613318 Q208696 Q483815 Q1368509 Q632668 Q2626114 Q373096 Q534247 Q274520 Q7752510 Q14542320 Q15270669 Q16030241 Q26723758 Q25646553 Q22960653 Q6966481 Q1740304 Q703571 Q2376391 Q15728879 Q4096274 Q4443593 Q15635431 Q477687 Q1230691 Q2388260 Q17708 Q284042 Q406705 Q703524 Q25733 Q608079 Q2329413 Q738678 Q30568 Q3225036 Q86791 Q246283 Q2629768 Q1905968 Q655133 Q753677 Q4379477 Q4912095 Q4243413 Q1294193 Q786594 Q1154751 Q5114248 Q888136 Q15270742 Q630032 Q1137359 Q1150785 Q15730443 Q392530 Q10899321 Q622763 Q685785 Q2388653 Q20949829 Q807842 Q3840831 Q191803 Q1330720 Q2033042 Q16386722 Q75690 Q4378413
(c(Q1001378),P144,c(Q15416)|c(Q6619679))
action less
action union
action find_tuple_counts
relation P144
type Q1001378
type Q15416
action find_tuple_counts
relation P144
type Q1001378
type Q6619679
action count
action filter_multi_types
action find
entity Q2971575
relation P144
type Q15416
type Q6619679
[ANSWERS]
[{'concept': 'Q1001378'}, 'P144', [{'concept': 'Q15416'}, {'concept': 'Q6619679'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:Q15416 ) ( ontology:Q6619679 ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q2971575 property:P144 ?m . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:Q6619679 ) ( ontology:Q15416 ) } } } } . FILTER ( ?b < ?g ) }
Garfield's Pet Force Meet the Robinsons Regular Show: The Movie Over the Hedge Tangled Cardcaptor Sakura: The Movie Motion Painting No. 1 Swan Lake Barbie of Swan Lake Mystery of Mamo The Night Before Christmas TMNT Batman: The Killing Joke Naruto Shippuden the Movie: The Lost Tower Stand by Me Doraemon The Smurfs Dragon Ball Z: Battle of Gods Garfield's Fun Fest Tarzan Shrek Macross: Do You Remember Love? Coraline Alakazam the Great How to Train Your Dragon Hans Christian Andersen's The Little Mermaid Grave of the Fireflies The Mouse and His Child Gintama: The Movie: The Final Chapter: Be Forever Yorozuya The Canterville Ghost The Butter Battle Book Hur gick det sen? Corto Maltese and the Gilded House of Samarkand Kizumonogatari Part 1: Tekketsu Naruto Shippuden 7: The last Movie Alice in Wonderland Naruto Shippuden the Movie: The Will of Fire The Snow Queen My Little Pony: Equestria Girls 2 – Rainbow Rocks The Bremen Town Musicians The Grasshopper and the Ant Son of Batman Fantastic Planet Appleseed The Humpbacked Horse The Plot of the Fuma Clan Resident Evil: Degeneration Lupin III: Dead or Alive Naruto Shippuden the Movie: Bonds Barbie in the Nutcracker The Castle of Cagliostro Barbie as the Princess and the Pauper Green Vs. Red Barbie as Rapunzel The New Gulliver A Christmas Carol Frozen An All Dogs Christmas Carol Akira Treasure Island Gnomeo & Juliet The Tale of Soldier Fedot, The Daring Fellow Gintama: The Movie Ku! Kin-dza-dza Farewell to Nostradamus The Lorax Legend of the Gold of Babylon Chronopolis The Tale of the Princess Kaguya Adventures of Mowgli Horton Hears a Who! The Pirates! In an Adventure with Scientists! Mickey, Donald, Goofy: The Three Musketeers The Grasshopper and the Ant Treasure Planet Puella Magi Madoka Magica: The Movie Legend of the Guardians: The Owls of Ga'Hoole 9 Tom Sawyer Blinky Bill the Movie Barbie and the Three Musketeers Return of the Magician The Lion King II: Simba's Pride Alois Nebel The Snow Maiden The Little Prince Naruto Shippuden the Movie The Adventures of Buratino
My Little Pony: Equestria Girls 2 – Rainbow Rocks The Tale of the Princess Kaguya The Smurfs
action less
action union
action find_tuple_counts
relation based on
type cinematic technique
type television program
action find_tuple_counts
relation based on
type cinematic technique
type fictional humanoid
action count
action filter_multi_types
action find
entity Pippi Longstocking
relation based on
type television program
type fictional humanoid
[{'concept': 'cinematic technique'}, 'based on', [{'concept': 'television program'}, {'concept': 'fictional humanoid'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?b ) WHERE { ?p rdf:type ?r . VALUES ( ?r ) { ( ontology:television_program ) ( ontology:fictional_humanoid ) } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Pippi_Longstocking property:based_on ?m . { ?m rdf:type ?y . VALUES ( ?y ) { ( ontology:fictional_humanoid ) ( ontology:television_program ) } } } } . FILTER ( ?b < ?g ) }
[]