Simple Question (Direct)
Simple Question
Q6893921
P106
Q12737077
USER
What does Mohd Hairol Mokhtar do for a living ?
(Q6893921,P106,c(Q12737077))
action filter_type
action find
entity Q6893921
relation P106
type Q12737077
['Q6893921', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6893921 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Mohd Hairol Mokhtar
action filter_type
action find
entity Mohd Hairol Mokhtar
relation occupation
type occupation
['Mohd Hairol Mokhtar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Mohd_Hairol_Mokhtar property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6893921,P106,c(Q12737077))
action filter_type
action find
entity Q6893921
relation P106
type Q12737077
Mohd Hairol Mokhtar does an [ANSWER] for a living
['Q6893921', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q6893921 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
Mohd Hairol Mokhtar does an association football player for a living
association football player
action filter_type
action find
entity Mohd Hairol Mokhtar
relation occupation
type occupation
['Mohd Hairol Mokhtar', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Mohd_Hairol_Mokhtar property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6893921
P641
Q349
USER
What was the sport that Mohd Hairol Mokhtar was a part of ?
(Q6893921,P641,c(Q349))
action filter_type
action find
entity Q6893921
relation P641
type Q349
['Q6893921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6893921 property:P641 ?k . ?k rdf:type ontology:Q349 }
Mohd Hairol Mokhtar
action filter_type
action find
entity Mohd Hairol Mokhtar
relation sport
type sport
['Mohd Hairol Mokhtar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Mohd_Hairol_Mokhtar property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6893921,P641,c(Q349))
action filter_type
action find
entity Q6893921
relation P641
type Q349
The sport that Mohd Hairol Mokhtar was a part of was h [ANSWER]
['Q6893921', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q6893921 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
The sport that Mohd Hairol Mokhtar was a part of was h association football
association football
action filter_type
action find
entity Mohd Hairol Mokhtar
relation sport
type sport
['Mohd Hairol Mokhtar', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Mohd_Hairol_Mokhtar property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?g }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?g }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1496967 . resource:Q2736 property:P495 ?g }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:territorial_entity . resource:association_football property:country_of_origin ?g }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P840
Q1496967 Q2342494 Q15416
USER
How many territories are the narrative locations of approximately the same number of collectables or television programs as that territory ?
(c(Q2342494)|c(Q15416),P840,c(Q1496967))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?l rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P840 resource:Q21 . { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?y = ?t ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:television_program ) } . ?l rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:narrative_location resource:England . { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?y = ?t ) }
[]
territorial entity collectable television program
SYSTEM
1
Q21
(c(Q2342494)|c(Q15416),P840,c(Q1496967))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q1496967
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q21
relation P840
type Q2342494
type Q15416
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q1496967'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?l rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:P840 resource:Q21 . { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15416 ) ( ontology:Q2342494 ) } } } } . FILTER ( ?y = ?t ) }
England
1
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity England
relation narrative location
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?l ) AS ?y ) WHERE { VALUES ( ?e ) { ( ontology:collectable ) ( ontology:television_program ) } . ?l rdf:type ?e } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q property:narrative_location resource:England . { ?q rdf:type ?v . VALUES ( ?v ) { ( ontology:television_program ) ( ontology:collectable ) } } } } . FILTER ( ?y = ?t ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19930400 Q6893921
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Mohd Hairol Mokhtar or Angélica Bustos ?
OR((Q6893921,P27,c(Q15617994)), (Q19930400,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6893921
relation P27
action find
entity Q19930400
relation P27
type Q15617994
{'OR': [['Q6893921', 'P27', {'concept': 'Q15617994'}], ['Q19930400', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?w property:P27 ?y . VALUES ( ?w ) { ( resource:Q6893921 ) ( resource:Q19930400 ) } } }
Angélica Bustos Mohd Hairol Mokhtar
action filter_type
action union
action find
entity Mohd Hairol Mokhtar
relation country of citizenship
action find
entity Angélica Bustos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohd Hairol Mokhtar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Angélica Bustos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?w property:country_of_citizenship ?y . VALUES ( ?w ) { ( resource:Mohd_Hairol_Mokhtar ) ( resource:Angélica_Bustos ) } } }
[]
designation for an administrative territorial entity
Q833 Q736
SYSTEM
Malaysia, Ecuador
Q833 Q736
OR((Q6893921,P27,c(Q15617994)), (Q19930400,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q6893921
relation P27
action find
entity Q19930400
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Mohd Hairol Mokhtar or Angélica Bustos
{'OR': [['Q6893921', 'P27', {'concept': 'Q15617994'}], ['Q19930400', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . { ?w property:P27 ?y . VALUES ( ?w ) { ( resource:Q6893921 ) ( resource:Q19930400 ) } } }
Malaysia Ecuador
Malaysia and Ecuador are the countries of citizenship of Mohd Hairol Mokhtar or Angélica Bustos
Malaysia Ecuador
action filter_type
action union
action find
entity Mohd Hairol Mokhtar
relation country of citizenship
action find
entity Angélica Bustos
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Mohd Hairol Mokhtar', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Angélica Bustos', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . { ?w property:country_of_citizenship ?y . VALUES ( ?w ) { ( resource:Mohd_Hairol_Mokhtar ) ( resource:Angélica_Bustos ) } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with exactly 53 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?m = 53 ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?m ) WHERE { ?w property:P530 ?r . ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } }
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?m = 53 ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?m ) WHERE { ?w property:diplomatic_relation ?r . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(c(Q15617994),P530,c(Q15617994))
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 53
[ANSWER] have diplomatic relations with exactly 53 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?m = 53 ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?m ) WHERE { ?w property:P530 ?r . ?w rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?w } }
Brazil
Brazil have diplomatic relations with exactly 53 administrative territories
Brazil
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 53
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?m = 53 ) . { SELECT DISTINCT ?w ( COUNT ( ?r ) AS ?m ) WHERE { ?w property:diplomatic_relation ?r . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q36180 Q937857
P106
Q502895
USER
Which people have the profession as association football player and writer ?
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q937857 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
writer association football player
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:association_football_player . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
common name
Q1749900 Q25950543 Q208557 Q462137 Q1110345 Q2324760 Q202693 Q2164382 Q925493 Q830682
SYSTEM
Some of them are Philipp Heineken, Jaromír Votík, Ryan Nelsen, Arthur Albiston, Coloman Braun-Bogdan, Jan van Halst, Jo Nesbø, Robert Neumann, Miroslav Ivanov, Marcus Urban
Q2164382 Q940245 Q364398 Q830682 Q1058141 Q7363525 Q19356987 Q21118091 Q29516 Q20731289 Q208557 Q17093660 Q2069447 Q16879980 Q3611517 Q5618999 Q707415 Q3102802 Q3736383 Q3141607 Q2324760 Q11993173 Q333118 Q1110345 Q710080 Q299657 Q3373434 Q3724387 Q2286680 Q1003430 Q3189108 Q610102 Q32812 Q11902453 Q11995458 Q462137 Q3435413 Q3640610 Q3547896 Q1749900 Q1350633 Q925493 Q1659147 Q1974007 Q1091414 Q685434 Q110126 Q2727418 Q1322994 Q2577107 Q1388518 Q202693 Q1978696 Q4778509 Q546107 Q1479438 Q3894483 Q17279769 Q1960711 Q1691828 Q872922 Q1541377 Q6142124 Q3392828 Q543145 Q2572668 Q237541 Q2535794 Q25950543
AND((c(Q502895),P106,Q937857), (c(Q502895),P106,Q36180))
action filter_type
action intersection
action find_reverse
entity Q937857
relation P106
action find_reverse
entity Q36180
relation P106
type Q502895
[ANSWERS] have the profession as association football player and writer
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q937857'], [{'concept': 'Q502895'}, 'P106', 'Q36180']]}
SELECT DISTINCT ?x WHERE { ?x property:P106 resource:Q937857 . ?x property:P106 resource:Q36180 . ?x rdf:type ontology:Q502895 }
Robert Neumann Pat Nevin Neil Paterson Marcus Urban Eric Pierpoint Ron Berry John Monteith Wolfgang Pache Theo Walcott Max Urbini Ryan Nelsen Gunnar Talsethagen Francis Couvreur Norbert Düwel Alfredo Viviani Gunnar Garfors Martin Waddell Georges Grard Ezio Glerean Thomas Bodström Jan van Halst Oddmund Fredrik Jacobsen Vaagsholm David Icke Coloman Braun-Bogdan Jan Mulder Rémi Gaillard Bjørn G. Andersen Emilio De Martino Johan Derksen F. W. Bain Julian Sturgis Charlie Cooke Tryggve Gran Wilson Raj Perumal Peter Mykleset Arthur Albiston Lars Joachim Grimstad Bjarne Rønning Ezio Vendrame Philipp Heineken Vlasta Burian Miroslav Ivanov Ilse Kopatz Björn van der Doelen Carlo Petrini Julian Johnsson Hrant Dink David Endt Kenzō Nakajima Willi Gierlich Oliver St. John Gogarty Jo Nesbø Nettie Honeyball Aníbal Machado Harry Gregg Félix Bermudes Paolo Sollier Michele Alboreto Art Langeler Joey Jones Peter Hackmair Angelo Caroli James Riordan Daniel Baldi Denis Scuto Wilhelm Heinrich Focke Veronica Guerin Takeo Takahashi Jaromír Votík
Philipp Heineken, Jaromír Votík, Ryan Nelsen, Arthur Albiston, Coloman Braun-Bogdan, Jan van Halst, Jo Nesbø, Robert Neumann, Miroslav Ivanov and Marcus Urban have the profession as association football player and writer
Philipp Heineken Jaromír Votík Ryan Nelsen Arthur Albiston Coloman Braun-Bogdan Jan van Halst Jo Nesbø Robert Neumann Miroslav Ivanov Marcus Urban
action filter_type
action intersection
action find_reverse
entity association football player
relation occupation
action find_reverse
entity writer
relation occupation
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'association football player'], [{'concept': 'common name'}, 'occupation', 'writer']]}
SELECT DISTINCT ?x WHERE { ?x property:occupation resource:association_football_player . ?x property:occupation resource:writer . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 2149 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2149
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { FILTER ( ?i <= 2149 ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?b } GROUP BY ?b } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2149
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { FILTER ( ?i <= 2149 ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?b } GROUP BY ?b } }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 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 count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2149
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { FILTER ( ?i <= 2149 ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?b rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?b } GROUP BY ?b } }
viola bass guitar 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 trumpet 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
62
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2149
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { FILTER ( ?i <= 2149 ) . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?i ) WHERE { ?b rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?b } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q5398426
USER
Which television series had their voice dubbing done by min number of people ?
(c(Q5398426),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q5398426
type Q502895
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l property:P725 ?b . ?l rdf:type ontology:Q5398426 . ?b rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?q = ?g ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:P725 ?h . ?u rdf:type ontology:Q5398426 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } } }
action argmin
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l property:voice_actor ?b . ?l rdf:type ontology:television_series . ?b rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?q = ?g ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:voice_actor ?h . ?u rdf:type ontology:television_series . ?h rdf:type ontology:common_name } GROUP BY ?u } } }
[]
common name television series
Q483803 Q1065178 Q1013388
SYSTEM
Daily Lives of High School Boys, Sketchbook, Telepathy Shōjo Ran Jiken Note
Q2564733 Q15148562 Q1317227 Q2583218 Q1723828 Q184352 Q7445961 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q483724 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q482551 Q900553 Q1132147 Q1816558 Q1055370 Q492884 Q3271710 Q2030675 Q1834 Q182662 Q7094371 Q2855268 Q2539006 Q645307 Q5356268 Q2522289 Q1191938 Q1159317 Q736163 Q698229 Q696524 Q9385099 Q1523630 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q5158632 Q483375 Q431930 Q699819 Q170019 Q268512 Q1141838 Q1554117 Q1348627 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q11387159 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q1141816 Q632746 Q1514362 Q1194085 Q2566529 Q708174 Q1073660 Q776574 Q4251500 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q764135 Q485199 Q614495 Q608660 Q703031 Q2083163 Q1200040 Q700203 Q1202553 Q593049 Q705053 Q11571242 Q308035 Q931319 Q540997 Q1743797 Q11147846 Q491841 Q590129 Q2499784 Q485753 Q735669 Q1790241 Q1477323 Q1091195 Q91802 Q1186554 Q2043633 Q2578383 Q1137447 Q1051427 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q14318175
(c(Q5398426),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q5398426
type Q502895
The [ANSWERS] had their voice dubbing done by min number of people
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l property:P725 ?b . ?l rdf:type ontology:Q5398426 . ?b rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?q = ?g ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:P725 ?h . ?u rdf:type ontology:Q5398426 . ?h rdf:type ontology:Q502895 } GROUP BY ?u } } }
Idaten Jump Hamatora I Don't Like You at All, Big Brother! Senyu Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Hiwou War Chronicles I Couldn’t Become a Hero, So I Reluctantly Decided to Get a Job. Level E Planetes Place to Place Daily Lives of High School Boys Valvrave the Liberator Sumomomo Momomo A Penguin's Troubles Natsuiro Kiseki MM! Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Kämpfer Yurumates Lilpri Monochrome Factor Mushishi The "Hentai" Prince and the Stony Cat. Senki Zesshō Symphogear Witchblade Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Kenichi: The Mightiest Disciple MÄR Kyōkai no Kanata Occult Academy Negima! Magister Negi Magi Wedding Peach Kingdom Powerpuff Girls Z Gate Keepers Say 'I love you' Kokoro Connect Yoshinaga-san Chi no Gargoyle Wandering Son Kamisama Hajimemashita Night Wizard! Z/X Reborn! Kagihime Monogatari Eikyū Alice Rondo The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Maid Sama! Guin Saga Nabari no Ou Immortal Grand Prix Black Heaven Sankarea Ixion Saga DT First Love Limited Wan Wan Celeb Soreyuke! Tetsunoshin Mondai-Ji-tachi ga Isekai Kara Kuru Sō Desu yo? Mushi-Uta Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios Kenzen Robo Daimidaler Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Anyamaru Tantei Kiruminzuu Campione! Bakusō Kyōdai Let's & Go!! Kenkō Zenrakei Suieibu Umishō Highschool of the Dead Pandora Hearts Miss Machiko Cuticle Detective Inaba Koi Kaze Nintama Rantarō Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Himawari! Mashin Hero Wataru Tamayura Persona : Trinity Soul Kocchi Muite! Miiko Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Gin Tama Someday's Dreamers Sekirei Needless Baby and Me Teekyu Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Manyū Hiken-chō Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Aria And Yet The Town Moves Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Fancy Lala Hakkenden: Eight Dogs of the East Tokimeki Memorial Only Love MegaMan NT Warrior Jewelpet The Devil Is a Part-Timer! Jing: King of Bandits Birdy the Mighty Little Women II: Jo's Boys Sketchbook Kaiketsu Zorori Ōkami-san Riddle Story of Devil
The Daily Lives of High School Boys, Sketchbook and Telepathy Shōjo Ran Jiken Note had their voice dubbing done by min number of people
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
action argmin
action find_tuple_counts
relation voice actor
type television series
type common name
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?b ) AS ?q ) WHERE { ?l property:voice_actor ?b . ?l rdf:type ontology:television_series . ?b rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?q = ?g ) . { SELECT DISTINCT ( MIN ( ?o ) AS ?g ) { SELECT DISTINCT ?u ( COUNT ( ?h ) AS ?o ) WHERE { ?u property:voice_actor ?h . ?u rdf:type ontology:television_series . ?h rdf:type ontology:common_name } GROUP BY ?u } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q483803
P57
Q502895
USER
Who was the director of that television series ?
(Q483803,P57,c(Q502895))
action filter_type
action find
entity Q483803
relation P57
type Q502895
['Q483803', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q483803 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Daily Lives of High School Boys
action filter_type
action find
entity Daily Lives of High School Boys
relation director
type common name
['Daily Lives of High School Boys', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Daily_Lives_of_High_School_Boys property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q1065178
SYSTEM
Did you mean Sketchbook ?
Q483803 Q1065178 Q1013388
(Q483803,P57,c(Q502895)) (Q1065178,P57,c(Q502895)) (Q1013388,P57,c(Q502895))
[ANSWER]
['Q483803', 'P57', {'concept': 'Q502895'}] ['Q1065178', 'P57', {'concept': 'Q502895'}] ['Q1013388', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q483803 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Daily Lives of High School Boys Sketchbook Telepathy Shōjo Ran Jiken Note
Did you mean Sketchbook ?
Sketchbook
['Daily Lives of High School Boys', 'director', {'concept': 'common name'}] ['Sketchbook', 'director', {'concept': 'common name'}] ['Telepathy Shōjo Ran Jiken Note', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Daily_Lives_of_High_School_Boys property:director ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Daily Lives of High School Boys. Could you tell me the answer for that?
(Q483803,P57,c(Q502895))
Q483803
['Q483803', 'P57', {'concept': 'Q502895'}]
['Daily Lives of High School Boys', 'director', {'concept': 'common name'}]
[]
Q3241648
SYSTEM
Shinji Takamatsu
Q3241648
(Q483803,P57,c(Q502895))
action filter_type
action find
entity Q483803
relation P57
type Q502895
The director of that television series was [ANSWER]
['Q483803', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q483803 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Shinji Takamatsu
The director of that television series was Shinji Takamatsu
Shinji Takamatsu
action filter_type
action find
entity Daily Lives of High School Boys
relation director
type common name
['Daily Lives of High School Boys', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Daily_Lives_of_High_School_Boys property:director ?j . ?j rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q239506
P674
Q6619679 Q15619164 Q5398426
USER
Which television series are more number of fictional humanoids or abstract beings a character of than Dragon Ball ?
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
action count
action filter_multi_types
action find
entity Q239506
relation P674
type Q6619679
type Q15619164
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q239506 property:P674 ?r . { { ?r rdf:type ontology:Q15619164 } UNION { ?r rdf:type ontology:Q6619679 } } } } . FILTER ( ?p > ?q ) }
Dragon Ball
action greater
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
action count
action filter_multi_types
action find
entity Dragon Ball
relation characters
type fictional humanoid
type abstract being
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Dragon_Ball property:characters ?r . { { ?r rdf:type ontology:abstract_being } UNION { ?r rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?p > ?q ) }
[]
fictional humanoid abstract being television series
Q881797 Q483535 Q211183
SYSTEM
YuruYuri, Ore no Imōto ga Konna ni Kawaii Wake ga Nai, Tamako Market
Q2989881 Q702497 Q235311 Q483535 Q477916 Q1768718 Q2989836 Q906811 Q1768716 Q881797 Q211183 Q1207316 Q5364072
(c(Q5398426),P674,c(Q6619679)|c(Q15619164))
action greater
action union
action find_tuple_counts
relation P674
type Q5398426
type Q6619679
action find_tuple_counts
relation P674
type Q5398426
type Q15619164
action count
action filter_multi_types
action find
entity Q239506
relation P674
type Q6619679
type Q15619164
[ANSWERS] are more number of fictional humanoids or abstract beings a character of than Dragon Ball
[{'concept': 'Q5398426'}, 'P674', [{'concept': 'Q6619679'}, {'concept': 'Q15619164'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q239506 property:P674 ?r . { { ?r rdf:type ontology:Q15619164 } UNION { ?r rdf:type ontology:Q6619679 } } } } . FILTER ( ?p > ?q ) }
Marco Polo Major Doraemon Ore no Imōto ga Konna ni Kawaii Wake ga Nai Dragon Ball Z An Unearthly Child The Edge of Destruction Gankutsuou: The Count of Monte Cristo The Daleks YuruYuri Tamako Market Kanamemo Non Non Biyori
YuruYuri, Ore no Imōto ga Konna ni Kawaii Wake ga Nai and Tamako Market are more number of fictional humanoids or abstract beings a character of than Dragon Ball
YuruYuri Ore no Imōto ga Konna ni Kawaii Wake ga Nai Tamako Market
action greater
action union
action find_tuple_counts
relation characters
type television series
type fictional humanoid
action find_tuple_counts
relation characters
type television series
type abstract being
action count
action filter_multi_types
action find
entity Dragon Ball
relation characters
type fictional humanoid
type abstract being
[{'concept': 'television series'}, 'characters', [{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?p ) WHERE { ?l rdf:type ?k . VALUES ( ?k ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Dragon_Ball property:characters ?r . { { ?r rdf:type ontology:abstract_being } UNION { ?r rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?p > ?q ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q881797
P1441
Q15619164
USER
How many abstract beings are seen in YuruYuri ?
(c(Q15619164),P1441,Q881797)
action count
action filter_type
action find_reverse
entity Q881797
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q881797']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q15619164 . ?x property:P1441 resource:Q881797 }
YuruYuri
action count
action filter_type
action find_reverse
entity YuruYuri
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'YuruYuri']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:abstract_being . ?x property:present_in_work resource:YuruYuri }
[]
abstract being
SYSTEM
12
Q15502591 Q15502464 Q15502552 Q15502577 Q15502566 Q15502538 Q15502526 Q15502609 Q15502620 Q15502637 Q15502733 Q15502715
(c(Q15619164),P1441,Q881797)
action count
action filter_type
action find_reverse
entity Q881797
relation P1441
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q881797']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q15619164 . ?x property:P1441 resource:Q881797 }
Sakurako Ohmuro Akari Akaza Chinatsu Yoshikawa Chitose Ikeda Ayano Sugiura Yui Funami Kyōko Toshinō Himawari Furutani Rise Matsumoto Akane Akaza Mirakurun Nana Nishigaki
12
action count
action filter_type
action find_reverse
entity YuruYuri
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'YuruYuri']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:abstract_being . ?x property:present_in_work resource:YuruYuri }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q2608646
P1441
Q15619164
USER
And also tell me about Phantom Blood?
(c(Q15619164),P1441,Q2608646)
action count
action filter_type
action find_reverse
entity Q2608646
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q2608646']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1441 resource:Q2608646 . ?v rdf:type ontology:Q15619164 }
Phantom Blood
action count
action filter_type
action find_reverse
entity Phantom Blood
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Phantom Blood']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:present_in_work resource:Phantom_Blood . ?v rdf:type ontology:abstract_being }
[]
abstract being
SYSTEM
1
Q2406921
(c(Q15619164),P1441,Q2608646)
action count
action filter_type
action find_reverse
entity Q2608646
relation P1441
type Q15619164
[ANSWER]
[{'concept': 'Q15619164'}, 'P1441', 'Q2608646']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:P1441 resource:Q2608646 . ?v rdf:type ontology:Q15619164 }
Jonathan Joestar
1
action count
action filter_type
action find_reverse
entity Phantom Blood
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Phantom Blood']
SELECT DISTINCT ( COUNT ( ?v ) AS ?m ) WHERE { ?v property:present_in_work resource:Phantom_Blood . ?v rdf:type ontology:abstract_being }
[]