Simple Question (Direct)
Simple Question
Q2448229
P641
Q31629
USER
Which type of sport did Eino Forsström participate in ?
(Q2448229,P641,c(Q31629))
action filter_type
action find
entity Q2448229
relation P641
type Q31629
['Q2448229', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q31629 . resource:Q2448229 property:P641 ?y }
Eino Forsström
action filter_type
action find
entity Eino Forsström
relation sport
type type of sport
['Eino Forsström', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_sport . resource:Eino_Forsström property:sport ?y }
[]
type of sport
Q326827
SYSTEM
artistic gymnastics
Q326827
(Q2448229,P641,c(Q31629))
action filter_type
action find
entity Q2448229
relation P641
type Q31629
Eino Forsström participated in [ANSWER]
['Q2448229', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q31629 . resource:Q2448229 property:P641 ?y }
artistic gymnastics
Eino Forsström participated in artistic gymnastics
artistic gymnastics
action filter_type
action find
entity Eino Forsström
relation sport
type type of sport
['Eino Forsström', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:type_of_sport . resource:Eino_Forsström property:sport ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2448229
P20
Q56061
USER
Where did Eino Forsström expire ?
(Q2448229,P20,c(Q56061))
action filter_type
action find
entity Q2448229
relation P20
type Q56061
['Q2448229', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2448229 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Eino Forsström
action filter_type
action find
entity Eino Forsström
relation place of death
type administrative territorial entity
['Eino Forsström', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Eino_Forsström property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q2448229,P20,c(Q56061))
action filter_type
action find
entity Q2448229
relation P20
type Q56061
Eino Forsström expired in [ANSWER]
['Q2448229', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q2448229 property:P20 ?o . ?o rdf:type ontology:Q56061 }
Helsinki
Eino Forsström expired in Helsinki
Helsinki
action filter_type
action find
entity Eino Forsström
relation place of death
type administrative territorial entity
['Eino Forsström', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Eino_Forsström property:place_of_death ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1757
P17
Q15617994
USER
Which administrative territories do that administrative territory belong to ?
(Q1757,P17,c(Q15617994))
action filter_type
action find
entity Q1757
relation P17
type Q15617994
['Q1757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1757 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Helsinki
action filter_type
action find
entity Helsinki
relation country
type designation for an administrative territorial entity
['Helsinki', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Helsinki property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q34
SYSTEM
Finland, Sweden
Q33 Q34
(Q1757,P17,c(Q15617994))
action filter_type
action find
entity Q1757
relation P17
type Q15617994
That administrative territory belong to [ANSWERS]
['Q1757', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q1757 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Finland Sweden
That administrative territory belong to Finland and Sweden
Finland Sweden
action filter_type
action find
entity Helsinki
relation country
type designation for an administrative territorial entity
['Helsinki', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Helsinki property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q963
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with approximately the same number of administrative territories as Botswana ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q963 property:P530 ?w } } . FILTER ( ?n = ?z ) }
Botswana
action approx
action find_reverse_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 Botswana
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Botswana property:diplomatic_relation ?w } } . FILTER ( ?n = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 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 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q963
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with approximately the same number of administrative territories as Botswana
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:P530 ?f . ?f rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:Q15617994 . resource:Q963 property:P530 ?w } } . FILTER ( ?n = ?z ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia, Netherlands and Poland have a diplomatic relationship with approximately the same number of administrative territories as Botswana
Georgia Netherlands Poland
action approx
action find_reverse_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 Botswana
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 ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?c ) AS ?n ) WHERE { ?c property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Botswana property:diplomatic_relation ?w } } . FILTER ( ?n = ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q686
P530
Q15617994 Q15617994
USER
And what about Vanuatu?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q686
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q686 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?i = ?g ) }
Vanuatu
action approx
action find_reverse_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 Vanuatu
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Vanuatu property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i = ?g ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230 Q55 Q36
SYSTEM
Georgia, Netherlands, Poland
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q262 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q657 Q258 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 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 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action approx
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q686
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:P530 ?n . ?n rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15617994 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Q686 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?i = ?g ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands Algeria Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Chad South Africa Portugal 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 Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein 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 Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Togo Tonga Spain New Caledonia Thailand Zambia
Georgia Netherlands Poland
action approx
action find_reverse_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 Vanuatu
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 ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?x ) AS ?i ) WHERE { ?x property:diplomatic_relation ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?g ) WHERE { resource:Vanuatu property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with approximately 40 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 40
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:P530 ?l . ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?h = 40 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:diplomatic_relation ?l . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?h = 40 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q184
SYSTEM
Belarus
Q184
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 40
[ANSWER] have ambassadorial relations with approximately 40 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:P530 ?l . ?d rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?h = 40 ) }
Belarus
Belarus have ambassadorial relations with approximately 40 administrative territories
Belarus
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 40
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?l ) AS ?h ) WHERE { ?d property:diplomatic_relation ?l . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?h = 40 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q271669 Q355304 Q15617994
USER
Which administrative territories are located in min number of landforms or watercourses ?
(c(Q15617994),P706,c(Q271669)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q355304
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g property:P706 ?t . ?g rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q271669 } UNION { ?g property:P706 ?t . ?g rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q355304 } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?k WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q271669 ) ( ontology:Q355304 ) } } GROUP BY ?k } . FILTER ( ?e = ?u ) }
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g property:located_on_terrain_feature ?t . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:landform } UNION { ?g property:located_on_terrain_feature ?t . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:watercourse } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?k WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:landform ) ( ontology:watercourse ) } } GROUP BY ?k } . FILTER ( ?e = ?u ) }
[]
landform watercourse designation for an administrative territorial entity
Q148 Q33 Q786
SYSTEM
People's Republic of China, Finland, Dominican Republic
Q695445 Q2712111 Q489215 Q525879 Q24846 Q267993 Q637400 Q632868 Q148 Q784 Q786 Q25129 Q7042 Q312335 Q525945 Q252320 Q3003231 Q505665 Q1462 Q15744129 Q521132 Q790 Q508054 Q1721440 Q555609 Q267005 Q1619957 Q204529 Q244 Q501683 Q582690 Q216422 Q33 Q633162 Q3146 Q520347 Q598754 Q252772 Q21074475 Q81306 Q1778088 Q3942 Q333149 Q494305 Q4770750 Q20836 Q20837 Q769680 Q502662 Q47821 Q503693 Q3038 Q3068 Q331886 Q25130 Q588957 Q25135 Q3218 Q112019 Q704288 Q25125 Q29931 Q754 Q507258 Q25082 Q558787 Q14892 Q180271 Q262684 Q628095 Q3923 Q27649869 Q3193 Q522992 Q15744111 Q23968 Q760 Q489865 Q518171 Q46870 Q72432 Q504134 Q625747 Q2585085 Q20754 Q153969 Q481758 Q55416 Q31640 Q376823
(c(Q15617994),P706,c(Q271669)|c(Q355304))
action argmin
action union
action find_tuple_counts
relation P706
type Q15617994
type Q271669
action find_tuple_counts
relation P706
type Q15617994
type Q355304
[ANSWERS] are located in min number of landforms or watercourses
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q271669'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g property:P706 ?t . ?g rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q271669 } UNION { ?g property:P706 ?t . ?g rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q355304 } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?k WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q271669 ) ( ontology:Q355304 ) } } GROUP BY ?k } . FILTER ( ?e = ?u ) }
Langen Zagori Oberhof Haundorf Juist Muhr am See Hohenwarte Sasbach People's Republic of China Dominica Dominican Republic Langeoog Amberg Spalt Pfofeld Pleinfeld Croisset Bergen Sardinia Oberscheuren Hilpoltstein Haiti Neu Wulmstorf Kaimig Magdala Moneglia Hippelsbach Zingst Barbados Rosengarten Neuenhagen bei Berlin Samsø Finland Drestedt Pellworm Röttenbach, Roth Undeloh Eichstätt Nenndorf Forbach Kochenbach Aschaffenburg Abstatt Kelheim Ansons Bay Hallig Hooge Fanø Bornholm Bad Salzungen Malcesine Riedenburg Helgoland Loire-Atlantique Absberg Spiekeroog Allersberg Wangerooge Insel Hiddensee Sirmione Duchy of Holstein Baltrum Langeneß Trinidad and Tobago Kipfenberg Borkum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Nürburg Bayreuth Teglkås Ostseebad Insel Poel Braunlage Niederscheuren Norderney Saint Lucia Isola delle Femmine Ellhofen Bardolino Procida Kirchlinteln Rangsdorf Wintersberg Gröde Lindau Pantelleria Chioggia Unterschwaningen Wenzendorf
People's Republic of China, Finland and Dominican Republic are located in min number of landforms or watercourses
People's Republic of China Finland Dominican Republic
action argmin
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type landform
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'landform'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?u ) { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?g WHERE { { ?g property:located_on_terrain_feature ?t . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:landform } UNION { ?g property:located_on_terrain_feature ?t . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:watercourse } } GROUP BY ?g } } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?e ) ?k WHERE { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:landform ) ( ontology:watercourse ) } } GROUP BY ?k } . FILTER ( ?e = ?u ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q12354580 Q2448229
P27
Q15617994
USER
Which administrative territories are Eino Forsström or Robert Gendre a civilian of ?
OR((Q2448229,P27,c(Q15617994)), (Q12354580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2448229
relation P27
action find
entity Q12354580
relation P27
type Q15617994
{'OR': [['Q2448229', 'P27', {'concept': 'Q15617994'}], ['Q12354580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2448229 property:P27 ?j } UNION { resource:Q12354580 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Robert Gendre Eino Forsström
action filter_type
action union
action find
entity Eino Forsström
relation country of citizenship
action find
entity Robert Gendre
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eino Forsström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Robert Gendre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Eino_Forsström property:country_of_citizenship ?j } UNION { resource:Robert_Gendre property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q142 Q29
SYSTEM
Finland, France, Spain
Q33 Q142 Q29
OR((Q2448229,P27,c(Q15617994)), (Q12354580,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q2448229
relation P27
action find
entity Q12354580
relation P27
type Q15617994
[ANSWERS] are Eino Forsström or Robert Gendre a civilian of
{'OR': [['Q2448229', 'P27', {'concept': 'Q15617994'}], ['Q12354580', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q2448229 property:P27 ?j } UNION { resource:Q12354580 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Finland France Spain
Finland, France and Spain are Eino Forsström or Robert Gendre a civilian of
Finland France Spain
action filter_type
action union
action find
entity Eino Forsström
relation country of citizenship
action find
entity Robert Gendre
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Eino Forsström', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Robert Gendre', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Eino_Forsström property:country_of_citizenship ?j } UNION { resource:Robert_Gendre property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1923231
P17
Q841509
USER
Are arranged marriage located in those administrative territories ?
(Q1923231,P17,Q33) (Q1923231,P17,Q142) (Q1923231,P17,Q29)
action is_in
entity prev_answer
action find
entity Q1923231
relation P17
['Q1923231', 'P17', 'Q33'] ['Q1923231', 'P17', 'Q142'] ['Q1923231', 'P17', 'Q29']
ASK WHERE { VALUES ( ?m ) { ( resource:Q33 ) ( resource:Q142 ) ( resource:Q29 ) } . resource:Q1923231 property:P17 ?m }
arranged marriage
action is_in
entity prev_answer
action find
entity arranged marriage
relation country
['arranged marriage', 'country', 'Finland'] ['arranged marriage', 'country', 'France'] ['arranged marriage', 'country', 'Spain']
ASK WHERE { VALUES ( ?m ) { ( resource:Finland ) ( resource:France ) ( resource:Spain ) } . resource:arranged_marriage property:country ?m }
[]
significant other
SYSTEM
NO
(Q1923231,P17,Q33) (Q1923231,P17,Q142) (Q1923231,P17,Q29)
action is_in
entity prev_answer
action find
entity Q1923231
relation P17
[ANSWER]
['Q1923231', 'P17', 'Q33'] ['Q1923231', 'P17', 'Q142'] ['Q1923231', 'P17', 'Q29']
ASK WHERE { VALUES ( ?m ) { ( resource:Q33 ) ( resource:Q142 ) ( resource:Q29 ) } . resource:Q1923231 property:P17 ?m }
No
action is_in
entity prev_answer
action find
entity arranged marriage
relation country
['arranged marriage', 'country', 'Finland'] ['arranged marriage', 'country', 'France'] ['arranged marriage', 'country', 'Spain']
ASK WHERE { VALUES ( ?m ) { ( resource:Finland ) ( resource:France ) ( resource:Spain ) } . resource:arranged_marriage property:country ?m }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q403
P530
Q1048835 Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with approximately the same number of political territories or administrative territories as Serbia ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q403
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?p rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 } } . resource:Q403 property:P530 ?d } } . FILTER ( ?g = ?c ) }
Serbia
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Serbia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?p rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Serbia property:diplomatic_relation ?d } } . FILTER ( ?g = ?c ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 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 Q30 Q924 Q36 Q34 Q928 Q929 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 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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q403
relation P530
type Q1048835
type Q15617994
[ANSWERS] are known to have diplomatic connections with approximately the same number of political territories or administrative territories as Serbia
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { VALUES ( ?n ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?p rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { { ?d rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 } } . resource:Q403 property:P530 ?d } } . FILTER ( ?g = ?c ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France 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 United States of America Tanzania Poland Sweden Philippines Central African Republic 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 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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Netherlands and France are known to have diplomatic connections with approximately the same number of political territories or administrative territories as Serbia
United States of America Netherlands France
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Serbia
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?r WHERE { VALUES ( ?n ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?p rdf:type ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?c ) WHERE { { { ?d rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } } . resource:Serbia property:diplomatic_relation ?d } } . FILTER ( ?g = ?c ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q774
P530
Q1048835 Q15617994 Q15617994
USER
And what about Guatemala?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q774
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q774 property:P530 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?t = ?k ) }
Guatemala
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Guatemala
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Guatemala property:diplomatic_relation ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?t = ?k ) }
[]
political territorial entity 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(Q1048835)|c(Q15617994))
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q774
relation P530
type Q1048835
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?v rdf:type ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Q774 property:P530 ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } } } . FILTER ( ?t = ?k ) }
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 People's Republic of China
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Guatemala
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?e ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?v rdf:type ?e } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?k ) WHERE { resource:Guatemala property:diplomatic_relation ?d . { ?d rdf:type ?j . VALUES ( ?j ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } } } . FILTER ( ?t = ?k ) }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q15416
USER
Which administrative territories are the origins of more number of collectables or television programs than that administrative territory ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity collectable television program
Comparative|More/Less|Mult. entity type|Clarification
Q148
SYSTEM
Did you mean People's Republic of China ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean People's Republic of China ?
People's Republic of China
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q668 Q142 Q145 Q155 Q884 Q30 Q34 Q928 Q38 Q96 Q17 Q29
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
[ANSWERS] are the origins of more number of collectables or television programs than that administrative territory
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
India France United Kingdom Brazil South Korea United States of America Sweden Philippines Italy Mexico Japan Spain
Italy, Brazil and United States of America are the origins of more number of collectables or television programs than that administrative territory
Italy Brazil United States of America
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P463
Q43229
USER
What were those administrative territories a member of ?
(Q38,P463,c(Q43229)) (Q155,P463,c(Q43229)) (Q30,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
['Q38', 'P463', {'concept': 'Q43229'}] ['Q155', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?p property:P463 ?a . ?a rdf:type ontology:Q43229 . VALUES ( ?p ) { ( resource:Q668 ) ( resource:Q142 ) ( resource:Q145 ) } }
Italy Brazil United States of America
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['Brazil', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?p property:member_of ?a . ?a rdf:type ontology:organization . VALUES ( ?p ) { ( resource:India ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
organization
Q7809 Q42944 Q151991
SYSTEM
United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research, European Southern Observatory
Q340195 Q125761 Q191384 Q1153087 Q309195 Q689859 Q899770 Q189946 Q7809 Q132551 Q1666759 Q699036 Q42944 Q61923 Q177773 Q41550 Q3772571 Q386120 Q656801 Q151991 Q161549 Q7825 Q488981 Q82151 Q7178 Q827525 Q340195 Q191384 Q182500 Q123759 Q1045401 Q7825 Q656801 Q151991 Q123209 Q243630 Q827525 Q340195 Q191384 Q899770 Q41550 Q656801 Q170481 Q7825 Q827525
(Q38,P463,c(Q43229)) (Q155,P463,c(Q43229)) (Q30,P463,c(Q43229))
action filter_type
action find
entity prev_answer
relation P463
type Q43229
Those administrative territories a member of were the [ANSWERS]
['Q38', 'P463', {'concept': 'Q43229'}] ['Q155', 'P463', {'concept': 'Q43229'}] ['Q30', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ?a WHERE { ?p property:P463 ?a . ?a rdf:type ontology:Q43229 . VALUES ( ?p ) { ( resource:Q668 ) ( resource:Q142 ) ( resource:Q145 ) } }
African Development Bank International Civil Aviation Organization International Bank for Reconstruction and Development Inter-American Development Bank Bank for International Settlements International Fund for Agricultural Development International Centre for Settlement of Investment Disputes Western European Union United Nations Educational, Scientific and Cultural Organization United Nations High Commissioner for Refugees International Mobile Satellite Organization United Nations Truce Supervision Organization European Organization for Nuclear Research World Tourism Organization World Intellectual Property Organization Organisation for Economic Co-operation and Development Caribbean Development Bank United Nations Industrial Development Organization International Finance Corporation European Southern Observatory European Coal and Steel Community World Trade Organization European Bank for Reconstruction and Development Food and Agriculture Organization of the United Nations International Red Cross and Red Crescent Movementsac International Development Association African Development Bank International Bank for Reconstruction and Development Community of Portuguese Language Countries Organization of American States Community of Latin American and Caribbean States World Trade Organization International Finance Corporation European Southern Observatory Latin Union BRICS International Development Association African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation Asia-Pacific Economic Cooperation World Trade Organization International Development Association
Those administrative territories a member of were the United Nations Educational, Scientific and Cultural Organization, European Organization for Nuclear Research and European Southern Observatory
United Nations Educational, Scientific and Cultural Organization European Organization for Nuclear Research European Southern Observatory
action filter_type
action find
entity prev_answer
relation member of
type organization
['Italy', 'member of', {'concept': 'organization'}] ['Brazil', 'member of', {'concept': 'organization'}] ['United States of America', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ?a WHERE { ?p property:member_of ?a . ?a rdf:type ontology:organization . VALUES ( ?p ) { ( resource:India ) ( resource:France ) ( resource:United_Kingdom ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7809
P108
Q502895
USER
Who works for United Nations Educational, Scientific and Cultural Organization ?
(c(Q502895),P108,Q7809)
action filter_type
action find_reverse
entity Q7809
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q7809']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q7809 . ?n rdf:type ontology:Q502895 }
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?n rdf:type ontology:common_name }
[]
common name
Q22667895 Q716552 Q3541430
SYSTEM
David Wasawo, Norman McLaren, Trần Văn Khê
Q230850 Q3085768 Q22667895 Q3541430 Q3103148 Q716552 Q20986340 Q25872869 Q26179875
(c(Q502895),P108,Q7809)
action filter_type
action find_reverse
entity Q7809
relation P108
type Q502895
[ANSWERS] work for United Nations Educational, Scientific and Cultural Organization
[{'concept': 'Q502895'}, 'P108', 'Q7809']
SELECT DISTINCT ?n WHERE { ?n property:P108 resource:Q7809 . ?n rdf:type ontology:Q502895 }
Irina Bokova François Russo David Wasawo Trần Văn Khê Georges Malempré Norman McLaren Lê Thành Khôi János Bogárdi Genevieve Fiore
David Wasawo, Norman McLaren and Trần Văn Khê work for United Nations Educational, Scientific and Cultural Organization
David Wasawo Norman McLaren Trần Văn Khê
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'United Nations Educational, Scientific and Cultural Organization']
SELECT DISTINCT ?n WHERE { ?n property:employer resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7809
P50
Q386724
USER
Which work is that organization an author of ?
(c(Q386724),P50,Q22667895) (c(Q386724),P50,Q716552) (c(Q386724),P50,Q3541430)
action filter_type
action find_reverse
entity Q7809
relation P50
type Q386724
[{'concept': 'Q386724'}, 'P50', 'Q22667895'] [{'concept': 'Q386724'}, 'P50', 'Q716552'] [{'concept': 'Q386724'}, 'P50', 'Q3541430']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q7809 . ?m rdf:type ontology:Q386724 }
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation author
type work
[{'concept': 'work'}, 'author', 'David Wasawo'] [{'concept': 'work'}, 'author', 'Norman McLaren'] [{'concept': 'work'}, 'author', 'Trần Văn Khê']
SELECT DISTINCT ?m WHERE { ?m property:author resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?m rdf:type ontology:work }
[]
work
Q20829838
SYSTEM
UNESCO Public Library Manifesto
Q20829838
(c(Q386724),P50,Q22667895) (c(Q386724),P50,Q716552) (c(Q386724),P50,Q3541430)
action filter_type
action find_reverse
entity Q7809
relation P50
type Q386724
The [ANSWER] is that organization an author of
[{'concept': 'Q386724'}, 'P50', 'Q22667895'] [{'concept': 'Q386724'}, 'P50', 'Q716552'] [{'concept': 'Q386724'}, 'P50', 'Q3541430']
SELECT DISTINCT ?m WHERE { ?m property:P50 resource:Q7809 . ?m rdf:type ontology:Q386724 }
UNESCO Public Library Manifesto
The UNESCO Public Library Manifesto is that organization an author of
UNESCO Public Library Manifesto
action filter_type
action find_reverse
entity United Nations Educational, Scientific and Cultural Organization
relation author
type work
[{'concept': 'work'}, 'author', 'David Wasawo'] [{'concept': 'work'}, 'author', 'Norman McLaren'] [{'concept': 'work'}, 'author', 'Trần Văn Khê']
SELECT DISTINCT ?m WHERE { ?m property:author resource:United_Nations_Educational,_Scientific_and_Cultural_Organization . ?m rdf:type ontology:work }
[]