Simple Question (Direct)
Simple Question
Q3086455
P102
Q7210356
USER
Which party does Françoise Descamps-Crosnier belong to ?
(Q3086455,P102,c(Q7210356))
action filter_type
action find
entity Q3086455
relation P102
type Q7210356
['Q3086455', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3086455 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Françoise Descamps-Crosnier
action filter_type
action find
entity Françoise Descamps-Crosnier
relation member of political party
type political organization
['Françoise Descamps-Crosnier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Françoise_Descamps-Crosnier property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
political organization
Q170972
SYSTEM
Socialist Party
Q170972
(Q3086455,P102,c(Q7210356))
action filter_type
action find
entity Q3086455
relation P102
type Q7210356
Françoise Descamps-Crosnier belongs to [ANSWER]
['Q3086455', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { resource:Q3086455 property:P102 ?f . ?f rdf:type ontology:Q7210356 }
Socialist Party
Françoise Descamps-Crosnier belongs to Socialist Party
Socialist Party
action filter_type
action find
entity Françoise Descamps-Crosnier
relation member of political party
type political organization
['Françoise Descamps-Crosnier', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { resource:Françoise_Descamps-Crosnier property:member_of_political_party ?f . ?f rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3086455
P19
Q20667921
USER
Which french administrative division is the birthplace of that person ?
(Q170972,P19,c(Q20667921))
action filter_type
action find
entity Q3086455
relation P19
type Q20667921
['Q170972', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q3086455 property:P19 ?d }
Françoise Descamps-Crosnier
action filter_type
action find
entity Françoise Descamps-Crosnier
relation place of birth
type type of french administrative division
['Socialist Party', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Françoise_Descamps-Crosnier property:place_of_birth ?d }
[]
type of french administrative division
Q207253
SYSTEM
Mantes-la-Jolie
Q207253
(Q170972,P19,c(Q20667921))
action filter_type
action find
entity Q3086455
relation P19
type Q20667921
[ANSWER] is the birthplace of that person
['Q170972', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q20667921 . resource:Q3086455 property:P19 ?d }
Mantes-la-Jolie
Mantes-la-Jolie is the birthplace of that person
Mantes-la-Jolie
action filter_type
action find
entity Françoise Descamps-Crosnier
relation place of birth
type type of french administrative division
['Socialist Party', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:type_of_french_administrative_division . resource:Françoise_Descamps-Crosnier property:place_of_birth ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q207253
P206
Q355304
USER
Which watercourse is located next to that french administrative division ?
(Q207253,P206,c(Q355304))
action filter_type
action find
entity Q207253
relation P206
type Q355304
['Q207253', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?l WHERE { resource:Q207253 property:P206 ?l . ?l rdf:type ontology:Q355304 }
Mantes-la-Jolie
action filter_type
action find
entity Mantes-la-Jolie
relation located next to body of water
type watercourse
['Mantes-la-Jolie', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?l WHERE { resource:Mantes-la-Jolie property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse }
[]
watercourse
Q1471
SYSTEM
Seine
Q1471
(Q207253,P206,c(Q355304))
action filter_type
action find
entity Q207253
relation P206
type Q355304
[ANSWER] is located next to that french administrative division
['Q207253', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?l WHERE { resource:Q207253 property:P206 ?l . ?l rdf:type ontology:Q355304 }
Seine
Seine is located next to that french administrative division
Seine
action filter_type
action find
entity Mantes-la-Jolie
relation located next to body of water
type watercourse
['Mantes-la-Jolie', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?l WHERE { resource:Mantes-la-Jolie property:located_next_to_body_of_water ?l . ?l rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q174091
P17
Q15617994
USER
Which administrative territory does Changsha belong to ?
(Q174091,P17,c(Q15617994))
action filter_type
action find
entity Q174091
relation P17
type Q15617994
['Q174091', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q174091 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Changsha
action filter_type
action find
entity Changsha
relation country
type designation for an administrative territorial entity
['Changsha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Changsha property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q148
SYSTEM
People's Republic of China
Q148
(Q174091,P17,c(Q15617994))
action filter_type
action find
entity Q174091
relation P17
type Q15617994
Changsha belongs to [ANSWER]
['Q174091', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q174091 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
People's Republic of China
Changsha belongs to People's Republic of China
People's Republic of China
action filter_type
action find
entity Changsha
relation country
type designation for an administrative territorial entity
['Changsha', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Changsha property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P30
Q2221906
USER
Where is that administrative territory situated ?
(Q148,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2221906 . resource:Q148 property:P30 ?n }
People's Republic of China
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:geographic_location . resource:People's_Republic_of_China property:continent ?n }
[]
geographic location
Q48
SYSTEM
Asia
Q48
(Q148,P30,c(Q2221906))
action filter_type
action find
entity Q148
relation P30
type Q2221906
That administrative territory is situated in [ANSWER]
['Q148', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q2221906 . resource:Q148 property:P30 ?n }
Asia
That administrative territory is situated in Asia
Asia
action filter_type
action find
entity People's Republic of China
relation continent
type geographic location
["People's Republic of China", 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:geographic_location . resource:People's_Republic_of_China property:continent ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q148
P159
Q1346006
USER
Which international sport governing body has its head office location at that administrative territory ?
(c(Q1346006),P159,Q48)
action filter_type
action find_reverse
entity Q148
relation P159
type Q1346006
[{'concept': 'Q1346006'}, 'P159', 'Q48']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1346006 . ?l property:P159 resource:Q148 }
People's Republic of China
action filter_type
action find_reverse
entity People's Republic of China
relation headquarters location
type international sport governing body
[{'concept': 'international sport governing body'}, 'headquarters location', 'Asia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:international_sport_governing_body . ?l property:headquarters_location resource:People's_Republic_of_China }
[]
international sport governing body
Q2420267
SYSTEM
International Wushu Federation
Q2420267
(c(Q1346006),P159,Q48)
action filter_type
action find_reverse
entity Q148
relation P159
type Q1346006
[ANSWER] has its head office location at that administrative territory
[{'concept': 'Q1346006'}, 'P159', 'Q48']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1346006 . ?l property:P159 resource:Q148 }
International Wushu Federation
International Wushu Federation has its head office location at that administrative territory
International Wushu Federation
action filter_type
action find_reverse
entity People's Republic of China
relation headquarters location
type international sport governing body
[{'concept': 'international sport governing body'}, 'headquarters location', 'Asia']
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:international_sport_governing_body . ?l property:headquarters_location resource:People's_Republic_of_China }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q155
P122
Q12737077 Q1307214 Q15617994
USER
Which administrative territories have approximately the same number of occupations and forms of government as the type of government as Brazil ?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q155
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?u WHERE { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?i rdf:type ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q155 property:P122 ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?y = ?o ) }
Brazil
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Brazil
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?u WHERE { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?i rdf:type ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Brazil property:basic_form_of_government ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } . FILTER ( ?y = ?o ) }
[]
occupation form of government designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q155
relation P122
type Q12737077
type Q1307214
[ANSWERS] have approximately the same number of occupations and forms of government as the type of government as Brazil
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?u WHERE { VALUES ( ?d ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } . ?i rdf:type ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Q155 property:P122 ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?y = ?o ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
Italy, Brazil and United States of America have approximately the same number of occupations and forms of government as the type of government as Brazil
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Brazil
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?y ) ?u WHERE { VALUES ( ?d ) { ( ontology:occupation ) ( ontology:form_of_government ) } . ?i rdf:type ?d } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { resource:Brazil property:basic_form_of_government ?s . { ?s rdf:type ?b . VALUES ( ?b ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } . FILTER ( ?y = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q347
P122
Q12737077 Q1307214 Q15617994
USER
And also tell me about Liechtenstein?
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q347
relation P122
type Q12737077
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?n ) WHERE { { ?i property:P122 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1307214 } UNION { ?i property:P122 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?n = ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q347 property:P122 ?z . { ?z rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } }
Liechtenstein
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Liechtenstein
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?n ) WHERE { { ?i property:basic_form_of_government ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:form_of_government } UNION { ?i property:basic_form_of_government ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?n = ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Liechtenstein property:basic_form_of_government ?z . { ?z rdf:type ?c . VALUES ( ?c ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } }
[]
occupation form of government designation for an administrative territorial entity
Q32 Q347 Q423
SYSTEM
Luxembourg, Liechtenstein, North Korea
Q154547 Q165116 Q208500 Q541991 Q794 Q889 Q32 Q423 Q280312 Q347 Q228 Q199688
(c(Q15617994),P122,c(Q12737077)|c(Q1307214))
action approx
action union
action find_tuple_counts
relation P122
type Q15617994
type Q12737077
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q347
relation P122
type Q12737077
type Q1307214
[ANSWERS]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q12737077'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?n ) WHERE { { ?i property:P122 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1307214 } UNION { ?i property:P122 ?u . ?i rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q12737077 } } GROUP BY ?i } . FILTER ( ?n = ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Q347 property:P122 ?z . { ?z rdf:type ?c . VALUES ( ?c ) { ( ontology:Q12737077 ) ( ontology:Q1307214 ) } } } } }
duchy grand duchy principality Hummelfeld Iran Afghanistan Luxembourg North Korea Principality of Lüneburg Liechtenstein Andorra Almohad
Luxembourg Liechtenstein North Korea
action approx
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type occupation
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Liechtenstein
relation basic form of government
type occupation
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'occupation'}, {'concept': 'form of government'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?u ) AS ?n ) WHERE { { ?i property:basic_form_of_government ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:form_of_government } UNION { ?i property:basic_form_of_government ?u . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:occupation } } GROUP BY ?i } . FILTER ( ?n = ?d ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?d ) WHERE { resource:Liechtenstein property:basic_form_of_government ?z . { ?z rdf:type ?c . VALUES ( ?c ) { ( ontology:occupation ) ( ontology:form_of_government ) } } } } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q11675151 Q155
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Brazil and are not the countries of citizenship of Yusuke Torigoe ?
AND((Q155,P530,c(Q15617994)), NOT((Q11675151,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q11675151
relation P27
type Q15617994
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q11675151', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Q155 property:P530 ?d . MINUS { resource:Q11675151 property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Yusuke Torigoe Brazil
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Yusuke Torigoe
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Yusuke Torigoe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Brazil property:diplomatic_relation ?d . MINUS { resource:Yusuke_Torigoe property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q822 Q734 Q414 Q45 Q41 Q1049 Q148 Q252 Q142 Q917
SYSTEM
Some of them are Lebanon, Guyana, Argentina, Portugal, Greece, Sudan, People's Republic of China, Indonesia, France, Bhutan
Q783 Q801 Q800 Q843 Q1029 Q822 Q241 Q419 Q244 Q668 Q414 Q574 Q142 Q145 Q148 Q96 Q30 Q36 Q79 Q77 Q38 Q1016 Q739 Q423 Q717 Q983 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q750 Q212 Q213 Q45 Q159 Q43 Q41 Q734 Q790 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916
AND((Q155,P530,c(Q15617994)), NOT((Q11675151,P27,c(Q15617994))))
action filter_type
action difference
action find
entity Q155
relation P530
action find
entity Q11675151
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Brazil and are not the countries of citizenship of Yusuke Torigoe
{'AND': [['Q155', 'P530', {'concept': 'Q15617994'}], {'NOT': [['Q11675151', 'P27', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Q155 property:P530 ?d . MINUS { resource:Q11675151 property:P27 ?d } . ?d rdf:type ontology:Q15617994 }
Honduras Israel Costa Rica Pakistan Mozambique Lebanon Cuba Peru Barbados India Argentina East Timor France United Kingdom People's Republic of China Mexico United States of America Poland Egypt Uruguay Italy Libya Colombia North Korea Venezuela Equatorial Guinea Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Bolivia Ukraine Czech Republic Portugal Russia Turkey Greece Guyana Haiti Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola
Lebanon, Guyana, Argentina, Portugal, Greece, Sudan, People's Republic of China, Indonesia, France and Bhutan have diplomatic relations with Brazil and are not the countries of citizenship of Yusuke Torigoe
Lebanon Guyana Argentina Portugal Greece Sudan People's Republic of China Indonesia France Bhutan
action filter_type
action difference
action find
entity Brazil
relation diplomatic relation
action find
entity Yusuke Torigoe
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Yusuke Torigoe', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?d WHERE { resource:Brazil property:diplomatic_relation ?d . MINUS { resource:Yusuke_Torigoe property:country_of_citizenship ?d } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]