Simple Question (Direct)
Simple Question
Q1335866
P734
Q82799
USER
Who has the surname Emil Berger ?
(Q1335866,P734,c(Q82799))
action filter_type
action find
entity Q1335866
relation P734
type Q82799
['Q1335866', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1335866 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Emil Berger
action filter_type
action find
entity Emil Berger
relation family name
type name
['Emil Berger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Emil_Berger property:family_name ?x . ?x rdf:type ontology:name }
[]
name
Q1260304
SYSTEM
Berger
Q1260304
(Q1335866,P734,c(Q82799))
action filter_type
action find
entity Q1335866
relation P734
type Q82799
[ANSWER] has the surname Emil [ANSWER]
['Q1335866', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { resource:Q1335866 property:P734 ?x . ?x rdf:type ontology:Q82799 }
Berger
Berger has the surname Emil Berger
Berger
action filter_type
action find
entity Emil Berger
relation family name
type name
['Emil Berger', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { resource:Emil_Berger property:family_name ?x . ?x rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P248
Q223393 Q1209283 Q502895
USER
How many people have been recognized first in exactly 1 literary genres or electronic medias ?
(c(Q502895),P248,c(Q223393)|c(Q1209283))
action count
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q223393
action find_tuple_counts
relation P248
type Q502895
type Q1209283
value 1
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q223393'}, {'concept': 'Q1209283'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?v WHERE { { ?v property:P248 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q223393 } UNION { ?v property:P248 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1209283 } } GROUP BY ?v } }
action count
action equal
action union
action find_tuple_counts
relation stated in
type common name
type literary genre
action find_tuple_counts
relation stated in
type common name
type electronic media
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'literary genre'}, {'concept': 'electronic media'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?v WHERE { { ?v property:stated_in ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:literary_genre } UNION { ?v property:stated_in ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:electronic_media } } GROUP BY ?v } }
[]
literary genre electronic media common name
SYSTEM
83
Q6255164 Q5144961 Q5239879 Q16013737 Q8017696 Q6237329 Q16011002 Q6262994 Q6255184 Q15996304 Q16225368 Q6244753 Q6236108 Q6221407 Q5240345 Q16065533 Q7351119 Q1626914 Q16026267 Q10978488 Q661947 Q6258326 Q8019373 Q16023331 Q5241202 Q6130313 Q6255174 Q6260653 Q6249871 Q6255172 Q7351121 Q6237337 Q6255426 Q6228764 Q6246935 Q5232850 Q5232854 Q8018834 Q16015315 Q8004402 Q5537303 Q5537308 Q11154564 Q6239285 Q5606271 Q5606270 Q5606273 Q5144956 Q6221420 Q6221434 Q17423413 Q16062311 Q15995818 Q16859222 Q4096102 Q16194812 Q15485947 Q5241194 Q6262978 Q5537317 Q6246958 Q6242859 Q16043626 Q6242044 Q6255177 Q6221432 Q5144950 Q6255170 Q5239888 Q5239886 Q5233458 Q14951093 Q16857661 Q6255179 Q6262982 Q6262980 Q6244744 Q1101329 Q17364116 Q16095641 Q5233469 Q8019368 Q8019367
(c(Q502895),P248,c(Q223393)|c(Q1209283))
action count
action equal
action union
action find_tuple_counts
relation P248
type Q502895
type Q223393
action find_tuple_counts
relation P248
type Q502895
type Q1209283
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q223393'}, {'concept': 'Q1209283'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?v WHERE { { ?v property:P248 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q223393 } UNION { ?v property:P248 ?k . ?v rdf:type ontology:Q502895 . ?k rdf:type ontology:Q1209283 } } GROUP BY ?v } }
John Roberts Colin Campbell David Smith John Roberts William Robinson John Hall John Parker John Ward John Roberts John Martin John Rogers John Lewis John Gray John Bell David Thomas John Gray Robert Williams Greg Smith John Rogers John Jackson John Davies John Smith William Thompson William Walker David Wilson James Brown John Roberts John Thompson John Murphy John Roberts Robert Williams John Hall John Rogers John Davies John Martin David Davies David Davies William Stewart David Thomas William Anderson George Brown George Brown David Evans John Hill Greg Smith Greg Smith Greg Smith Colin Campbell John Bell John Bell James Brown John Martin John Thompson Robert Williams James Brown David Smith John Walker David Wilson John Ward George Brown John Martin John Kennedy William Thompson John Jones John Roberts John Bell Colin Campbell John Roberts David Smith David Smith David Evans John Jackson John Hall John Roberts John Ward John Ward John Lewis John Rogers John Davies John Hall David Evans William Thompson William Thompson
83
action count
action equal
action union
action find_tuple_counts
relation stated in
type common name
type literary genre
action find_tuple_counts
relation stated in
type common name
type electronic media
value 1
[{'concept': 'common name'}, 'stated in', [{'concept': 'literary genre'}, {'concept': 'electronic media'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { FILTER ( ?a = 1 ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) ?v WHERE { { ?v property:stated_in ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:literary_genre } UNION { ?v property:stated_in ?k . ?v rdf:type ontology:common_name . ?k rdf:type ontology:electronic_media } } GROUP BY ?v } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1260304
P734
Q874405 Q6619679
USER
How many social groups and fictional humanoids have Berger as last name ?
(c(Q874405),P734,Q1260304) (c(Q6619679),P734,Q1260304)
action count
action union
action filter_type
action find_reverse
entity Q1260304
relation P734
type Q874405
action filter_type
action find_reverse
entity Q1260304
relation P734
type Q6619679
[{'concept': 'Q874405'}, 'P734', 'Q1260304'] [{'concept': 'Q6619679'}, 'P734', 'Q1260304']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q874405 ) ( ontology:Q6619679 ) } . ?d rdf:type ?r }
Berger
action count
action union
action filter_type
action find_reverse
entity Berger
relation family name
type social group
action filter_type
action find_reverse
entity Berger
relation family name
type fictional humanoid
[{'concept': 'social group'}, 'family name', 'Berger'] [{'concept': 'fictional humanoid'}, 'family name', 'Berger']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:social_group ) ( ontology:fictional_humanoid ) } . ?d rdf:type ?r }
[]
social group fictional humanoid
SYSTEM
1 social groups and 1 fictional humanoids
Q3376449 Q19921937
(c(Q874405),P734,Q1260304) (c(Q6619679),P734,Q1260304)
action count
action union
action filter_type
action find_reverse
entity Q1260304
relation P734
type Q874405
action filter_type
action find_reverse
entity Q1260304
relation P734
type Q6619679
[ANSWER]
[{'concept': 'Q874405'}, 'P734', 'Q1260304'] [{'concept': 'Q6619679'}, 'P734', 'Q1260304']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q874405 ) ( ontology:Q6619679 ) } . ?d rdf:type ?r }
Peter Berger Berger family
1 social groups and 1 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity Berger
relation family name
type social group
action filter_type
action find_reverse
entity Berger
relation family name
type fictional humanoid
[{'concept': 'social group'}, 'family name', 'Berger'] [{'concept': 'fictional humanoid'}, 'family name', 'Berger']
SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:social_group ) ( ontology:fictional_humanoid ) } . ?d rdf:type ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1260304
P138
Q12737077
USER
Which occupation is that name named after ?
action filter_type
action find
entity Q1260304
relation P138
type Q12737077
SELECT DISTINCT ?v WHERE { resource:Q1260304 property:P138 ?v . ?v rdf:type ontology:Q12737077 }
Berger
action filter_type
action find
entity Berger
relation named after
type occupation
SELECT DISTINCT ?v WHERE { resource:Berger property:named_after ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q12059906
SYSTEM
herder
Q12059906
action filter_type
action find
entity Q1260304
relation P138
type Q12737077
That name is named for [ANSWER]
SELECT DISTINCT ?v WHERE { resource:Q1260304 property:P138 ?v . ?v rdf:type ontology:Q12737077 }
herder
That name is named for herder
herder
action filter_type
action find
entity Berger
relation named after
type occupation
SELECT DISTINCT ?v WHERE { resource:Berger property:named_after ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12059906
P425
Q451967
USER
Which human action has that one as the associated field of occupation ?
(Q12059906,P425,c(Q451967))
action filter_type
action find
entity Q12059906
relation P425
type Q451967
['Q12059906', 'P425', {'concept': 'Q451967'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q451967 . resource:Q12059906 property:P425 ?x }
herder
action filter_type
action find
entity herder
relation field of this occupation
type human action
['herder', 'field of this occupation', {'concept': 'human action'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_action . resource:herder property:field_of_this_occupation ?x }
[]
human action
Q3239189
SYSTEM
grazing
Q3239189
(Q12059906,P425,c(Q451967))
action filter_type
action find
entity Q12059906
relation P425
type Q451967
[ANSWER] has that one as the associated field of occupation
['Q12059906', 'P425', {'concept': 'Q451967'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q451967 . resource:Q12059906 property:P425 ?x }
grazing
Grazing has that one as the associated field of occupation
grazing
action filter_type
action find
entity herder
relation field of this occupation
type human action
['herder', 'field of this occupation', {'concept': 'human action'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:human_action . resource:herder property:field_of_this_occupation ?x }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1430943
P748
Q1307214 Q178706 Q12737077
USER
Which occupations were appointed by more number of forms of government and institutions than Prime Minister of Jamaica ?
(c(Q12737077),P748,c(Q1307214)|c(Q178706))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q1430943
relation P748
type Q1307214
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1307214 ) ( ontology:Q178706 ) } } GROUP BY ?y } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q1430943 property:P748 ?o . { { ?o rdf:type ontology:Q1307214 } UNION { ?o rdf:type ontology:Q178706 } } } } }
Prime Minister of Jamaica
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Prime Minister of Jamaica
relation appointed by
type form of government
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'institution'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:form_of_government ) ( ontology:institution ) } } GROUP BY ?y } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Prime_Minister_of_Jamaica property:appointed_by ?o . { { ?o rdf:type ontology:form_of_government } UNION { ?o rdf:type ontology:institution } } } } }
[]
form of government institution occupation
Q81066 Q217217 Q1281611
SYSTEM
United Nations Secretary-General, Lord Chancellor, Lieutenant Governor of Jersey
Q1355456 Q1507619 Q740126 Q910308 Q1753754 Q943379 Q1161813 Q583809 Q2962001 Q8882 Q213107 Q162754 Q217217 Q634291 Q735587 Q1281611 Q81066 Q1752225 Q687908
(c(Q12737077),P748,c(Q1307214)|c(Q178706))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q1430943
relation P748
type Q1307214
type Q178706
[ANSWERS] were appointed by more number of forms of government and institutions than Prime Minister of Jamaica
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1307214 ) ( ontology:Q178706 ) } } GROUP BY ?y } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Q1430943 property:P748 ?o . { { ?o rdf:type ontology:Q1307214 } UNION { ?o rdf:type ontology:Q178706 } } } } }
Lord Chamberlain Deputy Prime Minister of the United Kingdom President of the European Parliament Lord Privy Seal Master of the Rolls Lord President of the Council President of the United Nations General Assembly Solicitor General for England and Wales Chief of the Defence Staff President of the European Commission Prime Minister of Belgium Chancellor of the Duchy of Lancaster Lord Chancellor High Representative of the Union for Foreign Affairs and Security Policy President of the European Council Lieutenant Governor of Jersey United Nations Secretary-General Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
United Nations Secretary-General, Lord Chancellor and Lieutenant Governor of Jersey were appointed by more number of forms of government and institutions than Prime Minister of Jamaica
United Nations Secretary-General Lord Chancellor Lieutenant Governor of Jersey
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity Prime Minister of Jamaica
relation appointed by
type form of government
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'institution'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?v ) WHERE { ?s rdf:type ?x . VALUES ( ?x ) { ( ontology:form_of_government ) ( ontology:institution ) } } GROUP BY ?y } . FILTER ( ?v > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { resource:Prime_Minister_of_Jamaica property:appointed_by ?o . { { ?o rdf:type ontology:form_of_government } UNION { ?o rdf:type ontology:institution } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q473984
P748
Q1307214 Q178706 Q12737077
USER
And what about President of Pakistan?
(c(Q12737077),P748,c(Q1307214)|c(Q178706))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q473984
relation P748
type Q1307214
type Q178706
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?e ) WHERE { { ?u property:P748 ?m . ?u rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1307214 } UNION { ?u property:P748 ?m . ?u rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q178706 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q473984 property:P748 ?v . { { ?v rdf:type ontology:Q1307214 } UNION { ?v rdf:type ontology:Q178706 } } } } . FILTER ( ?e > ?c ) }
President of Pakistan
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of Pakistan
relation appointed by
type form of government
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'institution'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?e ) WHERE { { ?u property:appointed_by ?m . ?u rdf:type ontology:occupation . ?m rdf:type ontology:form_of_government } UNION { ?u property:appointed_by ?m . ?u rdf:type ontology:occupation . ?m rdf:type ontology:institution } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:President_of_Pakistan property:appointed_by ?v . { { ?v rdf:type ontology:form_of_government } UNION { ?v rdf:type ontology:institution } } } } . FILTER ( ?e > ?c ) }
[]
form of government institution occupation
Q81066 Q217217 Q1281611
SYSTEM
United Nations Secretary-General, Lord Chancellor, Lieutenant Governor of Jersey
Q1355456 Q1507619 Q740126 Q910308 Q1753754 Q943379 Q1161813 Q583809 Q2962001 Q8882 Q213107 Q162754 Q217217 Q634291 Q735587 Q1281611 Q81066 Q1752225 Q687908
(c(Q12737077),P748,c(Q1307214)|c(Q178706))
action greater
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q178706
action count
action filter_multi_types
action find
entity Q473984
relation P748
type Q1307214
type Q178706
[ANSWERS]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q178706'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?e ) WHERE { { ?u property:P748 ?m . ?u rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q1307214 } UNION { ?u property:P748 ?m . ?u rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q178706 } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q473984 property:P748 ?v . { { ?v rdf:type ontology:Q1307214 } UNION { ?v rdf:type ontology:Q178706 } } } } . FILTER ( ?e > ?c ) }
Lord Chamberlain Deputy Prime Minister of the United Kingdom President of the European Parliament Lord Privy Seal Master of the Rolls Lord President of the Council President of the United Nations General Assembly Solicitor General for England and Wales Chief of the Defence Staff President of the European Commission Prime Minister of Belgium Chancellor of the Duchy of Lancaster Lord Chancellor High Representative of the Union for Foreign Affairs and Security Policy President of the European Council Lieutenant Governor of Jersey United Nations Secretary-General Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
United Nations Secretary-General Lord Chancellor Lieutenant Governor of Jersey
action greater
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type institution
action count
action filter_multi_types
action find
entity President of Pakistan
relation appointed by
type form of government
type institution
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'institution'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?m ) AS ?e ) WHERE { { ?u property:appointed_by ?m . ?u rdf:type ontology:occupation . ?m rdf:type ontology:form_of_government } UNION { ?u property:appointed_by ?m . ?u rdf:type ontology:occupation . ?m rdf:type ontology:institution } } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:President_of_Pakistan property:appointed_by ?v . { { ?v rdf:type ontology:form_of_government } UNION { ?v rdf:type ontology:institution } } } } . FILTER ( ?e > ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81066
P39
Q502895
USER
Which people were appointed for the position of United Nations Secretary-General ?
(c(Q502895),P39,Q81066)
action filter_type
action find_reverse
entity Q81066
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q81066']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q81066 . ?d rdf:type ontology:Q502895 }
United Nations Secretary-General
action filter_type
action find_reverse
entity United Nations Secretary-General
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United Nations Secretary-General']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:United_Nations_Secretary-General . ?d rdf:type ontology:common_name }
[]
common name
Q1254 Q1260 Q311440
SYSTEM
Kofi Annan, Kurt Waldheim, António Guterres
Q1259 Q1257 Q1254 Q1260 Q1267 Q1253 Q1264 Q1275 Q1271 Q311440
(c(Q502895),P39,Q81066)
action filter_type
action find_reverse
entity Q81066
relation P39
type Q502895
[ANSWERS] were appointed for the position of United Nations Secretary-General
[{'concept': 'Q502895'}, 'P39', 'Q81066']
SELECT DISTINCT ?d WHERE { ?d property:P39 resource:Q81066 . ?d rdf:type ontology:Q502895 }
Javier Pérez de Cuéllar Boutros Boutros-Ghali Kofi Annan Kurt Waldheim Dag Hammarskjöld Ban Ki-moon U Thant Gladwyn Jebb Trygve Lie António Guterres
Kofi Annan, Kurt Waldheim and António Guterres were appointed for the position of United Nations Secretary-General
Kofi Annan Kurt Waldheim António Guterres
action filter_type
action find_reverse
entity United Nations Secretary-General
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'United Nations Secretary-General']
SELECT DISTINCT ?d WHERE { ?d property:position_held resource:United_Nations_Secretary-General . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1254 Q1260 Q311440
P26
Q502895
USER
Who are married to Kofi Annan, Kurt Waldheim and António Guterres ?
(c(Q502895),P26,Q1254) (c(Q502895),P26,Q1260) (c(Q502895),P26,Q311440)
action union
action filter_type
action find
entity Q1254
relation P26
type Q502895
action filter_type
action find
entity Q1260
relation P26
type Q502895
action filter_type
action find
entity Q311440
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1254'] [{'concept': 'Q502895'}, 'P26', 'Q1260'] [{'concept': 'Q502895'}, 'P26', 'Q311440']
SELECT DISTINCT ?g WHERE { VALUES ( ?l ) { ( resource:Q1254 ) ( resource:Q1260 ) } . ?l property:P26 ?g }
Kofi Annan Kurt Waldheim António Guterres
action union
action filter_type
action find
entity Kofi Annan
relation spouse
type common name
action filter_type
action find
entity Kurt Waldheim
relation spouse
type common name
action filter_type
action find
entity António Guterres
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kofi Annan'] [{'concept': 'common name'}, 'spouse', 'Kurt Waldheim'] [{'concept': 'common name'}, 'spouse', 'António Guterres']
SELECT DISTINCT ?g WHERE { VALUES ( ?l ) { ( resource:Kofi_Annan ) ( resource:Kurt_Waldheim ) } . ?l property:spouse ?g }
[]
common name
Q86165 Q3742229 Q27134642
SYSTEM
Elisabeth Waldheim, Nane Annan, Luísa Amélia Guimarães e Melo
Q3742229 Q86165 Q27134712 Q27134642
(c(Q502895),P26,Q1254) (c(Q502895),P26,Q1260) (c(Q502895),P26,Q311440)
action union
action filter_type
action find
entity Q1254
relation P26
type Q502895
action filter_type
action find
entity Q1260
relation P26
type Q502895
action filter_type
action find
entity Q311440
relation P26
type Q502895
[ANSWERS] are married to Kofi Annan, Kurt Waldheim and António Guterres
[{'concept': 'Q502895'}, 'P26', 'Q1254'] [{'concept': 'Q502895'}, 'P26', 'Q1260'] [{'concept': 'Q502895'}, 'P26', 'Q311440']
SELECT DISTINCT ?g WHERE { VALUES ( ?l ) { ( resource:Q1254 ) ( resource:Q1260 ) } . ?l property:P26 ?g }
Nane Annan Elisabeth Waldheim Catarina Marques de Almeida Vaz Pinto Luísa Amélia Guimarães e Melo
Elisabeth Waldheim, Nane Annan and Luísa Amélia Guimarães e Melo are married to Kofi Annan, Kurt Waldheim and António Guterres
Elisabeth Waldheim Nane Annan Luísa Amélia Guimarães e Melo
action union
action filter_type
action find
entity Kofi Annan
relation spouse
type common name
action filter_type
action find
entity Kurt Waldheim
relation spouse
type common name
action filter_type
action find
entity António Guterres
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Kofi Annan'] [{'concept': 'common name'}, 'spouse', 'Kurt Waldheim'] [{'concept': 'common name'}, 'spouse', 'António Guterres']
SELECT DISTINCT ?g WHERE { VALUES ( ?l ) { ( resource:Kofi_Annan ) ( resource:Kurt_Waldheim ) } . ?l property:spouse ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q86165
P166
Q618779
USER
Which award was received by Elisabeth Waldheim ?
(Q86165,P166,c(Q618779))
action filter_type
action find
entity Q86165
relation P166
type Q618779
['Q86165', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q86165 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Elisabeth Waldheim
action filter_type
action find
entity Elisabeth Waldheim
relation award received
type award
['Elisabeth Waldheim', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Elisabeth_Waldheim property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q976101
SYSTEM
Pro Ecclesia et Pontifice
Q976101
(Q86165,P166,c(Q618779))
action filter_type
action find
entity Q86165
relation P166
type Q618779
[ANSWER] was received by Elisabeth Waldheim
['Q86165', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q86165 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Pro Ecclesia et Pontifice
Pro Ecclesia et Pontifice was received by Elisabeth Waldheim
Pro Ecclesia et Pontifice
action filter_type
action find
entity Elisabeth Waldheim
relation award received
type award
['Elisabeth Waldheim', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Elisabeth_Waldheim property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3742229
P25
Q502895
USER
Which female person has a child named Nane Annan ?
(Q3742229,P25,c(Q502895))
action filter_type
action find
entity Q3742229
relation P25
type Q502895
['Q3742229', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3742229 property:P25 ?s . ?s rdf:type ontology:Q502895 }
Nane Annan
action filter_type
action find
entity Nane Annan
relation mother
type common name
['Nane Annan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Nane_Annan property:mother ?s . ?s rdf:type ontology:common_name }
[]
common name
Q4960527
SYSTEM
Nina Lagergren
Q4960527
(Q3742229,P25,c(Q502895))
action filter_type
action find
entity Q3742229
relation P25
type Q502895
And [ANSWER] has a child named Nane Annan
['Q3742229', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3742229 property:P25 ?s . ?s rdf:type ontology:Q502895 }
Nina Lagergren
And Nina Lagergren has a child named Nane Annan
Nina Lagergren
action filter_type
action find
entity Nane Annan
relation mother
type common name
['Nane Annan', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Nane_Annan property:mother ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4960527 Q20242920
P22
Q502895
USER
Was Philipp Quest the dad of Nina Lagergren ?
(Q4960527,P22,Q20242920)
action is_in
entity Q20242920
action find
entity Q4960527
relation P22
['Q4960527', 'P22', 'Q20242920']
ASK WHERE { resource:Q4960527 property:P22 resource:Q20242920 }
Nina Lagergren Philipp Quest
action is_in
entity Philipp Quest
action find
entity Nina Lagergren
relation father
['Nina Lagergren', 'father', 'Philipp Quest']
ASK WHERE { resource:Nina_Lagergren property:father resource:Philipp_Quest }
[]
common name
SYSTEM
NO
(Q4960527,P22,Q20242920)
action is_in
entity Q20242920
action find
entity Q4960527
relation P22
[ANSWER]
['Q4960527', 'P22', 'Q20242920']
ASK WHERE { resource:Q4960527 property:P22 resource:Q20242920 }
No
action is_in
entity Philipp Quest
action find
entity Nina Lagergren
relation father
['Nina Lagergren', 'father', 'Philipp Quest']
ASK WHERE { resource:Nina_Lagergren property:father resource:Philipp_Quest }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4960527
P40
Q502895
USER
Which person is a child of Nina Lagergren ?
action filter_type
action find
entity Q4960527
relation P40
type Q502895
SELECT DISTINCT ?k WHERE { resource:Q4960527 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Nina Lagergren
action filter_type
action find
entity Nina Lagergren
relation child
type common name
SELECT DISTINCT ?k WHERE { resource:Nina_Lagergren property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q3742229
SYSTEM
Nane Annan
Q3742229
action filter_type
action find
entity Q4960527
relation P40
type Q502895
[ANSWER] is a child of Nina Lagergren
SELECT DISTINCT ?k WHERE { resource:Q4960527 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Nane Annan
Nane Annan is a child of Nina Lagergren
Nane Annan
action filter_type
action find
entity Nina Lagergren
relation child
type common name
SELECT DISTINCT ?k WHERE { resource:Nina_Lagergren property:child ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15416
USER
Which television programs did around 16 people do the dubbing for ?
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 16
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 . ?f property:P725 ?x } GROUP BY ?f } . FILTER ( ?e = 16 ) }
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 16
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:television_program . ?x rdf:type ontology:common_name . ?f property:voice_actor ?x } GROUP BY ?f } . FILTER ( ?e = 16 ) }
[]
common name television program
Q18571935 Q25000347 Q18553975
SYSTEM
The Big O, Pirate Express, Soul Eater
Q18571935 Q25000347 Q18553975
(c(Q15416),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q15416
type Q502895
value 16
Around 16 people did the dubbing for [ANSWERS]
[{'concept': 'Q15416'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:Q15416 . ?x rdf:type ontology:Q502895 . ?f property:P725 ?x } GROUP BY ?f } . FILTER ( ?e = 16 ) }
The Big O Pirate Express Soul Eater
Around 16 people did the dubbing for The Big O, Pirate Express and Soul Eater
The Big O Pirate Express Soul Eater
action approx
action find_tuple_counts
relation voice actor
type television program
type common name
value 16
[{'concept': 'television program'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?x ) AS ?e ) WHERE { ?f rdf:type ontology:television_program . ?x rdf:type ontology:common_name . ?f property:voice_actor ?x } GROUP BY ?f } . FILTER ( ?e = 16 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q18571935 Q25000347 Q18553975
P725
Q502895
USER
Who worked on the dubbing for The Big O, Pirate Express and Soul Eater ?
(Q18571935,P725,c(Q502895)) (Q25000347,P725,c(Q502895)) (Q18553975,P725,c(Q502895))
action union
action filter_type
action find
entity Q18571935
relation P725
type Q502895
action filter_type
action find
entity Q25000347
relation P725
type Q502895
action filter_type
action find
entity Q18553975
relation P725
type Q502895
['Q18571935', 'P725', {'concept': 'Q502895'}] ['Q25000347', 'P725', {'concept': 'Q502895'}] ['Q18553975', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q18571935 property:P725 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q25000347 property:P725 ?w . ?w rdf:type ontology:Q502895 } }
The Big O Pirate Express Soul Eater
action union
action filter_type
action find
entity The Big O
relation voice actor
type common name
action filter_type
action find
entity Pirate Express
relation voice actor
type common name
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
['The Big O', 'voice actor', {'concept': 'common name'}] ['Pirate Express', 'voice actor', {'concept': 'common name'}] ['Soul Eater', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:The_Big_O property:voice_actor ?w . ?w rdf:type ontology:common_name } UNION { resource:Pirate_Express property:voice_actor ?w . ?w rdf:type ontology:common_name } }
[]
common name
Q2571077 Q2364867 Q519821
SYSTEM
Gorō Naya, Laura Bailey, Mamoru Miyano
Q4119238 Q7678436 Q2463489 Q1324522 Q4701112 Q847661 Q514205 Q1351041 Q1143478 Q520669 Q4118231 Q2571077 Q952156 Q3727687 Q2735707 Q1372791 Q2529130 Q5411772 Q3518907 Q3090795 Q4355067 Q5298178 Q4120022 Q1372814 Q2092688 Q1923365 Q267772 Q460170 Q1052220 Q2702252 Q7812408 Q1064240 Q287902 Q2364867 Q519821 Q4119009 Q6147164 Q1320826 Q4355802 Q138188 Q951890 Q1204898 Q4115624 Q6966455 Q138205 Q1323415
(Q18571935,P725,c(Q502895)) (Q25000347,P725,c(Q502895)) (Q18553975,P725,c(Q502895))
action union
action filter_type
action find
entity Q18571935
relation P725
type Q502895
action filter_type
action find
entity Q25000347
relation P725
type Q502895
action filter_type
action find
entity Q18553975
relation P725
type Q502895
[ANSWERS] worked on the dubbing for The Big O, Pirate Express and Soul Eater
['Q18571935', 'P725', {'concept': 'Q502895'}] ['Q25000347', 'P725', {'concept': 'Q502895'}] ['Q18553975', 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { resource:Q18571935 property:P725 ?w . ?w rdf:type ontology:Q502895 } UNION { resource:Q25000347 property:P725 ?w . ?w rdf:type ontology:Q502895 } }
Sayuri Yamauchi Takkō Ishimori Issei Futamata Emi Shinohara Akio Nojima Sakiko Tamagawa Lia Sargent Unshō Ishizuka Mitsuru Miyamoto Hōchū Ōtsuka Katsunosuke Hori Gorō Naya Steven Blum Motomu Kiyokawa Akiko Yajima Jōji Nakata Tesshō Genda Nicole Oliver Terry Klassen Ian James Corlett Colin Murdock Doron Bell Jr. Trevor Devall Alessandro Juliani Tabitha St. Germain Brian Dobson Garry Chalk Kelly Sheridan Lee Tockar Scott McNeil Todd Haberkorn Kaori Nazuka Yumiko Kobayashi Laura Bailey Mamoru Miyano John Swasey Jamie Marchi Kōki Uchiyama Brittney Karbowski Cherami Leigh Chiaki Omigawa Rikiya Koyama Monica Rial Narumi Takahira Micah Solusod Akeno Watanabe
Gorō Naya, Laura Bailey and Mamoru Miyano worked on the dubbing for The Big O, Pirate Express and Soul Eater
Gorō Naya Laura Bailey Mamoru Miyano
action union
action filter_type
action find
entity The Big O
relation voice actor
type common name
action filter_type
action find
entity Pirate Express
relation voice actor
type common name
action filter_type
action find
entity Soul Eater
relation voice actor
type common name
['The Big O', 'voice actor', {'concept': 'common name'}] ['Pirate Express', 'voice actor', {'concept': 'common name'}] ['Soul Eater', 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { resource:The_Big_O property:voice_actor ?w . ?w rdf:type ontology:common_name } UNION { resource:Pirate_Express property:voice_actor ?w . ?w rdf:type ontology:common_name } }
[]