Simple Question (Direct)
Simple Question
Q6299289
P54
Q847017
USER
Which sports club is Juan Carlos Ibáñez a member of ?
(Q6299289,P54,c(Q847017))
action filter_type
action find
entity Q6299289
relation P54
type Q847017
['Q6299289', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?n WHERE { resource:Q6299289 property:P54 ?n . ?n rdf:type ontology:Q847017 }
Juan Carlos Ibáñez
action filter_type
action find
entity Juan Carlos Ibáñez
relation member of sports team
type sports club
['Juan Carlos Ibáñez', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?n WHERE { resource:Juan_Carlos_Ibáñez property:member_of_sports_team ?n . ?n rdf:type ontology:sports_club }
[]
sports club
Q214978
SYSTEM
Club Atlético Independiente
Q214978
(Q6299289,P54,c(Q847017))
action filter_type
action find
entity Q6299289
relation P54
type Q847017
[ANSWER] is Juan Carlos Ibáñez a member of
['Q6299289', 'P54', {'concept': 'Q847017'}]
SELECT DISTINCT ?n WHERE { resource:Q6299289 property:P54 ?n . ?n rdf:type ontology:Q847017 }
Club Atlético Independiente
Club Atlético Independiente is Juan Carlos Ibáñez a member of
Club Atlético Independiente
action filter_type
action find
entity Juan Carlos Ibáñez
relation member of sports team
type sports club
['Juan Carlos Ibáñez', 'member of sports team', {'concept': 'sports club'}]
SELECT DISTINCT ?n WHERE { resource:Juan_Carlos_Ibáñez property:member_of_sports_team ?n . ?n rdf:type ontology:sports_club }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6299289
P19
Q56061
USER
Which administrative territory was Juan Carlos Ibáñez born in ?
(Q6299289,P19,c(Q56061))
action filter_type
action find
entity Q6299289
relation P19
type Q56061
['Q6299289', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6299289 property:P19 ?a . ?a rdf:type ontology:Q56061 }
Juan Carlos Ibáñez
action filter_type
action find
entity Juan Carlos Ibáñez
relation place of birth
type administrative territorial entity
['Juan Carlos Ibáñez', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Juan_Carlos_Ibáñez property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2330916
SYSTEM
General José de San Martín
Q2330916
(Q6299289,P19,c(Q56061))
action filter_type
action find
entity Q6299289
relation P19
type Q56061
Which administrative territory was Juan Carlos Ibáñez born in
['Q6299289', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6299289 property:P19 ?a . ?a rdf:type ontology:Q56061 }
General José de San Martín
Which administrative territory was Juan Carlos Ibáñez born in
General José de San Martín
action filter_type
action find
entity Juan Carlos Ibáñez
relation place of birth
type administrative territorial entity
['Juan Carlos Ibáñez', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Juan_Carlos_Ibáñez property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6299289
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q2330916,P106,c(Q12737077))
action filter_type
action find
entity Q6299289
relation P106
type Q12737077
['Q2330916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6299289 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Juan Carlos Ibáñez
action filter_type
action find
entity Juan Carlos Ibáñez
relation occupation
type occupation
['General José de San Martín', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Juan_Carlos_Ibáñez property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2330916,P106,c(Q12737077))
action filter_type
action find
entity Q6299289
relation P106
type Q12737077
Player [ANSWER] is the profession of that person
['Q2330916', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q6299289 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Player association football player is the profession of that person
association football player
action filter_type
action find
entity Juan Carlos Ibáñez
relation occupation
type occupation
['General José de San Martín', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Juan_Carlos_Ibáñez property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214978
P127
Q483110
USER
Which stadium is owned by Club Atlético Independiente ?
(c(Q483110),P127,Q214978)
action filter_type
action find_reverse
entity Q214978
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q214978']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q214978 . ?c rdf:type ontology:Q483110 }
Club Atlético Independiente
action filter_type
action find_reverse
entity Club Atlético Independiente
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Club Atlético Independiente']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Club_Atlético_Independiente . ?c rdf:type ontology:stadium }
[]
stadium
Q1192458
SYSTEM
Estadio Libertadores de America
Q1192458
(c(Q483110),P127,Q214978)
action filter_type
action find_reverse
entity Q214978
relation P127
type Q483110
[ANSWER] is owned by Club Atlético Independiente
[{'concept': 'Q483110'}, 'P127', 'Q214978']
SELECT DISTINCT ?c WHERE { ?c property:P127 resource:Q214978 . ?c rdf:type ontology:Q483110 }
Estadio Libertadores de America
Estadio Libertadores de America is owned by Club Atlético Independiente
Estadio Libertadores de America
action filter_type
action find_reverse
entity Club Atlético Independiente
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Club Atlético Independiente']
SELECT DISTINCT ?c WHERE { ?c property:owned_by resource:Club_Atlético_Independiente . ?c rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214978
P17
Q15617994
USER
Which administrative territory is that sports club located in ?
(Q1192458,P17,c(Q15617994))
action filter_type
action find
entity Q214978
relation P17
type Q15617994
['Q1192458', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q214978 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Club Atlético Independiente
action filter_type
action find
entity Club Atlético Independiente
relation country
type designation for an administrative territorial entity
['Estadio Libertadores de America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Club_Atlético_Independiente property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q1192458,P17,c(Q15617994))
action filter_type
action find
entity Q214978
relation P17
type Q15617994
That sports club is located in [ANSWER]
['Q1192458', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q214978 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Argentina
That sports club is located in Argentina
Argentina
action filter_type
action find
entity Club Atlético Independiente
relation country
type designation for an administrative territorial entity
['Estadio Libertadores de America', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Club_Atlético_Independiente property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?h ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?u rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?l = ?q ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?h ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?l = ?q ) }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relationships with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?h ) WHERE { ?c property:P530 ?d . ?c rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q15617994 } GROUP BY ?c } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?u rdf:type ontology:Q1048835 . ?g rdf:type ontology:Q15617994 . ?u property:P530 ?g } GROUP BY ?u } . FILTER ( ?l = ?q ) }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relationships with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?h ) AS ?q ) { SELECT DISTINCT ?c ( COUNT ( ?d ) AS ?h ) WHERE { ?c property:diplomatic_relation ?d . ?c rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?c } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?l ) WHERE { ?u rdf:type ontology:political_territorial_entity . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u property:diplomatic_relation ?g } GROUP BY ?u } . FILTER ( ?l = ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q576324
P17
Q1292279
USER
Are Bosnia and Herzegovina–Croatia border located in those political territories ?
(Q576324,P17,Q685) (Q576324,P17,Q691)
action is_in
entity prev_answer
action find
entity Q576324
relation P17
['Q576324', 'P17', 'Q685'] ['Q576324', 'P17', 'Q691']
ASK WHERE { resource:Q576324 property:P17 ?q . VALUES ( ?q ) { ( resource:Q685 ) ( resource:Q691 ) } }
Bosnia and Herzegovina–Croatia border
action is_in
entity prev_answer
action find
entity Bosnia and Herzegovina–Croatia border
relation country
['Bosnia and Herzegovina–Croatia border', 'country', 'Solomon Islands'] ['Bosnia and Herzegovina–Croatia border', 'country', 'Papua New Guinea']
ASK WHERE { resource:Bosnia_and_Herzegovina–Croatia_border property:country ?q . VALUES ( ?q ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
political border
SYSTEM
NO
(Q576324,P17,Q685) (Q576324,P17,Q691)
action is_in
entity prev_answer
action find
entity Q576324
relation P17
[ANSWER]
['Q576324', 'P17', 'Q685'] ['Q576324', 'P17', 'Q691']
ASK WHERE { resource:Q576324 property:P17 ?q . VALUES ( ?q ) { ( resource:Q685 ) ( resource:Q691 ) } }
No
action is_in
entity prev_answer
action find
entity Bosnia and Herzegovina–Croatia border
relation country
['Bosnia and Herzegovina–Croatia border', 'country', 'Solomon Islands'] ['Bosnia and Herzegovina–Croatia border', 'country', 'Papua New Guinea']
ASK WHERE { resource:Bosnia_and_Herzegovina–Croatia_border property:country ?q . VALUES ( ?q ) { ( resource:Solomon_Islands ) ( resource:Papua_New_Guinea ) } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6299289 Q6785978
P27
Q15617994
USER
Is Matagorda Independent School District the native country of Juan Carlos Ibáñez ?
(Q6299289,P27,Q6785978)
action is_in
entity Q6785978
action find
entity Q6299289
relation P27
['Q6299289', 'P27', 'Q6785978']
ASK WHERE { resource:Q6299289 property:P27 resource:Q6785978 }
Juan Carlos Ibáñez Matagorda Independent School District
action is_in
entity Matagorda Independent School District
action find
entity Juan Carlos Ibáñez
relation country of citizenship
['Juan Carlos Ibáñez', 'country of citizenship', 'Matagorda Independent School District']
ASK WHERE { resource:Juan_Carlos_Ibáñez property:country_of_citizenship resource:Matagorda_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q6299289,P27,Q6785978)
action is_in
entity Q6785978
action find
entity Q6299289
relation P27
[ANSWER]
['Q6299289', 'P27', 'Q6785978']
ASK WHERE { resource:Q6299289 property:P27 resource:Q6785978 }
No
action is_in
entity Matagorda Independent School District
action find
entity Juan Carlos Ibáñez
relation country of citizenship
['Juan Carlos Ibáñez', 'country of citizenship', 'Matagorda Independent School District']
ASK WHERE { resource:Juan_Carlos_Ibáñez property:country_of_citizenship resource:Matagorda_Independent_School_District }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1192458 Q22095739
P466
Q847017
USER
Is Queens Royals an occupant of Estadio Libertadores de America ?
(Q1192458,P466,Q22095739)
action is_in
entity Q22095739
action find
entity Q1192458
relation P466
['Q1192458', 'P466', 'Q22095739']
ASK WHERE { resource:Q1192458 property:P466 resource:Q22095739 }
Estadio Libertadores de America Queens Royals
action is_in
entity Queens Royals
action find
entity Estadio Libertadores de America
relation occupant
['Estadio Libertadores de America', 'occupant', 'Queens Royals']
ASK WHERE { resource:Estadio_Libertadores_de_America property:occupant resource:Queens_Royals }
[]
sports club
SYSTEM
NO
(Q1192458,P466,Q22095739)
action is_in
entity Q22095739
action find
entity Q1192458
relation P466
[ANSWER]
['Q1192458', 'P466', 'Q22095739']
ASK WHERE { resource:Q1192458 property:P466 resource:Q22095739 }
No
action is_in
entity Queens Royals
action find
entity Estadio Libertadores de America
relation occupant
['Estadio Libertadores de America', 'occupant', 'Queens Royals']
ASK WHERE { resource:Estadio_Libertadores_de_America property:occupant resource:Queens_Royals }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q778
P530
Q1048835 Q1048835
USER
How many political territories have a diplomatic relationship with greater number of political territories than The Bahamas ?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?z ) WHERE { ?e property:P530 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q778 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?c ) }
The Bahamas
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?z ) WHERE { ?e property:diplomatic_relation ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:The_Bahamas property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?c ) }
[]
political territorial entity political territorial entity
SYSTEM
6
Q40 Q183 Q408 Q35 Q16 Q664
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q778
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?z ) WHERE { ?e property:P530 ?i . ?e rdf:type ontology:Q1048835 . ?i rdf:type ontology:Q1048835 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:Q778 property:P530 ?s . ?s rdf:type ontology:Q1048835 } } . FILTER ( ?z > ?c ) }
Austria Germany Australia Denmark Canada New Zealand
6
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity The Bahamas
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?z ) WHERE { ?e property:diplomatic_relation ?i . ?e rdf:type ontology:political_territorial_entity . ?i rdf:type ontology:political_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { resource:The_Bahamas property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } } . FILTER ( ?z > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q35
P530
Q1048835 Q1048835
USER
And also tell me about Denmark?
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z property:P530 ?u . ?z rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?x } } . FILTER ( ?m > ?y ) }
Denmark
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z property:diplomatic_relation ?u . ?z rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?x } } . FILTER ( ?m > ?y ) }
[]
political territorial entity political territorial entity
SYSTEM
3
Q183 Q408 Q16
(c(Q1048835),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q35
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z property:P530 ?u . ?z rdf:type ontology:Q1048835 . ?u rdf:type ontology:Q1048835 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:Q1048835 . resource:Q35 property:P530 ?x } } . FILTER ( ?m > ?y ) }
Germany Australia Canada
3
action count
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Denmark
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?u ) AS ?m ) WHERE { ?z property:diplomatic_relation ?u . ?z rdf:type ontology:political_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Denmark property:diplomatic_relation ?x } } . FILTER ( ?m > ?y ) }
[]