Simple Question (Direct)
Simple Question
Q21191161
P106
Q12737077
USER
What are the professions of Egmont Hesse ?
(Q21191161,P106,c(Q12737077))
action filter_type
action find
entity Q21191161
relation P106
type Q12737077
['Q21191161', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q21191161 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Egmont Hesse
action filter_type
action find
entity Egmont Hesse
relation occupation
type occupation
['Egmont Hesse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Egmont_Hesse property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q2516866 Q131524
SYSTEM
publisher, entrepreneur
Q2516866 Q131524
(Q21191161,P106,c(Q12737077))
action filter_type
action find
entity Q21191161
relation P106
type Q12737077
The professions of Egmont Hesse are a [ANSWERS]
['Q21191161', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q21191161 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
publisher entrepreneur
The professions of Egmont Hesse are a publisher and entrepreneur
publisher entrepreneur
action filter_type
action find
entity Egmont Hesse
relation occupation
type occupation
['Egmont Hesse', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Egmont_Hesse property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21191161
P19
Q56061
USER
Which administrative territory was Egmont Hesse born at ?
(Q21191161,P19,c(Q56061))
action filter_type
action find
entity Q21191161
relation P19
type Q56061
['Q21191161', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q21191161 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Egmont Hesse
action filter_type
action find
entity Egmont Hesse
relation place of birth
type administrative territorial entity
['Egmont Hesse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Egmont_Hesse property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1729
SYSTEM
Erfurt
Q1729
(Q21191161,P19,c(Q56061))
action filter_type
action find
entity Q21191161
relation P19
type Q56061
Egmont Hesse was born in [ANSWER]
['Q21191161', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q21191161 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Erfurt
Egmont Hesse was born in Erfurt
Erfurt
action filter_type
action find
entity Egmont Hesse
relation place of birth
type administrative territorial entity
['Egmont Hesse', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Egmont_Hesse property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1729 Q5807380 Q771251
P190
Q56061
USER
Is that administrative territory twin city of Chavelkan-e Hajji and Kati ?
(Q1729,P190,Q5807380) (Q1729,P190,Q771251)
action is_in
entity Q1729
action intersection
action find_reverse
entity Q5807380
relation P190
action find_reverse
entity Q771251
relation P190
['Q1729', 'P190', 'Q5807380'] ['Q1729', 'P190', 'Q771251']
ASK WHERE { resource:Q1729 property:P190 resource:Q771251 . resource:Q1729 property:P190 resource:Q5807380 }
Erfurt Chavelkan-e Hajji Kati
action is_in
entity Erfurt
action intersection
action find_reverse
entity Chavelkan-e Hajji
relation sister city
action find_reverse
entity Kati
relation sister city
['Erfurt', 'sister city', 'Chavelkan-e Hajji'] ['Erfurt', 'sister city', 'Kati']
ASK WHERE { resource:Erfurt property:sister_city resource:Kati . resource:Erfurt property:sister_city resource:Chavelkan-e_Hajji }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q1729,P190,Q5807380) (Q1729,P190,Q771251)
action is_in
entity Q1729
action intersection
action find_reverse
entity Q5807380
relation P190
action find_reverse
entity Q771251
relation P190
[ANSWER]
['Q1729', 'P190', 'Q5807380'] ['Q1729', 'P190', 'Q771251']
ASK WHERE { resource:Q1729 property:P190 resource:Q771251 . resource:Q1729 property:P190 resource:Q5807380 }
NO and YES respectively
action is_in
entity Erfurt
action intersection
action find_reverse
entity Chavelkan-e Hajji
relation sister city
action find_reverse
entity Kati
relation sister city
['Erfurt', 'sister city', 'Chavelkan-e Hajji'] ['Erfurt', 'sister city', 'Kati']
ASK WHERE { resource:Erfurt property:sister_city resource:Kati . resource:Erfurt property:sister_city resource:Chavelkan-e_Hajji }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18943548 Q5807380
P17
Q15617994
USER
Which administrative territories do Chavelkan-e Hajji or Beekvliet belong to ?
OR((Q5807380,P17,c(Q15617994)), (Q18943548,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5807380
relation P17
action find
entity Q18943548
relation P17
type Q15617994
{'OR': [['Q5807380', 'P17', {'concept': 'Q15617994'}], ['Q18943548', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5807380 property:P17 ?p } UNION { resource:Q18943548 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Beekvliet Chavelkan-e Hajji
action filter_type
action union
action find
entity Chavelkan-e Hajji
relation country
action find
entity Beekvliet
relation country
type designation for an administrative territorial entity
{'OR': [['Chavelkan-e Hajji', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Beekvliet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Chavelkan-e_Hajji property:country ?p } UNION { resource:Beekvliet property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q794
SYSTEM
Netherlands, Iran
Q55 Q794
OR((Q5807380,P17,c(Q15617994)), (Q18943548,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5807380
relation P17
action find
entity Q18943548
relation P17
type Q15617994
Chavelkan -e Hajji or Beekvliet belong to the [ANSWERS]
{'OR': [['Q5807380', 'P17', {'concept': 'Q15617994'}], ['Q18943548', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5807380 property:P17 ?p } UNION { resource:Q18943548 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Netherlands Iran
Chavelkan -e Hajji or Beekvliet belong to the Netherlands and Iran
Netherlands Iran
action filter_type
action union
action find
entity Chavelkan-e Hajji
relation country
action find
entity Beekvliet
relation country
type designation for an administrative territorial entity
{'OR': [['Chavelkan-e Hajji', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Beekvliet', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Chavelkan-e_Hajji property:country ?p } UNION { resource:Beekvliet property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q12737077 Q191067 Q838948
USER
Which occupations were the main subjects in the work max number of articles and works of art ?
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q191067 . ?v property:P921 ?h } UNION { ?v property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?k WHERE { { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q191067 } UNION { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } } GROUP BY ?k } . FILTER ( ?a = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:occupation . ?v rdf:type ontology:article . ?v property:main_subject ?h } UNION { ?v property:main_subject ?h . ?h rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?k WHERE { { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:article } UNION { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } } GROUP BY ?k } . FILTER ( ?a = ?u ) }
[]
occupation article work of art
Q9402
SYSTEM
ninja
Q9402
(c(Q191067)|c(Q838948),P921,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
[ANSWER] was the main subjects in the work max number of articles and works of art
[[{'concept': 'Q191067'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q191067 . ?v property:P921 ?h } UNION { ?v property:P921 ?h . ?h rdf:type ontology:Q12737077 . ?v rdf:type ontology:Q838948 } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?k WHERE { { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q191067 } UNION { ?l property:P921 ?k . ?k rdf:type ontology:Q12737077 . ?l rdf:type ontology:Q838948 } } GROUP BY ?k } . FILTER ( ?a = ?u ) }
ninja
Ninja was the main subjects in the work max number of articles and works of art
ninja
action argmax
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
[[{'concept': 'article'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) ?h WHERE { { ?h rdf:type ontology:occupation . ?v rdf:type ontology:article . ?v property:main_subject ?h } UNION { ?v property:main_subject ?h . ?h rdf:type ontology:occupation . ?v rdf:type ontology:work_of_art } } GROUP BY ?h } } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?a ) ?k WHERE { { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:article } UNION { ?l property:main_subject ?k . ?k rdf:type ontology:occupation . ?l rdf:type ontology:work_of_art } } GROUP BY ?k } . FILTER ( ?a = ?u ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P921
Q1001378 Q2342494
USER
How many cinematic techniques and collectables are that occupation a main subject of ?
(c(Q1001378),P921,Q9402) (c(Q2342494),P921,Q9402) (c(Q1001378),P921,Q9402) (c(Q2342494),P921,Q9402)
action count
action union
action filter_type
action find_reverse
entity Q9402
relation P921
type Q1001378
action filter_type
action find_reverse
entity Q9402
relation P921
type Q2342494
[{'concept': 'Q1001378'}, 'P921', 'Q9402'] [{'concept': 'Q2342494'}, 'P921', 'Q9402'] [{'concept': 'Q1001378'}, 'P921', 'Q9402'] [{'concept': 'Q2342494'}, 'P921', 'Q9402']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q1001378 ) } . ?c rdf:type ?v }
action count
action union
action filter_type
action find_reverse
entity ninja
relation main subject
type cinematic technique
action filter_type
action find_reverse
entity ninja
relation main subject
type collectable
[{'concept': 'cinematic technique'}, 'main subject', 'ninja'] [{'concept': 'collectable'}, 'main subject', 'ninja'] [{'concept': 'cinematic technique'}, 'main subject', 'ninja'] [{'concept': 'collectable'}, 'main subject', 'ninja']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:cinematic_technique ) } . ?c rdf:type ?v }
[]
cinematic technique collectable
SYSTEM
1 cinematic techniques and 1 collectables
Q203108 Q3205406
(c(Q1001378),P921,Q9402) (c(Q2342494),P921,Q9402) (c(Q1001378),P921,Q9402) (c(Q2342494),P921,Q9402)
action count
action union
action filter_type
action find_reverse
entity Q9402
relation P921
type Q1001378
action filter_type
action find_reverse
entity Q9402
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q1001378'}, 'P921', 'Q9402'] [{'concept': 'Q2342494'}, 'P921', 'Q9402'] [{'concept': 'Q1001378'}, 'P921', 'Q9402'] [{'concept': 'Q2342494'}, 'P921', 'Q9402']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q1001378 ) } . ?c rdf:type ?v }
TMNT The Dagger of Kamui
1 cinematic techniques and 1 collectables
action count
action union
action filter_type
action find_reverse
entity ninja
relation main subject
type cinematic technique
action filter_type
action find_reverse
entity ninja
relation main subject
type collectable
[{'concept': 'cinematic technique'}, 'main subject', 'ninja'] [{'concept': 'collectable'}, 'main subject', 'ninja'] [{'concept': 'cinematic technique'}, 'main subject', 'ninja'] [{'concept': 'collectable'}, 'main subject', 'ninja']
SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:cinematic_technique ) } . ?c rdf:type ?v }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4714760 Q794
P47 P27
Q15617994
USER
Which administrative territories have a shared border with Iran and are the native countriesof Aleksandar Aleksandrov ?
AND((Q794,P47,c(Q15617994)), (Q4714760,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q794
relation P47
action find
entity Q4714760
relation P27
type Q15617994
{'AND': [['Q794', 'P47', {'concept': 'Q15617994'}], ['Q4714760', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q794 property:P47 ?n . resource:Q4714760 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Aleksandar Aleksandrov Iran
action filter_type
action intersection
action find
entity Iran
relation shares border with
action find
entity Aleksandar Aleksandrov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Iran', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Aleksandrov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Iran property:shares_border_with ?n . resource:Aleksandar_Aleksandrov property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q227
SYSTEM
Azerbaijan
Q227
AND((Q794,P47,c(Q15617994)), (Q4714760,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q794
relation P47
action find
entity Q4714760
relation P27
type Q15617994
[ANSWER] have a shared border with Iran and are the native countriesof Aleksandar Aleksandrov
{'AND': [['Q794', 'P47', {'concept': 'Q15617994'}], ['Q4714760', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { resource:Q794 property:P47 ?n . resource:Q4714760 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Azerbaijan
Azerbaijan have a shared border with Iran and are the native countriesof Aleksandar Aleksandrov
Azerbaijan
action filter_type
action intersection
action find
entity Iran
relation shares border with
action find
entity Aleksandar Aleksandrov
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Iran', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Aleksandrov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { resource:Iran property:shares_border_with ?n . resource:Aleksandar_Aleksandrov property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q227 Q16600226
P27
Q502895
USER
Is Sebastian Steblecki a citizen of that administrative territory ?
(Q16600226,P27,Q227)
action is_in
entity Q16600226
action find
entity Q227
relation P27
['Q16600226', 'P27', 'Q227']
ASK WHERE { resource:Q227 property:P27 resource:Q16600226 }
Azerbaijan Sebastian Steblecki
action is_in
entity Sebastian Steblecki
action find
entity Azerbaijan
relation country of citizenship
['Sebastian Steblecki', 'country of citizenship', 'Azerbaijan']
ASK WHERE { resource:Azerbaijan property:country_of_citizenship resource:Sebastian_Steblecki }
[]
common name
SYSTEM
NO
(Q16600226,P27,Q227)
action is_in
entity Q16600226
action find
entity Q227
relation P27
[ANSWER]
['Q16600226', 'P27', 'Q227']
ASK WHERE { resource:Q227 property:P27 resource:Q16600226 }
No
action is_in
entity Sebastian Steblecki
action find
entity Azerbaijan
relation country of citizenship
['Sebastian Steblecki', 'country of citizenship', 'Azerbaijan']
ASK WHERE { resource:Azerbaijan property:country_of_citizenship resource:Sebastian_Steblecki }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q242
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with greater number of administrative territories than Belize ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q242 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?e ) }
Belize
action count
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 Belize
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 ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Belize property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?e ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
109
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 count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q242
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Q242 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?e ) }
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
109
action count
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 Belize
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 ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) WHERE { resource:Belize property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?e ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q55 Q408
P530
Q1048835
USER
Does Australia have diplomatic relationships with Netherlands ?
(Q55,P530,Q408)
action is_in
entity Q408
action find
entity Q55
relation P530
['Q55', 'P530', 'Q408']
ASK WHERE { resource:Q55 property:P530 resource:Q408 }
Netherlands Australia
action is_in
entity Australia
action find
entity Netherlands
relation diplomatic relation
['Netherlands', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Netherlands property:diplomatic_relation resource:Australia }
[]
political territorial entity
SYSTEM
YES
(Q55,P530,Q408)
action is_in
entity Q408
action find
entity Q55
relation P530
[ANSWER]
['Q55', 'P530', 'Q408']
ASK WHERE { resource:Q55 property:P530 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Netherlands
relation diplomatic relation
['Netherlands', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Netherlands property:diplomatic_relation resource:Australia }
[]