Simple Question (Direct)
Simple Question
Q3561012
P106
Q12737077
USER
What is the profession of Seetanah Lutchmeenaraidoo ?
(Q3561012,P106,c(Q12737077))
action filter_type
action find
entity Q3561012
relation P106
type Q12737077
['Q3561012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3561012 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
Seetanah Lutchmeenaraidoo
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation occupation
type occupation
['Seetanah Lutchmeenaraidoo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Seetanah_Lutchmeenaraidoo property:occupation ?d . ?d rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3561012,P106,c(Q12737077))
action filter_type
action find
entity Q3561012
relation P106
type Q12737077
The profession of Seetanah Lutchmeenaraidoo is a [ANSWER]
['Q3561012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?d WHERE { resource:Q3561012 property:P106 ?d . ?d rdf:type ontology:Q12737077 }
politician
The profession of Seetanah Lutchmeenaraidoo is a politician
politician
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation occupation
type occupation
['Seetanah Lutchmeenaraidoo', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?d WHERE { resource:Seetanah_Lutchmeenaraidoo property:occupation ?d . ?d rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3561012
P102
Q7210356
USER
Which party is Seetanah Lutchmeenaraidoo affiliated with ?
(Q3561012,P102,c(Q7210356))
action filter_type
action find
entity Q3561012
relation P102
type Q7210356
['Q3561012', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q3561012 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Seetanah Lutchmeenaraidoo
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation member of political party
type political organization
['Seetanah Lutchmeenaraidoo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Seetanah_Lutchmeenaraidoo property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
political organization
Q3326727
SYSTEM
Mauritian Militant Movement
Q3326727
(Q3561012,P102,c(Q7210356))
action filter_type
action find
entity Q3561012
relation P102
type Q7210356
Seetanah Lutchmeenaraidoo is affiliated with [ANSWER]
['Q3561012', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?s WHERE { resource:Q3561012 property:P102 ?s . ?s rdf:type ontology:Q7210356 }
Mauritian Militant Movement
Seetanah Lutchmeenaraidoo is affiliated with Mauritian Militant Movement
Mauritian Militant Movement
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation member of political party
type political organization
['Seetanah Lutchmeenaraidoo', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?s WHERE { resource:Seetanah_Lutchmeenaraidoo property:member_of_political_party ?s . ?s rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3561012
P39
Q12737077
USER
What were the positions for which Seetanah Lutchmeenaraidoo were appointed ?
(Q3561012,P39,c(Q12737077))
action filter_type
action find
entity Q3561012
relation P39
type Q12737077
['Q3561012', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3561012 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Seetanah Lutchmeenaraidoo
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation position held
type occupation
['Seetanah Lutchmeenaraidoo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Seetanah_Lutchmeenaraidoo property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q19901420 Q17618153
SYSTEM
Minister of Foreign Affairs, Economy minister
Q19901420 Q17618153
(Q3561012,P39,c(Q12737077))
action filter_type
action find
entity Q3561012
relation P39
type Q12737077
Ministry [ANSWERS]
['Q3561012', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3561012 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Minister of Foreign Affairs Economy minister
Ministry Minister of Foreign Affairs and Economy minister
Minister of Foreign Affairs Economy minister
action filter_type
action find
entity Seetanah Lutchmeenaraidoo
relation position held
type occupation
['Seetanah Lutchmeenaraidoo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Seetanah_Lutchmeenaraidoo property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q19999176 Q3561012
P39
Q12737077
USER
Or Emilio Soler Pascual?
OR((Q3561012,P39,c(Q12737077)), (Q19999176,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3561012
relation P39
action find
entity Q19999176
relation P39
type Q12737077
{'OR': [['Q3561012', 'P39', {'concept': 'Q12737077'}], ['Q19999176', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?m ) { ( resource:Q19999176 ) ( resource:Q3561012 ) } . ?m property:P39 ?u } . ?u rdf:type ontology:Q12737077 }
Emilio Soler Pascual Seetanah Lutchmeenaraidoo
action filter_type
action union
action find
entity Seetanah Lutchmeenaraidoo
relation position held
action find
entity Emilio Soler Pascual
relation position held
type occupation
{'OR': [['Seetanah Lutchmeenaraidoo', 'position held', {'concept': 'occupation'}], ['Emilio Soler Pascual', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?m ) { ( resource:Emilio_Soler_Pascual ) ( resource:Seetanah_Lutchmeenaraidoo ) } . ?m property:position_held ?u } . ?u rdf:type ontology:occupation }
[]
occupation
Q19901420 Q21609684 Q17618153
SYSTEM
Minister of Foreign Affairs, member of the Corts Valencianes, Economy minister
Q19901420 Q21609684 Q17618153
OR((Q3561012,P39,c(Q12737077)), (Q19999176,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3561012
relation P39
action find
entity Q19999176
relation P39
type Q12737077
[ANSWERS]
{'OR': [['Q3561012', 'P39', {'concept': 'Q12737077'}], ['Q19999176', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?m ) { ( resource:Q19999176 ) ( resource:Q3561012 ) } . ?m property:P39 ?u } . ?u rdf:type ontology:Q12737077 }
Minister of Foreign Affairs member of the Corts Valencianes Economy minister
Minister of Foreign Affairs member of the Corts Valencianes Economy minister
action filter_type
action union
action find
entity Seetanah Lutchmeenaraidoo
relation position held
action find
entity Emilio Soler Pascual
relation position held
type occupation
{'OR': [['Seetanah Lutchmeenaraidoo', 'position held', {'concept': 'occupation'}], ['Emilio Soler Pascual', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?u WHERE { { VALUES ( ?m ) { ( resource:Emilio_Soler_Pascual ) ( resource:Seetanah_Lutchmeenaraidoo ) } . ?m property:position_held ?u } . ?u rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19999176
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Emilio Soler Pascual ?
(Q19901420,P27,c(Q15617994)) (Q21609684,P27,c(Q15617994)) (Q17618153,P27,c(Q15617994))
action filter_type
action find
entity Q19999176
relation P27
type Q15617994
['Q19901420', 'P27', {'concept': 'Q15617994'}] ['Q21609684', 'P27', {'concept': 'Q15617994'}] ['Q17618153', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q19999176 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Emilio Soler Pascual
action filter_type
action find
entity Emilio Soler Pascual
relation country of citizenship
type designation for an administrative territorial entity
['Minister of Foreign Affairs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['member of the Corts Valencianes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Economy minister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Emilio_Soler_Pascual property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q19901420,P27,c(Q15617994)) (Q21609684,P27,c(Q15617994)) (Q17618153,P27,c(Q15617994))
action filter_type
action find
entity Q19999176
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of Emilio Soler Pascual
['Q19901420', 'P27', {'concept': 'Q15617994'}] ['Q21609684', 'P27', {'concept': 'Q15617994'}] ['Q17618153', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q19999176 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Spain
The Spain is the country of citizenship of Emilio Soler Pascual
Spain
action filter_type
action find
entity Emilio Soler Pascual
relation country of citizenship
type designation for an administrative territorial entity
['Minister of Foreign Affairs', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['member of the Corts Valencianes', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Economy minister', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Emilio_Soler_Pascual property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with min number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?m ) WHERE { ?k property:P530 ?s . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?d ) WHERE { ?f property:P530 ?e . ?f rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?f } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?m ) WHERE { ?k property:diplomatic_relation ?s . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?d ) WHERE { ?f property:diplomatic_relation ?e . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q929 Q29999 Q232
SYSTEM
Central African Republic, Kingdom of the Netherlands, Kazakhstan
Q702 Q804 Q265 Q712 Q837 Q242 Q811 Q929 Q29999 Q854 Q730 Q232 Q1027 Q1032 Q697 Q695 Q754 Q912 Q683 Q836 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,Q953)
action argmin
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWERS] hold diplomatic relationship with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?m ) WHERE { ?k property:P530 ?s . ?k rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?d ) WHERE { ?f property:P530 ?e . ?f rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15617994 } GROUP BY ?f } } }
Federated States of Micronesia Panama Uzbekistan Fiji Nepal Belize Nicaragua Central African Republic Kingdom of the Netherlands Sri Lanka Suriname Kazakhstan Mauritius Niger Nauru Palau Trinidad and Tobago Mali Samoa Myanmar Kuwait Madagascar Togo Tonga New Caledonia
Central African Republic, Kingdom of the Netherlands and Kazakhstan hold diplomatic relationship with min number of administrative territories
Central African Republic Kingdom of the Netherlands Kazakhstan
action argmin
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?s ) AS ?m ) WHERE { ?k property:diplomatic_relation ?s . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?m = ?t ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?t ) { SELECT DISTINCT ?f ( COUNT ( ?e ) AS ?d ) WHERE { ?f property:diplomatic_relation ?e . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q201658
USER
Which administrative territories did less number of musical ensembles or film genres originate than that administrative territory ?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
designation for an administrative territorial entity musical ensemble film genre
Comparative|More/Less|Mult. entity type|Clarification
Q929
SYSTEM
Did you mean Central African Republic ?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Did you mean Central African Republic ?
Central African Republic
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Comparative Reasoning (All)
USER
No, I meant Kingdom of the Netherlands. Could you tell me the answer for that?
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
Q29999
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q953 Q347 Q1011
SYSTEM
Zambia, Liechtenstein, Cape Verde
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q837 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q881 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q851 Q733 Q854 Q819 Q424 Q730 Q1013 Q159626 Q232 Q238 Q1045 Q1044 Q921 Q1049 Q1025 Q1020 Q736 Q786 Q225 Q223 Q222 Q221 Q347 Q1036 Q1037 Q1030 Q967 Q962 Q963 Q114 Q117 Q754 Q217 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q858 Q878 Q774 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q201658),P495,c(Q15617994))
[ANSWERS] less number of musical ensembles or film genres originated than that administrative territory
[[{'concept': 'Q2088357'}, {'concept': 'Q201658'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q201658 }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Nepal Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Saudi Arabia Paraguay Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Kazakhstan San Marino Somalia Sierra Leone Brunei Sudan Mauritania Malawi Ecuador Dominican Republic Bosnia and Herzegovina Greenland Albania Republic of Macedonia Liechtenstein Uganda Rwanda Namibia Burundi Benin Botswana Kenya Ghana Trinidad and Tobago Republic of Moldova Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Syria United Arab Emirates Guatemala Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
Zambia, Liechtenstein and Cape Verde less number of musical ensembles or film genres originated than that administrative territory
Zambia Liechtenstein Cape Verde
[[{'concept': 'musical ensemble'}, {'concept': 'film genre'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:film_genre }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581072 Q17618153
P39 P21
Q502895
USER
Which people held the position of Economy minister and do not have gender of female ?
AND((c(Q502895),P39,Q17618153), NOT((c(Q502895),P21,Q6581072)))
action filter_type
action difference
action find_reverse
entity Q17618153
relation P39
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q17618153'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581072']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:P21 resource:Q6581072 } . ?y property:P39 resource:Q17618153 . ?y rdf:type ontology:Q502895 }
female Economy minister
action filter_type
action difference
action find_reverse
entity Economy minister
relation position held
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Economy minister'], {'NOT': [[{'concept': 'common name'}, 'gender', 'female']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:gender resource:female } . ?y property:position_held resource:Economy_minister . ?y rdf:type ontology:common_name }
[]
common name
Q3561012
SYSTEM
Seetanah Lutchmeenaraidoo
Q3561012
AND((c(Q502895),P39,Q17618153), NOT((c(Q502895),P21,Q6581072)))
action filter_type
action difference
action find_reverse
entity Q17618153
relation P39
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] held the position of Economy minister and do not have gender of female
{'AND': [[{'concept': 'Q502895'}, 'P39', 'Q17618153'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581072']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:P21 resource:Q6581072 } . ?y property:P39 resource:Q17618153 . ?y rdf:type ontology:Q502895 }
Seetanah Lutchmeenaraidoo
Seetanah Lutchmeenaraidoo held the position of Economy minister and do not have gender of female
Seetanah Lutchmeenaraidoo
action filter_type
action difference
action find_reverse
entity Economy minister
relation position held
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'position held', 'Economy minister'], {'NOT': [[{'concept': 'common name'}, 'gender', 'female']]}]}
SELECT DISTINCT ?y WHERE { FILTER NOT EXISTS { ?y property:gender resource:female } . ?y property:position_held resource:Economy_minister . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q29
P194
Q1752346
USER
Which assembly is the representative body for Spain ?
(Q29,P194,c(Q1752346))
action filter_type
action find
entity Q29
relation P194
type Q1752346
['Q29', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Spain
action filter_type
action find
entity Spain
relation legislative body
type assembly
['Spain', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
assembly
Q219692
SYSTEM
Cortes Generales
Q219692
(Q29,P194,c(Q1752346))
action filter_type
action find
entity Q29
relation P194
type Q1752346
The [ANSWER] is the representative body for Spain
['Q29', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q29 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Cortes Generales
The Cortes Generales is the representative body for Spain
Cortes Generales
action filter_type
action find
entity Spain
relation legislative body
type assembly
['Spain', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Spain property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29
P101
Q502895
USER
Which person has field of work as that administrative territory ?
(c(Q502895),P101,Q219692)
action filter_type
action find_reverse
entity Q29
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q219692']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q29 . ?y rdf:type ontology:Q502895 }
Spain
action filter_type
action find_reverse
entity Spain
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Cortes Generales']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:Spain . ?y rdf:type ontology:common_name }
[]
common name
Q5820009
SYSTEM
Edward Meryon Wilson
Q5820009
(c(Q502895),P101,Q219692)
action filter_type
action find_reverse
entity Q29
relation P101
type Q502895
[ANSWER] has field of work as that administrative territory
[{'concept': 'Q502895'}, 'P101', 'Q219692']
SELECT DISTINCT ?y WHERE { ?y property:P101 resource:Q29 . ?y rdf:type ontology:Q502895 }
Edward Meryon Wilson
Edward Meryon Wilson has field of work as that administrative territory
Edward Meryon Wilson
action filter_type
action find_reverse
entity Spain
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Cortes Generales']
SELECT DISTINCT ?y WHERE { ?y property:field_of_work resource:Spain . ?y rdf:type ontology:common_name }
[]