Simple Question (Direct)
Simple Question
Q863584
P47
Q20667921
USER
Who share the border with Notre-Dame-de-la-Rouvière ?
(Q863584,P47,c(Q20667921))
action filter_type
action find
entity Q863584
relation P47
type Q20667921
['Q863584', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q863584 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
Notre-Dame-de-la-Rouvière
action filter_type
action find
entity Notre-Dame-de-la-Rouvière
relation shares border with
type type of french administrative division
['Notre-Dame-de-la-Rouvière', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Notre-Dame-de-la-Rouvière property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q322688 Q239954 Q860419
SYSTEM
Valleraugue, Saint-Martial, Soudorgues
Q269746 Q239954 Q860419 Q267998 Q239900 Q322688
(Q863584,P47,c(Q20667921))
action filter_type
action find
entity Q863584
relation P47
type Q20667921
[ANSWERS] share the border with Notre-Dame-de-la-Rouvière
['Q863584', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q863584 property:P47 ?z . ?z rdf:type ontology:Q20667921 }
L'Estréchure Saint-Martial Soudorgues Saint-André-de-Majencoules Les Plantiers Valleraugue
Valleraugue, Saint-Martial and Soudorgues share the border with Notre-Dame-de-la-Rouvière
Valleraugue Saint-Martial Soudorgues
action filter_type
action find
entity Notre-Dame-de-la-Rouvière
relation shares border with
type type of french administrative division
['Notre-Dame-de-la-Rouvière', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Notre-Dame-de-la-Rouvière property:shares_border_with ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q322688 Q239954 Q860419
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with those ones ?
(c(Q20667921),P47,Q322688) (c(Q20667921),P47,Q239954) (c(Q20667921),P47,Q860419)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q322688'] [{'concept': 'Q20667921'}, 'P47', 'Q239954'] [{'concept': 'Q20667921'}, 'P47', 'Q860419']
SELECT DISTINCT ?j WHERE { ?l property:P47 ?j . VALUES ( ?l ) { ( resource:Q269746 ) ( resource:Q239954 ) ( resource:Q860419 ) } . ?j rdf:type ontology:Q20667921 }
Valleraugue Saint-Martial Soudorgues
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Valleraugue'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Martial'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Soudorgues']
SELECT DISTINCT ?j WHERE { ?l property:shares_border_with ?j . VALUES ( ?l ) { ( resource:L'Estréchure ) ( resource:Saint-Martial ) ( resource:Soudorgues ) } . ?j rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q326782 Q478938 Q651757
SYSTEM
Dourbies, Meyrueis, Saint-André-de-Valborgne
Q636382 Q382432 Q859278 Q478938 Q255180 Q326782 Q651757 Q863584 Q267998 Q239900 Q244244 Q241244 Q323638 Q860419 Q863584 Q267998 Q241244 Q856367 Q239954 Q863584 Q269746 Q859675 Q266931
(c(Q20667921),P47,Q322688) (c(Q20667921),P47,Q239954) (c(Q20667921),P47,Q860419)
action filter_type
action find
entity prev_answer
relation P47
type Q20667921
[ANSWERS] have an adjacent border with those ones
[{'concept': 'Q20667921'}, 'P47', 'Q322688'] [{'concept': 'Q20667921'}, 'P47', 'Q239954'] [{'concept': 'Q20667921'}, 'P47', 'Q860419']
SELECT DISTINCT ?j WHERE { ?l property:P47 ?j . VALUES ( ?l ) { ( resource:Q269746 ) ( resource:Q239954 ) ( resource:Q860419 ) } . ?j rdf:type ontology:Q20667921 }
Mandagout Saint-Sauveur-Camprieu Bassurels Meyrueis Arphy Dourbies Saint-André-de-Valborgne Notre-Dame-de-la-Rouvière Saint-André-de-Majencoules Les Plantiers Saint-Roman-de-Codières Colognac Sumène Soudorgues Notre-Dame-de-la-Rouvière Saint-André-de-Majencoules Colognac Peyrolles Saint-Martial Notre-Dame-de-la-Rouvière L'Estréchure Sainte-Croix-de-Caderle Lasalle
Dourbies, Meyrueis and Saint-André-de-Valborgne have an adjacent border with those ones
Dourbies Meyrueis Saint-André-de-Valborgne
action filter_type
action find
entity prev_answer
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Valleraugue'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Saint-Martial'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Soudorgues']
SELECT DISTINCT ?j WHERE { ?l property:shares_border_with ?j . VALUES ( ?l ) { ( resource:L'Estréchure ) ( resource:Saint-Martial ) ( resource:Soudorgues ) } . ?j rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q326782
P17
Q15617994
USER
Which administrative territory is that french administrative division located in ?
(Q326782,P17,c(Q15617994))
action filter_type
action find
entity Q326782
relation P17
type Q15617994
['Q326782', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q326782 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Dourbies
action filter_type
action find
entity Dourbies
relation country
type designation for an administrative territorial entity
['Dourbies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Dourbies property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q326782
SYSTEM
Did you mean Dourbies ?
Q326782 Q478938 Q651757
(Q326782,P17,c(Q15617994)) (Q478938,P17,c(Q15617994)) (Q651757,P17,c(Q15617994))
[ANSWER]
['Q326782', 'P17', {'concept': 'Q15617994'}] ['Q478938', 'P17', {'concept': 'Q15617994'}] ['Q651757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q326782 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Dourbies Meyrueis Saint-André-de-Valborgne
Did you mean Dourbies ?
Dourbies
['Dourbies', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Meyrueis', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-André-de-Valborgne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Dourbies property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q326782,P17,c(Q15617994))
['Q326782', 'P17', {'concept': 'Q15617994'}]
['Dourbies', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q326782,P17,c(Q15617994))
action filter_type
action find
entity Q326782
relation P17
type Q15617994
That french administrative division is located in [ANSWER]
['Q326782', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q326782 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
France
That french administrative division is located in France
France
action filter_type
action find
entity Dourbies
relation country
type designation for an administrative territorial entity
['Dourbies', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Dourbies property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P276
Q838948 Q15259995
USER
How many works of art and recurring tournaments are located at that administrative territory ?
(c(Q838948),P276,Q142) (c(Q15259995),P276,Q142) (c(Q838948),P276,Q142) (c(Q15259995),P276,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P276
type Q838948
action filter_type
action find_reverse
entity Q142
relation P276
type Q15259995
[{'concept': 'Q838948'}, 'P276', 'Q142'] [{'concept': 'Q15259995'}, 'P276', 'Q142'] [{'concept': 'Q838948'}, 'P276', 'Q142'] [{'concept': 'Q15259995'}, 'P276', 'Q142']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P276 resource:Q142 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P276 resource:Q142 . ?y rdf:type ontology:Q15259995 } }
action count
action union
action filter_type
action find_reverse
entity France
relation location
type work of art
action filter_type
action find_reverse
entity France
relation location
type recurring tournament
[{'concept': 'work of art'}, 'location', 'France'] [{'concept': 'recurring tournament'}, 'location', 'France'] [{'concept': 'work of art'}, 'location', 'France'] [{'concept': 'recurring tournament'}, 'location', 'France']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:location resource:France . ?y rdf:type ontology:work_of_art } UNION { ?y property:location resource:France . ?y rdf:type ontology:recurring_tournament } }
[]
work of art recurring tournament
SYSTEM
2 works of art and 1 recurring tournaments
Q25409682 Q24943491 Q542737
(c(Q838948),P276,Q142) (c(Q15259995),P276,Q142) (c(Q838948),P276,Q142) (c(Q15259995),P276,Q142)
action count
action union
action filter_type
action find_reverse
entity Q142
relation P276
type Q838948
action filter_type
action find_reverse
entity Q142
relation P276
type Q15259995
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q142'] [{'concept': 'Q15259995'}, 'P276', 'Q142'] [{'concept': 'Q838948'}, 'P276', 'Q142'] [{'concept': 'Q15259995'}, 'P276', 'Q142']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:P276 resource:Q142 . ?y rdf:type ontology:Q838948 } UNION { ?y property:P276 resource:Q142 . ?y rdf:type ontology:Q15259995 } }
Saint John the Baptist preaching Danaid 2017 World Men's Handball Championship
2 works of art and 1 recurring tournaments
action count
action union
action filter_type
action find_reverse
entity France
relation location
type work of art
action filter_type
action find_reverse
entity France
relation location
type recurring tournament
[{'concept': 'work of art'}, 'location', 'France'] [{'concept': 'recurring tournament'}, 'location', 'France'] [{'concept': 'work of art'}, 'location', 'France'] [{'concept': 'recurring tournament'}, 'location', 'France']
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { ?y property:location resource:France . ?y rdf:type ontology:work_of_art } UNION { ?y property:location resource:France . ?y rdf:type ontology:recurring_tournament } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q971
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with more number of administrative territories than Republic of the Congo ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?g ) WHERE { ?z property:P530 ?s . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q971 } } }
Republic of the Congo
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?g ) WHERE { ?z property:diplomatic_relation ?s . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Republic_of_the_Congo } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q1049 Q843 Q228 Q227 Q224 Q222 Q347 Q17 Q974 Q1033 Q298 Q115 Q114 Q212 Q213 Q211 Q215 Q916 Q79 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find_reverse
entity Q971
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than Republic of the Congo
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?g ) WHERE { ?z property:P530 ?s . ?z rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:Q15617994 . ?l property:P530 resource:Q971 } } }
Israel Yemen India Argentina France United Kingdom Algeria People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Sudan Pakistan Andorra Azerbaijan Croatia Albania Liechtenstein Japan Democratic Republic of the Congo Nigeria Chile Ethiopia Kenya Ukraine Czech Republic Latvia Slovenia Angola Egypt Jordan Libya Cape Verde Spain Zambia
Italy, Brazil and United States of America have diplomatic relations with more number of administrative territories than Republic of the Congo
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find_reverse
entity Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?s ) AS ?g ) WHERE { ?z property:diplomatic_relation ?s . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?g > ?b ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l property:diplomatic_relation resource:Republic_of_the_Congo } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q39
P530
Q15617994 Q15617994
USER
And what about Switzerland?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?n ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q39 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?i ) }
Switzerland
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?n ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Switzerland property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?i ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q159 Q43 Q41 Q155 Q796 Q794 Q889 Q884 Q881 Q822 Q241 Q32 Q31 Q30 Q34 Q38 Q423 Q27 Q843 Q227 Q222 Q347 Q17 Q1033 Q213 Q916 Q79 Q1016 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q39
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?n ) WHERE { ?t property:P530 ?w . ?t rdf:type ontology:Q15617994 . ?w rdf:type ontology:Q15617994 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Q39 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?n > ?i ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Lithuania Mongolia Indonesia Armenia Serbia South Africa Russia Turkey Greece Brazil Iraq Iran Afghanistan South Korea Vietnam Lebanon Cuba Luxembourg Belgium United States of America Sweden Italy North Korea Ireland Pakistan Azerbaijan Albania Liechtenstein Japan Nigeria Czech Republic Angola Egypt Libya Cape Verde Zambia
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Switzerland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?w ) AS ?n ) WHERE { ?t property:diplomatic_relation ?w . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { resource:Switzerland property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n > ?i ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q38 Q155 Q30
P530
Q15617994
USER
Which administrative territories have diplomatic relations with Italy, Brazil and United States of America ?
(Q38,P530,c(Q15617994)) (Q155,P530,c(Q15617994)) (Q30,P530,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P530
type Q15617994
action filter_type
action find
entity Q155
relation P530
type Q15617994
action filter_type
action find
entity Q30
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q38 property:P530 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q155 property:P530 ?a . ?a rdf:type ontology:Q15617994 } }
Italy Brazil United States of America
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Italy property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Brazil property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q38 Q38 Q155
SYSTEM
Brazil for 3rd, Italy for 1st, 2nd
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114 Q96 Q419 Q801 Q800 Q843 Q1029 Q822 Q241 Q244 Q668 Q574 Q414 Q983 Q142 Q145 Q148 Q783 Q43 Q17 Q30 Q36 Q77 Q750 Q1016 Q739 Q423 Q717 Q79 Q733 Q1011 Q962 Q736 Q298 Q252 Q399 Q403 Q258 Q212 Q213 Q45 Q159 Q734 Q41 Q790 Q38 Q796 Q794 Q917 Q1033 Q29 Q958 Q1049 Q916 Q805 Q159 Q222 Q801 Q155 Q148 Q796 Q347 Q17 Q37 Q889 Q668 Q403 Q1011 Q38 Q414 Q953
(Q38,P530,c(Q15617994)) (Q155,P530,c(Q15617994)) (Q30,P530,c(Q15617994))
action union
action filter_type
action find
entity Q38
relation P530
type Q15617994
action filter_type
action find
entity Q155
relation P530
type Q15617994
action filter_type
action find
entity Q30
relation P530
type Q15617994
[ANSWERS]
['Q38', 'P530', {'concept': 'Q15617994'}] ['Q155', 'P530', {'concept': 'Q15617994'}] ['Q30', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q38 property:P530 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q155 property:P530 ?a . ?a rdf:type ontology:Q15617994 } }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya Mexico Peru Israel Costa Rica Pakistan Mozambique Lebanon Cuba Barbados India East Timor Argentina Equatorial Guinea France United Kingdom People's Republic of China Honduras Turkey Japan United States of America Poland Uruguay Bolivia Libya Colombia North Korea Venezuela Egypt Paraguay Cape Verde Benin Ecuador Chile Indonesia Armenia Serbia South Africa Ukraine Czech Republic Portugal Russia Guyana Greece Haiti Italy Iraq Iran Bhutan Nigeria Spain South Sudan Sudan Angola Yemen Russia Albania Israel Brazil People's Republic of China Iraq Liechtenstein Japan Lithuania Afghanistan India Serbia Cape Verde Italy Argentina Zambia
And Italy, Italy and Brazil have diplomatic relations with Italy, Brazil and United States of America
Italy Italy Brazil
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity Brazil
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:Italy property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Brazil property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]