Simple Question (Direct)
Simple Question
Q561378
P21
Q290
USER
What is the sex of Louis Hémon ?
(Q561378,P21,c(Q290))
action filter_type
action find
entity Q561378
relation P21
type Q290
['Q561378', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q561378 property:P21 ?h . ?h rdf:type ontology:Q290 }
Louis Hémon
action filter_type
action find
entity Louis Hémon
relation gender
type sex
['Louis Hémon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Louis_Hémon property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q561378,P21,c(Q290))
action filter_type
action find
entity Q561378
relation P21
type Q290
The sex of Louis Hémon is the [ANSWER]
['Q561378', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q561378 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
The sex of Louis Hémon is the male
male
action filter_type
action find
entity Louis Hémon
relation gender
type sex
['Louis Hémon', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Louis_Hémon property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q561378
P1196
Q1190554
USER
What manner did Louis Hémon die ?
(Q561378,P1196,c(Q1190554))
action filter_type
action find
entity Q561378
relation P1196
type Q1190554
['Q561378', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?j WHERE { resource:Q561378 property:P1196 ?j . ?j rdf:type ontology:Q1190554 }
Louis Hémon
action filter_type
action find
entity Louis Hémon
relation manner of death
type event
['Louis Hémon', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?j WHERE { resource:Louis_Hémon property:manner_of_death ?j . ?j rdf:type ontology:event }
[]
event
Q171558
SYSTEM
accident
Q171558
(Q561378,P1196,c(Q1190554))
action filter_type
action find
entity Q561378
relation P1196
type Q1190554
Louis Hémon died in [ANSWER]
['Q561378', 'P1196', {'concept': 'Q1190554'}]
SELECT DISTINCT ?j WHERE { resource:Q561378 property:P1196 ?j . ?j rdf:type ontology:Q1190554 }
accident
Louis Hémon died in accident
accident
action filter_type
action find
entity Louis Hémon
relation manner of death
type event
['Louis Hémon', 'manner of death', {'concept': 'event'}]
SELECT DISTINCT ?j WHERE { resource:Louis_Hémon property:manner_of_death ?j . ?j rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q171558
P509
Q502895
USER
Who died from that event ?
(c(Q502895),P509,Q171558)
action filter_type
action find_reverse
entity Q171558
relation P509
type Q502895
[{'concept': 'Q502895'}, 'P509', 'Q171558']
SELECT DISTINCT ?r WHERE { ?r property:P509 resource:Q171558 . ?r rdf:type ontology:Q502895 }
accident
action filter_type
action find_reverse
entity accident
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'accident']
SELECT DISTINCT ?r WHERE { ?r property:cause_of_death resource:accident . ?r rdf:type ontology:common_name }
[]
common name
Q55168
SYSTEM
Theodoros Angelopoulos
Q55168
(c(Q502895),P509,Q171558)
action filter_type
action find_reverse
entity Q171558
relation P509
type Q502895
[ANSWER] died from that event
[{'concept': 'Q502895'}, 'P509', 'Q171558']
SELECT DISTINCT ?r WHERE { ?r property:P509 resource:Q171558 . ?r rdf:type ontology:Q502895 }
Theodoros Angelopoulos
Theodoros Angelopoulos died from that event
Theodoros Angelopoulos
action filter_type
action find_reverse
entity accident
relation cause of death
type common name
[{'concept': 'common name'}, 'cause of death', 'accident']
SELECT DISTINCT ?r WHERE { ?r property:cause_of_death resource:accident . ?r rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q55168
P1411
Q4220917
USER
What were that person nominated for ?
(Q55168,P1411,c(Q4220917))
action filter_type
action find
entity Q55168
relation P1411
type Q4220917
['Q55168', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?z WHERE { resource:Q55168 property:P1411 ?z . ?z rdf:type ontology:Q4220917 }
Theodoros Angelopoulos
action filter_type
action find
entity Theodoros Angelopoulos
relation nominated for
type film award
['Theodoros Angelopoulos', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?z WHERE { resource:Theodoros_Angelopoulos property:nominated_for ?z . ?z rdf:type ontology:film_award }
[]
film award
Q1377777 Q777921 Q1377755
SYSTEM
European Film Award for Best Screenwriter, European Film Award for Best Film, European Film Award for Best Director
Q1377777 Q9256282 Q1377755 Q2418096 Q777921
(Q55168,P1411,c(Q4220917))
action filter_type
action find
entity Q55168
relation P1411
type Q4220917
That person were nominated for [ANSWERS]
['Q55168', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?z WHERE { resource:Q55168 property:P1411 ?z . ?z rdf:type ontology:Q4220917 }
European Film Award for Best Screenwriter European Film Award: Audience Award for Best Director European Film Award for Best Director Goya Award for Best European Film European Film Award for Best Film
That person were nominated for European Film Award for Best Screenwriter, European Film Award for Best Film and European Film Award for Best Director
European Film Award for Best Screenwriter European Film Award for Best Film European Film Award for Best Director
action filter_type
action find
entity Theodoros Angelopoulos
relation nominated for
type film award
['Theodoros Angelopoulos', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?z WHERE { resource:Theodoros_Angelopoulos property:nominated_for ?z . ?z rdf:type ontology:film_award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q55168
P19
Q56061
USER
Which administrative territory is the birthplace of Theodoros Angelopoulos ?
(Q55168,P19,c(Q56061))
action filter_type
action find
entity Q55168
relation P19
type Q56061
['Q55168', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q55168 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Theodoros Angelopoulos
action filter_type
action find
entity Theodoros Angelopoulos
relation place of birth
type administrative territorial entity
['Theodoros Angelopoulos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Theodoros_Angelopoulos property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1524
SYSTEM
Athens
Q1524
(Q55168,P19,c(Q56061))
action filter_type
action find
entity Q55168
relation P19
type Q56061
[ANSWER] is the birthplace of Theodoros Angelopoulos
['Q55168', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q55168 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Athens
Athens is the birthplace of Theodoros Angelopoulos
Athens
action filter_type
action find
entity Theodoros Angelopoulos
relation place of birth
type administrative territorial entity
['Theodoros Angelopoulos', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Theodoros_Angelopoulos property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1524
P119
Q502895
USER
Which people have that administrative territory as resting place ?
(c(Q502895),P119,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q1524']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q1524 . ?u rdf:type ontology:Q502895 }
Athens
action filter_type
action find_reverse
entity Athens
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Athens']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:Athens . ?u rdf:type ontology:common_name }
[]
common name
Q1698470 Q6061994
SYSTEM
Iōannēs Sykutrēs, Ioannis Banias
Q1698470 Q6061994
(c(Q502895),P119,Q1524)
action filter_type
action find_reverse
entity Q1524
relation P119
type Q502895
[ANSWERS] have that administrative territory as resting place
[{'concept': 'Q502895'}, 'P119', 'Q1524']
SELECT DISTINCT ?u WHERE { ?u property:P119 resource:Q1524 . ?u rdf:type ontology:Q502895 }
Iōannēs Sykutrēs Ioannis Banias
Iōannēs Sykutrēs and Ioannis Banias have that administrative territory as resting place
Iōannēs Sykutrēs Ioannis Banias
action filter_type
action find_reverse
entity Athens
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Athens']
SELECT DISTINCT ?u WHERE { ?u property:place_of_burial resource:Athens . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1698470 Q6061994
P20
Q56061
USER
Which administrative territories are the places of death of those people ?
(Q1698470,P20,c(Q56061)) (Q6061994,P20,c(Q56061))
action filter_type
action find
entity prev_answer
relation P20
type Q56061
['Q1698470', 'P20', {'concept': 'Q56061'}] ['Q6061994', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?b property:P20 ?y . VALUES ( ?b ) { ( resource:Q1698470 ) ( resource:Q6061994 ) } . ?y rdf:type ontology:Q56061 }
Iōannēs Sykutrēs Ioannis Banias
action filter_type
action find
entity prev_answer
relation place of death
type administrative territorial entity
['Iōannēs Sykutrēs', 'place of death', {'concept': 'administrative territorial entity'}] ['Ioannis Banias', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?b property:place_of_death ?y . VALUES ( ?b ) { ( resource:Iōannēs_Sykutrēs ) ( resource:Ioannis_Banias ) } . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q103011 Q1524
SYSTEM
Corinth, Athens
Q103011 Q1524
(Q1698470,P20,c(Q56061)) (Q6061994,P20,c(Q56061))
action filter_type
action find
entity prev_answer
relation P20
type Q56061
[ANSWERS] are the places of death of those people
['Q1698470', 'P20', {'concept': 'Q56061'}] ['Q6061994', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { ?b property:P20 ?y . VALUES ( ?b ) { ( resource:Q1698470 ) ( resource:Q6061994 ) } . ?y rdf:type ontology:Q56061 }
Corinth Athens
Corinth and Athens are the places of death of those people
Corinth Athens
action filter_type
action find
entity prev_answer
relation place of death
type administrative territorial entity
['Iōannēs Sykutrēs', 'place of death', {'concept': 'administrative territorial entity'}] ['Ioannis Banias', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?b property:place_of_death ?y . VALUES ( ?b ) { ( resource:Iōannēs_Sykutrēs ) ( resource:Ioannis_Banias ) } . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q103011 Q1524
P47
Q15617994
USER
Which administrative territories share border with Corinth and Athens ?
(Q103011,P47,c(Q15617994)) (Q1524,P47,c(Q15617994))
action union
action filter_type
action find
entity Q103011
relation P47
type Q15617994
action filter_type
action find
entity Q1524
relation P47
type Q15617994
['Q103011', 'P47', {'concept': 'Q15617994'}] ['Q1524', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q103011 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q1524 property:P47 ?f . ?f rdf:type ontology:Q15617994 } }
Corinth Athens
action union
action filter_type
action find
entity Corinth
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Athens
relation shares border with
type designation for an administrative territorial entity
['Corinth', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Athens', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Corinth property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Athens property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q3566537 Q218375
SYSTEM
Loutraki-Perachora, Zografou
Q3566537 Q218375
(Q103011,P47,c(Q15617994)) (Q1524,P47,c(Q15617994))
action union
action filter_type
action find
entity Q103011
relation P47
type Q15617994
action filter_type
action find
entity Q1524
relation P47
type Q15617994
[ANSWERS] share border with Corinth and Athens
['Q103011', 'P47', {'concept': 'Q15617994'}] ['Q1524', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q103011 property:P47 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q1524 property:P47 ?f . ?f rdf:type ontology:Q15617994 } }
Loutraki-Perachora Zografou
Loutraki-Perachora and Zografou share border with Corinth and Athens
Loutraki-Perachora Zografou
action union
action filter_type
action find
entity Corinth
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Athens
relation shares border with
type designation for an administrative territorial entity
['Corinth', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Athens', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Corinth property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Athens property:shares_border_with ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q103011
P17
Q15617994
USER
Which administrative territory is that administrative territory present in ?
(Q103011,P17,c(Q15617994))
action filter_type
action find
entity Q103011
relation P17
type Q15617994
['Q103011', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q103011 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Corinth
action filter_type
action find
entity Corinth
relation country
type designation for an administrative territorial entity
['Corinth', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Corinth property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q103011
SYSTEM
Did you mean Corinth ?
Q3566537 Q218375
(Q3566537,P17,c(Q15617994)) (Q218375,P17,c(Q15617994))
[ANSWER]
['Q3566537', 'P17', {'concept': 'Q15617994'}] ['Q218375', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q103011 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Loutraki-Perachora Zografou
Did you mean Corinth ?
Corinth
['Loutraki-Perachora', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Zografou', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Corinth property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q103011,P17,c(Q15617994))
['Q103011', 'P17', {'concept': 'Q15617994'}]
['Corinth', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q41
SYSTEM
Greece
Q41
(Q103011,P17,c(Q15617994))
action filter_type
action find
entity Q103011
relation P17
type Q15617994
That administrative territory is in [ANSWER]
['Q103011', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q103011 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Greece
That administrative territory is in Greece
Greece
action filter_type
action find
entity Corinth
relation country
type designation for an administrative territorial entity
['Corinth', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Corinth property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P463
Q484652
USER
How many international organizations were that administrative territory a member of ?
(Q41,P463,c(Q484652))
action count
action filter_type
action find
entity Q41
relation P463
type Q484652
['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q41 property:P463 ?g . ?g rdf:type ontology:Q484652 }
action count
action filter_type
action find
entity Greece
relation member of
type international organization
['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Greece property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
international organization
SYSTEM
5
Q81299 Q1043527 Q7184 Q42262 Q1065
(Q41,P463,c(Q484652))
action count
action filter_type
action find
entity Q41
relation P463
type Q484652
[ANSWER]
['Q41', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q41 property:P463 ?g . ?g rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe Multilateral Investment Guarantee Agency North Atlantic Treaty Organisation European Space Agency United Nations
5
action count
action filter_type
action find
entity Greece
relation member of
type international organization
['Greece', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Greece property:member_of ?g . ?g rdf:type ontology:international_organization }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with more number of administrative territories than New Zealand ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?h ) WHERE { ?o property:P530 ?q . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q664 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?n ) }
New Zealand
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?h ) WHERE { ?o property:diplomatic_relation ?q . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:New_Zealand property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?n ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q664
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with more number of administrative territories than New Zealand
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?h ) WHERE { ?o property:P530 ?q . ?o rdf:type ontology:Q1048835 . ?q rdf:type ontology:Q15617994 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:Q664 property:P530 ?d . ?d rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?n ) }
Austria Germany Australia Denmark Canada
Germany, Australia and Denmark have diplomatic relations with more number of administrative territories than New Zealand
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity New Zealand
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?h ) WHERE { ?o property:diplomatic_relation ?q . ?o rdf:type ontology:political_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?n ) WHERE { resource:New_Zealand property:diplomatic_relation ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q781
P530
Q1048835 Q15617994
USER
And how about Antigua and Barbuda?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q781 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?r ) }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?r ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?j property:P530 ?x . ?j rdf:type ontology:Q1048835 . ?x rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Q781 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } . FILTER ( ?v > ?r ) }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?v ) WHERE { ?j property:diplomatic_relation ?x . ?j rdf:type ontology:political_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v > ?r ) }
[]