Simple Question (Direct)
Simple Question
Q15966027
P21
Q290
USER
Which sex does Engbert Bakker have ?
(Q15966027,P21,c(Q290))
action filter_type
action find
entity Q15966027
relation P21
type Q290
['Q15966027', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15966027 property:P21 ?j . ?j rdf:type ontology:Q290 }
Engbert Bakker
action filter_type
action find
entity Engbert Bakker
relation gender
type sex
['Engbert Bakker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Engbert_Bakker property:gender ?j . ?j rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15966027,P21,c(Q290))
action filter_type
action find
entity Q15966027
relation P21
type Q290
Engbert Bakker has 1 [ANSWER]
['Q15966027', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { resource:Q15966027 property:P21 ?j . ?j rdf:type ontology:Q290 }
male
Engbert Bakker has 1 male
male
action filter_type
action find
entity Engbert Bakker
relation gender
type sex
['Engbert Bakker', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { resource:Engbert_Bakker property:gender ?j . ?j rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15966027
P641
Q349
USER
Which sport did that person participate in ?
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q15966027
relation P641
type Q349
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q15966027 property:P641 ?u . ?u rdf:type ontology:Q349 }
Engbert Bakker
action filter_type
action find
entity Engbert Bakker
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Engbert_Bakker property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6581097,P641,c(Q349))
action filter_type
action find
entity Q15966027
relation P641
type Q349
That person participated in [ANSWER]
['Q6581097', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q15966027 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Engbert Bakker
relation sport
type sport
['male', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Engbert_Bakker property:sport ?u . ?u rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q48355 Q15966027
P641
Q349
USER
And also Igor Netto
AND((Q15966027,P641,c(Q349)), (Q48355,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q15966027
relation P641
action find
entity Q48355
relation P641
type Q349
{'AND': [['Q15966027', 'P641', {'concept': 'Q349'}], ['Q48355', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15966027 property:P641 ?n . resource:Q48355 property:P641 ?n . ?n rdf:type ontology:Q349 }
Igor Netto Engbert Bakker
action filter_type
action intersection
action find
entity Engbert Bakker
relation sport
action find
entity Igor Netto
relation sport
type sport
{'AND': [['Engbert Bakker', 'sport', {'concept': 'sport'}], ['Igor Netto', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:Engbert_Bakker property:sport ?n . resource:Igor_Netto property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q15966027,P641,c(Q349)), (Q48355,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q15966027
relation P641
action find
entity Q48355
relation P641
type Q349
[ANSWER]
{'AND': [['Q15966027', 'P641', {'concept': 'Q349'}], ['Q48355', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { resource:Q15966027 property:P641 ?n . resource:Q48355 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Engbert Bakker
relation sport
action find
entity Igor Netto
relation sport
type sport
{'AND': [['Engbert Bakker', 'sport', {'concept': 'sport'}], ['Igor Netto', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { resource:Engbert_Bakker property:sport ?n . resource:Igor_Netto property:sport ?n . ?n rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q206987
P1303
Q34379 Q502895
USER
Which musical instruments can less number of people perform with than vibraphone ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q206987
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P1303 resource:Q206987 . ?j rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } }
vibraphone
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity vibraphone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:instrument resource:vibraphone . ?j rdf:type ontology:common_name } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?d } }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q206987
relation P1303
type Q502895
[ANSWERS] can less number of people perform with than vibraphone
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:P1303 resource:Q206987 . ?j rdf:type ontology:Q502895 } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?d } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar drum Kayamb Paraguayan harp
Davul, Wurlitzer electric piano and Bendir can less number of people perform with than vibraphone
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity vibraphone
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { FILTER ( ?r < ?q ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { ?j property:instrument resource:vibraphone . ?j rdf:type ontology:common_name } } . { SELECT DISTINCT ?d ( COUNT ( ?s ) AS ?r ) WHERE { ?s property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q386724
USER
Which works depict approximately 2 musical instruments ?
(c(Q386724),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:P180 ?a . ?g rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?u = 2 ) }
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:depicts ?a . ?g rdf:type ontology:work . ?a rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?u = 2 ) }
[]
musical instrument work
Q2901063
SYSTEM
Borghese Vase
Q2901063
(c(Q386724),P180,c(Q34379))
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[ANSWER] depict approximately 2 musical instruments
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:P180 ?a . ?g rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 } GROUP BY ?g } . FILTER ( ?u = 2 ) }
Borghese Vase
Borghese Vase depict approximately 2 musical instruments
Borghese Vase
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?a ) AS ?u ) WHERE { ?g property:depicts ?a . ?g rdf:type ontology:work . ?a rdf:type ontology:musical_instrument } GROUP BY ?g } . FILTER ( ?u = 2 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P189
Q107425 Q486972 Q386724
USER
How many works were discovered at lesser number of landscapes or human settlements than that work ?
(c(Q386724),P189,c(Q107425)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P189
type Q386724
type Q107425
action find_tuple_counts
relation P189
type Q386724
type Q486972
action count
action filter_multi_types
action find
entity Q2901063
relation P189
type Q107425
type Q486972
[{'concept': 'Q386724'}, 'P189', [{'concept': 'Q107425'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q2901063 property:P189 ?y . { { ?y rdf:type ontology:Q107425 } UNION { ?y rdf:type ontology:Q486972 } } } } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?k WHERE { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:Q107425 ) ( ontology:Q486972 ) } } GROUP BY ?k } }
action count
action less
action union
action find_tuple_counts
relation location of discovery
type work
type landscape
action find_tuple_counts
relation location of discovery
type work
type human settlement
action count
action filter_multi_types
action find
entity Borghese Vase
relation location of discovery
type landscape
type human settlement
[{'concept': 'work'}, 'location of discovery', [{'concept': 'landscape'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Borghese_Vase property:location_of_discovery ?y . { { ?y rdf:type ontology:landscape } UNION { ?y rdf:type ontology:human_settlement } } } } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?k WHERE { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:landscape ) ( ontology:human_settlement ) } } GROUP BY ?k } }
[]
landscape human settlement work
SYSTEM
1
Q2901063
(c(Q386724),P189,c(Q107425)|c(Q486972))
action count
action less
action union
action find_tuple_counts
relation P189
type Q386724
type Q107425
action find_tuple_counts
relation P189
type Q386724
type Q486972
action count
action filter_multi_types
action find
entity Q2901063
relation P189
type Q107425
type Q486972
[ANSWER]
[{'concept': 'Q386724'}, 'P189', [{'concept': 'Q107425'}, {'concept': 'Q486972'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q2901063 property:P189 ?y . { { ?y rdf:type ontology:Q107425 } UNION { ?y rdf:type ontology:Q486972 } } } } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?k WHERE { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:Q107425 ) ( ontology:Q486972 ) } } GROUP BY ?k } }
Borghese Vase
1
action count
action less
action union
action find_tuple_counts
relation location of discovery
type work
type landscape
action find_tuple_counts
relation location of discovery
type work
type human settlement
action count
action filter_multi_types
action find
entity Borghese Vase
relation location of discovery
type landscape
type human settlement
[{'concept': 'work'}, 'location of discovery', [{'concept': 'landscape'}, {'concept': 'human settlement'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Borghese_Vase property:location_of_discovery ?y . { { ?y rdf:type ontology:landscape } UNION { ?y rdf:type ontology:human_settlement } } } } . FILTER ( ?b < ?v ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?b ) ?k WHERE { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:landscape ) ( ontology:human_settlement ) } } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q2342494 Q386724
USER
Which collectables sketch the fictional universe of min number of works ?
(c(Q386724),P1445,Q4372933)
action argmin
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
[{'concept': 'Q386724'}, 'P1445', 'Q4372933']
SELECT DISTINCT ?h WHERE { FILTER ( ?w = ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1445 ?h . ?h rdf:type ontology:Q2342494 . ?d rdf:type ontology:Q386724 } GROUP BY ?h } . { SELECT DISTINCT ( MIN ( ?z ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?z ) WHERE { ?t rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 . ?f property:P1445 ?t } GROUP BY ?t } } }
action argmin
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
[{'concept': 'work'}, 'fictional universe described in', 'Escape Attempt']
SELECT DISTINCT ?h WHERE { FILTER ( ?w = ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:fictional_universe_described_in ?h . ?h rdf:type ontology:collectable . ?d rdf:type ontology:work } GROUP BY ?h } . { SELECT DISTINCT ( MIN ( ?z ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?z ) WHERE { ?t rdf:type ontology:collectable . ?f rdf:type ontology:work . ?f property:fictional_universe_described_in ?t } GROUP BY ?t } } }
[]
collectable work
Q43361 Q15228 Q47209
SYSTEM
Harry Potter and the Philosopher's Stone, The Lord of the Rings, Harry Potter and the Chamber of Secrets
Q74362 Q5307431 Q4154349 Q503921 Q2464217 Q580361 Q503793 Q5306736 Q4501246 Q302832 Q1990751 Q194424 Q7738458 Q47598 Q17001721 Q16466017 Q5306775 Q4024239 Q18062234 Q47209 Q503974 Q7601035 Q79762 Q503325 Q331804 Q151337 Q1505793 Q330826 Q331651 Q340401 Q330898 Q261728 Q2452138 Q503476 Q8031874 Q192258 Q7741197 Q17746256 Q8030203 Q17746254 Q17746255 Q3224307 Q332388 Q756866 Q80817 Q340607 Q3507541 Q302026 Q502724 Q1250366 Q17989172 Q46887 Q16466026 Q23014819 Q74287 Q309019 Q8027613 Q332581 Q6083546 Q13403351 Q502579 Q339923 Q684818 Q8032576 Q15228 Q17059929 Q181488 Q3212482 Q16995885 Q492207 Q43361 Q2627716 Q46758 Q16953491 Q502633 Q18003141 Q502032 Q46751 Q467139 Q165068 Q4372933
(c(Q386724),P1445,Q4372933)
action argmin
action find_reverse_tuple_counts
relation P1445
type Q2342494
type Q386724
[ANSWERS] sketch the fictional universe of min number of works
[{'concept': 'Q386724'}, 'P1445', 'Q4372933']
SELECT DISTINCT ?h WHERE { FILTER ( ?w = ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:P1445 ?h . ?h rdf:type ontology:Q2342494 . ?d rdf:type ontology:Q386724 } GROUP BY ?h } . { SELECT DISTINCT ( MIN ( ?z ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?z ) WHERE { ?t rdf:type ontology:Q2342494 . ?f rdf:type ontology:Q386724 . ?f property:P1445 ?t } GROUP BY ?t } } }
Excession Drift Far Rainbow The War of the Jewels Elantris The Lost World Morgoth's Ring Dreams of Empire Dragon Keeper Resident Evil: Caliban Cove Resident Evil: City of the Dead Fantastic Beasts and Where to Find Them The Guide to the Territories of Halla Harry Potter and the Prisoner of Azkaban Ancillary Justice Serenity Dreamstone Moon Resident Evil: Zero Hour In the Shadow of the Invisible King Harry Potter and the Chamber of Secrets The Peoples of Middle-earth Star Trek The Silmarillion The War of the Ring The Adventures of Tom Bombadil The State of the Art Ringworld Ainulindalë The Children of Húrin The Book of Lost Tales Valaquenta Consider Phlebas Resident Evil: Underworld Sauron Defeated Wonderland Quidditch Through the Ages The Hydrogen Sonata Book Three of the Travelers Wolfsbane Book One of the Travelers Book Two of the Travelers The Courtship of Princess Leia The Two Towers Jurassic Park Harry Potter and the Order of the Phoenix The Lays of Beleriand Noon: 22nd Century Surface Detail The Treason of Isengard The Emerald City of Oz Ancillary Sword Harry Potter and the Half-Blood Prince My Own Kind of Freedom Wakfu The Hobbit Unfinished Tales Wishing Well The Return of the King Island of Death Warbreaker The Lost Road and Other Writings Use of Weapons Matter Wooden Heart The Lord of the Rings The Binding Stone Gulliver's Travels The Road to Dune Lando Calrissian and the Starcave of ThonBoka Starship Troopers Harry Potter and the Philosopher's Stone Darth Maul: Shadow Hunter Harry Potter and the Deathly Hallows The 34th Rule The Return of the Shadow Ancillary Mercy The Shaping of Middle-earth Harry Potter and the Goblet of Fire The Player of Games The Tales of Beedle the Bard Escape Attempt
Harry Potter and the Philosopher's Stone, The Lord of the Rings and Harry Potter and the Chamber of Secrets sketch the fictional universe of min number of works
Harry Potter and the Philosopher's Stone The Lord of the Rings Harry Potter and the Chamber of Secrets
action argmin
action find_reverse_tuple_counts
relation fictional universe described in
type collectable
type work
[{'concept': 'work'}, 'fictional universe described in', 'Escape Attempt']
SELECT DISTINCT ?h WHERE { FILTER ( ?w = ?m ) . { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?w ) WHERE { ?d property:fictional_universe_described_in ?h . ?h rdf:type ontology:collectable . ?d rdf:type ontology:work } GROUP BY ?h } . { SELECT DISTINCT ( MIN ( ?z ) AS ?m ) { SELECT DISTINCT ?t ( COUNT ( ?f ) AS ?z ) WHERE { ?t rdf:type ontology:collectable . ?f rdf:type ontology:work . ?f property:fictional_universe_described_in ?t } GROUP BY ?t } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P674
Q2537344 Q636497
USER
How many beast species in the Harry Potter universes or stock characters appears as a character in that collectable ?
(Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q15228,P674,c(Q2537344)) (Q15228,P674,c(Q636497)) (Q47209,P674,c(Q2537344)) (Q47209,P674,c(Q636497))
['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q15228', 'P674', {'concept': 'Q2537344'}] ['Q15228', 'P674', {'concept': 'Q636497'}] ['Q47209', 'P674', {'concept': 'Q2537344'}] ['Q47209', 'P674', {'concept': 'Q636497'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q263593 property:P674 ?z } UNION { resource:Q263593 property:P674 ?y } UNION { resource:Q1148981 property:P674 ?z } UNION { resource:Q1148981 property:P674 ?y } } . ?z rdf:type ontology:Q2537344 . ?y rdf:type ontology:Q636497 }
["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ['The Lord of the Rings', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['The Lord of the Rings', 'characters', {'concept': 'stock character'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'stock character'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:The_Lord_of_the_Rings property:characters ?z } UNION { resource:The_Lord_of_the_Rings property:characters ?y } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?z } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?y } } . ?z rdf:type ontology:beast_species_in_the_Harry_Potter_universe . ?y rdf:type ontology:stock_character }
[]
beast species in the Harry Potter universe stock character
Quantitative|Count|Mult. entity type|Clarification
Q47209
SYSTEM
Did you mean Harry Potter and the Chamber of Secrets ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q263593 property:P674 ?z } UNION { resource:Q263593 property:P674 ?y } UNION { resource:Q1148981 property:P674 ?z } UNION { resource:Q1148981 property:P674 ?y } } . ?z rdf:type ontology:Q2537344 . ?y rdf:type ontology:Q636497 }
Did you mean Harry Potter and the Chamber of Secrets ?
Harry Potter and the Chamber of Secrets
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:The_Lord_of_the_Rings property:characters ?z } UNION { resource:The_Lord_of_the_Rings property:characters ?y } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?z } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?y } } . ?z rdf:type ontology:beast_species_in_the_Harry_Potter_universe . ?y rdf:type ontology:stock_character }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Harry Potter and the Philosopher's Stone. Could you tell me the answer for that?
(Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q15228,P674,c(Q2537344)) (Q15228,P674,c(Q636497)) (Q47209,P674,c(Q2537344)) (Q47209,P674,c(Q636497))
Q43361
['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q15228', 'P674', {'concept': 'Q2537344'}] ['Q15228', 'P674', {'concept': 'Q636497'}] ['Q47209', 'P674', {'concept': 'Q2537344'}] ['Q47209', 'P674', {'concept': 'Q636497'}]
["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ['The Lord of the Rings', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['The Lord of the Rings', 'characters', {'concept': 'stock character'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'stock character'}]
[]
SYSTEM
3
Q4004524 Q176132 Q177439
(Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q43361,P674,c(Q2537344)) (Q43361,P674,c(Q636497)) (Q15228,P674,c(Q2537344)) (Q15228,P674,c(Q636497)) (Q47209,P674,c(Q2537344)) (Q47209,P674,c(Q636497))
[ANSWER]
['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q43361', 'P674', {'concept': 'Q2537344'}] ['Q43361', 'P674', {'concept': 'Q636497'}] ['Q15228', 'P674', {'concept': 'Q2537344'}] ['Q15228', 'P674', {'concept': 'Q636497'}] ['Q47209', 'P674', {'concept': 'Q2537344'}] ['Q47209', 'P674', {'concept': 'Q636497'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q719960 property:P674 ?z } UNION { resource:Q719960 property:P674 ?y } UNION { resource:Q263593 property:P674 ?z } UNION { resource:Q263593 property:P674 ?y } UNION { resource:Q1148981 property:P674 ?z } UNION { resource:Q1148981 property:P674 ?y } } . ?z rdf:type ontology:Q2537344 . ?y rdf:type ontology:Q636497 }
Griphook Lord Voldemort Rubeus Hagrid
3
["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'beast species in the Harry Potter universe'}] ["Harry Potter and the Philosopher's Stone", 'characters', {'concept': 'stock character'}] ['The Lord of the Rings', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['The Lord of the Rings', 'characters', {'concept': 'stock character'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'beast species in the Harry Potter universe'}] ['Harry Potter and the Chamber of Secrets', 'characters', {'concept': 'stock character'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?z } UNION { resource:Harry_Potter_and_the_Philosopher's_Stone property:characters ?y } UNION { resource:The_Lord_of_the_Rings property:characters ?z } UNION { resource:The_Lord_of_the_Rings property:characters ?y } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?z } UNION { resource:Harry_Potter_and_the_Chamber_of_Secrets property:characters ?y } } . ?z rdf:type ontology:beast_species_in_the_Harry_Potter_universe . ?y rdf:type ontology:stock_character }
[]