Simple Question (Direct)
Simple Question
Q5616061
P22
Q502895
USER
Who was the dad of Christian Dalgas ?
(Q5616061,P22,c(Q502895))
action filter_type
action find
entity Q5616061
relation P22
type Q502895
['Q5616061', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5616061 property:P22 ?a }
Christian Dalgas
action filter_type
action find
entity Christian Dalgas
relation father
type common name
['Christian Dalgas', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Christian_Dalgas property:father ?a }
[]
common name
Q505713
SYSTEM
Enrico Dalgas
Q505713
(Q5616061,P22,c(Q502895))
action filter_type
action find
entity Q5616061
relation P22
type Q502895
The dad of Christian Dalgas was also [ANSWER]
['Q5616061', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5616061 property:P22 ?a }
Enrico Dalgas
The dad of Christian Dalgas was also Enrico Dalgas
Enrico Dalgas
action filter_type
action find
entity Christian Dalgas
relation father
type common name
['Christian Dalgas', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Christian_Dalgas property:father ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q505713
P40
Q502895
USER
Which people have that one as an offspring ?
(c(Q502895),P40,Q505713)
action filter_type
action find_reverse
entity Q505713
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q505713']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q505713 }
Enrico Dalgas
action filter_type
action find_reverse
entity Enrico Dalgas
relation child
type common name
[{'concept': 'common name'}, 'child', 'Enrico Dalgas']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Enrico_Dalgas }
[]
common name
Q24568564 Q24568580
SYSTEM
Jean Antoine Dalgas, Johanne Tomine Dalgas
Q24568564 Q24568580
(c(Q502895),P40,Q505713)
action filter_type
action find_reverse
entity Q505713
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q505713']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P40 resource:Q505713 }
Jean Antoine Dalgas Johanne Tomine Dalgas
Jean Antoine Dalgas and Johanne Tomine Dalgas have that one as an offspring
Jean Antoine Dalgas Johanne Tomine Dalgas
action filter_type
action find_reverse
entity Enrico Dalgas
relation child
type common name
[{'concept': 'common name'}, 'child', 'Enrico Dalgas']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:child resource:Enrico_Dalgas }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q17183708
P725
Q502895 Q15416
USER
Which television programs did lesser number of people do the dubbing for than The 7D ?
(c(Q15416),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q17183708
relation P725
type Q502895
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q17183708 property:P725 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r property:P725 ?z . ?z rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15416 } GROUP BY ?r } }
The 7D
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The 7D
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:The_7D property:voice_actor ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r property:voice_actor ?z . ?z rdf:type ontology:common_name . ?r rdf:type ontology:television_program } GROUP BY ?r } }
[]
common name television program
Q472309 Q15863567 Q1617715
SYSTEM
Princess of Thieves, K-On!, The Wonderful Galaxy of Oz
Q1280574 Q4049303 Q715723 Q1135343 Q613823 Q689114 Q467722 Q2042834 Q239937 Q15863567 Q1857269 Q1195326 Q951078 Q5227700 Q4773554 Q4120156 Q962161 Q1617715 Q696310 Q15176855 Q472309 Q2573191 Q2581704 Q917980 Q165515 Q3547706 Q845452 Q10358973 Q307507 Q483943 Q3596105 Q757148 Q3106852 Q25059 Q1284240 Q14493917 Q749629 Q10913555 Q1315951 Q1361413 Q543203 Q128969 Q2455207 Q2452999 Q2275664 Q702039 Q7496805 Q962132 Q18579178 Q20669175 Q1050091 Q699760 Q18577675 Q1146803 Q2140751 Q1002254 Q4033639 Q550555 Q20899576 Q1640364 Q483106 Q3098248 Q633432 Q12019559 Q18558839 Q1072208 Q304290 Q1215573 Q428130 Q2619211 Q1140254 Q1317932 Q5139461 Q18559016 Q430369 Q1494222 Q452374 Q18575654 Q2339582 Q15039539 Q3492143 Q5976198 Q1353486 Q1143800 Q15863577 Q331031 Q45035
(c(Q15416),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q15416
type Q502895
action count
action filter_type
action find
entity Q17183708
relation P725
type Q502895
[ANSWERS] lesser number of people did the dubbing for than The 7D
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:Q17183708 property:P725 ?w . ?w rdf:type ontology:Q502895 } } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r property:P725 ?z . ?z rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15416 } GROUP BY ?r } }
The Adventures of Tweeny Witches Seraphim Call Urusei Yatsura Wish Upon the Pleiades Ghost Hound Digimon Adventure The Puppy's Further Adventures The Proud Family Movie Pokémon K-On! Rio: Rainbow Gate! LOG HORIZON Hellsing Tenchi in Tokyo Mi cola D.I.C.E. Eureka Seven The Wonderful Galaxy of Oz Hamtaro Wizard Barristers: Benmashi Cecil Princess of Thieves Onegai My Melody Willo the Wisp Witch Hunter Robin 101 Dalmatians: The Series Uchūsen Sagittarius Project Blue Earth SOS Reynard the Fox H2O: Footprints in the Sand Anohana: The Flower We Saw That Day Popeye the Sailor Rocko's Modern Life Todd McFarlane's Spawn Penguin Drum Burst Angel Galileo Donna Kid vs. Kat The Melancholy of Haruhi Suzumiya Psycho-Pass Night Raid 1931 Chip 'n Dale Rescue Rangers Calimero Mnemosyne Remi, Nobody's Girl Kim Possible: A Sitch in Time The Story of Pollyanna, Girl of Love Shima Shima Tora no Shimajirō Pink Panther and Pals Kabaneri of the Iron Fortress Hana Yori Dango Dastardly and Muttley in Their Flying Machines Saiyuki Darker than Black Cuéntame cómo pasó Boogiepop Phantom Wacky Races Akahori Gedou Hour Rabuge Gravity Falls Shimmer and Shine Wild Arms: Twilight Venom Freezing Stratos 4 The Emperor's New School Free! Soul Eater Not! The Wonderful Adventures of Nils Rugrats The Proud Family Sonic X Tsuritama Transformers: Animated Negima!? Engage Planet Kiss Dum Berserk The Critic Garfield in the Rough Ah My Buddha Trigun Trapp Family Story The Steamboat Adventures of Riverboat Bill Puss in Boots: The Three Diablos I Am the Greatest: The Adventures of Muhammad Ali Marumo no Okite Postman Pat K-On!! Dora the Explorer Renkin 3-kyū Magical? Pokān
Princess of Thieves, K-On! and The Wonderful Galaxy of Oz lesser number of people did the dubbing for than The 7D
Princess of Thieves K-On! The Wonderful Galaxy of Oz
action less
action find_tuple_counts
relation voice actor
type television program
type common name
action count
action filter_type
action find
entity The 7D
relation voice actor
type common name
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?g ) WHERE { resource:The_7D property:voice_actor ?w . ?w rdf:type ontology:common_name } } . FILTER ( ?b < ?g ) . { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?b ) WHERE { ?r property:voice_actor ?z . ?z rdf:type ontology:common_name . ?r rdf:type ontology:television_program } GROUP BY ?r } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q24568564 Q11530653
P7
Q502895
USER
How many people are the brother of Jean Antoine Dalgas or Matsudaira Yorihide ?
(Q24568564,P7,c(Q502895)) (Q11530653,P7,c(Q502895))
action count
action union
action filter_type
action find
entity Q24568564
relation P7
type Q502895
action filter_type
action find
entity Q11530653
relation P7
type Q502895
['Q24568564', 'P7', {'concept': 'Q502895'}] ['Q11530653', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( resource:Q24568564 ) ( resource:Q11530653 ) } . ?g property:P7 ?o }
Jean Antoine Dalgas Matsudaira Yorihide
action count
action union
action filter_type
action find
entity Jean Antoine Dalgas
relation brother
type common name
action filter_type
action find
entity Matsudaira Yorihide
relation brother
type common name
['Jean Antoine Dalgas', 'brother', {'concept': 'common name'}] ['Matsudaira Yorihide', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( resource:Jean_Antoine_Dalgas ) ( resource:Matsudaira_Yorihide ) } . ?g property:brother ?o }
[]
common name
SYSTEM
2
Q6993473 Q5616055
(Q24568564,P7,c(Q502895)) (Q11530653,P7,c(Q502895))
action count
action union
action filter_type
action find
entity Q24568564
relation P7
type Q502895
action filter_type
action find
entity Q11530653
relation P7
type Q502895
[ANSWER]
['Q24568564', 'P7', {'concept': 'Q502895'}] ['Q11530653', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( resource:Q24568564 ) ( resource:Q11530653 ) } . ?g property:P7 ?o }
Tokugawa Mochitsugu Carl Frederik Isak Dalgas
2
action count
action union
action filter_type
action find
entity Jean Antoine Dalgas
relation brother
type common name
action filter_type
action find
entity Matsudaira Yorihide
relation brother
type common name
['Jean Antoine Dalgas', 'brother', {'concept': 'common name'}] ['Matsudaira Yorihide', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { VALUES ( ?g ) { ( resource:Jean_Antoine_Dalgas ) ( resource:Matsudaira_Yorihide ) } . ?g property:brother ?o }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11927
P1445
Q15416 Q386724
USER
How many works represents a fictional universe described in around the same number of television programs as Stargate ?
(c(Q386724),P1445,c(Q15416))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:P1445 ?k . ?q rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q11927 property:P1445 ?x . ?x rdf:type ontology:Q386724 } } . FILTER ( ?e = ?s ) }
Stargate
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:fictional_universe_described_in ?k . ?q rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Stargate property:fictional_universe_described_in ?x . ?x rdf:type ontology:work } } . FILTER ( ?e = ?s ) }
[]
television program work
SYSTEM
4
Q15731902 Q11927 Q3177580 Q384426
(c(Q386724),P1445,c(Q15416))
action count
action approx
action find_tuple_counts
relation P1445
type Q386724
type Q15416
action count
action filter_type
action find
entity Q11927
relation P1445
type Q386724
[ANSWER]
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:P1445 ?k . ?q rdf:type ontology:Q386724 . ?k rdf:type ontology:Q15416 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q11927 property:P1445 ?x . ?x rdf:type ontology:Q386724 } } . FILTER ( ?e = ?s ) }
Aladdin media franchise Stargate The Walking Dead Pirates of the Caribbean
4
action count
action approx
action find_tuple_counts
relation fictional universe described in
type work
type television program
action count
action filter_type
action find
entity Stargate
relation fictional universe described in
type work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?k ) AS ?e ) WHERE { ?q property:fictional_universe_described_in ?k . ?q rdf:type ontology:work . ?k rdf:type ontology:television_program } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Stargate property:fictional_universe_described_in ?x . ?x rdf:type ontology:work } } . FILTER ( ?e = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q472309
P2554
Q502895
USER
Which person is the production designer of Princess of Thieves ?
(Q472309,P2554,c(Q502895))
action filter_type
action find
entity Q472309
relation P2554
type Q502895
['Q472309', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q472309 property:P2554 ?r . ?r rdf:type ontology:Q502895 }
Princess of Thieves
action filter_type
action find
entity Princess of Thieves
relation production designer
type common name
['Princess of Thieves', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Princess_of_Thieves property:production_designer ?r . ?r rdf:type ontology:common_name }
[]
common name
Q26742218
SYSTEM
Chris Roope
Q26742218
(Q472309,P2554,c(Q502895))
action filter_type
action find
entity Q472309
relation P2554
type Q502895
[ANSWER] is the production designer of Princess of Thieves
['Q472309', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q472309 property:P2554 ?r . ?r rdf:type ontology:Q502895 }
Chris Roope
Chris Roope is the production designer of Princess of Thieves
Chris Roope
action filter_type
action find
entity Princess of Thieves
relation production designer
type common name
['Princess of Thieves', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Princess_of_Thieves property:production_designer ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q201215
Q502895
USER
And also tell me about My Fair Lady?
(Q201215,P2554,c(Q502895))
action filter_type
action find
entity Q201215
relation P2554
type Q502895
['Q201215', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q201215 property:P2554 ?b . ?b rdf:type ontology:Q502895 }
My Fair Lady
action filter_type
action find
entity My Fair Lady
relation production designer
type common name
['My Fair Lady', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:My_Fair_Lady property:production_designer ?b . ?b rdf:type ontology:common_name }
[]
common name
Q454120
SYSTEM
Gene Allen
Q454120
(Q201215,P2554,c(Q502895))
action filter_type
action find
entity Q201215
relation P2554
type Q502895
[ANSWER]
['Q201215', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q201215 property:P2554 ?b . ?b rdf:type ontology:Q502895 }
Gene Allen
Gene Allen
action filter_type
action find
entity My Fair Lady
relation production designer
type common name
['My Fair Lady', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:My_Fair_Lady property:production_designer ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q15416 Q3895768 Q15619164
USER
How many television programs do atleast 5 fictional locations or abstract beings appear ?
(c(Q3895768)|c(Q15619164),P1441,c(Q15416))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
value 5
[[{'concept': 'Q3895768'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P1441 ?z . ?z rdf:type ontology:Q15416 . ?l rdf:type ontology:Q3895768 } UNION { ?l property:P1441 ?z . ?z rdf:type ontology:Q15416 . ?l rdf:type ontology:Q15619164 } } GROUP BY ?z } . FILTER ( ?h >= 5 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
value 5
[[{'concept': 'fictional location'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:present_in_work ?z . ?z rdf:type ontology:television_program . ?l rdf:type ontology:fictional_location } UNION { ?l property:present_in_work ?z . ?z rdf:type ontology:television_program . ?l rdf:type ontology:abstract_being } } GROUP BY ?z } . FILTER ( ?h >= 5 ) }
[]
television program fictional location abstract being
SYSTEM
39
Q951078 Q23831 Q28537 Q945030 Q4384067 Q18553975 Q32450 Q18559016 Q117396 Q180228 Q131758 Q155629 Q272015 Q237072 Q708661 Q79784 Q162371 Q147235 Q624611 Q577752 Q1545694 Q83401 Q482482 Q870490 Q23567 Q130585 Q849627 Q205474 Q370185 Q1585857 Q2367132 Q2293 Q537911 Q1968790 Q276528 Q2085 Q1146803 Q289537 Q152178
(c(Q3895768)|c(Q15619164),P1441,c(Q15416))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q3895768
action find_reverse_tuple_counts
relation P1441
type Q15416
type Q15619164
value 5
[ANSWER]
[[{'concept': 'Q3895768'}, {'concept': 'Q15619164'}], 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:P1441 ?z . ?z rdf:type ontology:Q15416 . ?l rdf:type ontology:Q3895768 } UNION { ?l property:P1441 ?z . ?z rdf:type ontology:Q15416 . ?l rdf:type ontology:Q15619164 } } GROUP BY ?z } . FILTER ( ?h >= 5 ) }
Hellsing The Office The Vampire Diaries Coronation Street Code Geass Soul Eater Pretty Little Liars Berserk CSI: Crime Scene Investigation Smallville Desperate Housewives Sesame Street Ranma ½ Battlestar Galactica Lindenstraße Friends Charmed How I Met Your Mother One Life to Live Kamen Rider Series Stromberg Heroes K-On! 3rd Rock from the Sun Lost Supernatural The Young and the Restless All My Children Suits Hollyoaks Battlestar Galactica Chuck Agents of S.H.I.E.L.D. Sea Patrol Ugly Betty Twin Peaks Cuéntame cómo pasó Lassie Glee
39
action count
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type television program
type fictional location
action find_reverse_tuple_counts
relation present in work
type television program
type abstract being
value 5
[[{'concept': 'fictional location'}, {'concept': 'abstract being'}], 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?l ) AS ?h ) WHERE { { ?l property:present_in_work ?z . ?z rdf:type ontology:television_program . ?l rdf:type ontology:fictional_location } UNION { ?l property:present_in_work ?z . ?z rdf:type ontology:television_program . ?l rdf:type ontology:abstract_being } } GROUP BY ?z } . FILTER ( ?h >= 5 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 859 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 859
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 . ?x property:P1303 ?n } GROUP BY ?n } . FILTER ( ?a >= 859 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 859
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument . ?x property:instrument ?n } GROUP BY ?n } . FILTER ( ?a >= 859 ) }
[]
musical instrument common name
Q5994 Q46185 Q8338
SYSTEM
piano, bass guitar, trumpet
Q46185 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 859
[ANSWERS] can atleast 859 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 . ?x property:P1303 ?n } GROUP BY ?n } . FILTER ( ?a >= 859 ) }
bass guitar piano trumpet cello violin organ drum kit
Piano, bass guitar and trumpet can atleast 859 people perform with
piano bass guitar trumpet
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 859
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?a ) WHERE { ?x rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument . ?x property:instrument ?n } GROUP BY ?n } . FILTER ( ?a >= 859 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atmost 1344 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1344
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?x <= 1344 ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?n . ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1344
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?x <= 1344 ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?n . ?d rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 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 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1344
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?x <= 1344 ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:P1303 ?n . ?d rdf:type ontology:Q502895 . ?n rdf:type ontology:Q34379 } GROUP BY ?n } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello 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 electronic keyboard drum Kayamb Paraguayan harp
Which musical instruments can atmost 1344 people perform with
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1344
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { FILTER ( ?x <= 1344 ) . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?x ) WHERE { ?d property:instrument ?n . ?d rdf:type ontology:common_name . ?n rdf:type ontology:musical_instrument } GROUP BY ?n } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P1303
Q502895
USER
How many people can play that musical instrument ?
(c(Q502895),P1303,Q81982)
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'instrument', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q502895),P1303,Q1178361) (c(Q502895),P1303,Q81982) (c(Q502895),P1303,Q1759986)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q1178361'] [{'concept': 'Q502895'}, 'P1303', 'Q81982'] [{'concept': 'Q502895'}, 'P1303', 'Q1759986']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
Did you mean davul ?
davul
[{'concept': 'common name'}, 'instrument', 'davul'] [{'concept': 'common name'}, 'instrument', 'harpsichord'] [{'concept': 'common name'}, 'instrument', 'Wurlitzer electric piano']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q502895),P1303,Q81982)
Q81982
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
[{'concept': 'common name'}, 'instrument', 'harpsichord']
[]
SYSTEM
155
Q5125310 Q3147213 Q45909 Q1270605 Q3218863 Q4497156 Q2965877 Q18889499 Q3613839 Q11434081 Q378905 Q96304 Q289847 Q446103 Q3295831 Q2805699 Q2556199 Q339128 Q876342 Q1348195 Q11454604 Q3560424 Q1895475 Q459715 Q3573587 Q17648436 Q2958126 Q3148824 Q1976924 Q551008 Q3619994 Q3724246 Q2528311 Q3181642 Q3106857 Q3411056 Q160257 Q3168308 Q3190862 Q434644 Q3667494 Q2424360 Q3827718 Q2034506 Q2553716 Q1284831 Q2535808 Q699207 Q463998 Q22712389 Q1046616 Q13334256 Q314799 Q3298708 Q457010 Q2094389 Q3350801 Q6264882 Q1709071 Q2526926 Q590410 Q965256 Q2837040 Q3452937 Q6733079 Q3168042 Q3142793 Q3568609 Q9253269 Q1959923 Q3183956 Q509362 Q254 Q3168842 Q434774 Q2414155 Q3154364 Q1339 Q963003 Q15041700 Q700648 Q18642513 Q70011 Q969937 Q3761917 Q3010160 Q3587893 Q2462092 Q1682366 Q21088137 Q231234 Q2564666 Q4526398 Q339929 Q1682344 Q3507386 Q2416902 Q3141950 Q3524273 Q199856 Q4979366 Q928954 Q571445 Q3446656 Q3219532 Q963831 Q2959912 Q1406863 Q2848507 Q3162009 Q3287715 Q119189 Q3136187 Q3315982 Q2451955 Q3725604 Q92244 Q5112624 Q376588 Q1843799 Q445985 Q521250 Q4980119 Q2140912 Q17630873 Q76735 Q181474 Q18214287 Q319306 Q435198 Q2870861 Q563321 Q2574241 Q597101 Q2982659 Q3351094 Q3187447 Q560325 Q2735112 Q697674 Q3294067 Q739019 Q274544 Q3147203 Q2898792 Q4133063 Q718398 Q2899489 Q3167320 Q3154996 Q23001989 Q609940 Q2856990 Q3317233 Q3293546
(c(Q502895),P1303,Q81982)
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q81982']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P1303 resource:Q81982 . ?z rdf:type ontology:Q502895 }
Claire Schapira Iakovos Pappas John Cale Lars Ulrik Mortensen Laurence Boulay Stanislav Heller Christine Auger Francesco Mazzoli Ambrogio Minoja Naoya Ōtsuka Michael Wollny Tobias Koch Étienne Loulié Huguette Dreyfus Martine Roche Frédérick Haas Anne Gallet Rafael Puyana Fritz Neumeyer Louis-Emmanuel Jadin Kanoko Miyazaki Violet Gordon-Woodhouse Marguerite Roesgen-Champion Matteo Messori Yves Cuenot Władysław Kłosiewicz Charles-Henri Plantade Ilton Wjuniski Aimée Van de Wiele Jon Laukvik Antonio Palella Emilia Fadini Jovanka Marville John Grew Giovanni Pietro Del Buono Putnam Aldrich Wanda Landowska Jean-Patrice Brosse Jérôme Correas Christiane Jaccottet Chiara Massini Antoine Geoffroy-Dechaume Laura Alvini Luciano Sgrizzi Jean Rondeau Eta Harich-Schneider Václav Luks Joseph Anton Steffan James Nares Martine Reymond Tim Rice-Oxley Anne-Catherine Bucher Antonio Soler Mathieu Duguay Igor Kipnis Pietro Alessandro Guglielmi Olivier Baumont John Worgan Martha Goldstein Vincenzo Lavigna Christophe Rousset Alan Curtis Aline d'Ambricourt Ruggero Gerlin Mahan Esfahani Jean-Michel Hasler Huguette Grémy-Chauliac William Felton Elżbieta Stefańska Christine Whiffen Jory Vinikour Françoise-Charlotte de Senneterre Ménétou Wolfgang Amadeus Mozart Jean-Philippe Navarre Trevor Pinnock Skip Sempé Irina Danšina Johann Sebastian Bach Thurston Dart Cosimo Damiano Lanza Masaaki Suzuki Pierre-Alain Clerc Edith Picht-Axenfeld Denis Bédard Giacinto Manna Céline Frisch Élisabeth Joyé Pascal Dubreuil Jan Willem Jansen Yasuko Uyama-Bouvard Zuzana Růžičková Beatrice Berstel Miklós Spányi Thomas Linley the elder Joseph-Nicolas-Pancrace Royer Sylvie Pécot-Douatte Blandine Verlet Hubert Bédard Thierry Geffrotin Johann Christian Schieferdecker Bruno Procopio Vincenzo Manfredini Rinaldo Alessandrini Rudi Jacques Laurent Teycheney Ottavio Dantone Charles Noblet Fernando Valenti André Raynaud Janine Reiss Marc-Roger Normand Vital Julian Frey Nicholas McGegan Mireille Lagacé Yves Rechsteiner Enrico Baiano Johann Paul Schulthesius Christopher Jackson William Christie Frédéric Champion Emmanuelle Haïm Marcelle de Lacour Sophie Stebnowska Blandine Rannou Jean-Luc Ho Karl Richter Teodorico Pedrini Véronique Carrot Oscar Milani Christopher Hogwood Marguerite-Antoinette Couperin Kenneth Gilbert Elisabeth Chojnacka Ralph Kirkpatrick Colin Tilney Olivier Houette Joël Pontet Hervé Niquet William Babell René Clemencic Mark Edwards Giovanni Battista Lampugnani Isolde Ahlgrimm Iain Simcock Bernard de Bury Malcolm Hamilton Robert Veyron-Lacroix Bertrand Cuiller Jean-Marc Aymes Isabelle Nef György Vashegyi Marguerite-Louise Couperin Anton Bemetzrieder Mitzi Meyerson Mario Raskin
155
[{'concept': 'common name'}, 'instrument', 'harpsichord']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:instrument resource:harpsichord . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P870
Q862597
USER
Which musical forms employs harpsichord as musical instrument ?
(c(Q862597),P870,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P870
type Q862597
[{'concept': 'Q862597'}, 'P870', 'Q81982']
SELECT DISTINCT ?i WHERE { ?i property:P870 resource:Q81982 . ?i rdf:type ontology:Q862597 }
harpsichord
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ?i WHERE { ?i property:instrumentation resource:harpsichord . ?i rdf:type ontology:musical_form }
[]
musical form
Q1034933 Q1087598 Q213728
SYSTEM
Capriccio sopra la lontananza del suo fratello dilettissimo, Chromatic Fantasia and Fugue, Goldberg Variations
Q1087598 Q1034933 Q3503326 Q2759224 Q213728
(c(Q862597),P870,Q81982)
action filter_type
action find_reverse
entity Q81982
relation P870
type Q862597
[ANSWERS] employ harpsichord as musical instrument
[{'concept': 'Q862597'}, 'P870', 'Q81982']
SELECT DISTINCT ?i WHERE { ?i property:P870 resource:Q81982 . ?i rdf:type ontology:Q862597 }
Chromatic Fantasia and Fugue Capriccio sopra la lontananza del suo fratello dilettissimo Keyboard suite in D minor Unmeasured prelude Goldberg Variations
Capriccio sopra la lontananza del suo fratello dilettissimo, Chromatic Fantasia and Fugue and Goldberg Variations employ harpsichord as musical instrument
Capriccio sopra la lontananza del suo fratello dilettissimo Chromatic Fantasia and Fugue Goldberg Variations
action filter_type
action find_reverse
entity harpsichord
relation instrumentation
type musical form
[{'concept': 'musical form'}, 'instrumentation', 'harpsichord']
SELECT DISTINCT ?i WHERE { ?i property:instrumentation resource:harpsichord . ?i rdf:type ontology:musical_form }
[]