Simple Question (Direct)
Simple Question
Q519939
P106
Q12737077
USER
What do Johannes Voigt do for a living ?
(Q519939,P106,c(Q12737077))
action filter_type
action find
entity Q519939
relation P106
type Q12737077
['Q519939', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q519939 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Johannes Voigt
action filter_type
action find
entity Johannes Voigt
relation occupation
type occupation
['Johannes Voigt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Johannes_Voigt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q201788 Q1622272 Q16631371
SYSTEM
historian, university teacher, academic
Q201788 Q16631371 Q1622272 Q36180
(Q519939,P106,c(Q12737077))
action filter_type
action find
entity Q519939
relation P106
type Q12737077
[ANSWERS] Johannes Voigt do for a living
['Q519939', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q519939 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
historian academic university teacher writer
Historian, university teacher and academic Johannes Voigt do for a living
historian university teacher academic
action filter_type
action find
entity Johannes Voigt
relation occupation
type occupation
['Johannes Voigt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Johannes_Voigt property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1622272
P512
Q502895
USER
Who have the academic degree that occupation ?
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?g WHERE { ?g property:P512 resource:Q1622272 . ?g rdf:type ontology:Q502895 }
university teacher
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?g WHERE { ?g property:academic_degree resource:university_teacher . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q201788
SYSTEM
Did you mean historian ?
Q201788 Q1622272 Q16631371
(c(Q502895),P512,Q201788) (c(Q502895),P512,Q1622272) (c(Q502895),P512,Q16631371)
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q201788'] [{'concept': 'Q502895'}, 'P512', 'Q1622272'] [{'concept': 'Q502895'}, 'P512', 'Q16631371']
SELECT DISTINCT ?g WHERE { ?g property:P512 resource:Q1622272 . ?g rdf:type ontology:Q502895 }
historian university teacher academic
Did you mean historian ?
historian
[{'concept': 'common name'}, 'academic degree', 'historian'] [{'concept': 'common name'}, 'academic degree', 'university teacher'] [{'concept': 'common name'}, 'academic degree', 'academic']
SELECT DISTINCT ?g WHERE { ?g property:academic_degree resource:university_teacher . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant university teacher. Could you tell me the answer for that?
(c(Q502895),P512,Q1622272)
Q1622272
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
[{'concept': 'common name'}, 'academic degree', 'university teacher']
[]
Q1631650 Q1362287 Q4074760
SYSTEM
Hovhannes Barseghian, Manolis Andronikos, Edvard Baghdasaryan
Q4074760 Q22116332 Q5697983 Q1631650 Q1362287 Q3350761 Q26338766
(c(Q502895),P512,Q1622272)
action filter_type
action find_reverse
entity Q1622272
relation P512
type Q502895
[ANSWERS] have the academic degree that occupation
[{'concept': 'Q502895'}, 'P512', 'Q1622272']
SELECT DISTINCT ?g WHERE { ?g property:P512 resource:Q1622272 . ?g rdf:type ontology:Q502895 }
Edvard Baghdasaryan Helmut Neef Antonio Campos Muñoz Hovhannes Barseghian Manolis Andronikos Olivier Archambeau Athanasios Dimopoulos
Hovhannes Barseghian, Manolis Andronikos and Edvard Baghdasaryan have the academic degree that occupation
Hovhannes Barseghian Manolis Andronikos Edvard Baghdasaryan
action filter_type
action find_reverse
entity university teacher
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'university teacher']
SELECT DISTINCT ?g WHERE { ?g property:academic_degree resource:university_teacher . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362287
P802
Q502895
USER
Which person was a pupil of Manolis Andronikos ?
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?s WHERE { ?s property:P802 resource:Q1362287 . ?s rdf:type ontology:Q502895 }
Manolis Andronikos
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?s WHERE { ?s property:student resource:Manolis_Andronikos . ?s rdf:type ontology:common_name }
[]
common name
Q704230
SYSTEM
John Beazley
Q704230
(c(Q502895),P802,Q1362287)
action filter_type
action find_reverse
entity Q1362287
relation P802
type Q502895
[ANSWER] was a pupil of Manolis Andronikos
[{'concept': 'Q502895'}, 'P802', 'Q1362287']
SELECT DISTINCT ?s WHERE { ?s property:P802 resource:Q1362287 . ?s rdf:type ontology:Q502895 }
John Beazley
John Beazley was a pupil of Manolis Andronikos
John Beazley
action filter_type
action find_reverse
entity Manolis Andronikos
relation student
type common name
[{'concept': 'common name'}, 'student', 'Manolis Andronikos']
SELECT DISTINCT ?s WHERE { ?s property:student resource:Manolis_Andronikos . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q704230
P1066
Q502895
USER
Who is a pupil of that one ?
(c(Q502895),P1066,Q704230)
action filter_type
action find_reverse
entity Q704230
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q704230']
SELECT DISTINCT ?v WHERE { ?v property:P1066 resource:Q704230 . ?v rdf:type ontology:Q502895 }
John Beazley
action filter_type
action find_reverse
entity John Beazley
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'John Beazley']
SELECT DISTINCT ?v WHERE { ?v property:student_of resource:John_Beazley . ?v rdf:type ontology:common_name }
[]
common name
Q1362287
SYSTEM
Manolis Andronikos
Q1362287
(c(Q502895),P1066,Q704230)
action filter_type
action find_reverse
entity Q704230
relation P1066
type Q502895
A pupil of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q704230']
SELECT DISTINCT ?v WHERE { ?v property:P1066 resource:Q704230 . ?v rdf:type ontology:Q502895 }
Manolis Andronikos
A pupil of that one is the Manolis Andronikos
Manolis Andronikos
action filter_type
action find_reverse
entity John Beazley
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'John Beazley']
SELECT DISTINCT ?v WHERE { ?v property:student_of resource:John_Beazley . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did atmost 10 people do the dubbing for ?
(c(Q5398426),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 10
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { ?p property:P725 ?a . ?p rdf:type ontology:Q5398426 . ?a rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?q <= 10 ) }
action count
action atmost
action find_tuple_counts
relation voice actor
type television series
type common name
value 10
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { ?p property:voice_actor ?a . ?p rdf:type ontology:television_series . ?a rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?q <= 10 ) }
[]
common name television series
SYSTEM
233
Q2564733 Q602721 Q15148562 Q1317227 Q2583218 Q1149942 Q1723828 Q184352 Q7445961 Q487695 Q2349865 Q3211469 Q483557 Q95063 Q2633652 Q483803 Q2791605 Q1314527 Q1107025 Q1107521 Q7480931 Q483724 Q494804 Q483547 Q1141789 Q844599 Q582630 Q1837327 Q24045770 Q199073 Q752495 Q15574647 Q539284 Q425550 Q182476 Q1060695 Q1191236 Q2318266 Q133532 Q482551 Q900553 Q602434 Q1132147 Q1202916 Q1816558 Q1055370 Q486623 Q492884 Q211183 Q3271710 Q482796 Q1335290 Q488467 Q2030675 Q1135764 Q1834 Q182662 Q7094371 Q2855268 Q3565008 Q498079 Q2539006 Q645307 Q5356268 Q2522289 Q11320196 Q2607852 Q1191938 Q1159317 Q736163 Q3980545 Q698229 Q696524 Q3280971 Q9385099 Q1523630 Q482802 Q642944 Q701372 Q1058984 Q865498 Q2539030 Q1580513 Q488438 Q854973 Q482872 Q484259 Q1143991 Q11255631 Q862850 Q696986 Q5158632 Q1052846 Q483375 Q431930 Q699819 Q170019 Q268512 Q1339165 Q921440 Q1141838 Q1554117 Q1367069 Q1348627 Q494610 Q5364072 Q596883 Q2390297 Q385129 Q2756199 Q536416 Q987783 Q185012 Q6941258 Q8916464 Q137002 Q10890355 Q5653026 Q11519613 Q717382 Q11179499 Q810437 Q2088696 Q1087664 Q484518 Q11387159 Q482865 Q611650 Q1091743 Q1309696 Q944258 Q484515 Q1188003 Q11332238 Q493744 Q368608 Q709673 Q540497 Q830771 Q868899 Q2482070 Q199224 Q1778816 Q713975 Q116122 Q1013388 Q333687 Q1317129 Q482466 Q1186628 Q724155 Q1141816 Q632746 Q1514362 Q1194085 Q11621483 Q606180 Q2566529 Q708174 Q2626017 Q1073660 Q776574 Q483585 Q4251500 Q7447123 Q275676 Q196214 Q1750516 Q2663915 Q2584248 Q7820714 Q495919 Q143830 Q1350885 Q764135 Q1617849 Q485199 Q614495 Q838203 Q608660 Q703031 Q664845 Q2083163 Q1657773 Q1200040 Q700203 Q1202553 Q593049 Q618974 Q705053 Q11571242 Q308035 Q495450 Q931319 Q11275607 Q2498954 Q540997 Q1743797 Q11147846 Q491841 Q2619218 Q590129 Q2499784 Q485753 Q281062 Q735669 Q1790241 Q1477323 Q1091195 Q794345 Q91802 Q1186554 Q615650 Q2043633 Q2578383 Q1137447 Q1051427 Q4185849 Q2756865 Q2418770 Q3211549 Q2419200 Q527398 Q2634885 Q5680972 Q1742099 Q1257981 Q702014 Q1065178 Q1209267 Q385161 Q582788 Q14318175
(c(Q5398426),P725,c(Q502895))
action count
action atmost
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 10
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { ?p property:P725 ?a . ?p rdf:type ontology:Q5398426 . ?a rdf:type ontology:Q502895 } GROUP BY ?p } . FILTER ( ?q <= 10 ) }
Idaten Jump Shugo Chara! Hamatora I Don't Like You at All, Big Brother! Senyu Sket Dance انیمه Kannagi: Crazy Shrine Maidens Ore no Kanojo to Osananajimi ga Shuraba Sugiru Encouragement of Climb Un-Go 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 Yuyushiki MM! Hanasaku Iroha Mitsudomoe Fate/Zero Sayonara Zetsubō Sensei Sgt. Frog Jinrui wa Suitaishimashita Beyblade Tokyo Ravens Asura Cryin' Tesagure! Bukatsu-mono Kaleido Star Steel Angel Kurumi Code:Breaker Ginga e Kickoff!! Infinite Ryvius Oniisama e... Btooom! Kämpfer Yurumates Idolmaster: Xenoglossia Lilpri Working!! Monochrome Factor Mushishi Nekogami Yaoyorozu The "Hentai" Prince and the Stony Cat. Tamako Market Senki Zesshō Symphogear The World God Only Knows Medaka Box Ben-To Witchblade Softenni Death Note The Flowers of Evil Onmyō Taisenki GJ-bu Mushibugyō Pretty Rhythm Blue Seed Di Gi Charat No-Rin I My Me! Strawberry Eggs D-Frag! Sasameki Koto Kyō no Go no Ni Dance in the Vampire Bund Blue Drop Tamagotchi! Kenichi: The Mightiest Disciple MÄR Love Live! Kyōkai no Kanata Occult Academy IS (Infinite Stratos) 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! Beelzebub Kagihime Monogatari Eikyū Alice Rondo Last Exile The Sacred Blacksmith Noein El-Hazard D.Gray-man Sacred Seven Hyōka Seitokai Yakuindomo Maid Sama! Guin Saga Hyakka Ryōran Samurai Girls Nabari no Ou Guilty Crown Non Non Biyori 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 Servant x Service Recorder and Randsell Shining Hearts: Shiawase no Pan Happy Seven Mikakunin de Shinkōkei Madō King Granzort Black Bullet Basquash! Suzuka Chrome Shelled Regios The Legend of the Legendary Heroes Kenzen Robo Daimidaler Dog Days Karneval Double-J Living for the Day After Tomorrow Yumeiro Patissiere Dragon Crisis! Cardfight!! Vanguard Fantasista Doll 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ō Hayate the Combat Butler Telepathy Shōjo Ran Jiken Note Chō Soku Henkei Gyrozetter Haré+Guu Maria-sama ga Miteru Moshidora Asobi ni iku yo! Fushigiboshi no Futagohime Bakugan Battle Brawlers Princess Resurrection Nura: Rise of the Yokai Clan Arpeggio of Blue Steel Maria Holic Himawari! Mashin Hero Wataru Aesthetica of a Rogue Hero Tamayura Persona : Trinity Soul Denpa Onna to Seishun Otoko Kocchi Muite! Miiko Wanna be the Strongest in the World Digimon Fusion Is This a Zombie? Kamen no Maid Guy Dazzle Akikan! Tona-Gura! Blue Exorcist Detective School Q Queen's Blade Rebellion Gin Tama High School DxD Someday's Dreamers Sekirei Gdgd Fairies Needless Baby and Me Pumpkin Scissors Teekyu Inu x Boku SS Nagasarete Airantou Mirmo! Suite PreCure Minami-ke Umi Monogatari: Anata ga Ite Kureta Koto Otome Yōkai Zakuro Inugami-san to Nekoyama-san XxxHolic Demon King Daimao Manyū Hiken-chō Happy Kappy The Ambition of Oda Nobuna Net Ghost PiPoPa Kissxsis Noragami Kono Naka ni Hitori, Imōto ga Iru! Yozakura Quartet Mobile Suit Victory Gundam Red Garden Mayoi Neko Overrun! The Qwaser of Stigmata Dragon Ball GT Rumic Theater Speed Grapher Chu-Bra!! Beyblade: Metal Fusion Aria And Yet The Town Moves Aoi Hana Majestic Prince Coppelion Emma Goshūshō-sama Ninomiya-kun Gokujyo NG Knight Lamune & 40 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 Saki Riddle Story of Devil
233
action count
action atmost
action find_tuple_counts
relation voice actor
type television series
type common name
value 10
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?a ) AS ?q ) WHERE { ?p property:voice_actor ?a . ?p rdf:type ontology:television_series . ?a rdf:type ontology:common_name } GROUP BY ?p } . FILTER ( ?q <= 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q704230
P1412
Q34770
USER
Which language is John Beazley capable of writing ?
(Q704230,P1412,c(Q34770))
action filter_type
action find
entity Q704230
relation P1412
type Q34770
['Q704230', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q704230 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
John Beazley
action filter_type
action find
entity John Beazley
relation languages spoken, written or signed
type language
['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:John_Beazley property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q704230,P1412,c(Q34770))
action filter_type
action find
entity Q704230
relation P1412
type Q34770
[ANSWER] is John Beazley capable of writing
['Q704230', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?v WHERE { resource:Q704230 property:P1412 ?v . ?v rdf:type ontology:Q34770 }
English
English is John Beazley capable of writing
English
action filter_type
action find
entity John Beazley
relation languages spoken, written or signed
type language
['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?v WHERE { resource:John_Beazley property:languages_spoken,_written_or_signed ?v . ?v rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q837939 Q704230
P1412 P364
Q34770
USER
Which languages can John Beazley read and are the original languages of creation of Picture Bride ?
AND((Q704230,P1412,c(Q34770)), (Q837939,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q704230
relation P1412
action find
entity Q837939
relation P364
type Q34770
{'AND': [['Q704230', 'P1412', {'concept': 'Q34770'}], ['Q837939', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q837939 property:P364 ?e . resource:Q704230 property:P1412 ?e }
Picture Bride John Beazley
action filter_type
action intersection
action find
entity John Beazley
relation languages spoken, written or signed
action find
entity Picture Bride
relation original language of work
type language
{'AND': [['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}], ['Picture Bride', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Picture_Bride property:original_language_of_work ?e . resource:John_Beazley property:languages_spoken,_written_or_signed ?e }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q704230,P1412,c(Q34770)), (Q837939,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q704230
relation P1412
action find
entity Q837939
relation P364
type Q34770
John Beazley can read in [ANSWER] and are the original languages of creation of Picture Bride
{'AND': [['Q704230', 'P1412', {'concept': 'Q34770'}], ['Q837939', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q34770 . resource:Q837939 property:P364 ?e . resource:Q704230 property:P1412 ?e }
English
John Beazley can read in English and are the original languages of creation of Picture Bride
English
action filter_type
action intersection
action find
entity John Beazley
relation languages spoken, written or signed
action find
entity Picture Bride
relation original language of work
type language
{'AND': [['John Beazley', 'languages spoken, written or signed', {'concept': 'language'}], ['Picture Bride', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:language . resource:Picture_Bride property:original_language_of_work ?e . resource:John_Beazley property:languages_spoken,_written_or_signed ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q837939
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q837939
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q837939 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Picture Bride
action filter_type
action find
entity Picture Bride
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Picture_Bride property:director ?o . ?o rdf:type ontology:common_name }
[]
common name
Q6380650
SYSTEM
Kayo Hatta
Q6380650
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q837939
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q837939 property:P57 ?o . ?o rdf:type ontology:Q502895 }
Kayo Hatta
Kayo Hatta served as the directed of that work of art
Kayo Hatta
action filter_type
action find
entity Picture Bride
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Picture_Bride property:director ?o . ?o rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6380650 Q30
P27
Q15617994
USER
Does Kayo Hatta belong to United States of America ?
(Q6380650,P27,Q30)
action is_in
entity Q30
action find
entity Q6380650
relation P27
['Q6380650', 'P27', 'Q30']
ASK WHERE { resource:Q6380650 property:P27 resource:Q30 }
Kayo Hatta United States of America
action is_in
entity United States of America
action find
entity Kayo Hatta
relation country of citizenship
['Kayo Hatta', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Kayo_Hatta property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6380650,P27,Q30)
action is_in
entity Q30
action find
entity Q6380650
relation P27
[ANSWER]
['Q6380650', 'P27', 'Q30']
ASK WHERE { resource:Q6380650 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Kayo Hatta
relation country of citizenship
['Kayo Hatta', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Kayo_Hatta property:country_of_citizenship resource:United_States_of_America }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do approximately 1577 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1577
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?g = 1577 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1577
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?g = 1577 ) }
[]
musical instrument common name
SYSTEM
8
Q80284 Q46185 Q80019 Q8338 Q8371 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1577
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:P1303 ?f . ?f rdf:type ontology:Q34379 . ?b rdf:type ontology:Q502895 } GROUP BY ?f } . FILTER ( ?g = 1577 ) }
viola bass guitar double bass trumpet cello organ drum kit electronic keyboard
8
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1577
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?e ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?b ) AS ?g ) WHERE { ?b property:instrument ?f . ?f rdf:type ontology:musical_instrument . ?b rdf:type ontology:common_name } GROUP BY ?f } . FILTER ( ?g = 1577 ) }
[]