Simple Question (Direct)
Simple Question
Q5482651
P39
Q12737077
USER
Which occupation was a position for which Francis Venables-Vernon-Harcourt was appointed ?
(Q5482651,P39,c(Q12737077))
action filter_type
action find
entity Q5482651
relation P39
type Q12737077
['Q5482651', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5482651 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Francis Venables-Vernon-Harcourt
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation position held
type occupation
['Francis Venables-Vernon-Harcourt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Venables-Vernon-Harcourt property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q16707842
SYSTEM
Member of Parliament in the United Kingdom
Q16707842
(Q5482651,P39,c(Q12737077))
action filter_type
action find
entity Q5482651
relation P39
type Q12737077
The [ANSWER] was a position for which Francis Venables-Vernon-Harcourt was appointed
['Q5482651', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q5482651 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Member of Parliament in the United Kingdom
The Member of Parliament in the United Kingdom was a position for which Francis Venables-Vernon-Harcourt was appointed
Member of Parliament in the United Kingdom
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation position held
type occupation
['Francis Venables-Vernon-Harcourt', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Francis_Venables-Vernon-Harcourt property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5482651
P1412
Q34770
USER
Which language is spoken by Francis Venables-Vernon-Harcourt ?
(Q5482651,P1412,c(Q34770))
action filter_type
action find
entity Q5482651
relation P1412
type Q34770
['Q5482651', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q5482651 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
Francis Venables-Vernon-Harcourt
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation languages spoken, written or signed
type language
['Francis Venables-Vernon-Harcourt', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Francis_Venables-Vernon-Harcourt property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5482651,P1412,c(Q34770))
action filter_type
action find
entity Q5482651
relation P1412
type Q34770
The [ANSWER] is spoken by Francis Venables-Vernon-Harcourt
['Q5482651', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q5482651 property:P1412 ?r . ?r rdf:type ontology:Q34770 }
English
The English is spoken by Francis Venables-Vernon-Harcourt
English
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation languages spoken, written or signed
type language
['Francis Venables-Vernon-Harcourt', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Francis_Venables-Vernon-Harcourt property:languages_spoken,_written_or_signed ?r . ?r rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q790
P37
Q34770 Q15617994
USER
How many administrative territories are known to have more number of languages as their official language than Haiti ?
(c(Q15617994),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q790
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { ?h property:P37 ?d . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q790 property:P37 ?t } } . FILTER ( ?z > ?a ) }
Haiti
action count
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Haiti
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { ?h property:official_language ?d . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:official_language ?t } } . FILTER ( ?z > ?a ) }
[]
language designation for an administrative territorial entity
SYSTEM
84
Q804 Q399 Q800 Q709 Q668 Q414 Q1948 Q783 Q784 Q493428 Q712 Q710 Q717 Q2003 Q258 Q1979 Q792 Q954 Q953 Q958 Q986 Q241 Q242 Q244 Q1974 Q811 Q53381 Q101526 Q924 Q928 Q39 Q38 Q739 Q733 Q734 Q55 Q1013 Q795587 Q693658 Q145 Q238 Q1044 Q1042 Q27 Q29 Q1049 Q1020 Q843 Q736 Q786 Q1904 Q96 Q1050 Q1989 Q686312 Q1036 Q1037 Q1033 Q1030 Q963 Q298 Q695 Q114 Q117 Q754 Q750 Q213 Q1005 Q833 Q1951 Q1009 Q243220 Q683 Q34020 Q686 Q760 Q77 Q774 Q1014 Q678 Q233 Q672 Q1952 Q2023
(c(Q15617994),P37,c(Q34770))
action count
action greater
action find_tuple_counts
relation P37
type Q15617994
type Q34770
action count
action filter_type
action find
entity Q790
relation P37
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { ?h property:P37 ?d . ?h rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:Q15617994 . resource:Q790 property:P37 ?t } } . FILTER ( ?z > ?a ) }
Panama Armenia Costa Rica Marshall Islands India Argentina Manitoba Honduras Dominica Mistretta Fiji Kiribati Venezuela Newfoundland and Labrador South Africa Prince Edward Island El Salvador Zimbabwe Zambia South Sudan Eritrea Cuba Belize Barbados British Columbia Nicaragua Tolmezzo Rovetta Tanzania Philippines Switzerland Italy Colombia Paraguay Guyana Netherlands Lesotho Escuintla Izabal Department United Kingdom San Marino Sierra Leone Seychelles Ireland Spain Sudan Malawi Pakistan Ecuador Dominican Republic Ontario Mexico Swaziland Saskatchewan Duchy of Amalfi Uganda Rwanda Nigeria Namibia Botswana Chile Palau Kenya Ghana Trinidad and Tobago Bolivia Czech Republic Gambia Malaysia Alberta Cameroon Rocca di Cave Samoa Niue Vanuatu Saint Lucia Uruguay Guatemala Liberia Tonga Malta Tuvalu Nova Scotia Nunavut
84
action count
action greater
action find_tuple_counts
relation official language
type designation for an administrative territorial entity
type language
action count
action filter_type
action find
entity Haiti
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?y ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?d ) AS ?z ) WHERE { ?h property:official_language ?d . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Haiti property:official_language ?t } } . FILTER ( ?z > ?a ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q790
P35
Q502895
USER
Who is elected as the head of state of that administrative territory ?
action filter_type
action find
entity Q790
relation P35
type Q502895
SELECT DISTINCT ?d WHERE { resource:Q790 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Haiti
action filter_type
action find
entity Haiti
relation head of state
type common name
SELECT DISTINCT ?d WHERE { resource:Haiti property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
common name
Q57512
SYSTEM
Michel Martelly
Q57512
action filter_type
action find
entity Q790
relation P35
type Q502895
[ANSWER] is elected as the head of state of that administrative territory
SELECT DISTINCT ?d WHERE { resource:Q790 property:P35 ?d . ?d rdf:type ontology:Q502895 }
Michel Martelly
Michel Martelly is elected as the head of state of that administrative territory
Michel Martelly
action filter_type
action find
entity Haiti
relation head of state
type common name
SELECT DISTINCT ?d WHERE { resource:Haiti property:head_of_state ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57512
P991
Q1076105
USER
Which general election was that person a successful candidate from ?
(c(Q1076105),P991,Q57512)
action filter_type
action find_reverse
entity Q57512
relation P991
type Q1076105
[{'concept': 'Q1076105'}, 'P991', 'Q57512']
SELECT DISTINCT ?e WHERE { ?e property:P991 resource:Q57512 . ?e rdf:type ontology:Q1076105 }
Michel Martelly
action filter_type
action find_reverse
entity Michel Martelly
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Michel Martelly']
SELECT DISTINCT ?e WHERE { ?e property:successful_candidate resource:Michel_Martelly . ?e rdf:type ontology:general_election }
[]
general election
Q1857436
SYSTEM
Haitian general election 2010/2011
Q1857436
(c(Q1076105),P991,Q57512)
action filter_type
action find_reverse
entity Q57512
relation P991
type Q1076105
[ANSWER] was that person a successful candidate from
[{'concept': 'Q1076105'}, 'P991', 'Q57512']
SELECT DISTINCT ?e WHERE { ?e property:P991 resource:Q57512 . ?e rdf:type ontology:Q1076105 }
Haitian general election 2010/2011
Haitian general election 2010/2011 was that person a successful candidate from
Haitian general election 2010/2011
action filter_type
action find_reverse
entity Michel Martelly
relation successful candidate
type general election
[{'concept': 'general election'}, 'successful candidate', 'Michel Martelly']
SELECT DISTINCT ?e WHERE { ?e property:successful_candidate resource:Michel_Martelly . ?e rdf:type ontology:general_election }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q57512
P102
Q7210356
USER
Which party does that person belong to ?
(Q1857436,P102,c(Q7210356))
action filter_type
action find
entity Q57512
relation P102
type Q7210356
['Q1857436', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q57512 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Michel Martelly
action filter_type
action find
entity Michel Martelly
relation member of political party
type political organization
['Haitian general election 2010/2011', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Michel_Martelly property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
political organization
Q3456317
SYSTEM
Repons Peyizan
Q3456317
(Q1857436,P102,c(Q7210356))
action filter_type
action find
entity Q57512
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1857436', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?j WHERE { resource:Q57512 property:P102 ?j . ?j rdf:type ontology:Q7210356 }
Repons Peyizan
That person belongs to Repons Peyizan
Repons Peyizan
action filter_type
action find
entity Michel Martelly
relation member of political party
type political organization
['Haitian general election 2010/2011', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?j WHERE { resource:Michel_Martelly property:member_of_political_party ?j . ?j rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3456317 Q16299491
P102
Q502895
USER
Is Johan Järnefelt affiliated to that political organization ?
(Q16299491,P102,Q3456317)
action is_in
entity Q16299491
action find
entity Q3456317
relation P102
['Q16299491', 'P102', 'Q3456317']
ASK WHERE { resource:Q3456317 property:P102 resource:Q16299491 }
Repons Peyizan Johan Järnefelt
action is_in
entity Johan Järnefelt
action find
entity Repons Peyizan
relation member of political party
['Johan Järnefelt', 'member of political party', 'Repons Peyizan']
ASK WHERE { resource:Repons_Peyizan property:member_of_political_party resource:Johan_Järnefelt }
[]
common name
SYSTEM
NO
(Q16299491,P102,Q3456317)
action is_in
entity Q16299491
action find
entity Q3456317
relation P102
[ANSWER]
['Q16299491', 'P102', 'Q3456317']
ASK WHERE { resource:Q3456317 property:P102 resource:Q16299491 }
No
action is_in
entity Johan Järnefelt
action find
entity Repons Peyizan
relation member of political party
['Johan Järnefelt', 'member of political party', 'Repons Peyizan']
ASK WHERE { resource:Repons_Peyizan property:member_of_political_party resource:Johan_Järnefelt }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q5329170 Q214506
P361
Q5962346
USER
Is English a part of Anglo-Frisian languages and Insular Celtic languages ?
(Q1860,P361,Q5329170) (Q1860,P361,Q214506)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q214506
relation P361
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q214506']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q214506 }
English Anglo-Frisian languages Insular Celtic languages
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Insular Celtic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Insular Celtic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Insular_Celtic_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q5329170) (Q1860,P361,Q214506)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q5329170
relation P361
action find_reverse
entity Q214506
relation P361
[ANSWER]
['Q1860', 'P361', 'Q5329170'] ['Q1860', 'P361', 'Q214506']
ASK WHERE { resource:Q1860 property:P361 resource:Q5329170 . resource:Q1860 property:P361 resource:Q214506 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglo-Frisian languages
relation part of
action find_reverse
entity Insular Celtic languages
relation part of
['English', 'part of', 'Anglo-Frisian languages'] ['English', 'part of', 'Insular Celtic languages']
ASK WHERE { resource:English property:part_of resource:Anglo-Frisian_languages . resource:English property:part_of resource:Insular_Celtic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q5482651 Q567896
P27
Q15617994
USER
Is Silbitz the native country of Francis Venables-Vernon-Harcourt ?
(Q5482651,P27,Q567896)
action is_in
entity Q567896
action find
entity Q5482651
relation P27
['Q5482651', 'P27', 'Q567896']
ASK WHERE { resource:Q5482651 property:P27 resource:Q567896 }
Francis Venables-Vernon-Harcourt Silbitz
action is_in
entity Silbitz
action find
entity Francis Venables-Vernon-Harcourt
relation country of citizenship
['Francis Venables-Vernon-Harcourt', 'country of citizenship', 'Silbitz']
ASK WHERE { resource:Francis_Venables-Vernon-Harcourt property:country_of_citizenship resource:Silbitz }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q5482651,P27,Q567896)
action is_in
entity Q567896
action find
entity Q5482651
relation P27
[ANSWER]
['Q5482651', 'P27', 'Q567896']
ASK WHERE { resource:Q5482651 property:P27 resource:Q567896 }
No
action is_in
entity Silbitz
action find
entity Francis Venables-Vernon-Harcourt
relation country of citizenship
['Francis Venables-Vernon-Harcourt', 'country of citizenship', 'Silbitz']
ASK WHERE { resource:Francis_Venables-Vernon-Harcourt property:country_of_citizenship resource:Silbitz }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5482651
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q5482651
relation P21
type Q290
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q5482651 property:P21 ?v }
Francis Venables-Vernon-Harcourt
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation gender
type sex
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Francis_Venables-Vernon-Harcourt property:gender ?v }
[]
sex
Q6581097
SYSTEM
male
Q6581097
action filter_type
action find
entity Q5482651
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q290 . resource:Q5482651 property:P21 ?v }
male
That person has a male
male
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation gender
type sex
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:sex . resource:Francis_Venables-Vernon-Harcourt property:gender ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5482651
P106
Q12737077
USER
What is the job of Francis Venables-Vernon-Harcourt ?
(Q5482651,P106,c(Q12737077))
action filter_type
action find
entity Q5482651
relation P106
type Q12737077
['Q5482651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5482651 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Francis Venables-Vernon-Harcourt
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation occupation
type occupation
['Francis Venables-Vernon-Harcourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Francis_Venables-Vernon-Harcourt property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q5482651,P106,c(Q12737077))
action filter_type
action find
entity Q5482651
relation P106
type Q12737077
The job of Francis Venables-Vernon-Harcourt is a [ANSWER]
['Q5482651', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5482651 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
politician
The job of Francis Venables-Vernon-Harcourt is a politician
politician
action filter_type
action find
entity Francis Venables-Vernon-Harcourt
relation occupation
type occupation
['Francis Venables-Vernon-Harcourt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Francis_Venables-Vernon-Harcourt property:occupation ?a . ?a rdf:type ontology:occupation }
[]