Simple Question (Direct)
Simple Question
Q12022702
P39
Q12737077
USER
What were the positions for which Jan Kostrhun were appointed ?
(Q12022702,P39,c(Q12737077))
action filter_type
action find
entity Q12022702
relation P39
type Q12737077
['Q12022702', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q12022702 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Jan Kostrhun
action filter_type
action find
entity Jan Kostrhun
relation position held
type occupation
['Jan Kostrhun', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Kostrhun property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q19803234 Q17320547
SYSTEM
Member of the Chamber of Deputies of the Parliament of the Czech Republic, member of the Federal Assembly of Czechoslovakia
Q19803234 Q17320547
(Q12022702,P39,c(Q12737077))
action filter_type
action find
entity Q12022702
relation P39
type Q12737077
[ANSWERS]
['Q12022702', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q12022702 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the Chamber of Deputies of the Parliament of the Czech Republic member of the Federal Assembly of Czechoslovakia
Member of the Chamber of Deputies of the Parliament of the Czech Republic and member of the Federal Assembly of Czechoslovakia
Member of the Chamber of Deputies of the Parliament of the Czech Republic member of the Federal Assembly of Czechoslovakia
action filter_type
action find
entity Jan Kostrhun
relation position held
type occupation
['Jan Kostrhun', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Jan_Kostrhun property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12022702
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q19803234,P1412,c(Q34770)) (Q17320547,P1412,c(Q34770))
action filter_type
action find
entity Q12022702
relation P1412
type Q34770
['Q19803234', 'P1412', {'concept': 'Q34770'}] ['Q17320547', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q12022702 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Jan Kostrhun
action filter_type
action find
entity Jan Kostrhun
relation languages spoken, written or signed
type language
['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'languages spoken, written or signed', {'concept': 'language'}] ['member of the Federal Assembly of Czechoslovakia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Kostrhun property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q19803234,P1412,c(Q34770)) (Q17320547,P1412,c(Q34770))
action filter_type
action find
entity Q12022702
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q19803234', 'P1412', {'concept': 'Q34770'}] ['Q17320547', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?k WHERE { resource:Q12022702 property:P1412 ?k . ?k rdf:type ontology:Q34770 }
Czech
Czech is that person capable of writing
Czech
action filter_type
action find
entity Jan Kostrhun
relation languages spoken, written or signed
type language
['Member of the Chamber of Deputies of the Parliament of the Czech Republic', 'languages spoken, written or signed', {'concept': 'language'}] ['member of the Federal Assembly of Czechoslovakia', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?k WHERE { resource:Jan_Kostrhun property:languages_spoken,_written_or_signed ?k . ?k rdf:type ontology:language }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q304120 Q12022702
P47 P27
Q15617994
USER
Which administrative territories are Jan Kostrhun a civilian of or are adjacent to Segonzano ?
OR((Q12022702,P27,c(Q15617994)), (Q304120,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q12022702
relation P27
action find
entity Q304120
relation P47
type Q15617994
{'OR': [['Q12022702', 'P27', {'concept': 'Q15617994'}], ['Q304120', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q12022702 property:P27 ?q } UNION { resource:Q304120 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
Segonzano Jan Kostrhun
action filter_type
action union
action find
entity Jan Kostrhun
relation country of citizenship
action find
entity Segonzano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Jan Kostrhun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Segonzano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Jan_Kostrhun property:country_of_citizenship ?q } UNION { resource:Segonzano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213 Q286770 Q305780 Q290214 Q200925 Q244005 Q327558 Q244037
SYSTEM
Czech Republic, Faver, Sover, Grumes, Lona-Lases, Baselga di Pinè, Valda, Bedollo
Q213 Q286770 Q305780 Q290214 Q200925 Q244005 Q327558 Q244037
OR((Q12022702,P27,c(Q15617994)), (Q304120,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q12022702
relation P27
action find
entity Q304120
relation P47
type Q15617994
[ANSWERS] are Jan Kostrhun a civilian of or are adjacent to Segonzano
{'OR': [['Q12022702', 'P27', {'concept': 'Q15617994'}], ['Q304120', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q12022702 property:P27 ?q } UNION { resource:Q304120 property:P47 ?q } } . ?q rdf:type ontology:Q15617994 }
Czech Republic Faver Sover Grumes Lona-Lases Baselga di Pinè Valda Bedollo
Czech Republic, Faver, Sover, Grumes, Lona-Lases, Baselga di Pinè, Valda and Bedollo are Jan Kostrhun a civilian of or are adjacent to Segonzano
Czech Republic Faver Sover Grumes Lona-Lases Baselga di Pinè Valda Bedollo
action filter_type
action union
action find
entity Jan Kostrhun
relation country of citizenship
action find
entity Segonzano
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Jan Kostrhun', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Segonzano', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Jan_Kostrhun property:country_of_citizenship ?q } UNION { resource:Segonzano property:shares_border_with ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the origin of lesser number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) 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 ( COUNT ( * ) AS ?x ) 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|Count over More/Less|Single entity type|Clarification
Q244005
SYSTEM
Did you mean Baselga di Pinè ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Baselga di Pinè ?
Baselga di Pinè
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Czech Republic. Could you tell me the answer for that?
(c(Q2031291),P495,c(Q15617994))
Q213
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
146
Q805 Q804 Q800 Q1462 Q419 Q414 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q32 Q924 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Luxembourg Tanzania Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
146
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q159
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with greater number of administrative territories than Russia ?
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q159 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:P530 ?c . ?p rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?p } }
Russia
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Russia
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 ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Russia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:diplomatic_relation ?c . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
5
Q155 Q38 Q230 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q159
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q159 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:P530 ?c . ?p rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?p } }
Brazil Italy Georgia Belarus Zambia
5
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Russia
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 ( ?p ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Russia property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?p ( COUNT ( ?c ) AS ?l ) WHERE { ?p property:diplomatic_relation ?c . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?p } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1730057 Q286770
P47 P17
Q15617994
USER
Which administrative territories are adjacent to Faver or are Ravila situated in ?
OR((Q286770,P47,c(Q15617994)), (Q1730057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q286770
relation P47
action find
entity Q1730057
relation P17
type Q15617994
{'OR': [['Q286770', 'P47', {'concept': 'Q15617994'}], ['Q1730057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q286770 property:P47 ?u } UNION { resource:Q1730057 property:P17 ?u } } }
Ravila Faver
action filter_type
action union
action find
entity Faver
relation shares border with
action find
entity Ravila
relation country
type designation for an administrative territorial entity
{'OR': [['Faver', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ravila', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Faver property:shares_border_with ?u } UNION { resource:Ravila property:country ?u } } }
[]
designation for an administrative territorial entity
Q304120 Q191 Q327558 Q258810
SYSTEM
Segonzano, Estonia, Valda, Salorno
Q304120 Q191 Q327558 Q258810
OR((Q286770,P47,c(Q15617994)), (Q1730057,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q286770
relation P47
action find
entity Q1730057
relation P17
type Q15617994
[ANSWERS] are adjacent to Faver or are Ravila situated in
{'OR': [['Q286770', 'P47', {'concept': 'Q15617994'}], ['Q1730057', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . { { resource:Q286770 property:P47 ?u } UNION { resource:Q1730057 property:P17 ?u } } }
Segonzano Estonia Valda Salorno
Segonzano, Estonia, Valda and Salorno are adjacent to Faver or are Ravila situated in
Segonzano Estonia Valda Salorno
action filter_type
action union
action find
entity Faver
relation shares border with
action find
entity Ravila
relation country
type designation for an administrative territorial entity
{'OR': [['Faver', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Ravila', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Faver property:shares_border_with ?u } UNION { resource:Ravila property:country ?u } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately 37 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 37
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?y = 37 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?y = 37 ) }
[]
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 37
[ANSWER] have tactful political relations with approximately 37 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?t property:P530 ?b . ?t rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?y = 37 ) }
Belarus
Belarus have tactful political relations with approximately 37 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 37
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?b ) AS ?y ) WHERE { ?t property:diplomatic_relation ?b . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?y = 37 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q191
P530
Q1048835 Q5589178
USER
How many political territories and regimes have diplomatic relationships with Estonia ?
(Q191,P530,c(Q1048835)) (Q191,P530,c(Q5589178))
action count
action union
action filter_type
action find
entity Q191
relation P530
type Q1048835
action filter_type
action find
entity Q191
relation P530
type Q5589178
['Q191', 'P530', {'concept': 'Q1048835'}] ['Q191', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Q191 property:P530 ?g . ?g rdf:type ontology:Q1048835 } UNION { resource:Q191 property:P530 ?g . ?g rdf:type ontology:Q5589178 } }
Estonia
action count
action union
action filter_type
action find
entity Estonia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Estonia
relation diplomatic relation
type regime
['Estonia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Estonia', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Estonia property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } UNION { resource:Estonia property:diplomatic_relation ?g . ?g rdf:type ontology:regime } }
[]
political territorial entity regime
SYSTEM
1 political territories and 1 regimes
Q408 Q842199
(Q191,P530,c(Q1048835)) (Q191,P530,c(Q5589178))
action count
action union
action filter_type
action find
entity Q191
relation P530
type Q1048835
action filter_type
action find
entity Q191
relation P530
type Q5589178
[ANSWER]
['Q191', 'P530', {'concept': 'Q1048835'}] ['Q191', 'P530', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Q191 property:P530 ?g . ?g rdf:type ontology:Q1048835 } UNION { resource:Q191 property:P530 ?g . ?g rdf:type ontology:Q5589178 } }
Australia Belarusian People's Republic
1 political territories and 1 regimes
action count
action union
action filter_type
action find
entity Estonia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Estonia
relation diplomatic relation
type regime
['Estonia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Estonia', 'diplomatic relation', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { { resource:Estonia property:diplomatic_relation ?g . ?g rdf:type ontology:political_territorial_entity } UNION { resource:Estonia property:diplomatic_relation ?g . ?g rdf:type ontology:regime } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191
P30
Q2221906
USER
Which geographic location is that administrative territory located in ?
action filter_type
action find
entity Q191
relation P30
type Q2221906
SELECT DISTINCT ?r WHERE { resource:Q191 property:P30 ?r . ?r rdf:type ontology:Q2221906 }
Estonia
action filter_type
action find
entity Estonia
relation continent
type geographic location
SELECT DISTINCT ?r WHERE { resource:Estonia property:continent ?r . ?r rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
action filter_type
action find
entity Q191
relation P30
type Q2221906
That administrative territory is located in [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q191 property:P30 ?r . ?r rdf:type ontology:Q2221906 }
Europe
That administrative territory is located in Europe
Europe
action filter_type
action find
entity Estonia
relation continent
type geographic location
SELECT DISTINCT ?r WHERE { resource:Estonia property:continent ?r . ?r rdf:type ontology:geographic_location }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q46 Q21897665
P30
Q355304
USER
Is Yarragreen Creek a part of that geographic location ?
(Q21897665,P30,Q46)
action is_in
entity Q21897665
action find
entity Q46
relation P30
['Q21897665', 'P30', 'Q46']
ASK WHERE { resource:Q46 property:P30 resource:Q21897665 }
Europe Yarragreen Creek
action is_in
entity Yarragreen Creek
action find
entity Europe
relation continent
['Yarragreen Creek', 'continent', 'Europe']
ASK WHERE { resource:Europe property:continent resource:Yarragreen_Creek }
[]
watercourse
SYSTEM
NO
(Q21897665,P30,Q46)
action is_in
entity Q21897665
action find
entity Q46
relation P30
[ANSWER]
['Q21897665', 'P30', 'Q46']
ASK WHERE { resource:Q46 property:P30 resource:Q21897665 }
No
action is_in
entity Yarragreen Creek
action find
entity Europe
relation continent
['Yarragreen Creek', 'continent', 'Europe']
ASK WHERE { resource:Europe property:continent resource:Yarragreen_Creek }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q763829
P706
Q82794 Q2221906
USER
Which geographic regions are approximately the same number of geographic locations located on as Jezreel Valley ?
(c(Q2221906),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q763829
relation P706
type Q82794
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P706 ?x . ?x rdf:type ontology:Q82794 . ?p rdf:type ontology:Q2221906 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q82794 . resource:Q763829 property:P706 ?y } } . FILTER ( ?o = ?c ) }
Jezreel Valley
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Jezreel Valley
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region . ?p rdf:type ontology:geographic_location } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:geographic_region . resource:Jezreel_Valley property:located_on_terrain_feature ?y } } . FILTER ( ?o = ?c ) }
[]
geographic region geographic location
Q2887520 Q20925112 Q20906226
SYSTEM
Vistula basin, Bug Basin, Narew Basin
Q3554041 Q3554044 Q316883 Q202322 Q1404827 Q22703273 Q917858 Q214662 Q833127 Q15758768 Q1661032 Q1746460 Q375953 Q22951373 Q3039434 Q192273 Q301774 Q132480 Q1221188 Q317751 Q875085 Q1295846 Q5567863 Q571607 Q881921 Q15139349 Q13130354 Q383032 Q571696 Q2258070 Q1444797 Q671694 Q2887520 Q3041080 Q8352403 Q22666716 Q489533 Q51614 Q15139348 Q721298 Q2214132 Q303730 Q14523513 Q2887517 Q15719556 Q3487269 Q7909150 Q1741416 Q2507852 Q178925 Q7686375 Q6311733 Q763829 Q306950 Q251246 Q16004983 Q1325091 Q567318 Q16004967 Q738671 Q60140 Q14912672 Q170081 Q20925112 Q1794875 Q565751 Q569073 Q14215814 Q12046593 Q884616 Q13370189 Q912837 Q384885 Q16004976 Q897389 Q12880609 Q2148017 Q244451 Q7594902 Q14683140 Q734149 Q171393 Q1682868 Q192201 Q2099232 Q1616130 Q897333 Q314741 Q690127 Q207388 Q20906226 Q7549778 Q481600 Q2199768 Q22667180 Q118899 Q1339950 Q1940689 Q816843 Q734317 Q14210889 Q1592977 Q530131 Q16004873 Q16004874 Q16004956 Q1935344 Q1471257 Q22680049 Q257965 Q2282388 Q174994 Q1772582 Q1138800 Q575245 Q6515602 Q2866905
(c(Q2221906),P706,c(Q82794))
action approx
action find_reverse_tuple_counts
relation P706
type Q82794
type Q2221906
action count
action filter_type
action find
entity Q763829
relation P706
type Q82794
[ANSWERS] are approximately the same number of geographic locations located on as Jezreel Valley
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:P706 ?x . ?x rdf:type ontology:Q82794 . ?p rdf:type ontology:Q2221906 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:Q82794 . resource:Q763829 property:P706 ?y } } . FILTER ( ?o = ?c ) }
Matapédia Valley Vézère Valley Teltow Beqaa Valley The Fens Hockley Valley The Burren Budjak Lower Bavarian Upland Yangtze River basin Unteres Mittelrheingebiet Westmünsterland Altes Land Elbląg Basin Syrtis Major quadrangle Karelia Etschtal Kantō region Diepholzer Moorniederung Kehdingen Gastein Valley Wesermünde Geest Glen Lochay Middle Rhine Eider-Treene Depression Helen Planitia quadrangle Nant Gwynant Brixental Hoeksche Waard Swabian Keuper-Lias Plains Frankenweide Krimpenerwaard Vistula basin Valley of the Ten Peaks Ebro Basin Brda basin Binn valley Anatolia Niobe Planitia quadrangle Asbacher Hochfläche Alblasserwaard Aatal Baden Airpark Vilaine basin Honnefer Talweitung Wurstelprater Val Sinestra Schleswig-Holstein Uplands Val d'Illiez Gran Canaria Tarn Valley Junction Hollow Jezreel Valley Eastern Upper Lusatia Vienna Woods Lada Terra quadrangle Elbe Urstromtal Thuringian Basin Aphrodite Terra  quadrangle Val Bregaglia Indian subcontinent Rheinwald Neandertal Bug Basin Niederwesterwald Epirus Outback Murg Valley Danube basin Drömling Neman Basin Glens of Antrim Val Gardena Guinevere Planitia quadrangle Altmühltal Makedonika Tembi Rheinwesterwälder Vulkanrücken Amazon basin St Nectan's Glen Little Yosemite Valley Torne Valley Wallachia Krimmler Achental Wachau Pleiser Hügelland Hetch Hetchy Teufelsmoor Dresden Basin Lower Engadine Muntenia Narew Basin Soan Sakaser Valley Schönbuch Southern Flevoland Drwęca Basin Brazilian Highlands Sternberg lake district Central Black Forest San Fernando Valley Val Camonica Chao Phraya basin Heckengäu Taylor Valley Lavinia Planitia quadrangle Ishtar Terra quadrangle Sedna Planitia quadrangle Tarfala Valley Franconian Keuper-Lias Plains Pregolya Basin Val Müstair Siebenmühlental Bessarabia Thames Valley Pelagonia Chad Basin Tørdal Aspé Valley
Vistula basin, Bug Basin and Narew Basin are approximately the same number of geographic locations located on as Jezreel Valley
Vistula basin Bug Basin Narew Basin
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action count
action filter_type
action find
entity Jezreel Valley
relation located on terrain feature
type geographic region
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?p ) AS ?o ) WHERE { ?p property:located_on_terrain_feature ?x . ?x rdf:type ontology:geographic_region . ?p rdf:type ontology:geographic_location } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { ?y rdf:type ontology:geographic_region . resource:Jezreel_Valley property:located_on_terrain_feature ?y } } . FILTER ( ?o = ?c ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q82794 Q1190554 Q2221906
USER
How many geographic regions are more number of events and geographic locations a part of than that geographic region ?
(c(Q1190554)|c(Q2221906),P361,c(Q82794))
[[{'concept': 'Q1190554'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { ?a property:P361 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
[[{'concept': 'event'}, {'concept': 'geographic location'}], 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { ?a property:part_of ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:event . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]
geographic region event geographic location
Comparative|Count over More/Less|Mult. entity type|Clarification
Q20925112
SYSTEM
Did you mean Bug Basin ?
(c(Q1190554)|c(Q2221906),P361,c(Q82794))
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { ?a property:P361 ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
Did you mean Bug Basin ?
Bug Basin
[[{'concept': 'event'}, {'concept': 'geographic location'}], 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { ?a property:part_of ?y . VALUES ( ?a ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:event . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Vistula basin. Could you tell me the answer for that?
(c(Q1190554)|c(Q2221906),P361,c(Q82794))
Q2887520
[[{'concept': 'Q1190554'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q82794'}]
[[{'concept': 'event'}, {'concept': 'geographic location'}], 'part of', {'concept': 'geographic region'}]
[]
SYSTEM
4
Q122443 Q1703681 Q62825 Q51614
(c(Q1190554)|c(Q2221906),P361,c(Q82794))
[ANSWER]
[[{'concept': 'Q1190554'}, {'concept': 'Q2221906'}], 'P361', {'concept': 'Q82794'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:P361 ?y } UNION { ?x property:P361 ?y } } . ?z rdf:type ontology:Q5416694 . ?y rdf:type ontology:Q82794 . ?x rdf:type ontology:Q2221906 }
Attica Willamette Valley maritime republics Anatolia
4
[[{'concept': 'event'}, {'concept': 'geographic location'}], 'part of', {'concept': 'geographic region'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) WHERE { { { ?z property:part_of ?y } UNION { ?x property:part_of ?y } } . ?z rdf:type ontology:event . ?y rdf:type ontology:geographic_region . ?x rdf:type ontology:geographic_location }
[]