Simple Question (Direct)
Simple Question
Q2901988
P57
Q502895
USER
Who directed Welcome Aboard ?
(Q2901988,P57,c(Q502895))
action filter_type
action find
entity Q2901988
relation P57
type Q502895
['Q2901988', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2901988 property:P57 ?b }
Welcome Aboard
action filter_type
action find
entity Welcome Aboard
relation director
type common name
['Welcome Aboard', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Welcome_Aboard property:director ?b }
[]
common name
Q1387804
SYSTEM
Jean Becker
Q1387804
(Q2901988,P57,c(Q502895))
action filter_type
action find
entity Q2901988
relation P57
type Q502895
[ANSWER] directed Welcome Aboard
['Q2901988', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q2901988 property:P57 ?b }
Jean Becker
Jean Becker directed Welcome Aboard
Jean Becker
action filter_type
action find
entity Welcome Aboard
relation director
type common name
['Welcome Aboard', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Welcome_Aboard property:director ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1387804
P7
Q502895
USER
Who is that one a sibling of ?
(Q1387804,P7,c(Q502895))
action filter_type
action find
entity Q1387804
relation P7
type Q502895
['Q1387804', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1387804 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Jean Becker
action filter_type
action find
entity Jean Becker
relation brother
type common name
['Jean Becker', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Jean_Becker property:brother ?j . ?j rdf:type ontology:common_name }
[]
common name
Q289374
SYSTEM
Étienne Becker
Q289374
(Q1387804,P7,c(Q502895))
action filter_type
action find
entity Q1387804
relation P7
type Q502895
That one a sibling of is by [ANSWER]
['Q1387804', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q1387804 property:P7 ?j . ?j rdf:type ontology:Q502895 }
Étienne Becker
That one a sibling of is by Étienne Becker
Étienne Becker
action filter_type
action find
entity Jean Becker
relation brother
type common name
['Jean Becker', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Jean_Becker property:brother ?j . ?j rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q2342494
USER
Which collectables did around 1 person dub for ?
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 1
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?b ) WHERE { ?a property:P725 ?m . ?a rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b = 1 ) }
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 1
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?b ) WHERE { ?a property:voice_actor ?m . ?a rdf:type ontology:collectable . ?m rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b = 1 ) }
[]
common name collectable
Q482870 Q119534 Q11325839
SYSTEM
Boku wa Tomodachi ga Sukunai, Shakugan no Shana, No Game No Life-mart
Q50035 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q2759489
(c(Q2342494),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q2342494
type Q502895
value 1
Around 1 person dubbed [ANSWERS]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?b ) WHERE { ?a property:P725 ?m . ?a rdf:type ontology:Q2342494 . ?m rdf:type ontology:Q502895 } GROUP BY ?a } . FILTER ( ?b = 1 ) }
Nyaruko: Crawling with Love Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Muv-Luv
Around 1 person dubbed Boku wa Tomodachi ga Sukunai, Shakugan no Shana and No Game No Life-mart
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
action approx
action find_tuple_counts
relation voice actor
type collectable
type common name
value 1
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?b ) WHERE { ?a property:voice_actor ?m . ?a rdf:type ontology:collectable . ?m rdf:type ontology:common_name } GROUP BY ?a } . FILTER ( ?b = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q11325839
P800
Q502895
USER
Which person has that collectable as a notable work ?
(c(Q502895),P800,Q11325839)
action filter_type
action find_reverse
entity Q11325839
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q11325839']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q11325839 }
No Game No Life-mart
action filter_type
action find_reverse
entity No Game No Life-mart
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'No Game No Life-mart']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:No_Game_No_Life-mart }
[]
common name
Clarification for simple ques.
Q119534
SYSTEM
Did you mean Shakugan no Shana ?
Q482870 Q119534 Q11325839
(c(Q502895),P800,Q482870) (c(Q502895),P800,Q119534) (c(Q502895),P800,Q11325839)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q482870'] [{'concept': 'Q502895'}, 'P800', 'Q119534'] [{'concept': 'Q502895'}, 'P800', 'Q11325839']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q11325839 }
Boku wa Tomodachi ga Sukunai Shakugan no Shana No Game No Life-mart
Did you mean Shakugan no Shana ?
Shakugan no Shana
[{'concept': 'common name'}, 'notable work', 'Boku wa Tomodachi ga Sukunai'] [{'concept': 'common name'}, 'notable work', 'Shakugan no Shana'] [{'concept': 'common name'}, 'notable work', 'No Game No Life-mart']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:No_Game_No_Life-mart }
[]
Simple Question (Coreferenced)
USER
No, I meant No Game No Life-mart. Could you tell me the answer for that?
(c(Q502895),P800,Q11325839)
Q11325839
[{'concept': 'Q502895'}, 'P800', 'Q11325839']
[{'concept': 'common name'}, 'notable work', 'No Game No Life-mart']
[]
Q8977221
SYSTEM
Yū Kamiya
Q8977221
(c(Q502895),P800,Q11325839)
action filter_type
action find_reverse
entity Q11325839
relation P800
type Q502895
[ANSWER] has that collectable as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q11325839']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q11325839 }
Yū Kamiya
Yū Kamiya has that collectable as a notable work
Yū Kamiya
action filter_type
action find_reverse
entity No Game No Life-mart
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'No Game No Life-mart']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:No_Game_No_Life-mart }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18811508 Q2901988
P27 P495
Q15617994
USER
Which administrative territories are the origins of Welcome Aboard or do Pedro García belong to ?
OR((Q2901988,P495,c(Q15617994)), (Q18811508,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2901988
relation P495
action find
entity Q18811508
relation P27
type Q15617994
{'OR': [['Q2901988', 'P495', {'concept': 'Q15617994'}], ['Q18811508', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2901988 property:P495 ?m } UNION { resource:Q18811508 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Pedro García Welcome Aboard
action filter_type
action union
action find
entity Welcome Aboard
relation country of origin
action find
entity Pedro García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Welcome Aboard', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Pedro García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Welcome_Aboard property:country_of_origin ?m } UNION { resource:Pedro_García property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q414
SYSTEM
France, Argentina
Q142 Q414
OR((Q2901988,P495,c(Q15617994)), (Q18811508,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2901988
relation P495
action find
entity Q18811508
relation P27
type Q15617994
[ANSWERS] are the origins of Welcome Aboard or do Pedro García belong to
{'OR': [['Q2901988', 'P495', {'concept': 'Q15617994'}], ['Q18811508', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q2901988 property:P495 ?m } UNION { resource:Q18811508 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
France Argentina
France and Argentina are the origins of Welcome Aboard or do Pedro García belong to
France Argentina
action filter_type
action union
action find
entity Welcome Aboard
relation country of origin
action find
entity Pedro García
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Welcome Aboard', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Pedro García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Welcome_Aboard property:country_of_origin ?m } UNION { resource:Pedro_García property:country_of_citizenship ?m } } . ?m 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 Q1048835
USER
How many political territories are known to have diplomatic connections with around 50 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 50
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?o ) WHERE { ?t rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?o = 50 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?o ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?o = 50 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 50
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?o ) WHERE { ?t rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q15617994 . ?t property:P530 ?m } GROUP BY ?t } . FILTER ( ?o = 50 ) }
Canada
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 50
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?e ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?m ) AS ?o ) WHERE { ?t rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation ?m } GROUP BY ?t } . FILTER ( ?o = 50 ) }
[]
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 relations with exactly 17 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:P530 ?z . ?m rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?k = 17 ) }
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:diplomatic_relation ?z . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?k = 17 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
2
Q30 Q114
(c(Q15617994),P530,c(Q15617994))
action count
action equal
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 17
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:P530 ?z . ?m rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?m } . FILTER ( ?k = 17 ) }
United States of America Kenya
2
action count
action equal
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 17
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?z ) AS ?k ) WHERE { ?m property:diplomatic_relation ?z . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?m } . FILTER ( ?k = 17 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P35
Q502895
USER
How many people have the highest formal authority in France ?
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q142 property:P35 ?b }
France
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b rdf:type ontology:common_name . resource:France property:head_of_state ?b }
[]
common name
SYSTEM
8
Q2105 Q2038 Q157 Q329 Q2042 Q12950 Q2185 Q2124
(Q142,P35,c(Q502895))
action count
action filter_type
action find
entity Q142
relation P35
type Q502895
[ANSWER]
['Q142', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b rdf:type ontology:Q502895 . resource:Q142 property:P35 ?b }
Jacques Chirac François Mitterrand François Hollande Nicolas Sarkozy Charles de Gaulle Alain Poher Georges Pompidou Valéry Giscard d'Estaing
8
action count
action filter_type
action find
entity France
relation head of state
type common name
['France', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?r ) WHERE { ?b rdf:type ontology:common_name . resource:France property:head_of_state ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q801
P35
Q502895
USER
And also tell me about Israel?
(Q801,P35,c(Q502895))
action count
action filter_type
action find
entity Q801
relation P35
type Q502895
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q801 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Israel
action count
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Israel property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
10
Q128911 Q295141 Q299100 Q110330 Q455854 Q57410 Q311583 Q128894 Q181832 Q172183
(Q801,P35,c(Q502895))
action count
action filter_type
action find
entity Q801
relation P35
type Q502895
[ANSWER]
['Q801', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Q801 property:P35 ?g . ?g rdf:type ontology:Q502895 }
Ezer Weizman Chaim Herzog Zalman Shazar Ephraim Katzir Reuven Rivlin Shimon Peres Yitzhak Navon Yitzhak Ben-Zvi Moshe Katsav Chaim Weizmann
10
action count
action filter_type
action find
entity Israel
relation head of state
type common name
['Israel', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { resource:Israel property:head_of_state ?g . ?g rdf:type ontology:common_name }
[]