Simple Question (Direct)
Simple Question
Q8814447
P734
Q82799
USER
Which name is associated with Takahiro Miki ?
(Q8814447,P734,c(Q82799))
action filter_type
action find
entity Q8814447
relation P734
type Q82799
['Q8814447', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q8814447 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Takahiro Miki
action filter_type
action find
entity Takahiro Miki
relation family name
type name
['Takahiro Miki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Takahiro_Miki property:family_name ?y . ?y rdf:type ontology:name }
[]
name
Q16876991
SYSTEM
Miki
Q16876991
(Q8814447,P734,c(Q82799))
action filter_type
action find
entity Q8814447
relation P734
type Q82799
[ANSWER] is associated with Takahiro [ANSWER]
['Q8814447', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { resource:Q8814447 property:P734 ?y . ?y rdf:type ontology:Q82799 }
Miki
Miki is associated with Takahiro Miki
Miki
action filter_type
action find
entity Takahiro Miki
relation family name
type name
['Takahiro Miki', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { resource:Takahiro_Miki property:family_name ?y . ?y rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8814447
P21
Q290
USER
Which sex does that person have ?
(Q16876991,P21,c(Q290))
action filter_type
action find
entity Q8814447
relation P21
type Q290
['Q16876991', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q8814447 property:P21 ?k . ?k rdf:type ontology:Q290 }
Takahiro Miki
action filter_type
action find
entity Takahiro Miki
relation gender
type sex
['Miki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Takahiro_Miki property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16876991,P21,c(Q290))
action filter_type
action find
entity Q8814447
relation P21
type Q290
That person has a [ANSWER]
['Q16876991', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q8814447 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Takahiro Miki
relation gender
type sex
['Miki', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Takahiro_Miki property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8814447
P57
Q838948
USER
Which works of art have Takahiro Miki as their director ?
(c(Q838948),P57,Q8814447)
action filter_type
action find_reverse
entity Q8814447
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q8814447']
SELECT DISTINCT ?e WHERE { ?e property:P57 resource:Q8814447 . ?e rdf:type ontology:Q838948 }
Takahiro Miki
action filter_type
action find_reverse
entity Takahiro Miki
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Takahiro Miki']
SELECT DISTINCT ?e WHERE { ?e property:director resource:Takahiro_Miki . ?e rdf:type ontology:work_of_art }
[]
work of art
Q15139592 Q3595767 Q17990573
SYSTEM
Girl in the Sunny Place, Bokura ga Ita, Kuchibiru ni uta o
Q15139592 Q3595767 Q1045045 Q17990573
(c(Q838948),P57,Q8814447)
action filter_type
action find_reverse
entity Q8814447
relation P57
type Q838948
[ANSWERS] have Takahiro Miki as their director
[{'concept': 'Q838948'}, 'P57', 'Q8814447']
SELECT DISTINCT ?e WHERE { ?e property:P57 resource:Q8814447 . ?e rdf:type ontology:Q838948 }
Girl in the Sunny Place Bokura ga Ita Solanin Kuchibiru ni uta o
Girl in the Sunny Place, Bokura ga Ita and Kuchibiru ni uta o have Takahiro Miki as their director
Girl in the Sunny Place Bokura ga Ita Kuchibiru ni uta o
action filter_type
action find_reverse
entity Takahiro Miki
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Takahiro Miki']
SELECT DISTINCT ?e WHERE { ?e property:director resource:Takahiro_Miki . ?e rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q15139592 Q3595767 Q17990573
P161
Q502895
USER
Which people starred in Girl in the Sunny Place, Bokura ga Ita and Kuchibiru ni uta o ?
(Q15139592,P161,c(Q502895)) (Q3595767,P161,c(Q502895)) (Q17990573,P161,c(Q502895))
action union
action filter_type
action find
entity Q15139592
relation P161
type Q502895
action filter_type
action find
entity Q3595767
relation P161
type Q502895
action filter_type
action find
entity Q17990573
relation P161
type Q502895
['Q15139592', 'P161', {'concept': 'Q502895'}] ['Q3595767', 'P161', {'concept': 'Q502895'}] ['Q17990573', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q15139592 property:P161 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q3595767 property:P161 ?q . ?q rdf:type ontology:Q502895 } }
Girl in the Sunny Place Bokura ga Ita Kuchibiru ni uta o
action union
action filter_type
action find
entity Girl in the Sunny Place
relation cast member
type common name
action filter_type
action find
entity Bokura ga Ita
relation cast member
type common name
action filter_type
action find
entity Kuchibiru ni uta o
relation cast member
type common name
['Girl in the Sunny Place', 'cast member', {'concept': 'common name'}] ['Bokura ga Ita', 'cast member', {'concept': 'common name'}] ['Kuchibiru ni uta o', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Girl_in_the_Sunny_Place property:cast_member ?q . ?q rdf:type ontology:common_name } UNION { resource:Bokura_ga_Ita property:cast_member ?q . ?q rdf:type ontology:common_name } }
[]
common name
Q1137510 Q347428 Q1190336
SYSTEM
Yui Aragaki, Jun Matsumoto, Mari Natsuki
Q1192037 Q3546316 Q468651 Q1321889 Q1190336 Q11254710 Q347428 Q1134047 Q940596 Q1039583 Q1144841 Q259416 Q1151447 Q910687 Q2407677 Q1139697 Q5772396 Q1137510 Q13099808
(Q15139592,P161,c(Q502895)) (Q3595767,P161,c(Q502895)) (Q17990573,P161,c(Q502895))
action union
action filter_type
action find
entity Q15139592
relation P161
type Q502895
action filter_type
action find
entity Q3595767
relation P161
type Q502895
action filter_type
action find
entity Q17990573
relation P161
type Q502895
[ANSWERS] starred in Girl in the Sunny Place, Bokura ga Ita and Kuchibiru ni uta o
['Q15139592', 'P161', {'concept': 'Q502895'}] ['Q3595767', 'P161', {'concept': 'Q502895'}] ['Q17990573', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { { resource:Q15139592 property:P161 ?q . ?q rdf:type ontology:Q502895 } UNION { resource:Q3595767 property:P161 ?q . ?q rdf:type ontology:Q502895 } }
Juri Ueno Maho Toyota Naomi Nishida Tetsuji Tamayama Mari Natsuki Sansei Shiomi Jun Matsumoto Masaki Suda Mitsuki Tanimura Yuriko Yoshitaka Sousuke Takaoka Ayaka Komatsu Toma Ikuta Yuika Motokariya Hikari Ishida Tae Kimura Hisashi Igawa Yui Aragaki Fumino Kimura
Yui Aragaki, Jun Matsumoto and Mari Natsuki starred in Girl in the Sunny Place, Bokura ga Ita and Kuchibiru ni uta o
Yui Aragaki Jun Matsumoto Mari Natsuki
action union
action filter_type
action find
entity Girl in the Sunny Place
relation cast member
type common name
action filter_type
action find
entity Bokura ga Ita
relation cast member
type common name
action filter_type
action find
entity Kuchibiru ni uta o
relation cast member
type common name
['Girl in the Sunny Place', 'cast member', {'concept': 'common name'}] ['Bokura ga Ita', 'cast member', {'concept': 'common name'}] ['Kuchibiru ni uta o', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { { resource:Girl_in_the_Sunny_Place property:cast_member ?q . ?q rdf:type ontology:common_name } UNION { resource:Bokura_ga_Ita property:cast_member ?q . ?q rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1137510
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1137510,P27,c(Q15617994))
action filter_type
action find
entity Q1137510
relation P27
type Q15617994
['Q1137510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1137510 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Yui Aragaki
action filter_type
action find
entity Yui Aragaki
relation country of citizenship
type designation for an administrative territorial entity
['Yui Aragaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Yui_Aragaki property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q1137510
SYSTEM
Did you mean Yui Aragaki ?
Q1137510 Q347428 Q1190336
(Q1137510,P27,c(Q15617994)) (Q347428,P27,c(Q15617994)) (Q1190336,P27,c(Q15617994))
[ANSWER]
['Q1137510', 'P27', {'concept': 'Q15617994'}] ['Q347428', 'P27', {'concept': 'Q15617994'}] ['Q1190336', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1137510 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Yui Aragaki Jun Matsumoto Mari Natsuki
Did you mean Yui Aragaki ?
Yui Aragaki
['Yui Aragaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jun Matsumoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Mari Natsuki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Yui_Aragaki property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1137510,P27,c(Q15617994))
['Q1137510', 'P27', {'concept': 'Q15617994'}]
['Yui Aragaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q17
SYSTEM
Japan
Q17
(Q1137510,P27,c(Q15617994))
action filter_type
action find
entity Q1137510
relation P27
type Q15617994
To [ANSWER] is the native country of that person
['Q1137510', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q1137510 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Japan
To Japan is the native country of that person
Japan
action filter_type
action find
entity Yui Aragaki
relation country of citizenship
type designation for an administrative territorial entity
['Yui Aragaki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Yui_Aragaki property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with around 38 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 38
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?x property:P530 ?d . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?f = 38 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?x property:diplomatic_relation ?d . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?f = 38 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 38
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?x property:P530 ?d . ?x rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?f = 38 ) }
Belarus
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 38
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?d ) AS ?f ) WHERE { ?x property:diplomatic_relation ?d . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?f = 38 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q17 Q26921
P176
Q3231690
USER
How many automobile models were built by Japan or Alfa Romeo ?
(c(Q3231690),P176,Q17) (c(Q3231690),P176,Q26921)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P176
type Q3231690
action filter_type
action find_reverse
entity Q26921
relation P176
type Q3231690
[{'concept': 'Q3231690'}, 'P176', 'Q17'] [{'concept': 'Q3231690'}, 'P176', 'Q26921']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:P176 ?b . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q26921 ) } }
Japan Alfa Romeo
action count
action union
action filter_type
action find_reverse
entity Japan
relation manufacturer
type automobile model
action filter_type
action find_reverse
entity Alfa Romeo
relation manufacturer
type automobile model
[{'concept': 'automobile model'}, 'manufacturer', 'Japan'] [{'concept': 'automobile model'}, 'manufacturer', 'Alfa Romeo']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:manufacturer ?b . VALUES ( ?b ) { ( resource:Japan ) ( resource:Alfa_Romeo ) } }
[]
automobile model
SYSTEM
69
Q1124136 Q1423778 Q1440279 Q543456 Q2211251 Q1421545 Q780597 Q926738 Q2400609 Q2301404 Q1541700 Q2140022 Q427460 Q980705 Q174366 Q1358831 Q3610982 Q3611027 Q3610980 Q507227 Q3611005 Q1114476 Q2575932 Q648713 Q1362760 Q772561 Q747595 Q2271412 Q15360070 Q1310718 Q13623213 Q1292503 Q614521 Q937090 Q951091 Q2553983 Q3610969 Q1130671 Q3610970 Q224953 Q2555011 Q2456203 Q2306794 Q1423569 Q2393607 Q2400425 Q1469037 Q719600 Q1361433 Q128386 Q796405 Q1360881 Q4033699 Q1887809 Q2568937 Q945316 Q1474175 Q745591 Q515339 Q533495 Q1417241 Q1093608 Q2301895 Q1137305 Q611019 Q2165508 Q2400349 Q249483 Q2010791
(c(Q3231690),P176,Q17) (c(Q3231690),P176,Q26921)
action count
action union
action filter_type
action find_reverse
entity Q17
relation P176
type Q3231690
action filter_type
action find_reverse
entity Q26921
relation P176
type Q3231690
[ANSWER]
[{'concept': 'Q3231690'}, 'P176', 'Q17'] [{'concept': 'Q3231690'}, 'P176', 'Q26921']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:P176 ?b . VALUES ( ?b ) { ( resource:Q17 ) ( resource:Q26921 ) } }
Alfa Romeo 164 Alfa Romeo Giulietta Alfa Romeo Nuvola Alfa Romeo Pandion Alfa Romeo RM A.L.F.A. 40/60 GP Alfa Romeo GTA Alfa Romeo 156 Alfa Romeo Navajo Alfa Romeo Tipo 33 Alfa Romeo Arna Alfa Romeo Matta Alfa Romeo 500 Alfa Romeo 1900 Alfa Romeo 147 Alfa Romeo 75 Alfa Romeo 85 Alfa Romeo Tipo 512 Alfa Romeo 800 Alfa Romeo Romeo Alfa Romeo Giulia Sprint Speciale Alfa Romeo Mille Alfa Romeo Giulia Alfa Romeo 169 Alfa Romeo 33 Alfa Romeo 155 Alfa Romeo Alfetta Alfa Romeo Proteo Alfa Romeo 105/115 Series Coupés Alfa Romeo G1 Alfa Romeo Gloria Alfa Romeo 146 Alfa Romeo Montreal A.L.F.A 40/60 HP Alfa Romeo 2uettottanta Alfa Romeo P2 Alfa Romeo 350 Alfa Romeo 166 Alfa Romeo 430 Alfa Romeo GTV and Spider Alfa Romeo Tipo A Alfa Romeo Sportut Alfa Romeo 12C Alfa Romeo Giulia Alfa Romeo Diva Alfa Romeo 2000 Sportiva Alfa Romeo P1 Alfa Romeo Giulietta Alfa Romeo 145 Alfa Romeo 50 Alfa Romeo 1750 Alfa Romeo Alfasud Alfa Romeo C-SUV Alfa Romeo 2000 Alfa Romeo Carabo A.L.F.A 24 HP Alfa Romeo 90 Alfa Romeo 20/30 HP Alfa Romeo Alfa 6 Alfa Romeo Visconti Alfa Romeo Giulietta Alfa Romeo Gran Sport Quattroruote Alfa Romeo Giulia TZ Alfa Romeo MiTo Alfa Romeo 2600 Alfa Romeo Disco Volante Alfa Romeo 33.2 Alfa Romeo Sprint Alfa Romeo Scighera
69
action count
action union
action filter_type
action find_reverse
entity Japan
relation manufacturer
type automobile model
action filter_type
action find_reverse
entity Alfa Romeo
relation manufacturer
type automobile model
[{'concept': 'automobile model'}, 'manufacturer', 'Japan'] [{'concept': 'automobile model'}, 'manufacturer', 'Alfa Romeo']
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n property:manufacturer ?b . VALUES ( ?b ) { ( resource:Japan ) ( resource:Alfa_Romeo ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P710
Q198
USER
What event was Japan a participant of ?
(c(Q198),P710,Q17)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
[{'concept': 'Q198'}, 'P710', 'Q17']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q17 . ?y rdf:type ontology:Q198 }
Japan
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', 'Japan']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Japan . ?y rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(c(Q198),P710,Q17)
action filter_type
action find_reverse
entity Q17
relation P710
type Q198
Japan was in [ANSWER]
[{'concept': 'Q198'}, 'P710', 'Q17']
SELECT DISTINCT ?y WHERE { ?y property:P710 resource:Q17 . ?y rdf:type ontology:Q198 }
World War II
Japan was in World War II
World War II
action filter_type
action find_reverse
entity Japan
relation participant
type war
[{'concept': 'war'}, 'participant', 'Japan']
SELECT DISTINCT ?y WHERE { ?y property:participant resource:Japan . ?y rdf:type ontology:war }
[]