Simple Question (Direct)
Simple Question
Q493855
P17
Q15617994
USER
Which administrative territory is Arjeplog Municipality situated in ?
(Q493855,P17,c(Q15617994))
action filter_type
action find
entity Q493855
relation P17
type Q15617994
['Q493855', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q493855 property:P17 ?o }
Arjeplog Municipality
action filter_type
action find
entity Arjeplog Municipality
relation country
type designation for an administrative territorial entity
['Arjeplog Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arjeplog_Municipality property:country ?o }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q493855,P17,c(Q15617994))
action filter_type
action find
entity Q493855
relation P17
type Q15617994
Which administrative territory is Arjeplog Municipality situated in
['Q493855', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q493855 property:P17 ?o }
Sweden
Which administrative territory is Arjeplog Municipality situated in
Sweden
action filter_type
action find
entity Arjeplog Municipality
relation country
type designation for an administrative territorial entity
['Arjeplog Municipality', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arjeplog_Municipality property:country ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q34
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q34,P163,c(Q14660))
action filter_type
action find
entity Q34
relation P163
type Q14660
['Q34', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q34 property:P163 ?u . ?u rdf:type ontology:Q14660 }
Sweden
action filter_type
action find
entity Sweden
relation flag
type flag
['Sweden', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Sweden property:flag ?u . ?u rdf:type ontology:flag }
[]
flag
Q81286
SYSTEM
flag of Sweden
Q81286
(Q34,P163,c(Q14660))
action filter_type
action find
entity Q34
relation P163
type Q14660
The [ANSWER] is associated with that administrative territory
['Q34', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?u WHERE { resource:Q34 property:P163 ?u . ?u rdf:type ontology:Q14660 }
flag of Sweden
The flag of Sweden is associated with that administrative territory
flag of Sweden
action filter_type
action find
entity Sweden
relation flag
type flag
['Sweden', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?u WHERE { resource:Sweden property:flag ?u . ?u rdf:type ontology:flag }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q81286
P136
Q17335294
USER
Which genre does that flag belong to ?
(Q81286,P136,c(Q17335294))
action filter_type
action find
entity Q81286
relation P136
type Q17335294
['Q81286', 'P136', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q17335294 . resource:Q81286 property:P136 ?m }
flag of Sweden
action filter_type
action find
entity flag of Sweden
relation genre
type flag or coat of arms
['flag of Sweden', 'genre', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag_or_coat_of_arms . resource:flag_of_Sweden property:genre ?m }
[]
flag or coat of arms
Q208324
SYSTEM
Nordic Cross flag
Q208324
(Q81286,P136,c(Q17335294))
action filter_type
action find
entity Q81286
relation P136
type Q17335294
That flag belongs to [ANSWER]
['Q81286', 'P136', {'concept': 'Q17335294'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q17335294 . resource:Q81286 property:P136 ?m }
Nordic Cross flag
That flag belongs to Nordic Cross flag
Nordic Cross flag
action filter_type
action find
entity flag of Sweden
relation genre
type flag or coat of arms
['flag of Sweden', 'genre', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:flag_or_coat_of_arms . resource:flag_of_Sweden property:genre ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q81286 Q1531829
P180
Q17335294
USER
How many coats of arms express flag of Sweden or bell ?
(c(Q17335294),P180,Q81286) (c(Q17335294),P180,Q1531829)
action count
action union
action filter_type
action find_reverse
entity Q81286
relation P180
type Q17335294
action filter_type
action find_reverse
entity Q1531829
relation P180
type Q17335294
[{'concept': 'Q17335294'}, 'P180', 'Q81286'] [{'concept': 'Q17335294'}, 'P180', 'Q1531829']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P180 ?o . VALUES ( ?o ) { ( resource:Q81286 ) ( resource:Q1531829 ) } }
flag of Sweden bell
action count
action union
action filter_type
action find_reverse
entity flag of Sweden
relation depicts
type flag or coat of arms
action filter_type
action find_reverse
entity bell
relation depicts
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'depicts', 'flag of Sweden'] [{'concept': 'flag or coat of arms'}, 'depicts', 'bell']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:depicts ?o . VALUES ( ?o ) { ( resource:flag_of_Sweden ) ( resource:bell ) } }
[]
flag or coat of arms
SYSTEM
2
Q18033325 Q19984115
(c(Q17335294),P180,Q81286) (c(Q17335294),P180,Q1531829)
action count
action union
action filter_type
action find_reverse
entity Q81286
relation P180
type Q17335294
action filter_type
action find_reverse
entity Q1531829
relation P180
type Q17335294
[ANSWER]
[{'concept': 'Q17335294'}, 'P180', 'Q81286'] [{'concept': 'Q17335294'}, 'P180', 'Q1531829']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:P180 ?o . VALUES ( ?o ) { ( resource:Q81286 ) ( resource:Q1531829 ) } }
coat of arms of Haren coat of arms of Hoogkerk
2
action count
action union
action filter_type
action find_reverse
entity flag of Sweden
relation depicts
type flag or coat of arms
action filter_type
action find_reverse
entity bell
relation depicts
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'depicts', 'flag of Sweden'] [{'concept': 'flag or coat of arms'}, 'depicts', 'bell']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { ?i property:depicts ?o . VALUES ( ?o ) { ( resource:flag_of_Sweden ) ( resource:bell ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P206
Q1267889
USER
Which waterway is located in the neighbourhood of Sweden ?
(Q34,P206,c(Q1267889))
action filter_type
action find
entity Q34
relation P206
type Q1267889
['Q34', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?r WHERE { resource:Q34 property:P206 ?r . ?r rdf:type ontology:Q1267889 }
Sweden
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
['Sweden', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?r WHERE { resource:Sweden property:located_next_to_body_of_water ?r . ?r rdf:type ontology:waterway }
[]
waterway
Q131716
SYSTEM
Kattegat
Q131716
(Q34,P206,c(Q1267889))
action filter_type
action find
entity Q34
relation P206
type Q1267889
[ANSWER] is located in the neighbourhood of Sweden
['Q34', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?r WHERE { resource:Q34 property:P206 ?r . ?r rdf:type ontology:Q1267889 }
Kattegat
Kattegat is located in the neighbourhood of Sweden
Kattegat
action filter_type
action find
entity Sweden
relation located next to body of water
type waterway
['Sweden', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?r WHERE { resource:Sweden property:located_next_to_body_of_water ?r . ?r rdf:type ontology:waterway }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3593211
Q1267889
USER
And how about île Saint-Riom?
(Q3593211,P206,c(Q1267889))
action filter_type
action find
entity Q3593211
relation P206
type Q1267889
['Q3593211', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?k WHERE { resource:Q3593211 property:P206 ?k . ?k rdf:type ontology:Q1267889 }
île Saint-Riom
action filter_type
action find
entity île Saint-Riom
relation located next to body of water
type waterway
['île Saint-Riom', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?k WHERE { resource:île_Saint-Riom property:located_next_to_body_of_water ?k . ?k rdf:type ontology:waterway }
[]
waterway
Q34640
SYSTEM
English Channel
Q34640
(Q3593211,P206,c(Q1267889))
action filter_type
action find
entity Q3593211
relation P206
type Q1267889
[ANSWER]
['Q3593211', 'P206', {'concept': 'Q1267889'}]
SELECT DISTINCT ?k WHERE { resource:Q3593211 property:P206 ?k . ?k rdf:type ontology:Q1267889 }
English Channel
English Channel
action filter_type
action find
entity île Saint-Riom
relation located next to body of water
type waterway
['île Saint-Riom', 'located next to body of water', {'concept': 'waterway'}]
SELECT DISTINCT ?k WHERE { resource:île_Saint-Riom property:located_next_to_body_of_water ?k . ?k rdf:type ontology:waterway }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q189
P530
Q15617994 Q15617994 Q1048835
USER
Which administrative territories holds diplomatic relationship with greater number of administrative territories and political territories than Iceland ?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q189
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?f } UNION { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 . ?p property:P530 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P530 resource:Q189 . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?g > ?w ) }
Iceland
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?p property:diplomatic_relation ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:diplomatic_relation resource:Iceland . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?g > ?w ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q37 Q711 Q252 Q399 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q733 Q734 Q233 Q20 Q27 Q1049 Q843 Q1029 Q736 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q974 Q1033 Q1030 Q963 Q298 Q115 Q114 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q1009 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q869 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q189
relation P530
type Q15617994
type Q1048835
[ANSWERS] hold diplomatic relationship with greater number of administrative territories and political territories than Iceland
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?f WHERE { { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?f } UNION { ?f rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q1048835 . ?p property:P530 ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:P530 resource:Q189 . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?g > ?w ) }
Israel Costa Rica Yemen Peru India Argentina France Netherlands 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 Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Paraguay Guyana Malta Norway Ireland Sudan Pakistan Mozambique Ecuador Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Democratic Republic of the Congo Nigeria Namibia Botswana Chile Ethiopia Kenya Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Cameroon Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Thailand Zambia
Italy, Brazil and United States of America hold diplomatic relationship with greater number of administrative territories and political territories than Iceland
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Iceland
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?f WHERE { { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:political_territorial_entity . ?p property:diplomatic_relation ?f } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { ?k property:diplomatic_relation resource:Iceland . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?g > ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q869
P530
Q15617994 Q15617994 Q1048835
USER
And how about Thailand?
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q869
relation P530
type Q15617994
type Q1048835
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P530 resource:Q869 . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?l > ?d ) }
Thailand
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:diplomatic_relation resource:Thailand . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?l > ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity political 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 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q241 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q851 Q27 Q843 Q1029 Q227 Q224 Q222 Q229 Q347 Q17 Q1033 Q1030 Q298 Q115 Q114 Q212 Q213 Q215 Q916 Q79 Q77 Q878 Q810 Q1016 Q1011 Q29 Q953
(c(Q15617994)|c(Q1048835),P530,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find_reverse
entity Q869
relation P530
type Q15617994
type Q1048835
[ANSWERS]
[[{'concept': 'Q15617994'}, {'concept': 'Q1048835'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } UNION { ?r property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q1048835 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:P530 resource:Q869 . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } } } } . FILTER ( ?l > ?d ) }
Israel Yemen India Argentina France United Kingdom 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 Finland Luxembourg Belgium United States of America Poland Sweden Philippines Switzerland Italy Colombia North Korea Saudi Arabia Ireland Pakistan Mozambique Azerbaijan Croatia Albania Cyprus Liechtenstein Japan Nigeria Namibia Chile Ethiopia Kenya Ukraine Czech Republic Slovenia Angola Egypt Uruguay United Arab Emirates Jordan Libya Cape Verde Spain Zambia
Italy Brazil United States of America
action greater
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find_reverse
entity Thailand
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?l ) WHERE { { ?r property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?r property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:political_territorial_entity } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { ?q property:diplomatic_relation resource:Thailand . { ?q rdf:type ?a . VALUES ( ?a ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } } } } . FILTER ( ?l > ?d ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q183
P530
Q1048835
USER
Do Germany have diplomatic associations with those administrative territories ?
(Q183,P530,Q38) (Q183,P530,Q155) (Q183,P530,Q30)
action is_in
entity prev_answer
action find
entity Q183
relation P530
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q30']
ASK WHERE { resource:Q183 property:P530 ?a . VALUES ( ?a ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
Germany
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Germany property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]
political territorial entity
SYSTEM
YES
(Q183,P530,Q38) (Q183,P530,Q155) (Q183,P530,Q30)
action is_in
entity prev_answer
action find
entity Q183
relation P530
[ANSWER]
['Q183', 'P530', 'Q38'] ['Q183', 'P530', 'Q155'] ['Q183', 'P530', 'Q30']
ASK WHERE { resource:Q183 property:P530 ?a . VALUES ( ?a ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
Yes
action is_in
entity prev_answer
action find
entity Germany
relation diplomatic relation
['Germany', 'diplomatic relation', 'Italy'] ['Germany', 'diplomatic relation', 'Brazil'] ['Germany', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Germany property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]