Simple Question (Direct)
Simple Question
Q281110
P123
Q1269299
USER
Which business organization published Kingdom Hearts Birth by Sleep ?
(Q281110,P123,c(Q1269299))
action filter_type
action find
entity Q281110
relation P123
type Q1269299
['Q281110', 'P123', {'concept': 'Q1269299'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1269299 . resource:Q281110 property:P123 ?d }
Kingdom Hearts Birth by Sleep
action filter_type
action find
entity Kingdom Hearts Birth by Sleep
relation publisher
type type of business entity
['Kingdom Hearts Birth by Sleep', 'publisher', {'concept': 'type of business entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_business_entity . resource:Kingdom_Hearts_Birth_by_Sleep property:publisher ?d }
[]
type of business entity
Q207784
SYSTEM
Square Enix
Q207784
(Q281110,P123,c(Q1269299))
action filter_type
action find
entity Q281110
relation P123
type Q1269299
[ANSWER] published Kingdom Hearts Birth by Sleep
['Q281110', 'P123', {'concept': 'Q1269299'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q1269299 . resource:Q281110 property:P123 ?d }
Square Enix
Square Enix published Kingdom Hearts Birth by Sleep
Square Enix
action filter_type
action find
entity Kingdom Hearts Birth by Sleep
relation publisher
type type of business entity
['Kingdom Hearts Birth by Sleep', 'publisher', {'concept': 'type of business entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_business_entity . resource:Kingdom_Hearts_Birth_by_Sleep property:publisher ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q281110
P1441
Q95074
USER
Which fictional characters appear in Kingdom Hearts Birth by Sleep ?
(c(Q95074),P1441,Q281110)
action filter_type
action find_reverse
entity Q281110
relation P1441
type Q95074
[{'concept': 'Q95074'}, 'P1441', 'Q281110']
SELECT DISTINCT ?n WHERE { ?n property:P1441 resource:Q281110 . ?n rdf:type ontology:Q95074 }
Kingdom Hearts Birth by Sleep
action filter_type
action find_reverse
entity Kingdom Hearts Birth by Sleep
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Kingdom Hearts Birth by Sleep']
SELECT DISTINCT ?n WHERE { ?n property:present_in_work resource:Kingdom_Hearts_Birth_by_Sleep . ?n rdf:type ontology:fictional_character }
[]
fictional character
Q2739228 Q252044
SYSTEM
Snow White, Queen Grimhilde
Q2739228 Q252044
(c(Q95074),P1441,Q281110)
action filter_type
action find_reverse
entity Q281110
relation P1441
type Q95074
[ANSWERS] appear in Kingdom Hearts Birth by Sleep
[{'concept': 'Q95074'}, 'P1441', 'Q281110']
SELECT DISTINCT ?n WHERE { ?n property:P1441 resource:Q281110 . ?n rdf:type ontology:Q95074 }
Snow White Queen Grimhilde
Snow White and Queen Grimhilde appear in Kingdom Hearts Birth by Sleep
Snow White Queen Grimhilde
action filter_type
action find_reverse
entity Kingdom Hearts Birth by Sleep
relation present in work
type fictional character
[{'concept': 'fictional character'}, 'present in work', 'Kingdom Hearts Birth by Sleep']
SELECT DISTINCT ?n WHERE { ?n property:present_in_work resource:Kingdom_Hearts_Birth_by_Sleep . ?n rdf:type ontology:fictional_character }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P157
Q95074 Q95074
USER
How many fictional characters were assasinated by around 2 fictional characters ?
(c(Q95074),P157,c(Q95074))
action count
action approx
action find_tuple_counts
relation P157
type Q95074
type Q95074
value 2
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p property:P157 ?j . ?j rdf:type ontology:Q95074 . ?p rdf:type ontology:Q95074 } GROUP BY ?p } . FILTER ( ?w = 2 ) }
action count
action approx
action find_tuple_counts
relation killed by
type fictional character
type fictional character
value 2
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p property:killed_by ?j . ?j rdf:type ontology:fictional_character . ?p rdf:type ontology:fictional_character } GROUP BY ?p } . FILTER ( ?w = 2 ) }
[]
fictional character fictional character
SYSTEM
1
Q889656
(c(Q95074),P157,c(Q95074))
action count
action approx
action find_tuple_counts
relation P157
type Q95074
type Q95074
value 2
[ANSWER]
[{'concept': 'Q95074'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p property:P157 ?j . ?j rdf:type ontology:Q95074 . ?p rdf:type ontology:Q95074 } GROUP BY ?p } . FILTER ( ?w = 2 ) }
Amulius
1
action count
action approx
action find_tuple_counts
relation killed by
type fictional character
type fictional character
value 2
[{'concept': 'fictional character'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?j ) AS ?w ) WHERE { ?p property:killed_by ?j . ?j rdf:type ontology:fictional_character . ?p rdf:type ontology:fictional_character } GROUP BY ?p } . FILTER ( ?w = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3388787
P941
Q2342494 Q14514600 Q95074
USER
How many fictional characters had around the same number of collectables and groups of fictional characters as a source of inspiration as Pinocchio ?
(c(Q95074),P941,c(Q2342494)|c(Q14514600))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q2342494
action find_tuple_counts
relation P941
type Q95074
type Q14514600
action count
action filter_multi_types
action find
entity Q3388787
relation P941
type Q2342494
type Q14514600
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } . ?k rdf:type ?f } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q3388787 property:P941 ?z . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } } } } . FILTER ( ?n = ?t ) }
Pinocchio
action count
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type collectable
action find_tuple_counts
relation inspired by
type fictional character
type group of fictional characters
action count
action filter_multi_types
action find
entity Pinocchio
relation inspired by
type collectable
type group of fictional characters
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?f ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } . ?k rdf:type ?f } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Pinocchio property:inspired_by ?z . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } } } } . FILTER ( ?n = ?t ) }
[]
collectable group of fictional characters fictional character
SYSTEM
106
Q1977325 Q27663545 Q27561644 Q27145408 Q27075302 Q1649854 Q24283544 Q27068028 Q27148563 Q20822900 Q2344068 Q27666216 Q27680636 Q27068138 Q27133637 Q2502489 Q2161603 Q27663642 Q22266945 Q27180522 Q27856469 Q22266941 Q27132419 Q892442 Q27243303 Q27267295 Q3060933 Q519034 Q27132369 Q252044 Q27663814 Q27067781 Q27680727 Q27702890 Q27179995 Q2739228 Q27681460 Q27430148 Q20822934 Q27180766 Q2559332 Q1660555 Q3746645 Q27067917 Q2427584 Q27429887 Q20822908 Q2625989 Q27493751 Q27825830 Q27429907 Q27556028 Q3377158 Q27269137 Q27553882 Q3388787 Q20822916 Q27430121 Q2691406 Q10354248 Q27681618 Q27493214 Q27554295 Q3437147 Q1028714 Q540376 Q27267091 Q2287748 Q6175066 Q25714585 Q27148824 Q27468350 Q27230903 Q27230909 Q27493181 Q27666068 Q27437118 Q27636389 Q16034148 Q3439796 Q599351 Q3403328 Q326075 Q27493473 Q27700877 Q27243298 Q27133508 Q2269614 Q27068114 Q7885388 Q1141265 Q1649583 Q27702918 Q27839121 Q27855815 Q2631732 Q27180436 Q27180048 Q3178894 Q3381115 Q5431889 Q18279909 Q27467127 Q388605 Q27666112 Q27068106
(c(Q95074),P941,c(Q2342494)|c(Q14514600))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q2342494
action find_tuple_counts
relation P941
type Q95074
type Q14514600
action count
action filter_multi_types
action find
entity Q3388787
relation P941
type Q2342494
type Q14514600
[ANSWER]
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } . ?k rdf:type ?f } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Q3388787 property:P941 ?z . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } } } } . FILTER ( ?n = ?t ) }
Scar Peter Pan Frank Anita Radcliffe Fairy Godmother Athos LeFou The blue fairy Dopey Hiram Flaversham Madam Mim Tinker Bell John Smith Lampwick King Hubert Belle Randall Flagg Wendy Darling Anastasia Tremaine Sir Kay Amphytryon Drizella Tremaine Merryweather Ariel Scat Cat Alan-a-Dale Scuttle Aurora Flora Queen Grimhilde Captain Hook Geppetto Governor Ratcliffe Phoebus Merlin Snow White Flit Evinrude Mrs. Judson The Wolf Cinderella Maleficent Fauna Stromboli Maurice Madame Medusa Dr. David Q. Dawson Pocahontas Jenny The Bear Penny Marahute Little John Sir Hiss Jake Pinocchio Basil Rufus Timon Professor Ratigan Chief Powhatan Rita Percival McLeach Robin Hood Jiminy Cricket Mowgli King Richard Mufasa Ursula Tito The Prince Cheshire Cat Bruno Prince Charming Francis John Darling Amos Slade Diablo Prince Eric King Triton Gavroche Prince John Rafiki Fagin Claude Frollo Adelaide Bonfamille Prince Phillip Lumière Monstro Sebastian Lady Tremaine Simba Pierre Gringoire Megara Alcmene Fei Long Sir Ector Arthur Sarabi Philoctetes Faline Pinocchio Alice Cruella de Vil Mary Darling Honest John
106
action count
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type collectable
action find_tuple_counts
relation inspired by
type fictional character
type group of fictional characters
action count
action filter_multi_types
action find
entity Pinocchio
relation inspired by
type collectable
type group of fictional characters
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?n ) WHERE { VALUES ( ?f ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } . ?k rdf:type ?f } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { resource:Pinocchio property:inspired_by ?z . { ?z rdf:type ?j . VALUES ( ?j ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } } } } . FILTER ( ?n = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q27663642
P941
Q2342494 Q14514600 Q95074
USER
And also tell me about Wendy Darling?
(c(Q95074),P941,c(Q2342494)|c(Q14514600))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q2342494
action find_tuple_counts
relation P941
type Q95074
type Q14514600
action count
action filter_multi_types
action find
entity Q27663642
relation P941
type Q2342494
type Q14514600
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } } . resource:Q27663642 property:P941 ?a } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { { ?u property:P941 ?x . ?u rdf:type ontology:Q95074 . ?x rdf:type ontology:Q2342494 } UNION { ?u property:P941 ?x . ?u rdf:type ontology:Q95074 . ?x rdf:type ontology:Q14514600 } } GROUP BY ?u } }
Wendy Darling
action count
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type collectable
action find_tuple_counts
relation inspired by
type fictional character
type group of fictional characters
action count
action filter_multi_types
action find
entity Wendy Darling
relation inspired by
type collectable
type group of fictional characters
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } } . resource:Wendy_Darling property:inspired_by ?a } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { { ?u property:inspired_by ?x . ?u rdf:type ontology:fictional_character . ?x rdf:type ontology:collectable } UNION { ?u property:inspired_by ?x . ?u rdf:type ontology:fictional_character . ?x rdf:type ontology:group_of_fictional_characters } } GROUP BY ?u } }
[]
collectable group of fictional characters fictional character
SYSTEM
106
Q1977325 Q27663545 Q27561644 Q27145408 Q27075302 Q1649854 Q24283544 Q27068028 Q27148563 Q20822900 Q2344068 Q27666216 Q27680636 Q27068138 Q27133637 Q2502489 Q2161603 Q27663642 Q22266945 Q27180522 Q27856469 Q22266941 Q27132419 Q892442 Q27243303 Q27267295 Q3060933 Q519034 Q27132369 Q252044 Q27663814 Q27067781 Q27680727 Q27702890 Q27179995 Q2739228 Q27681460 Q27430148 Q20822934 Q27180766 Q2559332 Q1660555 Q3746645 Q27067917 Q2427584 Q27429887 Q20822908 Q2625989 Q27493751 Q27825830 Q27429907 Q27556028 Q3377158 Q27269137 Q27553882 Q3388787 Q20822916 Q27430121 Q2691406 Q10354248 Q27681618 Q27493214 Q27554295 Q3437147 Q1028714 Q540376 Q27267091 Q2287748 Q6175066 Q25714585 Q27148824 Q27468350 Q27230903 Q27230909 Q27493181 Q27666068 Q27437118 Q27636389 Q16034148 Q3439796 Q599351 Q3403328 Q326075 Q27493473 Q27700877 Q27243298 Q27133508 Q2269614 Q27068114 Q7885388 Q1141265 Q1649583 Q27702918 Q27839121 Q27855815 Q2631732 Q27180436 Q27180048 Q3178894 Q3381115 Q5431889 Q18279909 Q27467127 Q388605 Q27666112 Q27068106
(c(Q95074),P941,c(Q2342494)|c(Q14514600))
action count
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q2342494
action find_tuple_counts
relation P941
type Q95074
type Q14514600
action count
action filter_multi_types
action find
entity Q27663642
relation P941
type Q2342494
type Q14514600
[ANSWER]
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q2342494'}, {'concept': 'Q14514600'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:Q2342494 ) ( ontology:Q14514600 ) } } . resource:Q27663642 property:P941 ?a } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { { ?u property:P941 ?x . ?u rdf:type ontology:Q95074 . ?x rdf:type ontology:Q2342494 } UNION { ?u property:P941 ?x . ?u rdf:type ontology:Q95074 . ?x rdf:type ontology:Q14514600 } } GROUP BY ?u } }
Scar Peter Pan Frank Anita Radcliffe Fairy Godmother Athos LeFou The blue fairy Dopey Hiram Flaversham Madam Mim Tinker Bell John Smith Lampwick King Hubert Belle Randall Flagg Wendy Darling Anastasia Tremaine Sir Kay Amphytryon Drizella Tremaine Merryweather Ariel Scat Cat Alan-a-Dale Scuttle Aurora Flora Queen Grimhilde Captain Hook Geppetto Governor Ratcliffe Phoebus Merlin Snow White Flit Evinrude Mrs. Judson The Wolf Cinderella Maleficent Fauna Stromboli Maurice Madame Medusa Dr. David Q. Dawson Pocahontas Jenny The Bear Penny Marahute Little John Sir Hiss Jake Pinocchio Basil Rufus Timon Professor Ratigan Chief Powhatan Rita Percival McLeach Robin Hood Jiminy Cricket Mowgli King Richard Mufasa Ursula Tito The Prince Cheshire Cat Bruno Prince Charming Francis John Darling Amos Slade Diablo Prince Eric King Triton Gavroche Prince John Rafiki Fagin Claude Frollo Adelaide Bonfamille Prince Phillip Lumière Monstro Sebastian Lady Tremaine Simba Pierre Gringoire Megara Alcmene Fei Long Sir Ector Arthur Sarabi Philoctetes Faline Pinocchio Alice Cruella de Vil Mary Darling Honest John
106
action count
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type collectable
action find_tuple_counts
relation inspired by
type fictional character
type group of fictional characters
action count
action filter_multi_types
action find
entity Wendy Darling
relation inspired by
type collectable
type group of fictional characters
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'collectable'}, {'concept': 'group of fictional characters'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?w ) WHERE { { ?a rdf:type ?m . VALUES ( ?m ) { ( ontology:collectable ) ( ontology:group_of_fictional_characters ) } } . resource:Wendy_Darling property:inspired_by ?a } } . FILTER ( ?d = ?w ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { { ?u property:inspired_by ?x . ?u rdf:type ontology:fictional_character . ?x rdf:type ontology:collectable } UNION { ?u property:inspired_by ?x . ?u rdf:type ontology:fictional_character . ?x rdf:type ontology:group_of_fictional_characters } } GROUP BY ?u } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q27179995
P674
Q95074 Q7725634 Q166142
USER
How many fictional characters plays a role in approximately the same number of literary works and applications as Merlin ?
(c(Q7725634)|c(Q166142),P674,c(Q95074))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q27179995
relation P674
type Q7725634
type Q166142
[[{'concept': 'Q7725634'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P674 ?b . ?b rdf:type ontology:Q95074 . ?z rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q95074 . ?z rdf:type ontology:Q166142 . ?z property:P674 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P674 resource:Q27179995 . { { ?y rdf:type ontology:Q7725634 } UNION { ?y rdf:type ontology:Q166142 } } } } . FILTER ( ?v = ?f ) }
Merlin
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action count
action filter_multi_types
action find_reverse
entity Merlin
relation characters
type literary work
type application
[[{'concept': 'literary work'}, {'concept': 'application'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:characters ?b . ?b rdf:type ontology:fictional_character . ?z rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:fictional_character . ?z rdf:type ontology:application . ?z property:characters ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:characters resource:Merlin . { { ?y rdf:type ontology:literary_work } UNION { ?y rdf:type ontology:application } } } } . FILTER ( ?v = ?f ) }
[]
fictional character literary work application
SYSTEM
278
Q547105 Q3065753 Q16027672 Q27663545 Q24573084 Q27093588 Q4767744 Q252044 Q7167342 Q942938 Q27666236 Q17075849 Q2985575 Q1649854 Q18679242 Q1750634 Q27272386 Q27068028 Q22265466 Q15710873 Q1877780 Q2344068 Q21847074 Q272000 Q669485 Q27270635 Q27553997 Q27267091 Q7828 Q27133637 Q15230837 Q27535984 Q2559332 Q27553808 Q3388787 Q27116644 Q5656906 Q2161603 Q27663642 Q27271240 Q217533 Q27269911 Q22266941 Q27666260 Q3060933 Q21847215 Q1660555 Q27068114 Q21837397 Q892442 Q27243295 Q11623287 Q913841 Q27267295 Q27145408 Q1984009 Q2277080 Q519034 Q2915850 Q3592235 Q27270825 Q669992 Q10904385 Q27663814 Q1541235 Q4574639 Q295599 Q27074305 Q2340460 Q7834 Q254678 Q5354221 Q1080587 Q1478155 Q507978 Q203927 Q27116381 Q21847103 Q21716752 Q27229992 Q27429777 Q128429 Q27553882 Q23762190 Q27118866 Q3391402 Q27118394 Q2739228 Q114900 Q599351 Q510102 Q15160 Q2456444 Q1997439 Q842104 Q14396915 Q5431889 Q27666036 Q25883159 Q20822934 Q21847089 Q27237700 Q610519 Q20723928 Q21065543 Q21065542 Q16626690 Q27450655 Q3704358 Q21246052 Q27270096 Q27179995 Q27067917 Q2076759 Q27429724 Q27429978 Q26678513 Q21847086 Q21065725 Q3291275 Q3403328 Q191114 Q23906183 Q21837905 Q3455774 Q27518155 Q20822903 Q159709 Q21837021 Q27429887 Q21837027 Q1115859 Q3939827 Q406021 Q27271937 Q8002690 Q27237722 Q20822908 Q5846 Q27481286 Q27237727 Q52986 Q850506 Q3320009 Q589261 Q27067781 Q27429907 Q17335617 Q3377158 Q27535068 Q27703517 Q27237663 Q2715593 Q2979585 Q10354248 Q22264381 Q936278 Q3603297 Q21714642 Q4755325 Q20822916 Q6748296 Q1991640 Q3471289 Q164083 Q22265259 Q4749202 Q2988692 Q27462047 Q21837038 Q27269137 Q2657005 Q27666317 Q27268652 Q21562043 Q21972177 Q6929804 Q27666216 Q113870 Q21072307 Q60702 Q27554295 Q267447 Q22266945 Q1028714 Q540376 Q27068138 Q4795290 Q520812 Q20822900 Q388605 Q16451200 Q27237716 Q21837832 Q21971504 Q21932351 Q2750318 Q20280393 Q21847105 Q27457103 Q27133578 Q27536279 Q1773077 Q2308402 Q27666068 Q1269082 Q27269717 Q27269399 Q27145277 Q2392421 Q27703691 Q27075302 Q27456283 Q321349 Q6414261 Q27272794 Q21065657 Q651130 Q16034148 Q27666446 Q3439796 Q21072502 Q3437147 Q3946354 Q920224 Q27430106 Q27272179 Q21847058 Q15020847 Q21847115 Q3036775 Q27462273 Q2021531 Q27229770 Q4160404 Q3806180 Q9012447 Q27133508 Q3073552 Q3073555 Q191527 Q7885388 Q27145361 Q1141265 Q6214458 Q27455598 Q2264282 Q4933846 Q27702918 Q3257493 Q27642997 Q1345373 Q1392000 Q2879032 Q2373832 Q264685 Q223757 Q27180048 Q20822895 Q8073344 Q21072390 Q1456741 Q27267273 Q616178 Q6175066 Q27271402 Q3666688 Q27666118 Q7810 Q661491 Q51766 Q6524042 Q20822940 Q27148824 Q27666112 Q27068106 Q765498 Q19803416
(c(Q7725634)|c(Q166142),P674,c(Q95074))
action count
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q27179995
relation P674
type Q7725634
type Q166142
[ANSWER]
[[{'concept': 'Q7725634'}, {'concept': 'Q166142'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:P674 ?b . ?b rdf:type ontology:Q95074 . ?z rdf:type ontology:Q7725634 } UNION { ?b rdf:type ontology:Q95074 . ?z rdf:type ontology:Q166142 . ?z property:P674 ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:P674 resource:Q27179995 . { { ?y rdf:type ontology:Q7725634 } UNION { ?y rdf:type ontology:Q166142 } } } } . FILTER ( ?v = ?f ) }
Nezha Lady of the Green Kirtle Dr. Stewart Peter Pan Archimedes Alice's sister Annabeth Schott Queen Grimhilde Percy Fitzwallace Dexter Morgan Nana Danny Concannon K-9 Athos Kalervo Quasimodo Captain Crocodile The blue fairy Duran Duran Princess Celestia Lusus Madam Mim Kōichirō Iketani Deianira Sweeney Todd Little Sister Cody King Richard Marge Simpson King Hubert Dixie Kong Carlotta Cinderella Wilbur Pinocchio Lady Josh Lyman Randall Flagg Wendy Darling Sis Joker Nutsy Drizella Tremaine Mr. Smee Scuttle Seiji Iwaki Maleficent Monstro Takeshi Nakazato Ariel Edgar Balthazar Takumi Fujiwara Bridget Jones Alan-a-Dale Anita Radcliffe Death Clarice Starling Aurora Thumper Étienne Lantier Skippy Rincewind Diddy Kong Captain Hook Kullervo Jack Crawford Two-Face Timothy Q. Mouse Captain Falcon Maggie Simpson Carrie Bradshaw Eleanor Bartlet C. J. Cregg Pelasgus Milady de Winter Patrick Bateman Tramp Shingo Shōji Largo Winch Kaa Bianca Vampirella Jake June Wheeler Trusty Planchet Yock Snow White Lori Grimes Gavroche Captain Phoebus Ijon Tichy Renesmee Cullen White Witch Grampa Simpson Kate Harper Faline George Darling Thompson Mrs. Judson Kenji Thomas O'Malley Matt Santos Flounder Mousqueton Bazin Baloo Taran Deborah Fiderer Robert Malone Sexton Mouse Merlin Stromboli Tyrion Lannister Bernard Mr. Snoops Acoetes Natsuki Mogi Bonacieux Maid Marian Prince John Sita Herbert Einstein Itsuki Takeuchi Régis Renaud Max Fidget Gilgamesh Bunta Fujiwara Madame Medusa Ryōsuke Takahashi Horatius Cocles Rocky the Flying Squirrel Aino Toby Will Bailey Marie Dr. David Q. Dawson Lisa Simpson Hen Wen Berlioz Tintin Brynhildr Miraz Susannah Dean Geppetto Penny D'Artagnan Little John Grimsby Sister Gudule Duchess Josiah Bartlet Clopin Trouillefou Professor Ratigan Barbarella Imhotep Abbey Bartlet Arn Magnusson Andrea Wyatt Basil Mandy Hampton Dominic Toretto Samurai Goroh Till Eulenspiegel The Great Tyrant Amy Gardner Eddie Dean Creeper Keisuke Takahashi Sir Hiss Adamastor Crocodile Friar Tuck Antoine Doinel Jean-Marie-François Morhange Delores Landingham Tinker Bell Michonne Lord de Winter Eragon Percival McLeach Granny Weatherwax Anastasia Tremaine Jiminy Cricket Mowgli Lampwick Arnold Vinick Claude Frollo Hiram Flaversham Cruella de Vil Taras Bulba Toulouse Kyōichi Sudō André de Saint-Avit Valentina Rosselli Dumbo Chrysoprase Kenta Nakamura Fflewddur Fflam King Stefan Chef Louis Aramis Bambi John Darling Alice Trigger Lady Kluck Pongo Constance Bonacieux Jehan Frollo Fairy Godmother Gurgi Nick Knatterton Kinsey Millhone Otto executioner of Lille Julia Prince Eric Tiger Lily King Triton D'Artagnan's father Robin Hood Sam Seaborn Gargamel Orville Mother Rabbit Yūichi Tachibana Proto Man Fumihiro Donna Moss Dallben Frankenstein's monster Shere Khan John Francis Winter Jaime Lannister John Hoynes Prince Phillip Fleur-de-Lys Flower Edward Cullen Sebastian Roger Radcliffe Lady Tremaine Joey Lucas Eilonwy Roland Deschain Bob Russell Pierre Gringoire Bandersnatch Corto Maltese Toby Ziegler Fagin Bagheera Comte de Rochefort Marvin Bella Swan Arthur Olivia Flaversham Zoey Bartlet Ketty Joukahainen Sheriff of Nottingham Väinämöinen Ursula Tagalong Charlie Young Michael Darling Homer Simpson Esméralda Darth Maul Leo McGarry Queen Mousetoria The Prince Mary Darling Honest John Jake Chambers Brian O'Conner
278
action count
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type application
action count
action filter_multi_types
action find_reverse
entity Merlin
relation characters
type literary work
type application
[[{'concept': 'literary work'}, {'concept': 'application'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?v ) WHERE { { ?z property:characters ?b . ?b rdf:type ontology:fictional_character . ?z rdf:type ontology:literary_work } UNION { ?b rdf:type ontology:fictional_character . ?z rdf:type ontology:application . ?z property:characters ?b } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?f ) WHERE { ?y property:characters resource:Merlin . { { ?y rdf:type ontology:literary_work } UNION { ?y rdf:type ontology:application } } } } . FILTER ( ?v = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q252044 Q128285
P144
Q15850590
USER
How many theatrical genres are adapted from Queen Grimhilde or Norse mythology ?
(c(Q15850590),P144,Q252044) (c(Q15850590),P144,Q128285)
action count
action union
action filter_type
action find_reverse
entity Q252044
relation P144
type Q15850590
action filter_type
action find_reverse
entity Q128285
relation P144
type Q15850590
[{'concept': 'Q15850590'}, 'P144', 'Q252044'] [{'concept': 'Q15850590'}, 'P144', 'Q128285']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:P144 resource:Q128285 . ?u rdf:type ontology:Q15850590 } UNION { ?u property:P144 resource:Q252044 . ?u rdf:type ontology:Q15850590 } }
Queen Grimhilde Norse mythology
action count
action union
action filter_type
action find_reverse
entity Queen Grimhilde
relation based on
type theatrical genre
action filter_type
action find_reverse
entity Norse mythology
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Queen Grimhilde'] [{'concept': 'theatrical genre'}, 'based on', 'Norse mythology']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:based_on resource:Norse_mythology . ?u rdf:type ontology:theatrical_genre } UNION { ?u property:based_on resource:Queen_Grimhilde . ?u rdf:type ontology:theatrical_genre } }
[]
theatrical genre
SYSTEM
4
Q272029 Q324319 Q333146 Q327717
(c(Q15850590),P144,Q252044) (c(Q15850590),P144,Q128285)
action count
action union
action filter_type
action find_reverse
entity Q252044
relation P144
type Q15850590
action filter_type
action find_reverse
entity Q128285
relation P144
type Q15850590
[ANSWER]
[{'concept': 'Q15850590'}, 'P144', 'Q252044'] [{'concept': 'Q15850590'}, 'P144', 'Q128285']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:P144 resource:Q128285 . ?u rdf:type ontology:Q15850590 } UNION { ?u property:P144 resource:Q252044 . ?u rdf:type ontology:Q15850590 } }
Götterdämmerung Die Walküre Siegfried Das Rheingold
4
action count
action union
action filter_type
action find_reverse
entity Queen Grimhilde
relation based on
type theatrical genre
action filter_type
action find_reverse
entity Norse mythology
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Queen Grimhilde'] [{'concept': 'theatrical genre'}, 'based on', 'Norse mythology']
SELECT DISTINCT ( COUNT ( ?u ) AS ?j ) WHERE { { ?u property:based_on resource:Norse_mythology . ?u rdf:type ontology:theatrical_genre } UNION { ?u property:based_on resource:Queen_Grimhilde . ?u rdf:type ontology:theatrical_genre } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q281110
P86
Q502895
USER
Who was Kingdom Hearts Birth by Sleep composed by ?
(Q281110,P86,c(Q502895))
action filter_type
action find
entity Q281110
relation P86
type Q502895
['Q281110', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q281110 property:P86 ?r . ?r rdf:type ontology:Q502895 }
Kingdom Hearts Birth by Sleep
action filter_type
action find
entity Kingdom Hearts Birth by Sleep
relation composer
type common name
['Kingdom Hearts Birth by Sleep', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kingdom_Hearts_Birth_by_Sleep property:composer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q1073854
SYSTEM
Yoko Shimomura
Q1073854
(Q281110,P86,c(Q502895))
action filter_type
action find
entity Q281110
relation P86
type Q502895
Kingdom Hearts Birth by Sleep was composed by [ANSWER] by
['Q281110', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q281110 property:P86 ?r . ?r rdf:type ontology:Q502895 }
Yoko Shimomura
Kingdom Hearts Birth by Sleep was composed by Yoko Shimomura by
Yoko Shimomura
action filter_type
action find
entity Kingdom Hearts Birth by Sleep
relation composer
type common name
['Kingdom Hearts Birth by Sleep', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Kingdom_Hearts_Birth_by_Sleep property:composer ?r . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the countries of citizenship of that person ?
(Q1073854,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1073854
relation P27
type Q15617994
['Q1073854', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q1073854 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Yoko Shimomura
relation country of citizenship
type designation for an administrative territorial entity
['Yoko Shimomura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Yoko_Shimomura property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q17
(Q1073854,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1073854
relation P27
type Q15617994
[ANSWER]
['Q1073854', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q1073854 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Japan
1
action count
action filter_type
action find
entity Yoko Shimomura
relation country of citizenship
type designation for an administrative territorial entity
['Yoko Shimomura', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Yoko_Shimomura property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]