Simple Question (Direct)
Simple Question
Q350843
P102
Q7210356
USER
Which party is Adam Schiff affiliated with ?
(Q350843,P102,c(Q7210356))
action filter_type
action find
entity Q350843
relation P102
type Q7210356
['Q350843', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . resource:Q350843 property:P102 ?g }
Adam Schiff
action filter_type
action find
entity Adam Schiff
relation member of political party
type political organization
['Adam Schiff', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . resource:Adam_Schiff property:member_of_political_party ?g }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q350843,P102,c(Q7210356))
action filter_type
action find
entity Q350843
relation P102
type Q7210356
Adam Schiff is affiliated with [ANSWER]
['Q350843', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q7210356 . resource:Q350843 property:P102 ?g }
Democratic Party
Adam Schiff is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Adam Schiff
relation member of political party
type political organization
['Adam Schiff', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_organization . resource:Adam_Schiff property:member_of_political_party ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q350843
P140
Q874405
USER
What is the religious affiliation of Adam Schiff ?
(Q350843,P140,c(Q874405))
action filter_type
action find
entity Q350843
relation P140
type Q874405
['Q350843', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q350843 property:P140 ?f . ?f rdf:type ontology:Q874405 }
Adam Schiff
action filter_type
action find
entity Adam Schiff
relation religion
type social group
['Adam Schiff', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Schiff property:religion ?f . ?f rdf:type ontology:social_group }
[]
social group
Q9268
SYSTEM
Judaism
Q9268
(Q350843,P140,c(Q874405))
action filter_type
action find
entity Q350843
relation P140
type Q874405
The religious affiliation of Adam Schiff is Orthodox [ANSWER]
['Q350843', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?f WHERE { resource:Q350843 property:P140 ?f . ?f rdf:type ontology:Q874405 }
Judaism
The religious affiliation of Adam Schiff is Orthodox Judaism
Judaism
action filter_type
action find
entity Adam Schiff
relation religion
type social group
['Adam Schiff', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?f WHERE { resource:Adam_Schiff property:religion ?f . ?f rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2833892
Q874405
USER
And also tell me about Alexandre Monnet?
(Q2833892,P140,c(Q874405))
action filter_type
action find
entity Q2833892
relation P140
type Q874405
['Q2833892', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q2833892 property:P140 ?t . ?t rdf:type ontology:Q874405 }
Alexandre Monnet
action filter_type
action find
entity Alexandre Monnet
relation religion
type social group
['Alexandre Monnet', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Alexandre_Monnet property:religion ?t . ?t rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2833892,P140,c(Q874405))
action filter_type
action find
entity Q2833892
relation P140
type Q874405
[ANSWER]
['Q2833892', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?t WHERE { resource:Q2833892 property:P140 ?t . ?t rdf:type ontology:Q874405 }
Catholicism
Catholicism
action filter_type
action find
entity Alexandre Monnet
relation religion
type social group
['Alexandre Monnet', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?t WHERE { resource:Alexandre_Monnet property:religion ?t . ?t rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2833892
P611
Q43229
USER
What religion is that person affiliated to ?
(Q1841,P611,c(Q43229))
action filter_type
action find
entity Q2833892
relation P611
type Q43229
['Q1841', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . resource:Q2833892 property:P611 ?x }
Alexandre Monnet
action filter_type
action find
entity Alexandre Monnet
relation religious order
type organization
['Catholicism', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . resource:Alexandre_Monnet property:religious_order ?x }
[]
organization
Q687562
SYSTEM
Holy Ghost Fathers
Q687562
(Q1841,P611,c(Q43229))
action filter_type
action find
entity Q2833892
relation P611
type Q43229
That person is affiliated with [ANSWER]
['Q1841', 'P611', {'concept': 'Q43229'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q43229 . resource:Q2833892 property:P611 ?x }
Holy Ghost Fathers
That person is affiliated with Holy Ghost Fathers
Holy Ghost Fathers
action filter_type
action find
entity Alexandre Monnet
relation religious order
type organization
['Catholicism', 'religious order', {'concept': 'organization'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:organization . resource:Alexandre_Monnet property:religious_order ?x }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q687562 Q1097091
P112
Q502895
USER
that organization ?
(Q687562,P112,Q1097091)
action is_in
entity Q1097091
action find
entity Q687562
relation P112
['Q687562', 'P112', 'Q1097091']
ASK WHERE { resource:Q687562 property:P112 resource:Q1097091 }
Holy Ghost Fathers Claude Poullart des Places
action is_in
entity Claude Poullart des Places
action find
entity Holy Ghost Fathers
relation founder
['Holy Ghost Fathers', 'founder', 'Claude Poullart des Places']
ASK WHERE { resource:Holy_Ghost_Fathers property:founder resource:Claude_Poullart_des_Places }
[]
common name
SYSTEM
YES
(Q687562,P112,Q1097091)
action is_in
entity Q1097091
action find
entity Q687562
relation P112
[ANSWER]
['Q687562', 'P112', 'Q1097091']
ASK WHERE { resource:Q687562 property:P112 resource:Q1097091 }
Yes
action is_in
entity Claude Poullart des Places
action find
entity Holy Ghost Fathers
relation founder
['Holy Ghost Fathers', 'founder', 'Claude Poullart des Places']
ASK WHERE { resource:Holy_Ghost_Fathers property:founder resource:Claude_Poullart_des_Places }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q454976 Q1097091
P19
Q56061
USER
Which administrative territories are the places of birth of Claude Poullart des Places or Camilla Battista da Varano ?
OR((Q1097091,P19,c(Q56061)), (Q454976,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1097091
relation P19
action find
entity Q454976
relation P19
type Q56061
{'OR': [['Q1097091', 'P19', {'concept': 'Q56061'}], ['Q454976', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1097091 property:P19 ?j } UNION { resource:Q454976 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Camilla Battista da Varano Claude Poullart des Places
action filter_type
action union
action find
entity Claude Poullart des Places
relation place of birth
action find
entity Camilla Battista da Varano
relation place of birth
type administrative territorial entity
{'OR': [['Claude Poullart des Places', 'place of birth', {'concept': 'administrative territorial entity'}], ['Camilla Battista da Varano', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Claude_Poullart_des_Places property:place_of_birth ?j } UNION { resource:Camilla_Battista_da_Varano property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q647 Q73489
SYSTEM
Rennes, Camerino
Q647 Q73489
OR((Q1097091,P19,c(Q56061)), (Q454976,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1097091
relation P19
action find
entity Q454976
relation P19
type Q56061
[ANSWERS] are the places of birth of Claude Poullart des Places or Camilla Battista da Varano
{'OR': [['Q1097091', 'P19', {'concept': 'Q56061'}], ['Q454976', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1097091 property:P19 ?j } UNION { resource:Q454976 property:P19 ?j } } . ?j rdf:type ontology:Q56061 }
Rennes Camerino
Rennes and Camerino are the places of birth of Claude Poullart des Places or Camilla Battista da Varano
Rennes Camerino
action filter_type
action union
action find
entity Claude Poullart des Places
relation place of birth
action find
entity Camilla Battista da Varano
relation place of birth
type administrative territorial entity
{'OR': [['Claude Poullart des Places', 'place of birth', {'concept': 'administrative territorial entity'}], ['Camilla Battista da Varano', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Claude_Poullart_des_Places property:place_of_birth ?j } UNION { resource:Camilla_Battista_da_Varano property:place_of_birth ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9303575 Q2833892
P27
Q15617994
USER
Which administrative territories do Alexandre Monnet or Rajmund Pietkiewicz belong to ?
OR((Q2833892,P27,c(Q15617994)), (Q9303575,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2833892
relation P27
action find
entity Q9303575
relation P27
type Q15617994
{'OR': [['Q2833892', 'P27', {'concept': 'Q15617994'}], ['Q9303575', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2833892 property:P27 ?v } UNION { resource:Q9303575 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
Rajmund Pietkiewicz Alexandre Monnet
action filter_type
action union
action find
entity Alexandre Monnet
relation country of citizenship
action find
entity Rajmund Pietkiewicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alexandre Monnet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rajmund Pietkiewicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Alexandre_Monnet property:country_of_citizenship ?v } UNION { resource:Rajmund_Pietkiewicz property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q36
SYSTEM
France, Poland
Q142 Q36
OR((Q2833892,P27,c(Q15617994)), (Q9303575,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2833892
relation P27
action find
entity Q9303575
relation P27
type Q15617994
Alexandre Monnet or Rajmund Pietkiewicz belong to [ANSWERS]
{'OR': [['Q2833892', 'P27', {'concept': 'Q15617994'}], ['Q9303575', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2833892 property:P27 ?v } UNION { resource:Q9303575 property:P27 ?v } } . ?v rdf:type ontology:Q15617994 }
France Poland
Alexandre Monnet or Rajmund Pietkiewicz belong to France and Poland
France Poland
action filter_type
action union
action find
entity Alexandre Monnet
relation country of citizenship
action find
entity Rajmund Pietkiewicz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Alexandre Monnet', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Rajmund Pietkiewicz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Alexandre_Monnet property:country_of_citizenship ?v } UNION { resource:Rajmund_Pietkiewicz property:country_of_citizenship ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q313062
P27
Q502895
USER
Are Joseph Babinski a native of those administrative territories ?
(Q313062,P27,Q142) (Q313062,P27,Q36)
action is_in
entity prev_answer
action find
entity Q313062
relation P27
['Q313062', 'P27', 'Q142'] ['Q313062', 'P27', 'Q36']
ASK WHERE { resource:Q313062 property:P27 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q36 ) } }
Joseph Babinski
action is_in
entity prev_answer
action find
entity Joseph Babinski
relation country of citizenship
['Joseph Babinski', 'country of citizenship', 'France'] ['Joseph Babinski', 'country of citizenship', 'Poland']
ASK WHERE { resource:Joseph_Babinski property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Poland ) } }
[]
common name
SYSTEM
YES
(Q313062,P27,Q142) (Q313062,P27,Q36)
action is_in
entity prev_answer
action find
entity Q313062
relation P27
[ANSWER]
['Q313062', 'P27', 'Q142'] ['Q313062', 'P27', 'Q36']
ASK WHERE { resource:Q313062 property:P27 ?y . VALUES ( ?y ) { ( resource:Q142 ) ( resource:Q36 ) } }
Yes
action is_in
entity prev_answer
action find
entity Joseph Babinski
relation country of citizenship
['Joseph Babinski', 'country of citizenship', 'France'] ['Joseph Babinski', 'country of citizenship', 'Poland']
ASK WHERE { resource:Joseph_Babinski property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:France ) ( resource:Poland ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q30
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with more number of administrative territories than United States of America ?
(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 Q30
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?j property:P530 ?m . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?p ) }
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 United States of America
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?j property:diplomatic_relation ?m . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q801 Q159 Q155 Q38 Q230 Q184 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 Q30
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with more number of administrative territories than United States of America
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?j property:P530 ?m . ?j rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:Q30 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?z > ?p ) }
Israel Russia Brazil Italy Georgia Belarus Zambia
Italy, Brazil and Georgia are known to have diplomatic connections with more number of administrative territories than United States of America
Italy Brazil Georgia
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 United States of America
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 ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?m ) AS ?z ) WHERE { ?j property:diplomatic_relation ?m . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { resource:United_States_of_America property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?z > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1019
P530
Q15617994 Q15617994
USER
And also tell me about Madagascar?
(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 Q1019
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1019 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } }
Madagascar
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 Madagascar
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Madagascar property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q37 Q711 Q717 Q252 Q399 Q398 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q822 Q241 Q244 Q33 Q32 Q31 Q30 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q734 Q736 Q236 Q230 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q1049 Q189 Q843 Q842 Q184 Q1029 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1033 Q191 Q962 Q298 Q114 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q917 Q916 Q833 Q977 Q34020 Q574 Q79 Q77 Q858 Q878 Q948 Q810 Q1016 Q1011 Q29 Q869 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 Q1019
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q1019 property:P530 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?l property:P530 ?y . ?l rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?l } }
Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Lithuania Mongolia Venezuela Indonesia Armenia Bahrain Serbia South Africa Portugal Russia Turkey Greece Brazil Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Lebanon Cuba Barbados Finland Luxembourg Belgium United States of America Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Montenegro Georgia Malta San Marino Norway Somalia Senegal Ireland Hungary Sudan Iceland Pakistan Oman Belarus Mozambique Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Nigeria Estonia Benin Chile Kenya Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Bhutan Angola Malaysia Djibouti Niue East Timor Egypt Uruguay Syria United Arab Emirates Tunisia Jordan Libya Cape Verde Spain Thailand 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 Madagascar
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 ?l WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Madagascar property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?h > ?b ) . { SELECT DISTINCT ?l ( COUNT ( ?y ) AS ?h ) WHERE { ?l property:diplomatic_relation ?y . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } }
[]