Simple Question (Direct)
Simple Question
Q14916774
P19
Q15617994
USER
Where was Michaela Kaniber born ?
(Q14916774,P19,c(Q15617994))
action filter_type
action find
entity Q14916774
relation P19
type Q15617994
['Q14916774', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q14916774 property:P19 ?c . ?c rdf:type ontology:Q15617994 }
Michaela Kaniber
action filter_type
action find
entity Michaela Kaniber
relation place of birth
type designation for an administrative territorial entity
['Michaela Kaniber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Michaela_Kaniber property:place_of_birth ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q487971
SYSTEM
Bad Reichenhall
Q487971
(Q14916774,P19,c(Q15617994))
action filter_type
action find
entity Q14916774
relation P19
type Q15617994
Michaela Kaniber was born in [ANSWER]
['Q14916774', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q14916774 property:P19 ?c . ?c rdf:type ontology:Q15617994 }
Bad Reichenhall
Michaela Kaniber was born in Bad Reichenhall
Bad Reichenhall
action filter_type
action find
entity Michaela Kaniber
relation place of birth
type designation for an administrative territorial entity
['Michaela Kaniber', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Michaela_Kaniber property:place_of_birth ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q487971
P47
Q15617994
USER
Which administrative territories share border with that one ?
(Q487971,P47,c(Q15617994))
action filter_type
action find
entity Q487971
relation P47
type Q15617994
['Q487971', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q487971 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Bad Reichenhall
action filter_type
action find
entity Bad Reichenhall
relation shares border with
type designation for an administrative territorial entity
['Bad Reichenhall', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bad_Reichenhall property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q252537 Q267865 Q263586
SYSTEM
Inzell, Piding, Bayerisch Gmain
Q267865 Q263586 Q252537 Q253867
(Q487971,P47,c(Q15617994))
action filter_type
action find
entity Q487971
relation P47
type Q15617994
[ANSWERS] share border with that one
['Q487971', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q487971 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Piding Bayerisch Gmain Inzell Schneizlreuth
Inzell, Piding and Bayerisch Gmain share border with that one
Inzell Piding Bayerisch Gmain
action filter_type
action find
entity Bad Reichenhall
relation shares border with
type designation for an administrative territorial entity
['Bad Reichenhall', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Bad_Reichenhall property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3838896 Q14916774
P27
Q1048835
USER
Which political territories do Michaela Kaniber or Lucius Manlius Capitolinus belong to ?
OR((Q14916774,P27,c(Q1048835)), (Q3838896,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q14916774
relation P27
action find
entity Q3838896
relation P27
type Q1048835
{'OR': [['Q14916774', 'P27', {'concept': 'Q1048835'}], ['Q3838896', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Q14916774 ) ( resource:Q3838896 ) } . ?u property:P27 ?k } . ?k rdf:type ontology:Q1048835 }
Lucius Manlius Capitolinus Michaela Kaniber
action filter_type
action union
action find
entity Michaela Kaniber
relation country of citizenship
action find
entity Lucius Manlius Capitolinus
relation country of citizenship
type political territorial entity
{'OR': [['Michaela Kaniber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lucius Manlius Capitolinus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Michaela_Kaniber ) ( resource:Lucius_Manlius_Capitolinus ) } . ?u property:country_of_citizenship ?k } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1747689 Q183
SYSTEM
Ancient Rome, Germany
Q1747689 Q183
OR((Q14916774,P27,c(Q1048835)), (Q3838896,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q14916774
relation P27
action find
entity Q3838896
relation P27
type Q1048835
Michaela Kaniber or Lucius Manlius Capitolinus belong to the [ANSWERS]
{'OR': [['Q14916774', 'P27', {'concept': 'Q1048835'}], ['Q3838896', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Q14916774 ) ( resource:Q3838896 ) } . ?u property:P27 ?k } . ?k rdf:type ontology:Q1048835 }
Ancient Rome Germany
Michaela Kaniber or Lucius Manlius Capitolinus belong to the Ancient Rome and Germany
Ancient Rome Germany
action filter_type
action union
action find
entity Michaela Kaniber
relation country of citizenship
action find
entity Lucius Manlius Capitolinus
relation country of citizenship
type political territorial entity
{'OR': [['Michaela Kaniber', 'country of citizenship', {'concept': 'political territorial entity'}], ['Lucius Manlius Capitolinus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?u ) { ( resource:Michaela_Kaniber ) ( resource:Lucius_Manlius_Capitolinus ) } . ?u property:country_of_citizenship ?k } . ?k rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1747689
P710
Q1190554
USER
Which event did that political territory participate in ?
(c(Q1190554),P710,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q1747689']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q1747689 . ?g rdf:type ontology:Q1190554 }
Ancient Rome
action filter_type
action find_reverse
entity Ancient Rome
relation participant
type event
[{'concept': 'event'}, 'participant', 'Ancient Rome']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Ancient_Rome . ?g rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q1747689
SYSTEM
Did you mean Ancient Rome ?
Q1747689 Q183
(c(Q1190554),P710,Q1747689) (c(Q1190554),P710,Q183)
[ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q1747689'] [{'concept': 'Q1190554'}, 'P710', 'Q183']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q1747689 . ?g rdf:type ontology:Q1190554 }
Ancient Rome Germany
Did you mean Ancient Rome ?
Ancient Rome
[{'concept': 'event'}, 'participant', 'Ancient Rome'] [{'concept': 'event'}, 'participant', 'Germany']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Ancient_Rome . ?g rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1190554),P710,Q1747689)
[{'concept': 'Q1190554'}, 'P710', 'Q1747689']
[{'concept': 'event'}, 'participant', 'Ancient Rome']
[]
Q2888472
SYSTEM
Battle of Déols
Q2888472
(c(Q1190554),P710,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P710
type Q1190554
That political territory participated in [ANSWER]
[{'concept': 'Q1190554'}, 'P710', 'Q1747689']
SELECT DISTINCT ?g WHERE { ?g property:P710 resource:Q1747689 . ?g rdf:type ontology:Q1190554 }
Battle of Déols
That political territory participated in Battle of Déols
Battle of Déols
action filter_type
action find_reverse
entity Ancient Rome
relation participant
type event
[{'concept': 'event'}, 'participant', 'Ancient Rome']
SELECT DISTINCT ?g WHERE { ?g property:participant resource:Ancient_Rome . ?g rdf:type ontology:event }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1747689 Q10561705
P706
Q56061
USER
How many administrative territories are the location where Ancient Rome or Lilla Blecktornsparken are located ?
(Q1747689,P706,c(Q56061)) (Q10561705,P706,c(Q56061))
action count
action union
action filter_type
action find
entity Q1747689
relation P706
type Q56061
action filter_type
action find
entity Q10561705
relation P706
type Q56061
['Q1747689', 'P706', {'concept': 'Q56061'}] ['Q10561705', 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Q1747689 ) ( resource:Q10561705 ) } . ?u property:P706 ?r }
Ancient Rome Lilla Blecktornsparken
action count
action union
action filter_type
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
action filter_type
action find
entity Lilla Blecktornsparken
relation located on terrain feature
type administrative territorial entity
['Ancient Rome', 'located on terrain feature', {'concept': 'administrative territorial entity'}] ['Lilla Blecktornsparken', 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Ancient_Rome ) ( resource:Lilla_Blecktornsparken ) } . ?u property:located_on_terrain_feature ?r }
[]
administrative territorial entity
SYSTEM
2
Q740149 Q72499
(Q1747689,P706,c(Q56061)) (Q10561705,P706,c(Q56061))
action count
action union
action filter_type
action find
entity Q1747689
relation P706
type Q56061
action filter_type
action find
entity Q10561705
relation P706
type Q56061
[ANSWER]
['Q1747689', 'P706', {'concept': 'Q56061'}] ['Q10561705', 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Q1747689 ) ( resource:Q10561705 ) } . ?u property:P706 ?r }
Södermalm Mediterranean Basin
2
action count
action union
action filter_type
action find
entity Ancient Rome
relation located on terrain feature
type administrative territorial entity
action filter_type
action find
entity Lilla Blecktornsparken
relation located on terrain feature
type administrative territorial entity
['Ancient Rome', 'located on terrain feature', {'concept': 'administrative territorial entity'}] ['Lilla Blecktornsparken', 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?h ) WHERE { VALUES ( ?u ) { ( resource:Ancient_Rome ) ( resource:Lilla_Blecktornsparken ) } . ?u property:located_on_terrain_feature ?r }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q203027 Q487971
P19
Q502895
USER
Which people have birthplace at Bad Reichenhall or Tsu ?
OR((c(Q502895),P19,Q487971), (c(Q502895),P19,Q203027))
action filter_type
action union
action find_reverse
entity Q487971
relation P19
action find_reverse
entity Q203027
relation P19
type Q502895
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q487971'], [{'concept': 'Q502895'}, 'P19', 'Q203027']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . { VALUES ( ?u ) { ( resource:Q487971 ) ( resource:Q203027 ) } . ?x property:P19 ?u } }
Tsu Bad Reichenhall
action filter_type
action union
action find_reverse
entity Bad Reichenhall
relation place of birth
action find_reverse
entity Tsu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Bad Reichenhall'], [{'concept': 'common name'}, 'place of birth', 'Tsu']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . { VALUES ( ?u ) { ( resource:Bad_Reichenhall ) ( resource:Tsu ) } . ?x property:place_of_birth ?u } }
[]
common name
Q11558139 Q1889937 Q11540285 Q16735453 Q1905036 Q11646032 Q17221358 Q11458787 Q3300197 Q60882
SYSTEM
Some of them are Shiho Uraguchi, Manfred Schöndorfer, Hideki Mori, Yoshihito Nishioka, Martin Sebaldt, Riichi Noda, Yasuyuki Maeba, Shū Kokubo, Sho Gokyu, Michael Neumayer
Q43949 Q11544108 Q1889937 Q323675 Q2074580 Q2686676 Q1080138 Q1598512 Q11423494 Q11406817 Q14916774 Q43796 Q18612590 Q4389733 Q99488 Q5771016 Q1560629 Q4833001 Q6451937 Q477598 Q1505479 Q43816 Q494020 Q11369772 Q97237 Q11413299 Q1674454 Q2283769 Q11446022 Q11436621 Q1448423 Q69157 Q2150949 Q11357410 Q1905036 Q11380118 Q11463632 Q1583498 Q105864 Q93141 Q1704784 Q662484 Q11483095 Q15444246 Q109589 Q11548309 Q1399831 Q70552 Q11380420 Q123246 Q825155 Q11386786 Q11444346 Q66566 Q11602534 Q11646032 Q11560801 Q100134 Q271251 Q17223599 Q17221358 Q3300266 Q17686702 Q11458787 Q11604181 Q11470561 Q2973975 Q110471 Q3544960 Q11454592 Q16231264 Q11557163 Q1682101 Q3365417 Q982113 Q1473278 Q3300197 Q230985 Q933532 Q1908481 Q107884 Q1078079 Q11532803 Q16003518 Q11540285 Q11412931 Q11466983 Q60882 Q2158243 Q11604450 Q11558139 Q7184707 Q88778 Q11478584 Q65998 Q11575850 Q3857328 Q17159170 Q16735453 Q1357486 Q499829 Q11458290 Q1822709 Q454346 Q2540754
OR((c(Q502895),P19,Q487971), (c(Q502895),P19,Q203027))
action filter_type
action union
action find_reverse
entity Q487971
relation P19
action find_reverse
entity Q203027
relation P19
type Q502895
[ANSWERS] have birthplace at Bad Reichenhall or Tsu
{'OR': [[{'concept': 'Q502895'}, 'P19', 'Q487971'], [{'concept': 'Q502895'}, 'P19', 'Q203027']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . { VALUES ( ?u ) { ( resource:Q487971 ) ( resource:Q203027 ) } . ?x property:P19 ?u } }
Hans Söllner Hidenori Hashizume Manfred Schöndorfer Kōji Kitao Peter Druschel Moritz Geisreiter Christian Harl Heinrich Rupert Puchner Ai Doshō Ai Senga Michaela Kaniber Walter Andreas Angerer Sepp Angerer Kanako Hirai Franz Grainer Hiroshi Okuda Günter Joetze Azu Kyohei Suzaki Walter Pichler Georg Nickaes Georg Ringsgwandl Andrea Gysi Makoto Kuno Gregor Bermbach Hideo Yoshimura Stefan Holzner Siegfried Seibold Chikako Okuda Ayumi Ōhashi Franz Oberwinkler Peter Schreyer Richard Wolff Hideka Miwa Martin Sebaldt Chūji Itō Yoshiyuki Konishi Hans Pranckh Agnes Friesinger Walter F. Tichy Josef Hellenbrock Viktoria Savs Miyuki Hiramatsu Horst W. Drescher Walter Grabmann Takamasa Mizuwake Harry Saager Anni Friesinger-Postma Yūsaku Itō Franz Taeschner Bernhard Hagemann Kazuhiro Kuramoto Kiyoharu Ōta Regina Häusl Tetsusaburō Sasao Riichi Noda Nobutsugu Shimizu Andreas Hofer Leiko Ikemura Naohisa Matsuda Yasuyuki Maeba Yosuke Nozaki Yukari Shimojō Shū Kokubo Michiko Yonekawa Mai Yamada Yoshikazu Yahiro Josef Hirthammer Ayumi Oka Mosaburō Miyazaki Thomas Fischer Masashi Asada Otto von Baeyer Yōko Kasahara Mu Kanazaki Matsusaburō Fujiwara Sho Gokyu Saori Yoshida Hidesaburō Ueno Mathias Holzner Barbara Gruber Christl Hintermaier Kazuaki Hayashi Siegfried Walch Hideki Mori Hitoshi Yoshikawa Naoko Yamaguchi Michael Neumayer Robert Meyer Shin'ichi Kokawa Shiho Uraguchi Philipp Öttl Hermann Gassner jr. Takahiro Kawasaki Andreas Hinterstoisser Mitsuko Tanaka Mika Hagi Kenji Sabettō Yoshihito Nishioka Ernst Baumann Andreas Ortner Hizuru Kotobuki Liane Rudolph Amandus Pächler Teruyuki Noda
Shiho Uraguchi, Manfred Schöndorfer, Hideki Mori, Yoshihito Nishioka, Martin Sebaldt, Riichi Noda, Yasuyuki Maeba, Shū Kokubo, Sho Gokyu and Michael Neumayer have birthplace at Bad Reichenhall or Tsu
Shiho Uraguchi Manfred Schöndorfer Hideki Mori Yoshihito Nishioka Martin Sebaldt Riichi Noda Yasuyuki Maeba Shū Kokubo Sho Gokyu Michael Neumayer
action filter_type
action union
action find_reverse
entity Bad Reichenhall
relation place of birth
action find_reverse
entity Tsu
relation place of birth
type common name
{'OR': [[{'concept': 'common name'}, 'place of birth', 'Bad Reichenhall'], [{'concept': 'common name'}, 'place of birth', 'Tsu']]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . { VALUES ( ?u ) { ( resource:Bad_Reichenhall ) ( resource:Tsu ) } . ?x property:place_of_birth ?u } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q21847215
P725
Q502895 Q95074
USER
Which fictional characters had their voice dubbing done by less number of people than Seiji Iwaki ?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847215
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?x ) WHERE { ?k property:P725 ?h . ?k rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?x < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q21847215 property:P725 ?q . ?q rdf:type ontology:Q502895 } } }
Seiji Iwaki
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Seiji Iwaki
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?x ) WHERE { ?k property:voice_actor ?h . ?k rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?x < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Seiji_Iwaki property:voice_actor ?q . ?q rdf:type ontology:common_name } } }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q3498590 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q21847215
relation P725
type Q502895
[ANSWERS] had their voice dubbing done by less number of people than Seiji Iwaki
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?x ) WHERE { ?k property:P725 ?h . ?k rdf:type ontology:Q95074 . ?h rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?x < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q21847215 property:P725 ?q . ?q rdf:type ontology:Q502895 } } }
Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo had their voice dubbing done by less number of people than Seiji Iwaki
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Seiji Iwaki
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?h ) AS ?x ) WHERE { ?k property:voice_actor ?h . ?k rdf:type ontology:fictional_character . ?h rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?x < ?g ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Seiji_Iwaki property:voice_actor ?q . ?q rdf:type ontology:common_name } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3471289
P725
Q502895 Q95074
USER
And also tell me about Samurai Goroh?
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3471289
relation P725
type Q502895
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?c ) WHERE { ?p property:P725 ?d . ?p rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q3471289 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?c < ?s ) }
Samurai Goroh
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Samurai Goroh
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?c ) WHERE { ?p property:voice_actor ?d . ?p rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Samurai_Goroh property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?c < ?s ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q16027672 Q21847055 Q3498590 Q308950 Q28465 Q551327 Q21837832 Q21847058 Q21847115 Q15710873 Q2442950 Q21847074 Q21837038 Q7828 Q3838346 Q2570349 Q8139731 Q247120 Q1529229 Q21847089 Q21847086 Q11623287 Q17349786 Q21847215 Q3256697 Q21837905 Q21837397 Q1621656 Q2544561 Q21837021 Q21837027 Q27493503 Q1984009 Q605125 Q21847105 Q21847103 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action less
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q3471289
relation P725
type Q502895
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?c ) WHERE { ?p property:P725 ?d . ?p rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Q3471289 property:P725 ?h . ?h rdf:type ontology:Q502895 } } . FILTER ( ?c < ?s ) }
Dr. Stewart Itsuki Tachibana Chester Cheetah Ash Ketchum Peter Griffin terminator Kyōichi Sudō Yūichi Tachibana Fumihiro Princess Celestia Max Rockatansky Kōichirō Iketani Keisuke Takahashi Marge Simpson Lucas Spike Spiegel G-Man Neo Darkwing Duck Kenji Natsuki Mogi Takumi Fujiwara Shulk Seiji Iwaki Little Mac Itsuki Takeuchi Takeshi Nakazato Solid Snake Ike Bunta Fujiwara Ryōsuke Takahashi Desoto Death GLaDOS Kenta Nakamura Shingo Shōji Lisa Simpson Homer Simpson Ness
Marge Simpson Homer Simpson Neo
action less
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Samurai Goroh
relation voice actor
type common name
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?c ) WHERE { ?p property:voice_actor ?d . ?p rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { resource:Samurai_Goroh property:voice_actor ?h . ?h rdf:type ontology:common_name } } . FILTER ( ?c < ?s ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q247120
P451
Q15619164
USER
Who has that fictional character as their relationship partner ?
(c(Q15619164),P451,Q247120)
action filter_type
action find
entity Q247120
relation P451
type Q15619164
[{'concept': 'Q15619164'}, 'P451', 'Q247120']
SELECT DISTINCT ?h WHERE { resource:Q247120 property:P451 ?h . ?h rdf:type ontology:Q15619164 }
Neo
action filter_type
action find
entity Neo
relation partner
type abstract being
[{'concept': 'abstract being'}, 'partner', 'Neo']
SELECT DISTINCT ?h WHERE { resource:Neo property:partner ?h . ?h rdf:type ontology:abstract_being }
[]
abstract being
Clarification for simple ques.
Q247120
SYSTEM
Did you mean Neo ?
Q7828 Q7810 Q247120
(c(Q15619164),P451,Q7828) (c(Q15619164),P451,Q7810) (c(Q15619164),P451,Q247120)
[ANSWER]
[{'concept': 'Q15619164'}, 'P451', 'Q7828'] [{'concept': 'Q15619164'}, 'P451', 'Q7810'] [{'concept': 'Q15619164'}, 'P451', 'Q247120']
SELECT DISTINCT ?h WHERE { resource:Q247120 property:P451 ?h . ?h rdf:type ontology:Q15619164 }
Marge Simpson Homer Simpson Neo
Did you mean Neo ?
Neo
[{'concept': 'abstract being'}, 'partner', 'Marge Simpson'] [{'concept': 'abstract being'}, 'partner', 'Homer Simpson'] [{'concept': 'abstract being'}, 'partner', 'Neo']
SELECT DISTINCT ?h WHERE { resource:Neo property:partner ?h . ?h rdf:type ontology:abstract_being }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15619164),P451,Q247120)
[{'concept': 'Q15619164'}, 'P451', 'Q247120']
[{'concept': 'abstract being'}, 'partner', 'Neo']
[]
Q246835
SYSTEM
Trinity
Q246835
(c(Q15619164),P451,Q247120)
action filter_type
action find
entity Q247120
relation P451
type Q15619164
[ANSWER] has that fictional character as their relationship partner
[{'concept': 'Q15619164'}, 'P451', 'Q247120']
SELECT DISTINCT ?h WHERE { resource:Q247120 property:P451 ?h . ?h rdf:type ontology:Q15619164 }
Trinity
Trinity has that fictional character as their relationship partner
Trinity
action filter_type
action find
entity Neo
relation partner
type abstract being
[{'concept': 'abstract being'}, 'partner', 'Neo']
SELECT DISTINCT ?h WHERE { resource:Neo property:partner ?h . ?h rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q247120
P106
Q151885 Q12737077
USER
How many concepts and occupations are the professions of Neo ?
(Q247120,P106,c(Q151885)) (Q247120,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q247120
relation P106
type Q151885
action filter_type
action find
entity Q247120
relation P106
type Q12737077
['Q247120', 'P106', {'concept': 'Q151885'}] ['Q247120', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { resource:Q247120 property:P106 ?j . ?j rdf:type ontology:Q151885 } UNION { ?j rdf:type ontology:Q12737077 . resource:Q247120 property:P106 ?j } }
Neo
action count
action union
action filter_type
action find
entity Neo
relation occupation
type concept
action filter_type
action find
entity Neo
relation occupation
type occupation
['Neo', 'occupation', {'concept': 'concept'}] ['Neo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { resource:Neo property:occupation ?j . ?j rdf:type ontology:concept } UNION { ?j rdf:type ontology:occupation . resource:Neo property:occupation ?j } }
[]
concept occupation
SYSTEM
1 concepts and 1 occupations
Q1487 Q1709010
(Q247120,P106,c(Q151885)) (Q247120,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q247120
relation P106
type Q151885
action filter_type
action find
entity Q247120
relation P106
type Q12737077
[ANSWER]
['Q247120', 'P106', {'concept': 'Q151885'}] ['Q247120', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { resource:Q247120 property:P106 ?j . ?j rdf:type ontology:Q151885 } UNION { ?j rdf:type ontology:Q12737077 . resource:Q247120 property:P106 ?j } }
hacker software engineer
1 concepts and 1 occupations
action count
action union
action filter_type
action find
entity Neo
relation occupation
type concept
action filter_type
action find
entity Neo
relation occupation
type occupation
['Neo', 'occupation', {'concept': 'concept'}] ['Neo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { { resource:Neo property:occupation ?j . ?j rdf:type ontology:concept } UNION { ?j rdf:type ontology:occupation . resource:Neo property:occupation ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q246835
P451
Q95074
USER
Which fictional character had Trinity as their girlfriend ?
(c(Q95074),P451,Q246835)
action filter_type
action find
entity Q246835
relation P451
type Q95074
[{'concept': 'Q95074'}, 'P451', 'Q246835']
SELECT DISTINCT ?i WHERE { resource:Q246835 property:P451 ?i . ?i rdf:type ontology:Q95074 }
Trinity
action filter_type
action find
entity Trinity
relation partner
type fictional character
[{'concept': 'fictional character'}, 'partner', 'Trinity']
SELECT DISTINCT ?i WHERE { resource:Trinity property:partner ?i . ?i rdf:type ontology:fictional_character }
[]
fictional character
Q247120
SYSTEM
Neo
Q247120
(c(Q95074),P451,Q246835)
action filter_type
action find
entity Q246835
relation P451
type Q95074
[ANSWER] had Trinity as their girlfriend
[{'concept': 'Q95074'}, 'P451', 'Q246835']
SELECT DISTINCT ?i WHERE { resource:Q246835 property:P451 ?i . ?i rdf:type ontology:Q95074 }
Neo
Neo had Trinity as their girlfriend
Neo
action filter_type
action find
entity Trinity
relation partner
type fictional character
[{'concept': 'fictional character'}, 'partner', 'Trinity']
SELECT DISTINCT ?i WHERE { resource:Trinity property:partner ?i . ?i rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q247120
P170
Q16979650
USER
Which sibling group is the creater of that fictional character ?
(Q247120,P170,c(Q16979650))
action filter_type
action find
entity Q247120
relation P170
type Q16979650
['Q247120', 'P170', {'concept': 'Q16979650'}]
SELECT DISTINCT ?f WHERE { resource:Q247120 property:P170 ?f . ?f rdf:type ontology:Q16979650 }
Neo
action filter_type
action find
entity Neo
relation creator
type sibling group
['Neo', 'creator', {'concept': 'sibling group'}]
SELECT DISTINCT ?f WHERE { resource:Neo property:creator ?f . ?f rdf:type ontology:sibling_group }
[]
sibling group
Q195719
SYSTEM
The Wachowskis
Q195719
(Q247120,P170,c(Q16979650))
action filter_type
action find
entity Q247120
relation P170
type Q16979650
[ANSWER] is the creater of that fictional character
['Q247120', 'P170', {'concept': 'Q16979650'}]
SELECT DISTINCT ?f WHERE { resource:Q247120 property:P170 ?f . ?f rdf:type ontology:Q16979650 }
The Wachowskis
The Wachowskis is the creater of that fictional character
The Wachowskis
action filter_type
action find
entity Neo
relation creator
type sibling group
['Neo', 'creator', {'concept': 'sibling group'}]
SELECT DISTINCT ?f WHERE { resource:Neo property:creator ?f . ?f rdf:type ontology:sibling_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q247120
P40
Q6619679
USER
Whose child are Neo ?
(c(Q6619679),P40,Q247120)
action filter_type
action find_reverse
entity Q247120
relation P40
type Q6619679
[{'concept': 'Q6619679'}, 'P40', 'Q247120']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q6619679 . ?g property:P40 resource:Q247120 }
Neo
action filter_type
action find_reverse
entity Neo
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Neo']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:fictional_humanoid . ?g property:child resource:Neo }
[]
fictional humanoid
Q15710484 Q15710481
SYSTEM
John Anderson, Michelle McCahey-Anderson
Q15710484 Q15710481
(c(Q6619679),P40,Q247120)
action filter_type
action find_reverse
entity Q247120
relation P40
type Q6619679
[ANSWERS] are Neo
[{'concept': 'Q6619679'}, 'P40', 'Q247120']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q6619679 . ?g property:P40 resource:Q247120 }
John Anderson Michelle McCahey-Anderson
John Anderson and Michelle McCahey-Anderson are Neo
John Anderson Michelle McCahey-Anderson
action filter_type
action find_reverse
entity Neo
relation child
type fictional humanoid
[{'concept': 'fictional humanoid'}, 'child', 'Neo']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:fictional_humanoid . ?g property:child resource:Neo }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15710484
P22
Q95074
USER
Which fictional character has that fictional humanoid as a parent ?
(c(Q95074),P22,Q15710484)
action filter_type
action find_reverse
entity Q15710484
relation P22
type Q95074
[{'concept': 'Q95074'}, 'P22', 'Q15710484']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q15710484 . ?i rdf:type ontology:Q95074 }
John Anderson
action filter_type
action find_reverse
entity John Anderson
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'John Anderson']
SELECT DISTINCT ?i WHERE { ?i property:father resource:John_Anderson . ?i rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q15710481
SYSTEM
Did you mean Michelle McCahey-Anderson ?
Q15710484 Q15710481
(c(Q95074),P22,Q15710484) (c(Q95074),P22,Q15710481)
[ANSWER]
[{'concept': 'Q95074'}, 'P22', 'Q15710484'] [{'concept': 'Q95074'}, 'P22', 'Q15710481']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q15710484 . ?i rdf:type ontology:Q95074 }
John Anderson Michelle McCahey-Anderson
Did you mean Michelle McCahey-Anderson ?
Michelle McCahey-Anderson
[{'concept': 'fictional character'}, 'father', 'John Anderson'] [{'concept': 'fictional character'}, 'father', 'Michelle McCahey-Anderson']
SELECT DISTINCT ?i WHERE { ?i property:father resource:John_Anderson . ?i rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
No, I meant John Anderson. Could you tell me the answer for that?
(c(Q95074),P22,Q15710484)
Q15710484
[{'concept': 'Q95074'}, 'P22', 'Q15710484']
[{'concept': 'fictional character'}, 'father', 'John Anderson']
[]
Q247120
SYSTEM
Neo
Q247120
(c(Q95074),P22,Q15710484)
action filter_type
action find_reverse
entity Q15710484
relation P22
type Q95074
[ANSWER] has that fictional humanoid as a parent
[{'concept': 'Q95074'}, 'P22', 'Q15710484']
SELECT DISTINCT ?i WHERE { ?i property:P22 resource:Q15710484 . ?i rdf:type ontology:Q95074 }
Neo
Neo has that fictional humanoid as a parent
Neo
action filter_type
action find_reverse
entity John Anderson
relation father
type fictional character
[{'concept': 'fictional character'}, 'father', 'John Anderson']
SELECT DISTINCT ?i WHERE { ?i property:father resource:John_Anderson . ?i rdf:type ontology:fictional_character }
[]