Simple Question (Direct)
Simple Question
Q1133276
P1411
Q618779
USER
Which award does Murray Schisgal have ?
(Q1133276,P1411,c(Q618779))
action filter_type
action find
entity Q1133276
relation P1411
type Q618779
['Q1133276', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1133276 property:P1411 ?m . ?m rdf:type ontology:Q618779 }
Murray Schisgal
action filter_type
action find
entity Murray Schisgal
relation nominated for
type award
['Murray Schisgal', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Murray_Schisgal property:nominated_for ?m . ?m rdf:type ontology:award }
[]
award
Q7821794
SYSTEM
Tony Award for Best Author
Q7821794
(Q1133276,P1411,c(Q618779))
action filter_type
action find
entity Q1133276
relation P1411
type Q618779
Murray Schisgal has a [ANSWER]
['Q1133276', 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?m WHERE { resource:Q1133276 property:P1411 ?m . ?m rdf:type ontology:Q618779 }
Tony Award for Best Author
Murray Schisgal has a Tony Award for Best Author
Tony Award for Best Author
action filter_type
action find
entity Murray Schisgal
relation nominated for
type award
['Murray Schisgal', 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?m WHERE { resource:Murray_Schisgal property:nominated_for ?m . ?m rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1133276
P1346
Q4220917
USER
Where was Murray Schisgal decalred as a champion ?
(c(Q4220917),P1346,Q1133276)
action filter_type
action find_reverse
entity Q1133276
relation P1346
type Q4220917
[{'concept': 'Q4220917'}, 'P1346', 'Q1133276']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q1133276 . ?w rdf:type ontology:Q4220917 }
Murray Schisgal
action filter_type
action find_reverse
entity Murray Schisgal
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Murray Schisgal']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Murray_Schisgal . ?w rdf:type ontology:film_award }
[]
film award
Q6978541
SYSTEM
National Society of Film Critics Award for Best Screenplay
Q6978541
(c(Q4220917),P1346,Q1133276)
action filter_type
action find_reverse
entity Q1133276
relation P1346
type Q4220917
Murray Schisgal was decalred the [ANSWER] as a champion
[{'concept': 'Q4220917'}, 'P1346', 'Q1133276']
SELECT DISTINCT ?w WHERE { ?w property:P1346 resource:Q1133276 . ?w rdf:type ontology:Q4220917 }
National Society of Film Critics Award for Best Screenplay
Murray Schisgal was decalred the National Society of Film Critics Award for Best Screenplay as a champion
National Society of Film Critics Award for Best Screenplay
action filter_type
action find_reverse
entity Murray Schisgal
relation winner
type film award
[{'concept': 'film award'}, 'winner', 'Murray Schisgal']
SELECT DISTINCT ?w WHERE { ?w property:winner resource:Murray_Schisgal . ?w rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1133276
P162
Q15416
USER
Which television program has been produced by that person ?
(c(Q15416),P162,Q6978541)
action filter_type
action find_reverse
entity Q1133276
relation P162
type Q15416
[{'concept': 'Q15416'}, 'P162', 'Q6978541']
SELECT DISTINCT ?y WHERE { ?y property:P162 resource:Q1133276 . ?y rdf:type ontology:Q15416 }
Murray Schisgal
action filter_type
action find_reverse
entity Murray Schisgal
relation producer
type television program
[{'concept': 'television program'}, 'producer', 'National Society of Film Critics Award for Best Screenplay']
SELECT DISTINCT ?y WHERE { ?y property:producer resource:Murray_Schisgal . ?y rdf:type ontology:television_program }
[]
television program
Q1521349
SYSTEM
The Devil's Arithmetic
Q1521349
(c(Q15416),P162,Q6978541)
action filter_type
action find_reverse
entity Q1133276
relation P162
type Q15416
[ANSWER] has been produced by that person
[{'concept': 'Q15416'}, 'P162', 'Q6978541']
SELECT DISTINCT ?y WHERE { ?y property:P162 resource:Q1133276 . ?y rdf:type ontology:Q15416 }
The Devil's Arithmetic
The Devil's Arithmetic has been produced by that person
The Devil's Arithmetic
action filter_type
action find_reverse
entity Murray Schisgal
relation producer
type television program
[{'concept': 'television program'}, 'producer', 'National Society of Film Critics Award for Best Screenplay']
SELECT DISTINCT ?y WHERE { ?y property:producer resource:Murray_Schisgal . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6978541 Q2735325
P1346
Q502895
USER
How many people won National Society of Film Critics Award for Best Screenplay or 2009 Mutua Madrileña Madrid Open – Men's Singles ?
(Q6978541,P1346,c(Q502895)) (Q2735325,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q6978541
relation P1346
type Q502895
action filter_type
action find
entity Q2735325
relation P1346
type Q502895
['Q6978541', 'P1346', {'concept': 'Q502895'}] ['Q2735325', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q6978541 ) ( resource:Q2735325 ) } . ?l property:P1346 ?b }
National Society of Film Critics Award for Best Screenplay 2009 Mutua Madrileña Madrid Open – Men's Singles
action count
action union
action filter_type
action find
entity National Society of Film Critics Award for Best Screenplay
relation winner
type common name
action filter_type
action find
entity 2009 Mutua Madrileña Madrid Open – Men's Singles
relation winner
type common name
['National Society of Film Critics Award for Best Screenplay', 'winner', {'concept': 'common name'}] ["2009 Mutua Madrileña Madrid Open – Men's Singles", 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:National_Society_of_Film_Critics_Award_for_Best_Screenplay ) ( resource:2009_Mutua_Madrileña_Madrid_Open_–_Men's_Singles ) } . ?l property:winner ?b }
[]
common name
SYSTEM
63
Q524733 Q484615 Q1177114 Q1063846 Q459814 Q356303 Q1426 Q55277 Q270560 Q721922 Q512967 Q724586 Q968840 Q1872575 Q55422 Q299194 Q313566 Q312751 Q25186 Q1383657 Q223687 Q14071638 Q382604 Q912327 Q14071714 Q38222 Q3772 Q1133276 Q263486 Q4977733 Q706668 Q16015324 Q320556 Q334242 Q25089 Q95030 Q40035 Q133631 Q738037 Q13595531 Q709583 Q315756 Q13595311 Q3209551 Q557208 Q948122 Q1335583 Q442273 Q459349 Q230448 Q688336 Q336018 Q7546 Q110462 Q4982515 Q59085 Q51488 Q179555 Q1806065 Q325936 Q704433 Q2141036 Q50764
(Q6978541,P1346,c(Q502895)) (Q2735325,P1346,c(Q502895))
action count
action union
action filter_type
action find
entity Q6978541
relation P1346
type Q502895
action filter_type
action find
entity Q2735325
relation P1346
type Q502895
[ANSWER]
['Q6978541', 'P1346', {'concept': 'Q502895'}] ['Q2735325', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:Q6978541 ) ( resource:Q2735325 ) } . ?l property:P1346 ?b }
Tamara Jenkins Ethan Hawke David Peoples Charles Burnett Marshall Brickman Albert Brooks Roger Federer John Boorman Paul Mazursky Robert Towne Monica Johnson Bo Goldman Kenneth Lonergan Lowell Ganz David Cronenberg Aaron Sorkin Alexander Payne Charlie Kaufman Gus Van Sant Willard Huyck Wes Anderson Shari Springer Berman John Berger Brian Helgeland Robert Pulcini George Lucas Quentin Tarantino Murray Schisgal Curtis Hanson Bruce Jay Friedman Ronald Harwood Larry Tucker John Guare Asghar Farhadi Woody Allen Warren Beatty Richard Linklater Gloria Katz Bill Forsyth Ethan Coen Steve Tesich Mike Leigh Joel Coen Penelope Gilliatt Scott Frank Peter Morgan Jim Taylor Amy Heckerling Noah Baumbach Jane Campion Alain Tanner Julian Fellowes Ingmar Bergman Julie Delpy David Newman Robert Benton John Cassavetes Babaloo Mandel Larry Gelbart Hanif Kureishi Tony Kushner Ron Shelton Éric Rohmer
63
action count
action union
action filter_type
action find
entity National Society of Film Critics Award for Best Screenplay
relation winner
type common name
action filter_type
action find
entity 2009 Mutua Madrileña Madrid Open – Men's Singles
relation winner
type common name
['National Society of Film Critics Award for Best Screenplay', 'winner', {'concept': 'common name'}] ["2009 Mutua Madrileña Madrid Open – Men's Singles", 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) WHERE { VALUES ( ?l ) { ( resource:National_Society_of_Film_Critics_Award_for_Best_Screenplay ) ( resource:2009_Mutua_Madrileña_Madrid_Open_–_Men's_Singles ) } . ?l property:winner ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7821794
P166
Q502895
USER
Which people received the award titled Tony Award for Best Author ?
(c(Q502895),P166,Q7821794)
action filter_type
action find_reverse
entity Q7821794
relation P166
type Q502895
[{'concept': 'Q502895'}, 'P166', 'Q7821794']
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q7821794 . ?f rdf:type ontology:Q502895 }
Tony Award for Best Author
action filter_type
action find_reverse
entity Tony Award for Best Author
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Tony Award for Best Author']
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Tony_Award_for_Best_Author . ?f rdf:type ontology:common_name }
[]
common name
Q315808 Q80596 Q505141
SYSTEM
Neil Simon, Arthur Miller, Joshua Logan
Q8021529 Q6115708 Q2136301 Q3990638 Q80596 Q505141 Q1361175 Q6834631 Q975772 Q318138 Q1806065 Q11844072 Q315808
(c(Q502895),P166,Q7821794)
action filter_type
action find_reverse
entity Q7821794
relation P166
type Q502895
[ANSWERS] received the award titled Tony Award for Best Author
[{'concept': 'Q502895'}, 'P166', 'Q7821794']
SELECT DISTINCT ?f WHERE { ?f property:P166 resource:Q7821794 . ?f rdf:type ontology:Q502895 }
Willie Gilbert Jack Weinstock Burt Shevelove Thomas Heggen Arthur Miller Joshua Logan Joseph Stein Michael Stewart Samuel Spewack Abe Burrows Larry Gelbart Bella Spewack Neil Simon
Neil Simon, Arthur Miller and Joshua Logan received the award titled Tony Award for Best Author
Neil Simon Arthur Miller Joshua Logan
action filter_type
action find_reverse
entity Tony Award for Best Author
relation award received
type common name
[{'concept': 'common name'}, 'award received', 'Tony Award for Best Author']
SELECT DISTINCT ?f WHERE { ?f property:award_received resource:Tony_Award_for_Best_Author . ?f rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q505141
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q505141,P27,c(Q15617994))
action filter_type
action find
entity Q505141
relation P27
type Q15617994
['Q505141', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q505141 property:P27 ?i }
Joshua Logan
action filter_type
action find
entity Joshua Logan
relation country of citizenship
type designation for an administrative territorial entity
['Joshua Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joshua_Logan property:country_of_citizenship ?i }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q80596
SYSTEM
Did you mean Arthur Miller ?
Q315808 Q80596 Q505141
(Q315808,P27,c(Q15617994)) (Q80596,P27,c(Q15617994)) (Q505141,P27,c(Q15617994))
[ANSWER]
['Q315808', 'P27', {'concept': 'Q15617994'}] ['Q80596', 'P27', {'concept': 'Q15617994'}] ['Q505141', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q505141 property:P27 ?i }
Neil Simon Arthur Miller Joshua Logan
Did you mean Arthur Miller ?
Arthur Miller
['Neil Simon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Arthur Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Joshua Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joshua_Logan property:country_of_citizenship ?i }
[]
Simple Question (Coreferenced)
USER
No, I meant Joshua Logan. Could you tell me the answer for that?
(Q505141,P27,c(Q15617994))
Q505141
['Q505141', 'P27', {'concept': 'Q15617994'}]
['Joshua Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
[]
Q30
SYSTEM
United States of America
Q30
(Q505141,P27,c(Q15617994))
action filter_type
action find
entity Q505141
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q505141', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q15617994 . resource:Q505141 property:P27 ?i }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Joshua Logan
relation country of citizenship
type designation for an administrative territorial entity
['Joshua Logan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Joshua_Logan property:country_of_citizenship ?i }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q35171
P6
Q502895
USER
Is Grover Cleveland the head of the government of that administrative territory ?
(Q30,P6,Q35171)
action is_in
entity Q35171
action find
entity Q30
relation P6
['Q30', 'P6', 'Q35171']
ASK WHERE { resource:Q30 property:P6 resource:Q35171 }
United States of America Grover Cleveland
action is_in
entity Grover Cleveland
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Grover Cleveland']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Grover_Cleveland }
[]
common name
SYSTEM
YES
(Q30,P6,Q35171)
action is_in
entity Q35171
action find
entity Q30
relation P6
[ANSWER]
['Q30', 'P6', 'Q35171']
ASK WHERE { resource:Q30 property:P6 resource:Q35171 }
Yes
action is_in
entity Grover Cleveland
action find
entity United States of America
relation head of government
['United States of America', 'head of government', 'Grover Cleveland']
ASK WHERE { resource:United_States_of_America property:head_of_government resource:Grover_Cleveland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P47
Q15617994 Q7275
USER
How many administrative territories and states share border with United States of America ?
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q7275
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { resource:Q30 property:P47 ?z . ?z rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?z . ?z rdf:type ontology:Q7275 } }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type state
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { resource:United_States_of_America property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?z . ?z rdf:type ontology:state } }
[]
designation for an administrative territorial entity state
SYSTEM
12 administrative territories and 1 states
Q248452 Q702 Q804 Q159 Q96 Q17 Q786 Q241 Q683 Q710 Q678 Q717 Q790
(Q30,P47,c(Q15617994)) (Q30,P47,c(Q7275))
action count
action union
action filter_type
action find
entity Q30
relation P47
type Q15617994
action filter_type
action find
entity Q30
relation P47
type Q7275
[ANSWER]
['Q30', 'P47', {'concept': 'Q15617994'}] ['Q30', 'P47', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { resource:Q30 property:P47 ?z . ?z rdf:type ontology:Q15617994 } UNION { resource:Q30 property:P47 ?z . ?z rdf:type ontology:Q7275 } }
British North America Federated States of Micronesia Panama Russia Mexico Japan Dominican Republic Cuba Samoa Kiribati Tonga Venezuela Haiti
12 administrative territories and 1 states
action count
action union
action filter_type
action find
entity United States of America
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity United States of America
relation shares border with
type state
['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['United States of America', 'shares border with', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?u ) WHERE { { resource:United_States_of_America property:shares_border_with ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:United_States_of_America property:shares_border_with ?z . ?z rdf:type ontology:state } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q574
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with less number of administrative territories than East Timor ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?r property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { resource:Q574 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?t ) }
East Timor
action count
action less
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 East Timor
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 ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?r property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { resource:East_Timor property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?t ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q574
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?r property:P530 ?h . ?h rdf:type ontology:Q15617994 . ?r rdf:type ontology:Q15617994 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { resource:Q574 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?o < ?t ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
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 East Timor
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 ( ?r ) AS ?d ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?h ) AS ?o ) WHERE { ?r property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { resource:East_Timor property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?o < ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q33
P530
Q15617994 Q15617994
USER
And also tell me about Finland?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?w ) WHERE { ?z property:P530 ?x . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?g } } . FILTER ( ?w < ?j ) }
Finland
action count
action less
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 Finland
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 ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?w ) WHERE { ?z property:diplomatic_relation ?x . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?g } } . FILTER ( ?w < ?j ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
52
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q33
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?w ) WHERE { ?z property:P530 ?x . ?z rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q15617994 . resource:Q33 property:P530 ?g } } . FILTER ( ?w < ?j ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
52
action count
action less
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 Finland
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 ( ?z ) AS ?a ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?w ) WHERE { ?z property:diplomatic_relation ?x . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Finland property:diplomatic_relation ?g } } . FILTER ( ?w < ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with atmost 117 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 117
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?j ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j <= 117 ) }
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 117
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?j ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j <= 117 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
12
Q1000 Q40 Q781 Q778 Q408 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action count
action atmost
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 117
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?j ) WHERE { ?h property:P530 ?p . ?h rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?h } . FILTER ( ?j <= 117 ) }
Gabon Austria Antigua and Barbuda The Bahamas Australia Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
12
action count
action atmost
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 117
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?p ) AS ?j ) WHERE { ?h property:diplomatic_relation ?p . ?h rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j <= 117 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with min number of administrative territories ?
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { ?e property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { ?e property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } } }
[]
political territorial entity designation for an administrative territorial entity
Q685 Q691
SYSTEM
Solomon Islands, Papua New Guinea
Q685 Q691
(c(Q15617994),P530,Q766)
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] have diplomatic relations with min number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q766']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:P530 ?p . ?q rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?q } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { ?e property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } } }
Solomon Islands Papua New Guinea
Solomon Islands and Papua New Guinea have diplomatic relations with min number of administrative territories
Solomon Islands Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Jamaica']
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?l ) WHERE { ?q property:diplomatic_relation ?p . ?q rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?l = ?u ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?u ) { SELECT DISTINCT ?e ( COUNT ( ?n ) AS ?d ) WHERE { ?e property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P27
Q502895
USER
How many people are a citizen of that political territory ?
(c(Q502895),P27,Q685)
[{'concept': 'Q502895'}, 'P27', 'Q685']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q148966 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'country of citizenship', 'Solomon Islands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Solomon_Islands . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q691
SYSTEM
Did you mean Papua New Guinea ?
(c(Q502895),P27,Q685) (c(Q502895),P27,Q691)
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q685'] [{'concept': 'Q502895'}, 'P27', 'Q691']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q148966 . ?z rdf:type ontology:Q502895 }
Did you mean Papua New Guinea ?
Papua New Guinea
[{'concept': 'common name'}, 'country of citizenship', 'Solomon Islands'] [{'concept': 'common name'}, 'country of citizenship', 'Papua New Guinea']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Solomon_Islands . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Solomon Islands. Could you tell me the answer for that?
(c(Q502895),P27,Q685)
Q685
[{'concept': 'Q502895'}, 'P27', 'Q685']
[{'concept': 'common name'}, 'country of citizenship', 'Solomon Islands']
[]
SYSTEM
112
Q798849 Q7177338 Q1747270 Q1677195 Q5240276 Q2107096 Q5907754 Q1508312 Q16581806 Q5868965 Q16606830 Q20714563 Q2888326 Q425785 Q12270000 Q1115543 Q654672 Q3785705 Q5954114 Q124376 Q6354997 Q20714315 Q5343556 Q20022427 Q6175755 Q11728470 Q5925830 Q16234716 Q536063 Q11715781 Q718204 Q7839359 Q18637358 Q4893163 Q154696 Q6206696 Q939825 Q10281034 Q922547 Q5131352 Q6768346 Q6530656 Q7530250 Q5239838 Q6734221 Q16938925 Q3752624 Q12270049 Q16195943 Q7613104 Q6177682 Q4954443 Q3805674 Q7448942 Q19975577 Q6179366 Q7172912 Q21063100 Q454727 Q561575 Q16213317 Q929600 Q4546785 Q5217072 Q6273102 Q7937794 Q810883 Q5233653 Q6747030 Q20090902 Q746433 Q204321 Q26704911 Q3157578 Q7412100 Q16588782 Q809332 Q19975845 Q1380230 Q58229 Q969479 Q5108389 Q704017 Q16195831 Q6860185 Q7456493 Q3360339 Q1290417 Q1370998 Q466573 Q4118133 Q16185425 Q7915752 Q9295534 Q9012347 Q6159299 Q6990664 Q379730 Q5541870 Q1200340 Q2879523 Q5516790 Q4821217 Q6791373 Q20195238 Q1369678 Q6288530 Q12269948 Q1404719 Q20090251 Q5238339 Q16235886
(c(Q502895),P27,Q685)
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q685']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P27 resource:Q148966 . ?z rdf:type ontology:Q502895 }
Baddeley Devesi Peter Tom Moses Pitakaka Jack Samani David Taro Tony Lomo Ian Paia George Suri Nester Geniwala'a Freddie Kini Micah Lea'alafa Charlie Oliver Samson Takayama Peter Kenilorea George Solingi Lilo Commins Menapi Allan Kemakeza Himson Teleda Judd Molea George Lepping Nelson Sale Kilifa Johnson Kere Edward Huni'ehu Tony Analau Jeffery Bule Joseph Onika James Naka Samson Koti Manasseh Sogavare Jacob Moli Frank Kabui Trevor Olavae Michael Fifi'i Bernard Ghiro Benjamin Totori Job Tausinga Gordon Darcy Lilo Felix Rey Gideon Omokirio Clement Kengava Mark Kemakeza Leslie Boseto Siriako Usa David Sitai Mahlon Houkarawa George Ladoga Fred Hale Anthony Veke Laurie Chan Steve Laore Jenly Tegu Wini Braddley Tovosia Jack Wetney Selwyn Riumana Leslie Ata Jenny Keni Peter Boyers John Maeke Pauline Kwalea Danny Philip Patrick Vahoe Tome Faisi Aleksey Zhuk Daniel Enele Kwanairara Jonathan Fiifii'i Vivian Wickham Batram Suri David Firisua Manasseh Maelanga Primo Higa Seni Ngava Wendy Hale Rosefelo Siosi Jacob Pekau Samuel Manetoali Johnley Hatimoana Bartholomew Ulufa'alu Benjamin Fafale Solomon Mamaloni William Haomae John Lapli Chris Walasi Nathaniel Waena Isaac Inoke Tosika Milna Tozaka Seth Gukuna Francis Manioru Henry Fa'arodo Snyder Rini Steve Abana Alick Maemae Johnson Koli Varian Lonamei Hypolite Taremae Joe Luwi Japhet Waipora Nelson Ne'e Derek Sikua George Lui Derrick Tenai Shadrack Ramoni Gagame Feni Augustine Taneko Matthew Wale Selwyn Kole Francis Billy Hilly Joses Nawo George Tuhaika Stanley Waita Tommy Bauro David Pacha Tutizama Tanito
112
[{'concept': 'common name'}, 'country of citizenship', 'Solomon Islands']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:country_of_citizenship resource:Solomon_Islands . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which administrative territories have tactful political relations with atleast 1 political territory ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?y property:P530 ?g . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?n >= 1 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?y property:diplomatic_relation ?g . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?n >= 1 ) }
[]
political territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q702 Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q184 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 Q114 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 Q953
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
value 1
[ANSWERS] have tactful political relations with atleast 1 political territory
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?y property:P530 ?g . ?y rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?y } . FILTER ( ?n >= 1 ) }
Federated States of Micronesia Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Belarus 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 Kenya 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 Zambia
Italy, Brazil and United States of America have tactful political relations with atleast 1 political territory
Italy Brazil United States of America
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?g ) AS ?n ) WHERE { ?y property:diplomatic_relation ?g . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?y } . FILTER ( ?n >= 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Do Georgia have ambassadorial relations with those ones ?
(Q230,P530,Q38) (Q230,P530,Q155) (Q230,P530,Q30)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q38'] ['Q230', 'P530', 'Q155'] ['Q230', 'P530', 'Q30']
ASK WHERE { resource:Q230 property:P530 ?c . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Italy'] ['Georgia', 'diplomatic relation', 'Brazil'] ['Georgia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Georgia property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q38) (Q230,P530,Q155) (Q230,P530,Q30)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q38'] ['Q230', 'P530', 'Q155'] ['Q230', 'P530', 'Q30']
ASK WHERE { resource:Q230 property:P530 ?c . VALUES ( ?c ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q801 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Italy'] ['Georgia', 'diplomatic relation', 'Brazil'] ['Georgia', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Georgia property:diplomatic_relation ?c . VALUES ( ?c ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Israel ) } }
[]