Simple Question (Direct)
Simple Question
Q1680721
P937
Q56061
USER
Where did James Lorimer work ?
(Q1680721,P937,c(Q56061))
action filter_type
action find
entity Q1680721
relation P937
type Q56061
['Q1680721', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1680721 property:P937 ?r . ?r rdf:type ontology:Q56061 }
James Lorimer
action filter_type
action find
entity James Lorimer
relation work location
type administrative territorial entity
['James Lorimer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:James_Lorimer property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q23436
SYSTEM
Edinburgh
Q23436
(Q1680721,P937,c(Q56061))
action filter_type
action find
entity Q1680721
relation P937
type Q56061
James Lorimer worked in [ANSWER]
['Q1680721', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q1680721 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Edinburgh
James Lorimer worked in Edinburgh
Edinburgh
action filter_type
action find
entity James Lorimer
relation work location
type administrative territorial entity
['James Lorimer', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:James_Lorimer property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1680721
P463
Q48204
USER
What was James Lorimer a member of ?
(Q1680721,P463,c(Q48204))
action filter_type
action find
entity Q1680721
relation P463
type Q48204
['Q1680721', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?y WHERE { resource:Q1680721 property:P463 ?y . ?y rdf:type ontology:Q48204 }
James Lorimer
action filter_type
action find
entity James Lorimer
relation member of
type voluntary association
['James Lorimer', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?y WHERE { resource:James_Lorimer property:member_of ?y . ?y rdf:type ontology:voluntary_association }
[]
voluntary association
Q115095
SYSTEM
Institut de Droit International
Q115095
(Q1680721,P463,c(Q48204))
action filter_type
action find
entity Q1680721
relation P463
type Q48204
James Lorimer a member of was the [ANSWER]
['Q1680721', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?y WHERE { resource:Q1680721 property:P463 ?y . ?y rdf:type ontology:Q48204 }
Institut de Droit International
James Lorimer a member of was the Institut de Droit International
Institut de Droit International
action filter_type
action find
entity James Lorimer
relation member of
type voluntary association
['James Lorimer', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?y WHERE { resource:James_Lorimer property:member_of ?y . ?y rdf:type ontology:voluntary_association }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q1680721
Q874405
USER
And which social group?
(Q1680721,P463,c(Q874405))
action filter_type
action find
entity Q1680721
relation P463
type Q874405
['Q1680721', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q1680721 property:P463 ?w . ?w rdf:type ontology:Q874405 }
James Lorimer
action filter_type
action find
entity James Lorimer
relation member of
type social group
['James Lorimer', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:James_Lorimer property:member_of ?w . ?w rdf:type ontology:social_group }
[]
social group
Q5428890
SYSTEM
Faculty of Advocates
Q5428890
(Q1680721,P463,c(Q874405))
action filter_type
action find
entity Q1680721
relation P463
type Q874405
[ANSWER]
['Q1680721', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?w WHERE { resource:Q1680721 property:P463 ?w . ?w rdf:type ontology:Q874405 }
Faculty of Advocates
Faculty of Advocates
action filter_type
action find
entity James Lorimer
relation member of
type social group
['James Lorimer', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?w WHERE { resource:James_Lorimer property:member_of ?w . ?w rdf:type ontology:social_group }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q5428890 Q668174 Q145
P17
Q15617994
USER
Is that social group located in Blesewitz and United Kingdom ?
(Q5428890,P17,Q668174) (Q5428890,P17,Q145)
action is_in
entity Q5428890
action intersection
action find_reverse
entity Q668174
relation P17
action find_reverse
entity Q145
relation P17
['Q5428890', 'P17', 'Q668174'] ['Q5428890', 'P17', 'Q145']
ASK WHERE { resource:Q5428890 property:P17 resource:Q668174 . resource:Q5428890 property:P17 resource:Q145 }
Faculty of Advocates Blesewitz United Kingdom
action is_in
entity Faculty of Advocates
action intersection
action find_reverse
entity Blesewitz
relation country
action find_reverse
entity United Kingdom
relation country
['Faculty of Advocates', 'country', 'Blesewitz'] ['Faculty of Advocates', 'country', 'United Kingdom']
ASK WHERE { resource:Faculty_of_Advocates property:country resource:Blesewitz . resource:Faculty_of_Advocates property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5428890,P17,Q668174) (Q5428890,P17,Q145)
action is_in
entity Q5428890
action intersection
action find_reverse
entity Q668174
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q5428890', 'P17', 'Q668174'] ['Q5428890', 'P17', 'Q145']
ASK WHERE { resource:Q5428890 property:P17 resource:Q668174 . resource:Q5428890 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Faculty of Advocates
action intersection
action find_reverse
entity Blesewitz
relation country
action find_reverse
entity United Kingdom
relation country
['Faculty of Advocates', 'country', 'Blesewitz'] ['Faculty of Advocates', 'country', 'United Kingdom']
ASK WHERE { resource:Faculty_of_Advocates property:country resource:Blesewitz . resource:Faculty_of_Advocates property:country resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q115095 Q572182 Q4951140
P17
Q15617994
USER
Is Institut de Droit International located in Gottfrieding and Bowling Green ?
(Q115095,P17,Q572182) (Q115095,P17,Q4951140)
action is_in
entity Q115095
action intersection
action find_reverse
entity Q572182
relation P17
action find_reverse
entity Q4951140
relation P17
['Q115095', 'P17', 'Q572182'] ['Q115095', 'P17', 'Q4951140']
ASK WHERE { resource:Q115095 property:P17 resource:Q572182 . resource:Q115095 property:P17 resource:Q4951140 }
Institut de Droit International Gottfrieding Bowling Green
action is_in
entity Institut de Droit International
action intersection
action find_reverse
entity Gottfrieding
relation country
action find_reverse
entity Bowling Green
relation country
['Institut de Droit International', 'country', 'Gottfrieding'] ['Institut de Droit International', 'country', 'Bowling Green']
ASK WHERE { resource:Institut_de_Droit_International property:country resource:Gottfrieding . resource:Institut_de_Droit_International property:country resource:Bowling_Green }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q115095,P17,Q572182) (Q115095,P17,Q4951140)
action is_in
entity Q115095
action intersection
action find_reverse
entity Q572182
relation P17
action find_reverse
entity Q4951140
relation P17
[ANSWER]
['Q115095', 'P17', 'Q572182'] ['Q115095', 'P17', 'Q4951140']
ASK WHERE { resource:Q115095 property:P17 resource:Q572182 . resource:Q115095 property:P17 resource:Q4951140 }
No
action is_in
entity Institut de Droit International
action intersection
action find_reverse
entity Gottfrieding
relation country
action find_reverse
entity Bowling Green
relation country
['Institut de Droit International', 'country', 'Gottfrieding'] ['Institut de Droit International', 'country', 'Bowling Green']
ASK WHERE { resource:Institut_de_Droit_International property:country resource:Gottfrieding . resource:Institut_de_Droit_International property:country resource:Bowling_Green }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q115095
P463
Q502895
USER
How many people have a membership of Institut de Droit International ?
(c(Q502895),P463,Q115095)
action count
action filter_type
action find_reverse
entity Q115095
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q115095']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P463 resource:Q115095 . ?n rdf:type ontology:Q502895 }
Institut de Droit International
action count
action filter_type
action find_reverse
entity Institut de Droit International
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Institut de Droit International']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:member_of resource:Institut_de_Droit_International . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
144
Q736172 Q202049 Q1871716 Q122496 Q2425945 Q352906 Q2640217 Q1210648 Q1453136 Q87212 Q834062 Q286125 Q317570 Q113042 Q764975 Q872220 Q477345 Q1752381 Q5422556 Q382744 Q832917 Q1412739 Q216872 Q1302890 Q499326 Q1890532 Q1336804 Q1680721 Q933519 Q74426 Q1297081 Q1710185 Q1185554 Q441933 Q1226953 Q672261 Q1353983 Q2150437 Q2421923 Q124094 Q270874 Q2033928 Q346498 Q2536734 Q1381744 Q178315 Q523355 Q317864 Q1393285 Q614535 Q350911 Q305410 Q769588 Q18221489 Q1809152 Q94177 Q639379 Q688937 Q2086256 Q1292988 Q1639316 Q6130367 Q2587338 Q18220399 Q1479415 Q1680223 Q714406 Q1111955 Q15446120 Q991547 Q1398008 Q103078 Q1699852 Q436585 Q601378 Q1730744 Q124535 Q124972 Q1537405 Q1398046 Q1396351 Q1789298 Q368368 Q827448 Q317113 Q1257683 Q255950 Q701990 Q523815 Q1387011 Q338983 Q1604797 Q2014050 Q2063335 Q16918000 Q746417 Q777588 Q112902 Q1509871 Q1402971 Q432850 Q173897 Q537519 Q1287604 Q481458 Q1379033 Q1453263 Q352619 Q94642 Q722776 Q1581050 Q2061715 Q1468371 Q528855 Q1442058 Q283020 Q2165757 Q5546741 Q64440 Q1239148 Q947701 Q230814 Q932787 Q1525457 Q425592 Q519262 Q1314430 Q611793 Q167345 Q1605841 Q113316 Q1684487 Q1511690 Q1491018 Q2623058 Q1930927 Q1299844 Q1463198 Q317257 Q572442 Q1240282 Q2777730 Q1224008 Q431572
(c(Q502895),P463,Q115095)
action count
action filter_type
action find_reverse
entity Q115095
relation P463
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P463', 'Q115095']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:P463 resource:Q115095 . ?n rdf:type ontology:Q502895 }
Sture Petrén Auguste Beernaert Louis Henkin Daniel Thürer Thomas Franck David Dudley Field II Albéric Rolin Didrik Nyholm Frederik Valdemar Nikolai Beichmann Michał Jan Rostworowski Jean Spiropoulos Émile Louis Victor de Laveleye Abdullah Erian Alfred Verdross August von Bulmerincq Charles de Visscher Giorgio Balladore Pallieri Alfred E. von Overbeck Eyal Benvenisti Édouard Descamps Henri Rolin Karl Zemanek Tobias Asser Mohamed Shahabuddeen Andreas Lowenfeld Manley Ottmer Hudson Emil Sandström James Lorimer Jules Basdevant Heinrich Triepel Hsu Mo Park Choon-ho Demetru Negulescu Kōtarō Tanaka Dionisio Anzilotti Georges Scelle Erik Jayme Richard Reeve Baxter Thomas Aboagye Mensah Johann Caspar Bluntschli Åke Hammarskjöld Carlos Calvo Mineichirō Adachi William Michael Reisman Pasquale Stanislao Mancini Emilio Brusa André Weiss Abdulqawi Yusuf Max Gutzwiller Suzanne Bastid Ian Brownlie Shabtai Rosenne Augusto Pierantoni Herbert W. Briggs Lawrence Collins, Baron Collins of Mapesbury Louis B. Sohn José Sette Câmara Filho Manfred Lachs Philip Jessup Ted McWhinney Ni Zhengyu James Brown Scott Wladimir Pawlowitsch Besobrasow William Warner Bishop jr. Rudolf Bernhardt James Crawford Gustave Rolin-Jaequemyns George Grafton Wilson Lori Fisler Damrosch Kenneth Keith Jerzy Makarczyk Hans Wehberg John Dugard Antonio Sánchez de Bustamante y Sirven Antonio Cassese Karl Doehring Gustave Moynier Walter Rudolf Gonzalo Parra-Aranguren Mohammed Bedjaoui Luigi Ferrari Bravo Sergei Borisovitch Krylov Bernard Loder Bernard Victor Aloysius Röling Abdul Koroma Santiago Torres Bernárdez François Rigaux Hisashi Owada Andrés Aguilar Mawdsley Ignaz Seidl-Hohenveldern Ricardo Joaquín Alfaro Jované Max Sørensen Yorozu Oda Paul De Visscher James Leslie Brierly Nagendra Singh Robert Yewdall Jennings Josef Laurenz Kunz Gerald Fitzmaurice Wilhelm Wengler Shigeru Oda John Bassett Moore Friedrich Martens Édouard Rolin-Jacquemyns Bohdan Winiarski Oscar Schachter Richard Kleen Fernand de Visscher Felix Störk Philippe Kirsch Hans Lewald Paul Louis Ernest Pradier-Fodéré Fritz Schwind Taslim Olawale Elias Francisco José Urrutia Olano Daniel Patrick O'Connell Ronald St. John Macdonald Georges Abi-Saab Friedrich August Freiherr von der Heydte Martti Koskenniemi René-Jean Dupuy Louis Renault Roberto Ago Giorgio Gaja Rafael Altamira y Crevea André Gros John Westlake Antônio Augusto Cançado Trindade Jens Evensen Henri Fromageot Hersch Lauterpacht Leopold Neumann Gerhard Hafner Gaetano Morelli Alejandro Álvarez Michel Virally Alphonse Rivier Prosper Weil Abdel Hamid Badawi Ernest Nys Francis Wharton Walter Ganshof van der Meersch Dietrich Schindler junior Alain Pellet
144
action count
action filter_type
action find_reverse
entity Institut de Droit International
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Institut de Droit International']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n property:member_of resource:Institut_de_Droit_International . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9336 Q5428890
P47 P17
Q15617994
USER
Which administrative territories are Faculty of Advocates present in or have a shared border with Druento ?
OR((Q5428890,P17,c(Q15617994)), (Q9336,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5428890
relation P17
action find
entity Q9336
relation P47
type Q15617994
{'OR': [['Q5428890', 'P17', {'concept': 'Q15617994'}], ['Q9336', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q9336 property:P47 ?g } UNION { resource:Q5428890 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
Druento Faculty of Advocates
action filter_type
action union
action find
entity Faculty of Advocates
relation country
action find
entity Druento
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Faculty of Advocates', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Druento', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Druento property:shares_border_with ?g } UNION { resource:Faculty_of_Advocates property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10265 Q9356 Q145 Q9311 Q9569 Q9411 Q10232 Q10339
SYSTEM
San Gillio, Fiano, United Kingdom, Collegno, Pianezza, La Cassa, Robassomero, Venaria Reale
Q10265 Q9356 Q145 Q9311 Q9569 Q9411 Q10232 Q10339
OR((Q5428890,P17,c(Q15617994)), (Q9336,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q5428890
relation P17
action find
entity Q9336
relation P47
type Q15617994
Faculty of Advocates are have in [ANSWERS] in
{'OR': [['Q5428890', 'P17', {'concept': 'Q15617994'}], ['Q9336', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q9336 property:P47 ?g } UNION { resource:Q5428890 property:P17 ?g } } . ?g rdf:type ontology:Q15617994 }
San Gillio Fiano United Kingdom Collegno Pianezza La Cassa Robassomero Venaria Reale
Faculty of Advocates are have in San Gillio, Fiano, United Kingdom, Collegno, Pianezza, La Cassa, Robassomero and Venaria Reale in
San Gillio Fiano United Kingdom Collegno Pianezza La Cassa Robassomero Venaria Reale
action filter_type
action union
action find
entity Faculty of Advocates
relation country
action find
entity Druento
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Faculty of Advocates', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Druento', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Druento property:shares_border_with ?g } UNION { resource:Faculty_of_Advocates property:country ?g } } . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q21885723 Q668174
P17
Q1048835
USER
Which political territories are Blesewitz or Snake Creek present in ?
OR((Q668174,P17,c(Q1048835)), (Q21885723,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q668174
relation P17
action find
entity Q21885723
relation P17
type Q1048835
{'OR': [['Q668174', 'P17', {'concept': 'Q1048835'}], ['Q21885723', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q668174 property:P17 ?k } UNION { resource:Q21885723 property:P17 ?k } } . ?k rdf:type ontology:Q1048835 }
Snake Creek Blesewitz
action filter_type
action union
action find
entity Blesewitz
relation country
action find
entity Snake Creek
relation country
type political territorial entity
{'OR': [['Blesewitz', 'country', {'concept': 'political territorial entity'}], ['Snake Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Blesewitz property:country ?k } UNION { resource:Snake_Creek property:country ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q668174,P17,c(Q1048835)), (Q21885723,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q668174
relation P17
action find
entity Q21885723
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q668174', 'P17', {'concept': 'Q1048835'}], ['Q21885723', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q668174 property:P17 ?k } UNION { resource:Q21885723 property:P17 ?k } } . ?k rdf:type ontology:Q1048835 }
Australia Germany
Which political territories are Blesewitz or Snake Creek present in
Australia Germany
action filter_type
action union
action find
entity Blesewitz
relation country
action find
entity Snake Creek
relation country
type political territorial entity
{'OR': [['Blesewitz', 'country', {'concept': 'political territorial entity'}], ['Snake Creek', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Blesewitz property:country ?k } UNION { resource:Snake_Creek property:country ?k } } . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have a diplomatic relationship with min number of political territories ?
(c(Q1048835),P530,Q953)
action argmin
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?x } } . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?h = ?j ) }
action argmin
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?h = ?j ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,Q953)
action argmin
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWERS] have a diplomatic relationship with min number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:P530 ?x . ?x rdf:type ontology:Q15617994 . ?u rdf:type ontology:Q1048835 } GROUP BY ?x } } . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:P530 ?b . ?b rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 } GROUP BY ?b } . FILTER ( ?h = ?j ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have a diplomatic relationship with min number of political territories
Yemen Syria Oman
action argmin
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( MIN ( ?t ) AS ?j ) { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?t ) WHERE { ?u property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?u rdf:type ontology:political_territorial_entity } GROUP BY ?x } } . { SELECT DISTINCT ?b ( COUNT ( ?g ) AS ?h ) WHERE { ?g property:diplomatic_relation ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity } GROUP BY ?b } . FILTER ( ?h = ?j ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the countries of origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q842
SYSTEM
Did you mean Oman ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Oman ?
Oman
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
No, I meant Syria. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q858
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
[ANSWERS] are the countries of origin of greater number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the countries of origin of greater number of releases than that administrative territory
Italy Brazil United States of America
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q47546
P530
Q15617994
USER
Do Ronco all'Adige have diplomatic relations with those ones ?
(Q47546,P530,Q38) (Q47546,P530,Q155) (Q47546,P530,Q30)
action is_in
entity prev_answer
action find
entity Q47546
relation P530
['Q47546', 'P530', 'Q38'] ['Q47546', 'P530', 'Q155'] ['Q47546', 'P530', 'Q30']
ASK WHERE { resource:Q47546 property:P530 ?x . VALUES ( ?x ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } }
Ronco all'Adige
action is_in
entity prev_answer
action find
entity Ronco all'Adige
relation diplomatic relation
["Ronco all'Adige", 'diplomatic relation', 'Italy'] ["Ronco all'Adige", 'diplomatic relation', 'Brazil'] ["Ronco all'Adige", 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Ronco_all'Adige property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q47546,P530,Q38) (Q47546,P530,Q155) (Q47546,P530,Q30)
action is_in
entity prev_answer
action find
entity Q47546
relation P530
[ANSWER]
['Q47546', 'P530', 'Q38'] ['Q47546', 'P530', 'Q155'] ['Q47546', 'P530', 'Q30']
ASK WHERE { resource:Q47546 property:P530 ?x . VALUES ( ?x ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } }
No
action is_in
entity prev_answer
action find
entity Ronco all'Adige
relation diplomatic relation
["Ronco all'Adige", 'diplomatic relation', 'Italy'] ["Ronco all'Adige", 'diplomatic relation', 'Brazil'] ["Ronco all'Adige", 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Ronco_all'Adige property:diplomatic_relation ?x . VALUES ( ?x ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } }
[]