Simple Question (Direct)
Simple Question
Q4751711
P58
Q502895
USER
Who was the screenwriter for Anari No.1 ?
(Q4751711,P58,c(Q502895))
action filter_type
action find
entity Q4751711
relation P58
type Q502895
['Q4751711', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4751711 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Anari No.1
action filter_type
action find
entity Anari No.1
relation screenwriter
type common name
['Anari No.1', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anari_No.1 property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
common name
Q3191765
SYSTEM
Kader Khan
Q3191765
(Q4751711,P58,c(Q502895))
action filter_type
action find
entity Q4751711
relation P58
type Q502895
The screenwriter for Anari No.1 was Shah [ANSWER]
['Q4751711', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q4751711 property:P58 ?e . ?e rdf:type ontology:Q502895 }
Kader Khan
The screenwriter for Anari No.1 was Shah Kader Khan
Kader Khan
action filter_type
action find
entity Anari No.1
relation screenwriter
type common name
['Anari No.1', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Anari_No.1 property:screenwriter ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3191765
P40
Q502895
USER
Who is a child of that one ?
(Q3191765,P40,c(Q502895))
action filter_type
action find
entity Q3191765
relation P40
type Q502895
['Q3191765', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3191765 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Kader Khan
action filter_type
action find
entity Kader Khan
relation child
type common name
['Kader Khan', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Kader_Khan property:child ?x . ?x rdf:type ontology:common_name }
[]
common name
Q7423871
SYSTEM
Sarfaraz khan
Q7423871
(Q3191765,P40,c(Q502895))
action filter_type
action find
entity Q3191765
relation P40
type Q502895
A child of that one is called [ANSWER]
['Q3191765', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { resource:Q3191765 property:P40 ?x . ?x rdf:type ontology:Q502895 }
Sarfaraz khan
A child of that one is called Sarfaraz khan
Sarfaraz khan
action filter_type
action find
entity Kader Khan
relation child
type common name
['Kader Khan', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { resource:Kader_Khan property:child ?x . ?x rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q7423871 Q7289180
P161
Q838948
USER
Does that person star in Rambantu ?
(Q7289180,P161,Q7423871)
action is_in
entity Q7289180
action find
entity Q7423871
relation P161
['Q7289180', 'P161', 'Q7423871']
ASK WHERE { resource:Q7423871 property:P161 resource:Q7289180 }
Sarfaraz khan Rambantu
action is_in
entity Rambantu
action find
entity Sarfaraz khan
relation cast member
['Rambantu', 'cast member', 'Sarfaraz khan']
ASK WHERE { resource:Sarfaraz_khan property:cast_member resource:Rambantu }
[]
work of art
SYSTEM
NO
(Q7289180,P161,Q7423871)
action is_in
entity Q7289180
action find
entity Q7423871
relation P161
[ANSWER]
['Q7289180', 'P161', 'Q7423871']
ASK WHERE { resource:Q7423871 property:P161 resource:Q7289180 }
No
action is_in
entity Rambantu
action find
entity Sarfaraz khan
relation cast member
['Rambantu', 'cast member', 'Sarfaraz khan']
ASK WHERE { resource:Sarfaraz_khan property:cast_member resource:Rambantu }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q4751711 Q514695 Q11977723
P161
Q502895
USER
Does Alberto Angela and Ivar Simastuen star in Anari No.1 ?
(Q4751711,P161,Q514695) (Q4751711,P161,Q11977723)
action is_in
entity Q4751711
action intersection
action find_reverse
entity Q514695
relation P161
action find_reverse
entity Q11977723
relation P161
['Q4751711', 'P161', 'Q514695'] ['Q4751711', 'P161', 'Q11977723']
ASK WHERE { resource:Q4751711 property:P161 resource:Q514695 . resource:Q4751711 property:P161 resource:Q11977723 }
Anari No.1 Alberto Angela Ivar Simastuen
action is_in
entity Anari No.1
action intersection
action find_reverse
entity Alberto Angela
relation cast member
action find_reverse
entity Ivar Simastuen
relation cast member
['Anari No.1', 'cast member', 'Alberto Angela'] ['Anari No.1', 'cast member', 'Ivar Simastuen']
ASK WHERE { resource:Anari_No.1 property:cast_member resource:Alberto_Angela . resource:Anari_No.1 property:cast_member resource:Ivar_Simastuen }
[]
common name
SYSTEM
NO
(Q4751711,P161,Q514695) (Q4751711,P161,Q11977723)
action is_in
entity Q4751711
action intersection
action find_reverse
entity Q514695
relation P161
action find_reverse
entity Q11977723
relation P161
[ANSWER]
['Q4751711', 'P161', 'Q514695'] ['Q4751711', 'P161', 'Q11977723']
ASK WHERE { resource:Q4751711 property:P161 resource:Q514695 . resource:Q4751711 property:P161 resource:Q11977723 }
No
action is_in
entity Anari No.1
action intersection
action find_reverse
entity Alberto Angela
relation cast member
action find_reverse
entity Ivar Simastuen
relation cast member
['Anari No.1', 'cast member', 'Alberto Angela'] ['Anari No.1', 'cast member', 'Ivar Simastuen']
ASK WHERE { resource:Anari_No.1 property:cast_member resource:Alberto_Angela . resource:Anari_No.1 property:cast_member resource:Ivar_Simastuen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4751711
P57
Q502895
USER
Who directed that work of art ?
action filter_type
action find
entity Q4751711
relation P57
type Q502895
SELECT DISTINCT ?l WHERE { resource:Q4751711 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Anari No.1
action filter_type
action find
entity Anari No.1
relation director
type common name
SELECT DISTINCT ?l WHERE { resource:Anari_No.1 property:director ?l . ?l rdf:type ontology:common_name }
[]
common name
Q6442579
SYSTEM
Kuku Kohli
Q6442579
action filter_type
action find
entity Q4751711
relation P57
type Q502895
[ANSWER] directed that work of art
SELECT DISTINCT ?l WHERE { resource:Q4751711 property:P57 ?l . ?l rdf:type ontology:Q502895 }
Kuku Kohli
Kuku Kohli directed that work of art
Kuku Kohli
action filter_type
action find
entity Anari No.1
relation director
type common name
SELECT DISTINCT ?l WHERE { resource:Anari_No.1 property:director ?l . ?l rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q389303 Q4751711
P57 P344
Q502895
USER
Which people directed Anari No.1 or are appointed as the cinematographers of Aftershock ?
OR((Q4751711,P57,c(Q502895)), (Q389303,P344,c(Q502895)))
action filter_type
action union
action find
entity Q4751711
relation P57
action find
entity Q389303
relation P344
type Q502895
{'OR': [['Q4751711', 'P57', {'concept': 'Q502895'}], ['Q389303', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q4751711 property:P57 ?f } UNION { resource:Q389303 property:P344 ?f } } }
Aftershock Anari No.1
action filter_type
action union
action find
entity Anari No.1
relation director
action find
entity Aftershock
relation director of photography
type common name
{'OR': [['Anari No.1', 'director', {'concept': 'common name'}], ['Aftershock', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Anari_No.1 property:director ?f } UNION { resource:Aftershock property:director_of_photography ?f } } }
[]
common name
Q6442579 Q751473
SYSTEM
Kuku Kohli, Lü Yue
Q6442579 Q751473
OR((Q4751711,P57,c(Q502895)), (Q389303,P344,c(Q502895)))
action filter_type
action union
action find
entity Q4751711
relation P57
action find
entity Q389303
relation P344
type Q502895
[ANSWERS] directed Anari No.1 or are appointed as the cinematographers of Aftershock
{'OR': [['Q4751711', 'P57', {'concept': 'Q502895'}], ['Q389303', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . { { resource:Q4751711 property:P57 ?f } UNION { resource:Q389303 property:P344 ?f } } }
Kuku Kohli Lü Yue
Kuku Kohli and Lü Yue directed Anari No.1 or are appointed as the cinematographers of Aftershock
Kuku Kohli Lü Yue
action filter_type
action union
action find
entity Anari No.1
relation director
action find
entity Aftershock
relation director of photography
type common name
{'OR': [['Anari No.1', 'director', {'concept': 'common name'}], ['Aftershock', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . { { resource:Anari_No.1 property:director ?f } UNION { resource:Aftershock property:director_of_photography ?f } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q15617994
USER
How many administrative territories are the native countriesof that person ?
(Q6442579,P27,c(Q15617994))
['Q6442579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6442579 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
['Kuku Kohli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kuku_Kohli property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q751473
SYSTEM
Did you mean Lü Yue ?
(Q6442579,P27,c(Q15617994)) (Q751473,P27,c(Q15617994))
[ANSWER]
['Q6442579', 'P27', {'concept': 'Q15617994'}] ['Q751473', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6442579 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Lü Yue ?
Lü Yue
['Kuku Kohli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Lü Yue', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kuku_Kohli property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Kuku Kohli. Could you tell me the answer for that?
(Q6442579,P27,c(Q15617994))
Q6442579
['Q6442579', 'P27', {'concept': 'Q15617994'}]
['Kuku Kohli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
1
Q668
(Q6442579,P27,c(Q15617994))
[ANSWER]
['Q6442579', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q6442579 property:P27 ?z . ?z rdf:type ontology:Q15617994 }
India
1
['Kuku Kohli', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Kuku_Kohli property:country_of_citizenship ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7423871
P22
Q502895
USER
Who was the dad of Sarfaraz khan ?
(Q7423871,P22,c(Q502895))
action filter_type
action find
entity Q7423871
relation P22
type Q502895
['Q7423871', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7423871 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Sarfaraz khan
action filter_type
action find
entity Sarfaraz khan
relation father
type common name
['Sarfaraz khan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sarfaraz_khan property:father ?r . ?r rdf:type ontology:common_name }
[]
common name
Q3191765
SYSTEM
Kader Khan
Q3191765
(Q7423871,P22,c(Q502895))
action filter_type
action find
entity Q7423871
relation P22
type Q502895
The dad of Sarfaraz khan was named [ANSWER]
['Q7423871', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q7423871 property:P22 ?r . ?r rdf:type ontology:Q502895 }
Kader Khan
The dad of Sarfaraz khan was named Kader Khan
Kader Khan
action filter_type
action find
entity Sarfaraz khan
relation father
type common name
['Sarfaraz khan', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Sarfaraz_khan property:father ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3191765 Q51822 Q668
P27
Q15617994
USER
Is that person a citizen of Locorotondo and India ?
(Q3191765,P27,Q51822) (Q3191765,P27,Q668)
action is_in
entity Q3191765
action intersection
action find_reverse
entity Q51822
relation P27
action find_reverse
entity Q668
relation P27
['Q3191765', 'P27', 'Q51822'] ['Q3191765', 'P27', 'Q668']
ASK WHERE { resource:Q3191765 property:P27 resource:Q51822 . resource:Q3191765 property:P27 resource:Q668 }
Kader Khan Locorotondo India
action is_in
entity Kader Khan
action intersection
action find_reverse
entity Locorotondo
relation country of citizenship
action find_reverse
entity India
relation country of citizenship
['Kader Khan', 'country of citizenship', 'Locorotondo'] ['Kader Khan', 'country of citizenship', 'India']
ASK WHERE { resource:Kader_Khan property:country_of_citizenship resource:Locorotondo . resource:Kader_Khan property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3191765,P27,Q51822) (Q3191765,P27,Q668)
action is_in
entity Q3191765
action intersection
action find_reverse
entity Q51822
relation P27
action find_reverse
entity Q668
relation P27
[ANSWER]
['Q3191765', 'P27', 'Q51822'] ['Q3191765', 'P27', 'Q668']
ASK WHERE { resource:Q3191765 property:P27 resource:Q51822 . resource:Q3191765 property:P27 resource:Q668 }
NO and YES respectively
action is_in
entity Kader Khan
action intersection
action find_reverse
entity Locorotondo
relation country of citizenship
action find_reverse
entity India
relation country of citizenship
['Kader Khan', 'country of citizenship', 'Locorotondo'] ['Kader Khan', 'country of citizenship', 'India']
ASK WHERE { resource:Kader_Khan property:country_of_citizenship resource:Locorotondo . resource:Kader_Khan property:country_of_citizenship resource:India }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7423871 Q668
P27
Q15617994
USER
Does that person belong to India ?
(Q7423871,P27,Q668)
action is_in
entity Q668
action find
entity Q7423871
relation P27
['Q7423871', 'P27', 'Q668']
ASK WHERE { resource:Q7423871 property:P27 resource:Q668 }
Sarfaraz khan India
action is_in
entity India
action find
entity Sarfaraz khan
relation country of citizenship
['Sarfaraz khan', 'country of citizenship', 'India']
ASK WHERE { resource:Sarfaraz_khan property:country_of_citizenship resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q7423871,P27,Q668)
action is_in
entity Q668
action find
entity Q7423871
relation P27
[ANSWER]
['Q7423871', 'P27', 'Q668']
ASK WHERE { resource:Q7423871 property:P27 resource:Q668 }
Yes
action is_in
entity India
action find
entity Sarfaraz khan
relation country of citizenship
['Sarfaraz khan', 'country of citizenship', 'India']
ASK WHERE { resource:Sarfaraz_khan property:country_of_citizenship resource:India }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4172643 Q3191765
P27
Q15617994
USER
Which administrative territories do Kader Khan or Franz Deutmann belong to ?
OR((Q3191765,P27,c(Q15617994)), (Q4172643,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3191765
relation P27
action find
entity Q4172643
relation P27
type Q15617994
{'OR': [['Q3191765', 'P27', {'concept': 'Q15617994'}], ['Q4172643', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3191765 property:P27 ?w } UNION { resource:Q4172643 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Franz Deutmann Kader Khan
action filter_type
action union
action find
entity Kader Khan
relation country of citizenship
action find
entity Franz Deutmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kader Khan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Franz Deutmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kader_Khan property:country_of_citizenship ?w } UNION { resource:Franz_Deutmann property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29999 Q668
SYSTEM
Kingdom of the Netherlands, India
Q29999 Q668
OR((Q3191765,P27,c(Q15617994)), (Q4172643,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3191765
relation P27
action find
entity Q4172643
relation P27
type Q15617994
Kader Khan or Franz Deutmann belong to the [ANSWERS]
{'OR': [['Q3191765', 'P27', {'concept': 'Q15617994'}], ['Q4172643', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q3191765 property:P27 ?w } UNION { resource:Q4172643 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Kingdom of the Netherlands India
Kader Khan or Franz Deutmann belong to the Kingdom of the Netherlands and India
Kingdom of the Netherlands India
action filter_type
action union
action find
entity Kader Khan
relation country of citizenship
action find
entity Franz Deutmann
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Kader Khan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Franz Deutmann', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Kader_Khan property:country_of_citizenship ?w } UNION { resource:Franz_Deutmann property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q810
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with around the same number of administrative territories as Jordan ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q810 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?d ) WHERE { ?r property:P530 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?r } }
Jordan
action approx
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 Jordan
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Jordan property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?d ) WHERE { ?r property:diplomatic_relation ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q810
relation P530
type Q15617994
[ANSWERS] are known to have diplomatic connections with around the same number of administrative territories as Jordan
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Q810 property:P530 ?p . ?p rdf:type ontology:Q15617994 } } . FILTER ( ?d = ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?d ) WHERE { ?r property:P530 ?l . ?r rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?r } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Netherlands, Poland and People's Republic of China are known to have diplomatic connections with around the same number of administrative territories as Jordan
Netherlands Poland People's Republic of China
action approx
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 Jordan
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 ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?k ) WHERE { resource:Jordan property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?d = ?k ) . { SELECT DISTINCT ?r ( COUNT ( ?l ) AS ?d ) WHERE { ?r property:diplomatic_relation ?l . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1372816
P530
Q1048835
USER
Do Siruela have diplomatic associations with those administrative territories ?
(Q1372816,P530,Q55) (Q1372816,P530,Q36) (Q1372816,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1372816
relation P530
['Q1372816', 'P530', 'Q55'] ['Q1372816', 'P530', 'Q36'] ['Q1372816', 'P530', 'Q148']
ASK WHERE { resource:Q1372816 property:P530 ?o . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Siruela
action is_in
entity prev_answer
action find
entity Siruela
relation diplomatic relation
['Siruela', 'diplomatic relation', 'Netherlands'] ['Siruela', 'diplomatic relation', 'Poland'] ['Siruela', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Siruela property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q1372816,P530,Q55) (Q1372816,P530,Q36) (Q1372816,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1372816
relation P530
[ANSWER]
['Q1372816', 'P530', 'Q55'] ['Q1372816', 'P530', 'Q36'] ['Q1372816', 'P530', 'Q148']
ASK WHERE { resource:Q1372816 property:P530 ?o . VALUES ( ?o ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Siruela
relation diplomatic relation
['Siruela', 'diplomatic relation', 'Netherlands'] ['Siruela', 'diplomatic relation', 'Poland'] ['Siruela', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Siruela property:diplomatic_relation ?o . VALUES ( ?o ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]