Simple Question (Direct)
Simple Question
Q68237
P166
Q618779
USER
What was awarded to Georg C. F. Greve ?
(Q68237,P166,c(Q618779))
action filter_type
action find
entity Q68237
relation P166
type Q618779
['Q68237', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q68237 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Georg C. F. Greve
action filter_type
action find
entity Georg C. F. Greve
relation award received
type award
['Georg C. F. Greve', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Georg_C._F._Greve property:award_received ?d . ?d rdf:type ontology:award }
[]
award
Q10905380
SYSTEM
Cross of the Order of Merit of the Federal Republic of Germany
Q10905380
(Q68237,P166,c(Q618779))
action filter_type
action find
entity Q68237
relation P166
type Q618779
Germany [ANSWER] was awarded to Georg C. F. Greve
['Q68237', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?d WHERE { resource:Q68237 property:P166 ?d . ?d rdf:type ontology:Q618779 }
Cross of the Order of Merit of the Federal Republic of Germany
Germany Cross of the Order of Merit of the Federal Republic of Germany was awarded to Georg C. F. Greve
Cross of the Order of Merit of the Federal Republic of Germany
action filter_type
action find
entity Georg C. F. Greve
relation award received
type award
['Georg C. F. Greve', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?d WHERE { resource:Georg_C._F._Greve property:award_received ?d . ?d rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q68237
P106
Q12737077
USER
What do Georg C. F. Greve do for a living ?
(Q68237,P106,c(Q12737077))
action filter_type
action find
entity Q68237
relation P106
type Q12737077
['Q68237', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q68237 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Georg C. F. Greve
action filter_type
action find
entity Georg C. F. Greve
relation occupation
type occupation
['Georg C. F. Greve', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Georg_C._F._Greve property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q81096 Q82594 Q5482740
SYSTEM
engineer, computer scientist, programmer
Q81096 Q82594 Q5482740
(Q68237,P106,c(Q12737077))
action filter_type
action find
entity Q68237
relation P106
type Q12737077
Georg C. F. Greve do for a living as [ANSWERS]
['Q68237', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q68237 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
engineer computer scientist programmer
Georg C. F. Greve do for a living as engineer, computer scientist and programmer
engineer computer scientist programmer
action filter_type
action find
entity Georg C. F. Greve
relation occupation
type occupation
['Georg C. F. Greve', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Georg_C._F._Greve property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5081660
Q12737077
USER
And how about Charles Pierrepont, 4th Earl Manvers?
(Q5081660,P106,c(Q12737077))
action filter_type
action find
entity Q5081660
relation P106
type Q12737077
['Q5081660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5081660 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Charles Pierrepont, 4th Earl Manvers
action filter_type
action find
entity Charles Pierrepont, 4th Earl Manvers
relation occupation
type occupation
['Charles Pierrepont, 4th Earl Manvers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Pierrepont,_4th_Earl_Manvers property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5081660,P106,c(Q12737077))
action filter_type
action find
entity Q5081660
relation P106
type Q12737077
[ANSWER]
['Q5081660', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q5081660 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
politician
politician
action filter_type
action find
entity Charles Pierrepont, 4th Earl Manvers
relation occupation
type occupation
['Charles Pierrepont, 4th Earl Manvers', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Charles_Pierrepont,_4th_Earl_Manvers property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q82955 Q3702374
P106
Q502895
USER
Does Bronwyn Oliver have a job as that occupation ?
(Q3702374,P106,Q82955)
action is_in
entity Q3702374
action find
entity Q82955
relation P106
['Q3702374', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q3702374 }
politician Bronwyn Oliver
action is_in
entity Bronwyn Oliver
action find
entity politician
relation occupation
['Bronwyn Oliver', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Bronwyn_Oliver }
[]
common name
SYSTEM
NO
(Q3702374,P106,Q82955)
action is_in
entity Q3702374
action find
entity Q82955
relation P106
[ANSWER]
['Q3702374', 'P106', 'Q82955']
ASK WHERE { resource:Q82955 property:P106 resource:Q3702374 }
No
action is_in
entity Bronwyn Oliver
action find
entity politician
relation occupation
['Bronwyn Oliver', 'occupation', 'politician']
ASK WHERE { resource:politician property:occupation resource:Bronwyn_Oliver }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q68237 Q1637447 Q183
P27
Q1048835
USER
Is Georg C. F. Greve a native of Rionansa and Germany ?
(Q68237,P27,Q1637447) (Q68237,P27,Q183)
action is_in
entity Q68237
action intersection
action find_reverse
entity Q1637447
relation P27
action find_reverse
entity Q183
relation P27
['Q68237', 'P27', 'Q1637447'] ['Q68237', 'P27', 'Q183']
ASK WHERE { resource:Q68237 property:P27 resource:Q1637447 . resource:Q68237 property:P27 resource:Q183 }
Georg C. F. Greve Rionansa Germany
action is_in
entity Georg C. F. Greve
action intersection
action find_reverse
entity Rionansa
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Georg C. F. Greve', 'country of citizenship', 'Rionansa'] ['Georg C. F. Greve', 'country of citizenship', 'Germany']
ASK WHERE { resource:Georg_C._F._Greve property:country_of_citizenship resource:Rionansa . resource:Georg_C._F._Greve property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q68237,P27,Q1637447) (Q68237,P27,Q183)
action is_in
entity Q68237
action intersection
action find_reverse
entity Q1637447
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q68237', 'P27', 'Q1637447'] ['Q68237', 'P27', 'Q183']
ASK WHERE { resource:Q68237 property:P27 resource:Q1637447 . resource:Q68237 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Georg C. F. Greve
action intersection
action find_reverse
entity Rionansa
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Georg C. F. Greve', 'country of citizenship', 'Rionansa'] ['Georg C. F. Greve', 'country of citizenship', 'Germany']
ASK WHERE { resource:Georg_C._F._Greve property:country_of_citizenship resource:Rionansa . resource:Georg_C._F._Greve property:country_of_citizenship resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q2342494 Q386724
USER
Which occupations were discussed in exactly 1 collectables and works ?
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q386724 . ?z property:P921 ?n } } GROUP BY ?n } }
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:main_subject ?n . ?n rdf:type ontology:occupation . ?z rdf:type ontology:collectable } UNION { ?n rdf:type ontology:occupation . ?z rdf:type ontology:work . ?z property:main_subject ?n } } GROUP BY ?n } }
[]
occupation collectable work
Q42973 Q18145518 Q18220900
SYSTEM
architect, Member of the New Zealand House of Representatives, Member of the South Australian House of Assembly
Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q43845 Q29182 Q131524 Q14373094 Q18220900 Q16003605 Q49757 Q1238570 Q2259532 Q16003532
(c(Q2342494)|c(Q386724),P921,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q386724
value 1
[ANSWERS] were discussed in exactly 1 collectables and works
[[{'concept': 'Q2342494'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:P921 ?n . ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q2342494 } UNION { ?n rdf:type ontology:Q12737077 . ?z rdf:type ontology:Q386724 . ?z property:P921 ?n } } GROUP BY ?n } }
surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect businessperson bishop entrepreneur rugby league player Member of the South Australian House of Assembly elementary school student poet political scientist cleric middle school student
Architect, Member of the New Zealand House of Representatives and Member of the South Australian House of Assembly were discussed in exactly 1 collectables and works
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action equal
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work
value 1
[[{'concept': 'collectable'}, {'concept': 'work'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?c = 1 ) . { SELECT DISTINCT ?n ( COUNT ( ?z ) AS ?c ) WHERE { { ?z property:main_subject ?n . ?n rdf:type ontology:occupation . ?z rdf:type ontology:collectable } UNION { ?n rdf:type ontology:occupation . ?z rdf:type ontology:work . ?z property:main_subject ?n } } GROUP BY ?n } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q42973 Q18145518 Q18220900
P921
Q2342494
USER
Which collectables have those occupations as their principal topic ?
(c(Q2342494),P921,Q42973) (c(Q2342494),P921,Q18145518) (c(Q2342494),P921,Q18220900)
action filter_type
action find_reverse
entity prev_answer
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q42973'] [{'concept': 'Q2342494'}, 'P921', 'Q18145518'] [{'concept': 'Q2342494'}, 'P921', 'Q18220900']
SELECT DISTINCT ?p WHERE { ?p property:P921 ?l . VALUES ( ?l ) { ( resource:Q774306 ) ( resource:Q83307 ) ( resource:Q4610556 ) } . ?p rdf:type ontology:Q2342494 }
architect Member of the New Zealand House of Representatives Member of the South Australian House of Assembly
action filter_type
action find_reverse
entity prev_answer
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'architect'] [{'concept': 'collectable'}, 'main subject', 'Member of the New Zealand House of Representatives'] [{'concept': 'collectable'}, 'main subject', 'Member of the South Australian House of Assembly']
SELECT DISTINCT ?p WHERE { ?p property:main_subject ?l . VALUES ( ?l ) { ( resource:surgeon ) ( resource:minister ) ( resource:model ) } . ?p rdf:type ontology:collectable }
[]
collectable
Q23595644 Q22154126 Q25301492
SYSTEM
Episodes in the Gothic revival : six church architects, Ministers and members in the New Zealand Parliament, Biographical register of the South Australian Parliament, 1857-1957
Q23595644 Q22154126 Q25301492
(c(Q2342494),P921,Q42973) (c(Q2342494),P921,Q18145518) (c(Q2342494),P921,Q18220900)
action filter_type
action find_reverse
entity prev_answer
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q42973'] [{'concept': 'Q2342494'}, 'P921', 'Q18145518'] [{'concept': 'Q2342494'}, 'P921', 'Q18220900']
SELECT DISTINCT ?p WHERE { ?p property:P921 ?l . VALUES ( ?l ) { ( resource:Q774306 ) ( resource:Q83307 ) ( resource:Q4610556 ) } . ?p rdf:type ontology:Q2342494 }
Episodes in the Gothic revival : six church architects Ministers and members in the New Zealand Parliament Biographical register of the South Australian Parliament, 1857-1957
Episodes in the Gothic revival : six church architects, Ministers and members in the New Zealand Parliament and Biographical register of the South Australian Parliament, 1857-1957 have those occupations as their principal topic
Episodes in the Gothic revival : six church architects Ministers and members in the New Zealand Parliament Biographical register of the South Australian Parliament, 1857-1957
action filter_type
action find_reverse
entity prev_answer
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'architect'] [{'concept': 'collectable'}, 'main subject', 'Member of the New Zealand House of Representatives'] [{'concept': 'collectable'}, 'main subject', 'Member of the South Australian House of Assembly']
SELECT DISTINCT ?p WHERE { ?p property:main_subject ?l . VALUES ( ?l ) { ( resource:surgeon ) ( resource:minister ) ( resource:model ) } . ?p rdf:type ontology:collectable }
[]
Clarification
Simple Question|Single Entity|Indirect
Q22154126
P136
Q2342494
USER
Which collectable is the genre for that one ?
(Q22154126,P136,c(Q2342494))
action filter_type
action find
entity Q22154126
relation P136
type Q2342494
['Q22154126', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q22154126 property:P136 ?w . ?w rdf:type ontology:Q2342494 }
Ministers and members in the New Zealand Parliament
action filter_type
action find
entity Ministers and members in the New Zealand Parliament
relation genre
type collectable
['Ministers and members in the New Zealand Parliament', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:Ministers_and_members_in_the_New_Zealand_Parliament property:genre ?w . ?w rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q25301492
SYSTEM
Did you mean Biographical register of the South Australian Parliament, 1857-1957 ?
Q23595644 Q22154126 Q25301492
(Q23595644,P136,c(Q2342494)) (Q22154126,P136,c(Q2342494)) (Q25301492,P136,c(Q2342494))
[ANSWER]
['Q23595644', 'P136', {'concept': 'Q2342494'}] ['Q22154126', 'P136', {'concept': 'Q2342494'}] ['Q25301492', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q22154126 property:P136 ?w . ?w rdf:type ontology:Q2342494 }
Episodes in the Gothic revival : six church architects Ministers and members in the New Zealand Parliament Biographical register of the South Australian Parliament, 1857-1957
Did you mean Biographical register of the South Australian Parliament, 1857-1957 ?
Biographical register of the South Australian Parliament, 1857-1957
['Episodes in the Gothic revival : six church architects', 'genre', {'concept': 'collectable'}] ['Ministers and members in the New Zealand Parliament', 'genre', {'concept': 'collectable'}] ['Biographical register of the South Australian Parliament, 1857-1957', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:Ministers_and_members_in_the_New_Zealand_Parliament property:genre ?w . ?w rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Ministers and members in the New Zealand Parliament. Could you tell me the answer for that?
(Q22154126,P136,c(Q2342494))
Q22154126
['Q22154126', 'P136', {'concept': 'Q2342494'}]
['Ministers and members in the New Zealand Parliament', 'genre', {'concept': 'collectable'}]
[]
Q20540385
SYSTEM
non-fiction book
Q20540385
(Q22154126,P136,c(Q2342494))
action filter_type
action find
entity Q22154126
relation P136
type Q2342494
The [ANSWER] is the genre for that one
['Q22154126', 'P136', {'concept': 'Q2342494'}]
SELECT DISTINCT ?w WHERE { resource:Q22154126 property:P136 ?w . ?w rdf:type ontology:Q2342494 }
non-fiction book
The non-fiction book is the genre for that one
non-fiction book
action filter_type
action find
entity Ministers and members in the New Zealand Parliament
relation genre
type collectable
['Ministers and members in the New Zealand Parliament', 'genre', {'concept': 'collectable'}]
SELECT DISTINCT ?w WHERE { resource:Ministers_and_members_in_the_New_Zealand_Parliament property:genre ?w . ?w rdf:type ontology:collectable }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1441
Q2342494 Q15707583
USER
Which fictional taxons are present in approximately 3 collectables ?
(c(Q15707583),P1441,c(Q2342494))
action approx
action find_tuple_counts
relation P1441
type Q15707583
type Q2342494
value 3
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?w ) WHERE { ?c rdf:type ontology:Q15707583 . ?n rdf:type ontology:Q2342494 . ?c property:P1441 ?n } GROUP BY ?c } }
action approx
action find_tuple_counts
relation present in work
type fictional taxon
type collectable
value 3
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?w ) WHERE { ?c rdf:type ontology:fictional_taxon . ?n rdf:type ontology:collectable . ?c property:present_in_work ?n } GROUP BY ?c } }
[]
collectable fictional taxon
Q2292021
SYSTEM
Eagle
Q2292021
(c(Q15707583),P1441,c(Q2342494))
action approx
action find_tuple_counts
relation P1441
type Q15707583
type Q2342494
value 3
[ANSWER] is present in approximately 3 collectables
[{'concept': 'Q15707583'}, 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?w ) WHERE { ?c rdf:type ontology:Q15707583 . ?n rdf:type ontology:Q2342494 . ?c property:P1441 ?n } GROUP BY ?c } }
Eagle
Eagle is present in approximately 3 collectables
Eagle
action approx
action find_tuple_counts
relation present in work
type fictional taxon
type collectable
value 3
[{'concept': 'fictional taxon'}, 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?w = 3 ) . { SELECT DISTINCT ?c ( COUNT ( ?n ) AS ?w ) WHERE { ?c rdf:type ontology:fictional_taxon . ?n rdf:type ontology:collectable . ?c property:present_in_work ?n } GROUP BY ?c } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1195639
P1441
Q2342494 Q502895 Q6619679
USER
How many collectables contain greater number of people and fictional humanoids than The Man with the Golden Gun ?
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q1195639
relation P1441
type Q502895
type Q6619679
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1441 resource:Q1195639 . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q6619679 . ?o property:P1441 ?n } UNION { ?o rdf:type ontology:Q502895 . ?n rdf:type ontology:Q2342494 . ?o property:P1441 ?n } } GROUP BY ?n } }
The Man with the Golden Gun
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity The Man with the Golden Gun
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:present_in_work resource:The_Man_with_the_Golden_Gun . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n rdf:type ontology:collectable . ?o rdf:type ontology:fictional_humanoid . ?o property:present_in_work ?n } UNION { ?o rdf:type ontology:common_name . ?n rdf:type ontology:collectable . ?o property:present_in_work ?n } } GROUP BY ?n } }
[]
collectable common name fictional humanoid
SYSTEM
77
Q1788243 Q220331 Q70806 Q289130 Q45192 Q191838 Q183565 Q189811 Q459842 Q218950 Q19872993 Q477831 Q1952957 Q150827 Q1187628 Q769001 Q92640 Q331669 Q278208 Q582811 Q157360 Q143707 Q6511 Q3107329 Q2616869 Q161531 Q1262456 Q331656 Q62879 Q5605505 Q3222334 Q164974 Q468071 Q11894198 Q3549724 Q185118 Q1345004 Q2293012 Q1219561 Q223131 Q652350 Q485093 Q1231505 Q70827 Q243556 Q8279 Q219552 Q659731 Q202975 Q785255 Q210784 Q1165753 Q3212124 Q183157 Q1239133 Q174596 Q219457 Q214371 Q917055 Q374098 Q1336310 Q2380686 Q268112 Q1396889 Q180736 Q2915291 Q1047711 Q2136755 Q8265 Q16438 Q274744 Q1197817 Q603310 Q41542 Q2660166 Q1777426 Q2746500
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q1195639
relation P1441
type Q502895
type Q6619679
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:P1441 resource:Q1195639 . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:Q502895 ) ( ontology:Q6619679 ) } } } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q6619679 . ?o property:P1441 ?n } UNION { ?o rdf:type ontology:Q502895 . ?n rdf:type ontology:Q2342494 . ?o property:P1441 ?n } } GROUP BY ?n } }
The Unknown Soldier Through the Looking-Glass Romance of the Three Kingdoms The Last Battle The Hound of the Baskervilles The Count of Monte Cristo Twenty Thousand Leagues Under the Sea David Copperfield Book of Mormon Prince Caspian Baldur's Gate II: Shadows of Amn The Magician's Nephew Thunderball Frankenstein The Return of the Condor Heroes The Vicomte of Bragelonne: Ten Years Later Alice's Adventures in Wonderland The Silver Chair Catch-22 Tinker, Tailor, Soldier, Spy The Horse and His Boy The Child of the Cavern Ulysses The Hitchhiker's Guide to the Galaxy The Land of Mist War and Peace You Only Live Twice The Voyage of the Dawn Treader A Christmas Carol The Russia House The Night Manager Oliver Twist The Spy Who Came in from the Cold Sotaromaani Wilful Behaviour Treasure Island Heart of a Dog Paul et Virginie Around the World in Eighty Days A Study in Scarlet Call for the Dead The Lion, the Witch, and the Wardrobe Smiley's People Water Margin The Godfather Shahnameh Great Expectations Diamonds Are Forever Wuthering Heights The Lost World The Idiot From Russia, with Love La Rabouilleuse The Brothers Karamazov The Honourable Schoolboy Moby-Dick A Journey to the Center of the Earth The Great Gatsby The Unbearable Lightness of Being Atlas Shrugged Fengshen Yanyi The Girl of His Dreams The Looking Glass War Animal Farm Les Misérables Shadow of the Giant Casino Royale On Her Majesty's Secret Service Dream of the Red Chamber The Decameron Sense and Sensibility The Legend of the Condor Heroes Moonraker Dracula The Poison Belt Goldfinger Ender's Shadow
77
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity The Man with the Golden Gun
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p property:present_in_work resource:The_Man_with_the_Golden_Gun . { ?p rdf:type ?z . VALUES ( ?z ) { ( ontology:common_name ) ( ontology:fictional_humanoid ) } } } } . FILTER ( ?b > ?v ) . { SELECT DISTINCT ?n ( COUNT ( ?o ) AS ?b ) WHERE { { ?n rdf:type ontology:collectable . ?o rdf:type ontology:fictional_humanoid . ?o property:present_in_work ?n } UNION { ?o rdf:type ontology:common_name . ?n rdf:type ontology:collectable . ?o property:present_in_work ?n } } GROUP BY ?n } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q309019
P1441
Q2342494 Q502895 Q6619679
USER
And also tell me about Unfinished Tales?
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q309019
relation P1441
type Q502895
type Q6619679
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?g property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q502895 } UNION { ?g property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q6619679 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q6619679 } } . ?b property:P1441 resource:Q309019 } } . FILTER ( ?j > ?c ) }
Unfinished Tales
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Unfinished Tales
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?g property:present_in_work ?w . ?w rdf:type ontology:collectable . ?g rdf:type ontology:common_name } UNION { ?g property:present_in_work ?w . ?w rdf:type ontology:collectable . ?g rdf:type ontology:fictional_humanoid } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:fictional_humanoid } } . ?b property:present_in_work resource:Unfinished_Tales } } . FILTER ( ?j > ?c ) }
[]
collectable common name fictional humanoid
SYSTEM
269
Q788777 Q1788243 Q220331 Q70806 Q17066134 Q4742226 Q2870 Q1336124 Q289130 Q1418731 Q2892898 Q1195639 Q734675 Q18516245 Q45192 Q472228 Q191838 Q1130299 Q208556 Q8258 Q692557 Q542293 Q655296 Q183565 Q384635 Q189811 Q3225953 Q746253 Q7769623 Q7759097 Q304493 Q2564464 Q215983 Q308918 Q53592 Q174654 Q7991093 Q914197 Q1932742 Q459842 Q218950 Q2917980 Q1349759 Q3024051 Q674832 Q1305005 Q245194 Q15228 Q863438 Q19872993 Q1188815 Q1532676 Q477831 Q261281 Q3776389 Q636815 Q255423 Q629438 Q1952957 Q7249957 Q377710 Q150827 Q217352 Q457252 Q7759963 Q500688 Q15032745 Q1187628 Q957248 Q731626 Q20058700 Q1321432 Q326914 Q727861 Q769001 Q18084 Q4801009 Q92640 Q3210024 Q1340493 Q3201517 Q4887188 Q331669 Q278208 Q1529231 Q247364 Q582811 Q157360 Q3342544 Q18516256 Q2268391 Q2608698 Q770474 Q143707 Q1165495 Q6511 Q3107329 Q2295976 Q29424 Q2616869 Q426600 Q3411636 Q161531 Q1262456 Q331656 Q62879 Q465649 Q28491 Q5406934 Q117182 Q670552 Q2070380 Q459303 Q465360 Q5605505 Q329989 Q1980191 Q18949486 Q543790 Q970822 Q3222334 Q11125816 Q164974 Q3039168 Q337944 Q468071 Q11894198 Q63707 Q368432 Q466605 Q870551 Q3549724 Q741033 Q4348667 Q3030638 Q604922 Q3305214 Q11635893 Q185118 Q172850 Q1345004 Q2293012 Q1219561 Q223131 Q652350 Q471005 Q2563691 Q642911 Q184222 Q2819868 Q3818564 Q924455 Q772435 Q183883 Q485093 Q645024 Q189509 Q4500509 Q1939346 Q8086533 Q1231505 Q785972 Q654170 Q129929 Q472208 Q70827 Q2915600 Q774233 Q4584917 Q1539509 Q243556 Q8279 Q219552 Q3530935 Q849701 Q1935913 Q753290 Q3220799 Q1138330 Q5135450 Q659731 Q845889 Q169976 Q4727821 Q17027074 Q202975 Q726535 Q785255 Q733639 Q1044713 Q210784 Q19867004 Q1422318 Q1903609 Q1165753 Q7930820 Q3212124 Q183157 Q1239133 Q717326 Q2776744 Q2092894 Q845106 Q174596 Q833775 Q140527 Q2627355 Q219457 Q1171231 Q7940528 Q2263221 Q3735626 Q7940527 Q2261855 Q131068 Q2291295 Q265954 Q759467 Q16654394 Q214371 Q753535 Q917055 Q929184 Q752439 Q374098 Q752432 Q1218985 Q1336310 Q2380686 Q42040 Q268112 Q3208673 Q1396889 Q3324572 Q3427602 Q180736 Q552213 Q776551 Q3280221 Q2915291 Q927292 Q1047711 Q1637738 Q2136755 Q743180 Q1167555 Q2915294 Q224078 Q8265 Q1472204 Q605249 Q16438 Q381756 Q274744 Q1197817 Q1476462 Q444213 Q2446285 Q603310 Q1619595 Q187655 Q41542 Q2660166 Q3224473 Q251076 Q1777426 Q925538 Q221765 Q2746500
(c(Q502895)|c(Q6619679),P1441,c(Q2342494))
action count
action greater
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q6619679
action count
action filter_multi_types
action find_reverse
entity Q309019
relation P1441
type Q502895
type Q6619679
[ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q6619679'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?g property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q502895 } UNION { ?g property:P1441 ?w . ?w rdf:type ontology:Q2342494 . ?g rdf:type ontology:Q6619679 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:Q502895 } UNION { ?b rdf:type ontology:Q6619679 } } . ?b property:P1441 resource:Q309019 } } . FILTER ( ?j > ?c ) }
Breakfast of Champions The Unknown Soldier Through the Looking-Glass Romance of the Three Kingdoms Raylan Amelia Bedelia Gone with the Wind Shōgun The Last Battle Poirot Investigates Beastly Things The Man with the Golden Gun The Big Four The Golden Egg The Hound of the Baskervilles The Mysterious Affair at Styles The Count of Monte Cristo Dead Man's Folly Malleus Maleficarum One Thousand and One Nights A Clockwork Orange Murder on the links Tarzan of the Apes Twenty Thousand Leagues Under the Sea The Diary of a Chambermaid David Copperfield A Venetian Reckoning Meno The Torment of Others The Quiet Game Five Little Pigs Une fille d'Ève The Grapes of Wrath A Tale of Two Cities From the Earth to the Moon The Secret of Chimneys What Ever Happened to Baby Jane? Cat Among the Pigeons Colonel Chabert Book of Mormon Prince Caspian Midrash Rabba Death at La Fenice Friends in High Places Carmen A Murder of Quality The Twelve Chairs The Lord of the Rings The Valley of Fear Baldur's Gate II: Shadows of Amn The Smiling, Proud Wanderer Parker Pyne Investigates The Magician's Nephew Solaris An Béal Bocht The Mystery of the Blue Train Josephine Mutzenbacher Elephants Can Remember Thunderball Pronto Hercule Poirot's Christmas Frankenstein Strange Case of Dr Jekyll and Mr Hyde The Seven Dials Mystery The Red Wolf The Sign of the Four Tarzan Alive: A Definitive Biography of Lord Greystoke The Return of the Condor Heroes Peril at End House Curtain Trigger Mortis Tripitaka The Adventures of Tom Sawyer The A.B.C. Murders The Vicomte of Bragelonne: Ten Years Later Vita Nuova Artifact of Evil Alice's Adventures in Wonderland Forever Free Hard Times Fatal Remedies Beneath the Bleeding The Silver Chair Catch-22 Splendeurs et misères des courtisanes The Dark Tower V: Wolves of the Calla Tinker, Tailor, Soldier, Spy The Horse and His Boy A Noble Radiance By its Cover A Wrinkle in Time Children of the Mind Never Dream of Dying The Child of the Cavern Hickory Dickory Dock Ulysses The Hitchhiker's Guide to the Galaxy Pattern Recognition Fathers and Sons The Land of Mist After the Funeral The Death of Faith War and Peace You Only Live Twice The Voyage of the Dawn Treader A Christmas Carol One, Two, Buckle My Shoe The Betrothed The Forever War Salammbô The Dark Tower IV: Wizard and Glass The Tombs of Atuan Perfume A Portrait of the Artist as a Young Man The Russia House Demons Half-Life 2: Raising the Bar Go Set a Watchman Thrilling Cities Gump and Co. The Night Manager The Lincoln Lawyer Oliver Twist Drawing Conclusions Dumb Witness The Spy Who Came in from the Cold Sotaromaani How the Steel Was Tempered Live and Let Die Charlie and the Chocolate Factory The Maltese Falcon Wilful Behaviour Evil Under the Sun The Railway Series Doctored Evidence Death in the Clouds Melmoth réconcilié Akō Rōshi Treasure Island The Name of the Rose Heart of a Dog Paul et Virginie Around the World in Eighty Days A Study in Scarlet Call for the Dead The Mysterious Island The Mystery of the Yellow Room Murder in Mesopotamia The Metamorphosis A Question of Belief The Ring of Solomon Ursule Mirouët Fear and Loathing in Las Vegas The Catcher in the Rye The Lion, the Witch, and the Wardrobe Mathias Sandorf The Jungle Book My First Summer in the Sierra Mistress Branican The Ambushers Smiley's People The Forever War Third Girl The Amber Spyglass The Subtle Knife Water Margin Ender in Exile Journey to the End of the Night Mrs. Pepperpot The Invisible Man The Godfather Shahnameh Great Expectations Tom a Lincoln East of Eden The Princess Bride 'Salem's Lot Suffer the Little Children Sad Cypress Closing Time Diamonds Are Forever Murder on the Orient Express Northern Lights All-Consuming Fire Saga of Old City Wuthering Heights Three Act Tragedy The Lost World Cards on the Table Taken at the Flood The Idiot Baldur's Gate The Dark Tower: The Gunslinger Martin Chuzzlewit From Russia, with Love Villains' Lorebook La Rabouilleuse The Brothers Karamazov The Honourable Schoolboy The Other Wind De Witte Illusions perdues Mrs McGinty's Dead Moby-Dick The Hollow The Three Musketeers Timequake A Journey to the Center of the Earth The Little Golden Calf Volo's Guide to the Dalelands Mémoires d'Outre-Tombe Black Coffee Volo's Guide to Waterdeep Tehanu Book of Esther Speaker for the Dead Slaughterhouse-Five The Clocks Blast From the Past The Great Gatsby Jin Ping Mei The Unbearable Lightness of Being Hannibal Appointment with Death Atlas Shrugged Lord Edgware Dies The Last Days of Pompeii Fengshen Yanyi The Girl of His Dreams Revelation The Looking Glass War About Face Animal Farm A Sea of Troubles Through a Glass Darkly Les Misérables Forrest Gump Gobseck The Bomber Shadow of the Giant With Fire and Sword Casino Royale The Dark Tower VI: Song of Susannah On Her Majesty's Secret Service On the Road The Man in the Brown Suit Xenocide The Murder of Roger Ackroyd Dream of the Red Chamber The Dark Tower VII: The Dark Tower Do Androids Dream of Electric Sheep? The Decameron Death on the Nile Sense and Sensibility The Legend of the Condor Heroes The BFG The Secret Pilgrim Pippi Longstocking Moonraker Valley of the Dolls Mostly Harmless Dracula The Poison Belt Uniform Justice Hallowe'en Party Goldfinger Abbé Jules Facing the Flag Ender's Shadow
269
action count
action greater
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional humanoid
action count
action filter_multi_types
action find_reverse
entity Unfinished Tales
relation present in work
type common name
type fictional humanoid
[[{'concept': 'common name'}, {'concept': 'fictional humanoid'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) ?w WHERE { { ?g property:present_in_work ?w . ?w rdf:type ontology:collectable . ?g rdf:type ontology:common_name } UNION { ?g property:present_in_work ?w . ?w rdf:type ontology:collectable . ?g rdf:type ontology:fictional_humanoid } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { { { ?b rdf:type ontology:common_name } UNION { ?b rdf:type ontology:fictional_humanoid } } . ?b property:present_in_work resource:Unfinished_Tales } } . FILTER ( ?j > ?c ) }
[]