Simple Question (Direct)
Simple Question
Q5203153
P27
Q15617994
USER
Which administrative territory is D'Jamin Bartlett an inhabitant of ?
(Q5203153,P27,c(Q15617994))
action filter_type
action find
entity Q5203153
relation P27
type Q15617994
['Q5203153', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q5203153 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
D'Jamin Bartlett
action filter_type
action find
entity D'Jamin Bartlett
relation country of citizenship
type designation for an administrative territorial entity
["D'Jamin Bartlett", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:D'Jamin_Bartlett property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5203153,P27,c(Q15617994))
action filter_type
action find
entity Q5203153
relation P27
type Q15617994
[ANSWER] is D'Jamin Bartlett an inhabitant of
['Q5203153', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q5203153 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United States of America
United States of America is D'Jamin Bartlett an inhabitant of
United States of America
action filter_type
action find
entity D'Jamin Bartlett
relation country of citizenship
type designation for an administrative territorial entity
["D'Jamin Bartlett", 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:D'Jamin_Bartlett property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5203153
P734
Q82799
USER
Who has the surname D'Jamin Bartlett ?
(Q5203153,P734,c(Q82799))
action filter_type
action find
entity Q5203153
relation P734
type Q82799
['Q5203153', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q5203153 property:P734 ?v . ?v rdf:type ontology:Q82799 }
D'Jamin Bartlett
action filter_type
action find
entity D'Jamin Bartlett
relation family name
type name
["D'Jamin Bartlett", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:D'Jamin_Bartlett property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q15785662
SYSTEM
Bartlett
Q15785662
(Q5203153,P734,c(Q82799))
action filter_type
action find
entity Q5203153
relation P734
type Q82799
[ANSWER] has the surname D'Jamin [ANSWER]
['Q5203153', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q5203153 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Bartlett
Bartlett has the surname D'Jamin Bartlett
Bartlett
action filter_type
action find
entity D'Jamin Bartlett
relation family name
type name
["D'Jamin Bartlett", 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:D'Jamin_Bartlett property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15785662
P407
Q34770
USER
Which language is that name in ?
(Q15785662,P407,c(Q34770))
action filter_type
action find
entity Q15785662
relation P407
type Q34770
['Q15785662', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q15785662 property:P407 ?q }
Bartlett
action filter_type
action find
entity Bartlett
relation language of work or name
type language
['Bartlett', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Bartlett property:language_of_work_or_name ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q15785662,P407,c(Q34770))
action filter_type
action find
entity Q15785662
relation P407
type Q34770
That is name in [ANSWER]
['Q15785662', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q15785662 property:P407 ?q }
English
That is name in English
English
action filter_type
action find
entity Bartlett
relation language of work or name
type language
['Bartlett', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Bartlett property:language_of_work_or_name ?q }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q9779 Q34770
USER
Which alphabets are used as the alphabet set for max number of languages ?
(c(Q34770),P282,Q83942)
action argmax
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P282 ?s . ?s rdf:type ontology:Q9779 . ?l rdf:type ontology:Q34770 } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P282 ?c . ?c rdf:type ontology:Q9779 . ?a rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?u = ?h ) }
action argmax
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:writing_system ?s . ?s rdf:type ontology:alphabet . ?l rdf:type ontology:language } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:writing_system ?c . ?c rdf:type ontology:alphabet . ?a rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?u = ?h ) }
[]
alphabet language
Q8209
SYSTEM
Cyrillic script
Q8209
(c(Q34770),P282,Q83942)
action argmax
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
[ANSWER] is used as the alphabet set for max number of languages
[{'concept': 'Q34770'}, 'P282', 'Q83942']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P282 ?s . ?s rdf:type ontology:Q9779 . ?l rdf:type ontology:Q34770 } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:P282 ?c . ?c rdf:type ontology:Q9779 . ?a rdf:type ontology:Q34770 } GROUP BY ?c } . FILTER ( ?u = ?h ) }
Cyrillic script
Cyrillic script is used as the alphabet set for max number of languages
Cyrillic script
action argmax
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
[{'concept': 'language'}, 'writing system', 'Jawi alphabet']
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( MAX ( ?p ) AS ?h ) { SELECT DISTINCT ?s ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:writing_system ?s . ?s rdf:type ontology:alphabet . ?l rdf:type ontology:language } GROUP BY ?s } } . { SELECT DISTINCT ?c ( COUNT ( ?a ) AS ?u ) WHERE { ?a property:writing_system ?c . ?c rdf:type ontology:alphabet . ?a rdf:type ontology:language } GROUP BY ?c } . FILTER ( ?u = ?h ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q8209 Q1978116 Q351026
P138
Q502895
USER
Is that alphabet the eponym of Lucienne Stassaert and Saint Cyril the Philosopher ?
(Q8209,P138,Q1978116) (Q8209,P138,Q351026)
action is_in
entity Q8209
action intersection
action find_reverse
entity Q1978116
relation P138
action find_reverse
entity Q351026
relation P138
['Q8209', 'P138', 'Q1978116'] ['Q8209', 'P138', 'Q351026']
ASK WHERE { resource:Q8209 property:P138 resource:Q1978116 . resource:Q8209 property:P138 resource:Q351026 }
Cyrillic script Lucienne Stassaert Saint Cyril the Philosopher
action is_in
entity Cyrillic script
action intersection
action find_reverse
entity Lucienne Stassaert
relation named after
action find_reverse
entity Saint Cyril the Philosopher
relation named after
['Cyrillic script', 'named after', 'Lucienne Stassaert'] ['Cyrillic script', 'named after', 'Saint Cyril the Philosopher']
ASK WHERE { resource:Cyrillic_script property:named_after resource:Lucienne_Stassaert . resource:Cyrillic_script property:named_after resource:Saint_Cyril_the_Philosopher }
[]
common name
SYSTEM
NO and YES respectively
(Q8209,P138,Q1978116) (Q8209,P138,Q351026)
action is_in
entity Q8209
action intersection
action find_reverse
entity Q1978116
relation P138
action find_reverse
entity Q351026
relation P138
[ANSWER]
['Q8209', 'P138', 'Q1978116'] ['Q8209', 'P138', 'Q351026']
ASK WHERE { resource:Q8209 property:P138 resource:Q1978116 . resource:Q8209 property:P138 resource:Q351026 }
NO and YES respectively
action is_in
entity Cyrillic script
action intersection
action find_reverse
entity Lucienne Stassaert
relation named after
action find_reverse
entity Saint Cyril the Philosopher
relation named after
['Cyrillic script', 'named after', 'Lucienne Stassaert'] ['Cyrillic script', 'named after', 'Saint Cyril the Philosopher']
ASK WHERE { resource:Cyrillic_script property:named_after resource:Lucienne_Stassaert . resource:Cyrillic_script property:named_after resource:Saint_Cyril_the_Philosopher }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8209
P921
Q191067
USER
Which article was primarily based on that alphabet ?
action filter_type
action find_reverse
entity Q8209
relation P921
type Q191067
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q8209 . ?v rdf:type ontology:Q191067 }
Cyrillic script
action filter_type
action find_reverse
entity Cyrillic script
relation main subject
type article
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Cyrillic_script . ?v rdf:type ontology:article }
[]
article
Q23903662
SYSTEM
Vlastenský slovník historický/Cyrilica
Q23903662
action filter_type
action find_reverse
entity Q8209
relation P921
type Q191067
[ANSWER] was primarily based on that alphabet
SELECT DISTINCT ?v WHERE { ?v property:P921 resource:Q8209 . ?v rdf:type ontology:Q191067 }
Vlastenský slovník historický/Cyrilica
Vlastenský slovník historický/Cyrilica was primarily based on that alphabet
Vlastenský slovník historický/Cyrilica
action filter_type
action find_reverse
entity Cyrillic script
relation main subject
type article
SELECT DISTINCT ?v WHERE { ?v property:main_subject resource:Cyrillic_script . ?v rdf:type ontology:article }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q1048835
USER
Which people are elected as the head of state of approximately 6 executive branches or political territories ?
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 6
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?a = 6 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } . ?l rdf:type ?h } GROUP BY ?p } }
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 6
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?a = 6 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?p WHERE { VALUES ( ?h ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?h } GROUP BY ?p } }
[]
common name executive branch political territorial entity
Q1224 Q154912 Q1242
SYSTEM
Carlo Azeglio Ciampi, Olav V of Norway, Luigi Einaudi
Q310994 Q1245 Q1241 Q1240 Q1242 Q1238 Q1230 Q181261 Q57279 Q173347 Q189575 Q327203 Q57287 Q154912 Q229300 Q1228 Q1224 Q1220
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 6
[ANSWERS] are elected as the head of state of approximately 6 executive branches or political territories
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?a = 6 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } . ?l rdf:type ?h } GROUP BY ?p } }
Patrick Hillery Enrico De Nicola Giovanni Gronchi Antonio Segni Luigi Einaudi Giuseppe Saragat Francesco Cossiga Charles Albert of Sardinia Traian Băsescu Éamon de Valera Ion Iliescu Seán T. O'Kelly Harald V of Norway Olav V of Norway Quentin Bryce Oscar Luigi Scalfaro Carlo Azeglio Ciampi Giorgio Napolitano
Carlo Azeglio Ciampi, Olav V of Norway and Luigi Einaudi are elected as the head of state of approximately 6 executive branches or political territories
Carlo Azeglio Ciampi Olav V of Norway Luigi Einaudi
action approx
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 6
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?a = 6 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?p WHERE { VALUES ( ?h ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } . ?l rdf:type ?h } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q1001378
USER
Which cinematic techniques did min number of people dub for ?
(c(Q1001378),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q1001378
type Q502895
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?b ) WHERE { ?g property:P725 ?s . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1001378 } GROUP BY ?g } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?q = ?l ) }
action argmin
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?b ) WHERE { ?g property:voice_actor ?s . ?s rdf:type ontology:common_name . ?g rdf:type ontology:cinematic_technique } GROUP BY ?g } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?q = ?l ) }
[]
common name cinematic technique
Q14545073
SYSTEM
1912 film
Q14545073
(c(Q1001378),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q1001378
type Q502895
Min number of people dubbed the [ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?b ) WHERE { ?g property:P725 ?s . ?s rdf:type ontology:Q502895 . ?g rdf:type ontology:Q1001378 } GROUP BY ?g } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q1001378 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } . FILTER ( ?q = ?l ) }
1912 film
Min number of people dubbed the 1912 film
1912 film
action argmin
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?l ) { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?b ) WHERE { ?g property:voice_actor ?s . ?s rdf:type ontology:common_name . ?g rdf:type ontology:cinematic_technique } GROUP BY ?g } } . { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?q ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:cinematic_technique . ?y rdf:type ontology:common_name } GROUP BY ?z } . FILTER ( ?q = ?l ) }
[]