Simple Question (Direct)
Simple Question
Q1982657
P106
Q12737077
USER
Which occupation has Khalid Askri as his/her 's career ?
(Q1982657,P106,c(Q12737077))
action filter_type
action find
entity Q1982657
relation P106
type Q12737077
['Q1982657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1982657 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Khalid Askri
action filter_type
action find
entity Khalid Askri
relation occupation
type occupation
['Khalid Askri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Khalid_Askri property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1982657,P106,c(Q12737077))
action filter_type
action find
entity Q1982657
relation P106
type Q12737077
As [ANSWER] has Khalid Askri as his/her 's career
['Q1982657', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1982657 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
association football player
As association football player has Khalid Askri as his/her 's career
association football player
action filter_type
action find
entity Khalid Askri
relation occupation
type occupation
['Khalid Askri', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Khalid_Askri property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1982657
P19
Q13220204
USER
Which administrative country subdivision was that person born at ?
(Q937857,P19,c(Q13220204))
action filter_type
action find
entity Q1982657
relation P19
type Q13220204
['Q937857', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q1982657 property:P19 ?l . ?l rdf:type ontology:Q13220204 }
Khalid Askri
action filter_type
action find
entity Khalid Askri
relation place of birth
type second-level administrative country subdivision
['association football player', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Khalid_Askri property:place_of_birth ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q966104
SYSTEM
Rabat (Prefecture)
Q966104
(Q937857,P19,c(Q13220204))
action filter_type
action find
entity Q1982657
relation P19
type Q13220204
Which administrative country subdivision was that person born at
['Q937857', 'P19', {'concept': 'Q13220204'}]
SELECT DISTINCT ?l WHERE { resource:Q1982657 property:P19 ?l . ?l rdf:type ontology:Q13220204 }
Rabat (Prefecture)
Which administrative country subdivision was that person born at
Rabat (Prefecture)
action filter_type
action find
entity Khalid Askri
relation place of birth
type second-level administrative country subdivision
['association football player', 'place of birth', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?l WHERE { resource:Khalid_Askri property:place_of_birth ?l . ?l rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1982657
P27
Q15617994
USER
How many administrative territories do Khalid Askri belong to ?
(Q1982657,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1982657
relation P27
type Q15617994
['Q1982657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q1982657 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Khalid Askri
action count
action filter_type
action find
entity Khalid Askri
relation country of citizenship
type designation for an administrative territorial entity
['Khalid Askri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Khalid_Askri property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q1028
(Q1982657,P27,c(Q15617994))
action count
action filter_type
action find
entity Q1982657
relation P27
type Q15617994
[ANSWER]
['Q1982657', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q1982657 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Morocco
1
action count
action filter_type
action find
entity Khalid Askri
relation country of citizenship
type designation for an administrative territorial entity
['Khalid Askri', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Khalid_Askri property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1982657
P641
Q349
USER
Which sport was that person a part of ?
action filter_type
action find
entity Q1982657
relation P641
type Q349
SELECT DISTINCT ?c WHERE { resource:Q1982657 property:P641 ?c . ?c rdf:type ontology:Q349 }
Khalid Askri
action filter_type
action find
entity Khalid Askri
relation sport
type sport
SELECT DISTINCT ?c WHERE { resource:Khalid_Askri property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
action filter_type
action find
entity Q1982657
relation P641
type Q349
Football [ANSWER] was that person a part of
SELECT DISTINCT ?c WHERE { resource:Q1982657 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Khalid Askri
relation sport
type sport
SELECT DISTINCT ?c WHERE { resource:Khalid_Askri property:sport ?c . ?c rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1982657
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q1982657
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1982657 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Khalid Askri
action filter_type
action find
entity Khalid Askri
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Khalid_Askri property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q1982657
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q1982657 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Morocco
Morocco is the native country of that person
Morocco
action filter_type
action find
entity Khalid Askri
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Khalid_Askri property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q966104
P17
Q15617994
USER
Which administrative territory is Rabat (Prefecture) located in ?
(Q966104,P17,c(Q15617994))
action filter_type
action find
entity Q966104
relation P17
type Q15617994
['Q966104', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q966104 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Rabat (Prefecture)
action filter_type
action find
entity Rabat (Prefecture)
relation country
type designation for an administrative territorial entity
['Rabat (Prefecture)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Rabat_(Prefecture) property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
(Q966104,P17,c(Q15617994))
action filter_type
action find
entity Q966104
relation P17
type Q15617994
Rabat ( Prefecture ) is located in [ANSWER]
['Q966104', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q966104 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Morocco
Rabat ( Prefecture ) is located in Morocco
Morocco
action filter_type
action find
entity Rabat (Prefecture)
relation country
type designation for an administrative territorial entity
['Rabat (Prefecture)', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Rabat_(Prefecture) property:country ?g . ?g 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 relations with approximately 9 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?x ) WHERE { ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?u property:P530 ?i } GROUP BY ?u } . FILTER ( ?x = 9 ) }
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 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?x ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?i } GROUP BY ?u } . FILTER ( ?x = 9 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
156
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 9
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?x ) WHERE { ?u rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 . ?u property:P530 ?i } GROUP BY ?u } . FILTER ( ?x = 9 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
156
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 9
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?x ) WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?i } GROUP BY ?u } . FILTER ( ?x = 9 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P6
Q502895
USER
Which person does Morocco serve as the head of government for ?
(Q1028,P6,c(Q502895))
action filter_type
action find
entity Q1028
relation P6
type Q502895
['Q1028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1028 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Morocco
action filter_type
action find
entity Morocco
relation head of government
type common name
['Morocco', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Morocco property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
common name
Q307921
SYSTEM
Abdelilah Benkirane
Q307921
(Q1028,P6,c(Q502895))
action filter_type
action find
entity Q1028
relation P6
type Q502895
Morocco serves by [ANSWER] as the head of government
['Q1028', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q1028 property:P6 ?m . ?m rdf:type ontology:Q502895 }
Abdelilah Benkirane
Morocco serves by Abdelilah Benkirane as the head of government
Abdelilah Benkirane
action filter_type
action find
entity Morocco
relation head of government
type common name
['Morocco', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Morocco property:head_of_government ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q307921
P488
Q7210356
USER
What is that person a chairperson of ?
(c(Q7210356),P488,Q307921)
action filter_type
action find_reverse
entity Q307921
relation P488
type Q7210356
[{'concept': 'Q7210356'}, 'P488', 'Q307921']
SELECT DISTINCT ?m WHERE { ?m property:P488 resource:Q307921 . ?m rdf:type ontology:Q7210356 }
Abdelilah Benkirane
action filter_type
action find_reverse
entity Abdelilah Benkirane
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Abdelilah Benkirane']
SELECT DISTINCT ?m WHERE { ?m property:chairperson resource:Abdelilah_Benkirane . ?m rdf:type ontology:political_organization }
[]
political organization
Q1255232
SYSTEM
Justice and Development Party
Q1255232
(c(Q7210356),P488,Q307921)
action filter_type
action find_reverse
entity Q307921
relation P488
type Q7210356
That person a chairperson of is the [ANSWER]
[{'concept': 'Q7210356'}, 'P488', 'Q307921']
SELECT DISTINCT ?m WHERE { ?m property:P488 resource:Q307921 . ?m rdf:type ontology:Q7210356 }
Justice and Development Party
That person a chairperson of is the Justice and Development Party
Justice and Development Party
action filter_type
action find_reverse
entity Abdelilah Benkirane
relation chairperson
type political organization
[{'concept': 'political organization'}, 'chairperson', 'Abdelilah Benkirane']
SELECT DISTINCT ?m WHERE { ?m property:chairperson resource:Abdelilah_Benkirane . ?m rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1255232 Q1396081 Q12130909
P159
Q56061
USER
Does that political organization have headquarters located at Sebenardı and Mootsinyane ?
(Q1255232,P159,Q1396081) (Q1255232,P159,Q12130909)
action is_in
entity Q1255232
action intersection
action find_reverse
entity Q1396081
relation P159
action find_reverse
entity Q12130909
relation P159
['Q1255232', 'P159', 'Q1396081'] ['Q1255232', 'P159', 'Q12130909']
ASK WHERE { resource:Q1255232 property:P159 resource:Q12130909 . resource:Q1255232 property:P159 resource:Q1396081 }
Justice and Development Party Sebenardı Mootsinyane
action is_in
entity Justice and Development Party
action intersection
action find_reverse
entity Sebenardı
relation headquarters location
action find_reverse
entity Mootsinyane
relation headquarters location
['Justice and Development Party', 'headquarters location', 'Sebenardı'] ['Justice and Development Party', 'headquarters location', 'Mootsinyane']
ASK WHERE { resource:Justice_and_Development_Party property:headquarters_location resource:Mootsinyane . resource:Justice_and_Development_Party property:headquarters_location resource:Sebenardı }
[]
administrative territorial entity
SYSTEM
NO
(Q1255232,P159,Q1396081) (Q1255232,P159,Q12130909)
action is_in
entity Q1255232
action intersection
action find_reverse
entity Q1396081
relation P159
action find_reverse
entity Q12130909
relation P159
[ANSWER]
['Q1255232', 'P159', 'Q1396081'] ['Q1255232', 'P159', 'Q12130909']
ASK WHERE { resource:Q1255232 property:P159 resource:Q12130909 . resource:Q1255232 property:P159 resource:Q1396081 }
No
action is_in
entity Justice and Development Party
action intersection
action find_reverse
entity Sebenardı
relation headquarters location
action find_reverse
entity Mootsinyane
relation headquarters location
['Justice and Development Party', 'headquarters location', 'Sebenardı'] ['Justice and Development Party', 'headquarters location', 'Mootsinyane']
ASK WHERE { resource:Justice_and_Development_Party property:headquarters_location resource:Mootsinyane . resource:Justice_and_Development_Party property:headquarters_location resource:Sebenardı }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q307921
P991
Q3586695
USER
Which Elections in Morocco had Abdelilah Benkirane as its successful candidate ?
(c(Q3586695),P991,Q307921)
action filter_type
action find_reverse
entity Q307921
relation P991
type Q3586695
[{'concept': 'Q3586695'}, 'P991', 'Q307921']
SELECT DISTINCT ?d WHERE { ?d property:P991 resource:Q307921 . ?d rdf:type ontology:Q3586695 }
Abdelilah Benkirane
action filter_type
action find_reverse
entity Abdelilah Benkirane
relation successful candidate
type Elections in Morocco
[{'concept': 'Elections in Morocco'}, 'successful candidate', 'Abdelilah Benkirane']
SELECT DISTINCT ?d WHERE { ?d property:successful_candidate resource:Abdelilah_Benkirane . ?d rdf:type ontology:Elections_in_Morocco }
[]
Elections in Morocco
Q1757124
SYSTEM
Moroccan parliamentary election, 2011
Q1757124
(c(Q3586695),P991,Q307921)
action filter_type
action find_reverse
entity Q307921
relation P991
type Q3586695
[ANSWER] had Abdelilah Benkirane as its successful candidate
[{'concept': 'Q3586695'}, 'P991', 'Q307921']
SELECT DISTINCT ?d WHERE { ?d property:P991 resource:Q307921 . ?d rdf:type ontology:Q3586695 }
Moroccan parliamentary election, 2011
Moroccan parliamentary election, 2011 had Abdelilah Benkirane as its successful candidate
Moroccan parliamentary election, 2011
action filter_type
action find_reverse
entity Abdelilah Benkirane
relation successful candidate
type Elections in Morocco
[{'concept': 'Elections in Morocco'}, 'successful candidate', 'Abdelilah Benkirane']
SELECT DISTINCT ?d WHERE { ?d property:successful_candidate resource:Abdelilah_Benkirane . ?d rdf:type ontology:Elections_in_Morocco }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q307921
P21
Q290
USER
Which sex does Abdelilah Benkirane possess ?
(Q307921,P21,c(Q290))
action filter_type
action find
entity Q307921
relation P21
type Q290
['Q307921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q307921 property:P21 ?z }
Abdelilah Benkirane
action filter_type
action find
entity Abdelilah Benkirane
relation gender
type sex
['Abdelilah Benkirane', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Abdelilah_Benkirane property:gender ?z }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q307921,P21,c(Q290))
action filter_type
action find
entity Q307921
relation P21
type Q290
Abdelilah Benkirane possesses 1 [ANSWER]
['Q307921', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . resource:Q307921 property:P21 ?z }
male
Abdelilah Benkirane possesses 1 male
male
action filter_type
action find
entity Abdelilah Benkirane
relation gender
type sex
['Abdelilah Benkirane', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . resource:Abdelilah_Benkirane property:gender ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q12651234
Q290
USER
And also tell me about Boleslovas Kajetonas Koliška?
(Q12651234,P21,c(Q290))
action filter_type
action find
entity Q12651234
relation P21
type Q290
['Q12651234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q12651234 property:P21 ?v . ?v rdf:type ontology:Q290 }
Boleslovas Kajetonas Koliška
action filter_type
action find
entity Boleslovas Kajetonas Koliška
relation gender
type sex
['Boleslovas Kajetonas Koliška', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Boleslovas_Kajetonas_Koliška property:gender ?v . ?v rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q12651234,P21,c(Q290))
action filter_type
action find
entity Q12651234
relation P21
type Q290
[ANSWER]
['Q12651234', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?v WHERE { resource:Q12651234 property:P21 ?v . ?v rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Boleslovas Kajetonas Koliška
relation gender
type sex
['Boleslovas Kajetonas Koliška', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?v WHERE { resource:Boleslovas_Kajetonas_Koliška property:gender ?v . ?v rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1028
P138
Q2712963
USER
Which abstract noun is Morocco named after ?
(Q1028,P138,c(Q2712963))
action filter_type
action find
entity Q1028
relation P138
type Q2712963
['Q1028', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { resource:Q1028 property:P138 ?s . ?s rdf:type ontology:Q2712963 }
Morocco
action filter_type
action find
entity Morocco
relation named after
type abstract noun
['Morocco', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { resource:Morocco property:named_after ?s . ?s rdf:type ontology:abstract_noun }
[]
abstract noun
Q679
SYSTEM
west
Q679
(Q1028,P138,c(Q2712963))
action filter_type
action find
entity Q1028
relation P138
type Q2712963
Morocco is named the [ANSWER]
['Q1028', 'P138', {'concept': 'Q2712963'}]
SELECT DISTINCT ?s WHERE { resource:Q1028 property:P138 ?s . ?s rdf:type ontology:Q2712963 }
west
Morocco is named the west
west
action filter_type
action find
entity Morocco
relation named after
type abstract noun
['Morocco', 'named after', {'concept': 'abstract noun'}]
SELECT DISTINCT ?s WHERE { resource:Morocco property:named_after ?s . ?s rdf:type ontology:abstract_noun }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3315112
P748
Q502895 Q1752346 Q12737077
USER
How many occupations did around the same number of people or assemblies appoint as Minister for Defence ?
(c(Q12737077),P748,c(Q502895)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q3315112
relation P748
type Q502895
type Q1752346
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 . ?n property:P748 ?t } UNION { ?n property:P748 ?t . ?n rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q1752346 } } GROUP BY ?n } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q3315112 property:P748 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q1752346 } } } } }
Minister for Defence
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Minister for Defence
relation appointed by
type common name
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n rdf:type ontology:occupation . ?t rdf:type ontology:common_name . ?n property:appointed_by ?t } UNION { ?n property:appointed_by ?t . ?n rdf:type ontology:occupation . ?t rdf:type ontology:assembly } } GROUP BY ?n } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Minister_for_Defence property:appointed_by ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:assembly } } } } }
[]
common name assembly occupation
SYSTEM
268
Q15934457 Q7643465 Q27650845 Q748607 Q3253692 Q192711 Q373548 Q4011167 Q17018201 Q20748656 Q6865816 Q20890913 Q2666591 Q191954 Q6865958 Q3251824 Q11793630 Q1072417 Q27650822 Q21371106 Q1355456 Q735575 Q2287650 Q1507619 Q737115 Q6578215 Q5333410 Q1146214 Q376006 Q21013169 Q26209348 Q23906787 Q39021 Q6866004 Q261746 Q20867494 Q740126 Q21013163 Q4377222 Q7241304 Q15304810 Q1511951 Q191827 Q910308 Q1029955 Q1753754 Q1476458 Q15407843 Q642859 Q20890902 Q20736121 Q19190022 Q1140848 Q3251837 Q6865747 Q15730802 Q967762 Q943379 Q20872382 Q1749063 Q20872273 Q655407 Q24636364 Q14565638 Q251724 Q27531658 Q48894 Q12376089 Q27516521 Q1161813 Q20891385 Q6572133 Q6865833 Q2660943 Q1006398 Q6865770 Q940135 Q20172329 Q274948 Q2305968 Q21384866 Q596123 Q7444340 Q1723031 Q20194364 Q369500 Q13527950 Q3315120 Q1476165 Q6866468 Q313465 Q2914452 Q15971570 Q1430943 Q3556884 Q3058109 Q1655971 Q12270252 Q2419581 Q1571023 Q1339242 Q796897 Q1550276 Q273884 Q208487 Q4294939 Q25863345 Q20130623 Q1054799 Q21383592 Q2747647 Q6866295 Q2390270 Q13527933 Q583809 Q4377230 Q7240361 Q5195495 Q27088842 Q15731141 Q313383 Q2560704 Q3251821 Q1043568 Q912994 Q3251819 Q27531790 Q19328352 Q4294945 Q3564227 Q13645132 Q636207 Q475658 Q6866264 Q6865750 Q7240360 Q2003296 Q20859386 Q967750 Q2962001 Q16933549 Q18694351 Q500282 Q20859388 Q473984 Q73341 Q19842743 Q45369 Q8882 Q1195049 Q6865853 Q20867550 Q687075 Q467926 Q813403 Q3251775 Q1587677 Q27516596 Q866680 Q20181946 Q21098108 Q20872296 Q839078 Q838380 Q3251779 Q783785 Q5096847 Q2911019 Q4818607 Q2430415 Q6866194 Q1072415 Q26000995 Q3251793 Q1192903 Q6865904 Q2741479 Q213107 Q6123144 Q1763459 Q3401758 Q7240356 Q6865864 Q19364214 Q1753094 Q1591470 Q13527909 Q2741486 Q3315112 Q3315114 Q11895063 Q735015 Q1469153 Q2708520 Q22955080 Q12270260 Q6865789 Q1195270 Q319145 Q6865781 Q7013201 Q3111221 Q29558 Q1044136 Q1029968 Q2297543 Q4122271 Q2505890 Q967737 Q6865756 Q13423495 Q795477 Q6866148 Q20872339 Q16009376 Q1071117 Q34071 Q25223 Q3251800 Q20872267 Q5261065 Q3259469 Q162754 Q1819381 Q1052201 Q7574256 Q26209358 Q6542448 Q2301213 Q5097071 Q20748654 Q19328451 Q6865981 Q217217 Q20992511 Q27334799 Q634291 Q20992515 Q6468838 Q839139 Q3251807 Q13526082 Q1074656 Q6866016 Q735587 Q592866 Q1281611 Q1790154 Q6866422 Q81066 Q3251818 Q6866427 Q26721218 Q1658460 Q17058425 Q6865902 Q738695 Q20128098 Q1752225 Q687908 Q844587 Q786242 Q20877172 Q1434880 Q2334076 Q541355 Q702650 Q1072341
(c(Q12737077),P748,c(Q502895)|c(Q1752346))
action count
action approx
action union
action find_tuple_counts
relation P748
type Q12737077
type Q502895
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
action count
action filter_multi_types
action find
entity Q3315112
relation P748
type Q502895
type Q1752346
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q502895'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q502895 . ?n property:P748 ?t } UNION { ?n property:P748 ?t . ?n rdf:type ontology:Q12737077 . ?t rdf:type ontology:Q1752346 } } GROUP BY ?n } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Q3315112 property:P748 ?u . { { ?u rdf:type ontology:Q502895 } UNION { ?u rdf:type ontology:Q1752346 } } } } }
Minister of Transport Superintendent of Finance of the United States member of the Provincial Executive of Utrecht Minister of International Trade President of the Treasury Board Prime Minister of India President of Bolivia Vice President of the Constitutional Court of Italy Northern Territory Government Architect municipal executive of Zoetermeer Minister for Education and Skills municipal executive of Eindhoven Chair of the Federal Reserve President of the French Republic Minister for Social Protection Minister of Natural Resources governor of national banks of Serbia and Yugoslavia Chief of Staff of the United States Air Force King's Commissioner of Utrecht municipal executive of Amersfoort Lord Chamberlain Prime Minister of Pakistan United States Secretary of the Interior Deputy Prime Minister of the United Kingdom Prime Minister of Estonia Premier of Saskatchewan Economic Secretary to the Treasury Tánaiste Prime Minister of Guyana municipal executive of The Hague Mayor of Warffum Bishop of Nevers President of Singapore Minister for the Environment, Community and Local Government United States Secretary of the Air Force Mayor of Gorinchem President of the European Parliament Mayor of The Hague Premier of Nunavut President of the Australian Senate Prime Minister of Romania Prime Minister of South Africa Taoiseach Lord Privy Seal United States Secretary of Agriculture Master of the Rolls European Commissioner for the Environment Prime Minister of South Korea United States Secretary of Homeland Security Mayor of Eindhoven Bishop of Versailles Prime Minister of Iceland President pro tempore of the United States Senate Minister of Canadian Heritage Minister for Arts, Heritage and the Gaeltacht Mayor of Rotterdam United States Secretary of Education Lord President of the Council municipal executive of Coevorden Minister for Foreign Affairs of Sweden municipal executive of Boxmeer President of the People's Republic of China bishop of Nanjing Prime Minister of Bangladesh Chief Secretary for Ireland King's Commissioner of South Holland President of Fiji Prime Minister of Thailand member of the Provincial Executive of North Holland President of the United Nations General Assembly municipal executive of Deventer Governor of İstanbul Minister for Finance Minister for Foreign Affairs Federal Chancellor of Austria Minister for Communications, Energy and Natural Resources United States Secretary of the Navy Mayor of Hoogland Prime Minister of Japan United States Secretary of Health and Human Services municipal executive of Rotterdam president of Bangladesh Secretary of State for Dominion Affairs Prime Minister of Portugal municipal executive of Amsterdam Prime Minister of Latvia Premier of New South Wales Minister of Justice Prime Minister of Iraq Minister responsible for the Status of Women Minister of External Affairs President of Algeria President of the Generalitat Valenciana Prime Minister of Jamaica Deputy Prime Minister of Canada Prime Minister of the Netherlands Minister of State Premier of New Brunswick United States Secretary of Housing and Urban Development Governor of Victoria Chief Justice of Canada Prime Minister of Italy Premier of Western Australia President of South Africa Prime Minister of Israel Minister of Agriculture Secretary of State for International Trade Mayor of Woerden President of Poland municipal executive of Haarlem Secretary of State for Defence Minister of Public Services and Procurement Treasurer of Australia Premier of Tasmania Solicitor General for England and Wales Prime Minister of Greece Premier of Prince Edward Island Minister of Economy and Finance of Peru Director of the Holy See Press Office Mayor of Almere President of India Premier of Ontario Minister of Transport Prime Minister of Vietnam speaker of the United States House of Representatives Minister of Fisheries and Oceans member of the Provincial Executive of South Holland Mayor of Leersum Minister for Finance Auditor General of Canada Lord Mayor of Dublin United States Attorney General President of Austria Minister of National Revenue Minister for Agriculture, Food and the Marine Premier of Nova Scotia United States Secretary of Commerce Mayor of Mierlo United States Secretary of Labor Chief of the Defence Staff President of the Generalitat of Catalonia Minister of Communications President of Nigeria municipal executive of Mierlo President of Pakistan Lord Mayor of London President of the Government of Morocco Prime Minister of Slovakia President of the European Commission Minister of Aboriginal Affairs and Northern Development Minister for Foreign Affairs and Trade municipal executive of Gorinchem Prime Minister of Sweden Cathaoirleach King's or Queen's Commissioner Minister of the Environment Prime Minister of France King's Commissioner of North Holland President of Vietnam Mayor of Borger-Odoorn Mayor of Amersfoort municipal executive of Almere Prime Minister of Canada President of Iran Minister of Industry Chief of Staff of the United States Army Chief Minister Premier of Quebec Attorney-General of Australia Prime Minister of Turkey Minister of Human Resources and Skills Development Chief of Naval Operations President of the Parliament of Catalonia Minister of Citizenship and Immigration Prime Minister of Yemen Minister for Justice and Equality Chief Executive of Macau Prime Minister of Belgium Secretary of State of Puerto Rico Chairman of the Joint Chiefs of Staff Premier of Manitoba Premier of Newfoundland and Labrador Minister for Health President of Somalia United States Postmaster General United States Secretary of the Army Premier of Victoria Chief Executive of Hong Kong Minister for Defence Minister of National Defence Minister of Transport and Communications United States Secretary of Defense Prime Minister of Fiji Chairman of the Communist Party of China president of FIFA Premier of Yukon Minister for Democratic Reform Prime Minister of Croatia Prime Minister of Australia Minister for Defence New York City Fire Commissioner Commonwealth Secretary-General President of Finland president of Tajikistan United States Secretary of Energy United States Deputy Secretary of Defense Premier of the People's Republic of China Leader of the Government in the House of Commons United States Secretary of Transportation Minister for Children and Youth Affairs Mayor of Amsterdam Prime Minister of Denmark Minister of Foreign Affairs municipal executive of Woerden Prime Minister of Albania Prime Minister of New Zealand President of Paraguay President of Germany Minister of Health Mayor of Boxmeer Deputy Prime Minister of Australia Prime Minister of Poland Chancellor of the Duchy of Lancaster President of the Czech Republic Ceann Comhairle Speaker of the House of Representatives municipal executive of Warffum Librarian of Congress United States Deputy Secretary of State Chief of the Secret Intelligence Service Mayor of Zoetermeer Mayor of Haarlem Minister for Transport, Tourism and Sport Lord Chancellor Mayor of Utrecht Mayor of Geldermalsen High Representative of the Union for Foreign Affairs and Security Policy municipal executive of Utrecht President of Slovakia President of Romania Minister of Veterans Affairs Premier of Queensland Prime Minister of Papua New Guinea Minister for the purposes of the Atlantic Canada Opportunities Agency Act President of the European Council Prime Minister of Tuvalu Lieutenant Governor of Jersey Chief Minister of Delhi Minister of Western Economic Diversification United Nations Secretary-General Minister of Finance Minister of the Economic Development Agency of Canada for the Regions of Quebec municipal executive of Almere United States Secretary of Veterans Affairs Mayor of Coevorden Minister for Jobs, Enterprise and Innovation Prime Minister of Finland Mayor of Deventer Lord Lieutenant of Ireland Lord Chief Justice of England and Wales Prime Minister of Spain White House Chief of Staff bishop of Amiens Surgeon General of the United States Prime Minister of Norway Minister of Foreign Affairs of Canada President of the Executive Yuan Chief Minister of the Northern Territory
268
action count
action approx
action union
action find_tuple_counts
relation appointed by
type occupation
type common name
action find_tuple_counts
relation appointed by
type occupation
type assembly
action count
action filter_multi_types
action find
entity Minister for Defence
relation appointed by
type common name
type assembly
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'common name'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?p ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?o ) WHERE { { ?n rdf:type ontology:occupation . ?t rdf:type ontology:common_name . ?n property:appointed_by ?t } UNION { ?n property:appointed_by ?t . ?n rdf:type ontology:occupation . ?t rdf:type ontology:assembly } } GROUP BY ?n } . FILTER ( ?o = ?s ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { resource:Minister_for_Defence property:appointed_by ?u . { { ?u rdf:type ontology:common_name } UNION { ?u rdf:type ontology:assembly } } } } }
[]