Simple Question (Direct)
Simple Question
Q6881012
P106
Q12737077
USER
Which occupation is the profession of Mitch Toryanski ?
(Q6881012,P106,c(Q12737077))
action filter_type
action find
entity Q6881012
relation P106
type Q12737077
['Q6881012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6881012 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Mitch Toryanski
action filter_type
action find
entity Mitch Toryanski
relation occupation
type occupation
['Mitch Toryanski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Mitch_Toryanski property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6881012,P106,c(Q12737077))
action filter_type
action find
entity Q6881012
relation P106
type Q12737077
The [ANSWER] is the profession of Mitch Toryanski
['Q6881012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q6881012 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician
The politician is the profession of Mitch Toryanski
politician
action filter_type
action find
entity Mitch Toryanski
relation occupation
type occupation
['Mitch Toryanski', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Mitch_Toryanski property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6881012
P69
Q1935049
USER
Which military school is the alma mater of Mitch Toryanski ?
(Q6881012,P69,c(Q1935049))
action filter_type
action find
entity Q6881012
relation P69
type Q1935049
['Q6881012', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1935049 . resource:Q6881012 property:P69 ?a }
Mitch Toryanski
action filter_type
action find
entity Mitch Toryanski
relation educated at
type military school
['Mitch Toryanski', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:military_school . resource:Mitch_Toryanski property:educated_at ?a }
[]
military school
Q9219
SYSTEM
United States Military Academy at West Point
Q9219
(Q6881012,P69,c(Q1935049))
action filter_type
action find
entity Q6881012
relation P69
type Q1935049
The [ANSWER] is the alma mater of Mitch Toryanski
['Q6881012', 'P69', {'concept': 'Q1935049'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1935049 . resource:Q6881012 property:P69 ?a }
United States Military Academy at West Point
The United States Military Academy at West Point is the alma mater of Mitch Toryanski
United States Military Academy at West Point
action filter_type
action find
entity Mitch Toryanski
relation educated at
type military school
['Mitch Toryanski', 'educated at', {'concept': 'military school'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:military_school . resource:Mitch_Toryanski property:educated_at ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6881012
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q9219,P27,c(Q15617994))
action filter_type
action find
entity Q6881012
relation P27
type Q15617994
['Q9219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6881012 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Mitch Toryanski
action filter_type
action find
entity Mitch Toryanski
relation country of citizenship
type designation for an administrative territorial entity
['United States Military Academy at West Point', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Mitch_Toryanski property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q9219,P27,c(Q15617994))
action filter_type
action find
entity Q6881012
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q9219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6881012 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity Mitch Toryanski
relation country of citizenship
type designation for an administrative territorial entity
['United States Military Academy at West Point', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Mitch_Toryanski property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q256824 Q6881012
P19
Q56061
USER
Which administrative territories were Mitch Toryanski or Kimberley Walsh born ?
OR((Q6881012,P19,c(Q56061)), (Q256824,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6881012
relation P19
action find
entity Q256824
relation P19
type Q56061
{'OR': [['Q6881012', 'P19', {'concept': 'Q56061'}], ['Q256824', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { VALUES ( ?r ) { ( resource:Q6881012 ) ( resource:Q256824 ) } . ?r property:P19 ?t } }
Kimberley Walsh Mitch Toryanski
action filter_type
action union
action find
entity Mitch Toryanski
relation place of birth
action find
entity Kimberley Walsh
relation place of birth
type administrative territorial entity
{'OR': [['Mitch Toryanski', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kimberley Walsh', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Mitch_Toryanski ) ( resource:Kimberley_Walsh ) } . ?r property:place_of_birth ?t } }
[]
administrative territorial entity
Q22905 Q28848
SYSTEM
Bradford, Saint Paul
Q22905 Q28848
OR((Q6881012,P19,c(Q56061)), (Q256824,P19,c(Q56061)))
action filter_type
action union
action find
entity Q6881012
relation P19
action find
entity Q256824
relation P19
type Q56061
Mitch Toryanski or Kimberley Walsh were born in [ANSWERS]
{'OR': [['Q6881012', 'P19', {'concept': 'Q56061'}], ['Q256824', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q56061 . { VALUES ( ?r ) { ( resource:Q6881012 ) ( resource:Q256824 ) } . ?r property:P19 ?t } }
Bradford Saint Paul
Mitch Toryanski or Kimberley Walsh were born in Bradford and Saint Paul
Bradford Saint Paul
action filter_type
action union
action find
entity Mitch Toryanski
relation place of birth
action find
entity Kimberley Walsh
relation place of birth
type administrative territorial entity
{'OR': [['Mitch Toryanski', 'place of birth', {'concept': 'administrative territorial entity'}], ['Kimberley Walsh', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:administrative_territorial_entity . { VALUES ( ?r ) { ( resource:Mitch_Toryanski ) ( resource:Kimberley_Walsh ) } . ?r property:place_of_birth ?t } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q59271 Q22905
P47 P17
Q15617994
USER
Which administrative territories are Bradford located in or are bordered by Moresco ?
OR((Q22905,P17,c(Q15617994)), (Q59271,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q22905
relation P17
action find
entity Q59271
relation P47
type Q15617994
{'OR': [['Q22905', 'P17', {'concept': 'Q15617994'}], ['Q59271', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q22905 property:P17 ?d } UNION { resource:Q59271 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
Moresco Bradford
action filter_type
action union
action find
entity Bradford
relation country
action find
entity Moresco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bradford', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Moresco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Bradford property:country ?d } UNION { resource:Moresco property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q59232 Q59260 Q56080 Q145
SYSTEM
Lapedona, Monterubbiano, Montefiore dell'Aso, United Kingdom
Q59232 Q59260 Q56080 Q145
OR((Q22905,P17,c(Q15617994)), (Q59271,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q22905
relation P17
action find
entity Q59271
relation P47
type Q15617994
Bradford are located bordered by [ANSWERS]
{'OR': [['Q22905', 'P17', {'concept': 'Q15617994'}], ['Q59271', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q22905 property:P17 ?d } UNION { resource:Q59271 property:P47 ?d } } . ?d rdf:type ontology:Q15617994 }
Lapedona Monterubbiano Montefiore dell'Aso United Kingdom
Bradford are located bordered by Lapedona, Monterubbiano, Montefiore dell'Aso and United Kingdom
Lapedona Monterubbiano Montefiore dell'Aso United Kingdom
action filter_type
action union
action find
entity Bradford
relation country
action find
entity Moresco
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Bradford', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Moresco', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Bradford property:country ?d } UNION { resource:Moresco property:shares_border_with ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q2088357
USER
How many administrative territories did lesser number of film genres and musical ensembles originate than that administrative territory ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?k property:P495 ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?k property:country_of_origin ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity film genre musical ensemble
Comparative|Count over More/Less|Mult. entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?k property:P495 ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean United Kingdom ?
United Kingdom
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { ?k property:country_of_origin ?y . VALUES ( ?k ) { ( ?z ) ( ?x ) } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 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 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy 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 Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile 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 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 Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
[[{'concept': 'film genre'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q28848
P206
Q355304
USER
Which watercourse is located in the neighbourhood of Saint Paul ?
(Q28848,P206,c(Q355304))
action filter_type
action find
entity Q28848
relation P206
type Q355304
['Q28848', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q28848 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Saint Paul
action filter_type
action find
entity Saint Paul
relation located next to body of water
type watercourse
['Saint Paul', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Saint_Paul property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
watercourse
Q1497
SYSTEM
Mississippi River
Q1497
(Q28848,P206,c(Q355304))
action filter_type
action find
entity Q28848
relation P206
type Q355304
The [ANSWER] is located in the neighbourhood of Saint Paul
['Q28848', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?c WHERE { resource:Q28848 property:P206 ?c . ?c rdf:type ontology:Q355304 }
Mississippi River
The Mississippi River is located in the neighbourhood of Saint Paul
Mississippi River
action filter_type
action find
entity Saint Paul
relation located next to body of water
type watercourse
['Saint Paul', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?c WHERE { resource:Saint_Paul property:located_next_to_body_of_water ?c . ?c rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1497
P403
Q355304
USER
Which watercourses ultimately merges into that one ?
(c(Q355304),P403,Q1497)
action filter_type
action find_reverse
entity Q1497
relation P403
type Q355304
[{'concept': 'Q355304'}, 'P403', 'Q1497']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q1497 . ?w rdf:type ontology:Q355304 }
Mississippi River
action filter_type
action find_reverse
entity Mississippi River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Mississippi River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Mississippi_River . ?w rdf:type ontology:watercourse }
[]
watercourse
Q5419 Q4915 Q1136502
SYSTEM
Missouri River, Ohio River, Minnesota River
Q1869733 Q2041614 Q5189117 Q15262440 Q1813795 Q16890518 Q7921629 Q978496 Q2548910 Q1569069 Q16964710 Q8319 Q5681137 Q7074971 Q4915 Q5419 Q1042217 Q2963877 Q1507416 Q7380730 Q1921090 Q7379105 Q6781683 Q1852004 Q7856445 Q1136502 Q7653503 Q7653502 Q776873 Q492787 Q1538093 Q4921629 Q1108022 Q5713282 Q8321 Q156032
(c(Q355304),P403,Q1497)
action filter_type
action find_reverse
entity Q1497
relation P403
type Q355304
[ANSWERS] ultimately merge into that one
[{'concept': 'Q355304'}, 'P403', 'Q1497']
SELECT DISTINCT ?w WHERE { ?w property:P403 resource:Q1497 . ?w rdf:type ontology:Q355304 }
Loosahatchie River Ouachita River Crow River Nokasippi River White River Coles Creek (Mississippi) Vermillion River Wisconsin River Wapsipinicon River Rice Creek Minnehaha Creek Arkansas River Hatchie River Obion River Ohio River Missouri River Big Black River Chippewa River St. Croix River Rush River Meramec River Rum River Marys River Rock River Turtle River Minnesota River Swan River Swan River Kaskaskia River Des Moines River Wolf River Black River St. Francis River Henderson Creek Illinois River Red River of the South
Missouri River, Ohio River and Minnesota River ultimately merge into that one
Missouri River Ohio River Minnesota River
action filter_type
action find_reverse
entity Mississippi River
relation mouth of the watercourse
type watercourse
[{'concept': 'watercourse'}, 'mouth of the watercourse', 'Mississippi River']
SELECT DISTINCT ?w WHERE { ?w property:mouth_of_the_watercourse resource:Mississippi_River . ?w rdf:type ontology:watercourse }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q638776
P974
Q355304
USER
Are those ones a tributary of Wairoa River ?
(Q638776,P974,Q5419) (Q638776,P974,Q4915) (Q638776,P974,Q1136502)
action is_in
entity prev_answer
action find
entity Q638776
relation P974
['Q638776', 'P974', 'Q5419'] ['Q638776', 'P974', 'Q4915'] ['Q638776', 'P974', 'Q1136502']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1869733 ) ( resource:Q2041614 ) ( resource:Q5189117 ) } . resource:Q638776 property:P974 ?r }
Wairoa River
action is_in
entity prev_answer
action find
entity Wairoa River
relation tributary
['Wairoa River', 'tributary', 'Missouri River'] ['Wairoa River', 'tributary', 'Ohio River'] ['Wairoa River', 'tributary', 'Minnesota River']
ASK WHERE { VALUES ( ?r ) { ( resource:Loosahatchie_River ) ( resource:Ouachita_River ) ( resource:Crow_River ) } . resource:Wairoa_River property:tributary ?r }
[]
watercourse
SYSTEM
NO
(Q638776,P974,Q5419) (Q638776,P974,Q4915) (Q638776,P974,Q1136502)
action is_in
entity prev_answer
action find
entity Q638776
relation P974
[ANSWER]
['Q638776', 'P974', 'Q5419'] ['Q638776', 'P974', 'Q4915'] ['Q638776', 'P974', 'Q1136502']
ASK WHERE { VALUES ( ?r ) { ( resource:Q1869733 ) ( resource:Q2041614 ) ( resource:Q5189117 ) } . resource:Q638776 property:P974 ?r }
No
action is_in
entity prev_answer
action find
entity Wairoa River
relation tributary
['Wairoa River', 'tributary', 'Missouri River'] ['Wairoa River', 'tributary', 'Ohio River'] ['Wairoa River', 'tributary', 'Minnesota River']
ASK WHERE { VALUES ( ?r ) { ( resource:Loosahatchie_River ) ( resource:Ouachita_River ) ( resource:Crow_River ) } . resource:Wairoa_River property:tributary ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q145 Q4444657
P530
Q1048835
USER
Does Stulneve have diplomatic relations with United Kingdom ?
(Q145,P530,Q4444657)
action is_in
entity Q4444657
action find
entity Q145
relation P530
['Q145', 'P530', 'Q4444657']
ASK WHERE { resource:Q145 property:P530 resource:Q4444657 }
United Kingdom Stulneve
action is_in
entity Stulneve
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Stulneve']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Stulneve }
[]
political territorial entity
SYSTEM
NO
(Q145,P530,Q4444657)
action is_in
entity Q4444657
action find
entity Q145
relation P530
[ANSWER]
['Q145', 'P530', 'Q4444657']
ASK WHERE { resource:Q145 property:P530 resource:Q4444657 }
No
action is_in
entity Stulneve
action find
entity United Kingdom
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Stulneve']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Stulneve }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P403
Q15324 Q355304
USER
How many bodies of water do approximately 11 watercourses flow into ?
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 11
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?e ) WHERE { ?q rdf:type ontology:Q15324 . ?n rdf:type ontology:Q355304 . ?n property:P403 ?q } GROUP BY ?q } . FILTER ( ?e = 11 ) }
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 11
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?e ) WHERE { ?q rdf:type ontology:body_of_water . ?n rdf:type ontology:watercourse . ?n property:mouth_of_the_watercourse ?q } GROUP BY ?q } . FILTER ( ?e = 11 ) }
[]
body of water watercourse
SYSTEM
98
Q41430 Q1866414 Q5578622 Q1782677 Q876470 Q2090594 Q11875916 Q35827 Q1635853 Q673264 Q159252 Q224101 Q192738 Q2879685 Q35000 Q795608 Q1314643 Q213517 Q132811 Q44725 Q128880 Q1059534 Q131274 Q7231877 Q47632 Q14935920 Q174731 Q1974744 Q13234218 Q209682 Q5605 Q231312 Q697092 Q844003 Q1362310 Q1134573 Q1419628 Q1201023 Q42820 Q49364 Q2026815 Q2066982 Q1165951 Q23406 Q1368308 Q195413 Q2750104 Q844799 Q37960 Q676154 Q131217 Q502233 Q45341 Q1365066 Q216868 Q1323629 Q999031 Q122574 Q6940354 Q131418 Q1059646 Q14686 Q163434 Q913418 Q1747324 Q1432730 Q34575 Q489472 Q34675 Q33629 Q1324526 Q917872 Q27698 Q27092 Q41573 Q148621 Q934883 Q999162 Q15262475 Q2304586 Q867460 Q140290 Q81499 Q1512616 Q7988 Q1360927 Q1726244 Q1144680 Q1254743 Q1947589 Q181857 Q1129590 Q8026651 Q188203 Q2211837 Q23883 Q141017 Q3059074
(c(Q355304),P403,c(Q15324))
action count
action approx
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 11
[ANSWER]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?e ) WHERE { ?q rdf:type ontology:Q15324 . ?n rdf:type ontology:Q355304 . ?n property:P403 ?q } GROUP BY ?q } . FILTER ( ?e = 11 ) }
Gulf of Guinea Morecambe Bay Gold Coast Broadwater Pegasus Bay Gulf of Maine Cantabrian Sea Liminka Bay Río de la Plata Western Port Hawke Bay Chukchi Sea Guanabara Bay Gulf of Taranto Pensacola Bay Sea of Azov Gulf of Honduras Lough Foyle Gironde estuary Gulf of California Bering Sea Arafura Sea Tampa Bay Beaufort Sea Portland Bay Andaman Sea Vasse-Wonnerup Estuary Gulf of Riga Amundsen Gulf Bothnian Bay Gulf of Corinth Vistula Lagoon Seto Inland Sea Hokianga Gulf of Gonâve Tasman Bay Coronation Gulf Firth of Thames Suruga Bay Ligurian Sea Java Sea Gulf of Kalamita Peel-Harvey Estuary Ungava Bay Red Sea Ise Bay Solway Firth Shannon Estuary Gulf of Paria Yellow Sea Manila Bay Gulf of Thailand Southampton Water East China Sea Karamea Bight Chesapeake Bay Gulf St Vincent Bight of Bonny Gulf of Bothnia Muscongus Bay Timor Sea Chaleur Bay Gulf of Finland East Siberian Sea Thermaic Gulf Tauranga Harbour North Taranaki Bight Aegean Sea Toyama Bay Persian Gulf Kara Sea Port Phillip Bay Bristol Bay Neva Bay Sea of Japan Bay of Biscay Dublin Bay Gulf of Patras Osaka Bay Nornalup Inlet South Taranaki Bight Long Island Sound Bay of Plenty Celtic Sea Golden Bay Laptev Sea Moray Firth Rangaunu Harbour Gulf of Morbihan Gulf of Papua Moreton Bay Bay of Fundy Cook Inlet Winyah Bay Bristol Channel Saginaw Bay Dead Sea Tokyo Bay estuary of the St. Lawrence
98
action count
action approx
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 11
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?b ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?e ) WHERE { ?q rdf:type ontology:body_of_water . ?n rdf:type ontology:watercourse . ?n property:mouth_of_the_watercourse ?q } GROUP BY ?q } . FILTER ( ?e = 11 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P403
Q15324 Q355304
USER
Which bodies of water do atleast 50 watercourses drain into ?
(c(Q355304),P403,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 50
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?q ) WHERE { ?m rdf:type ontology:Q15324 . ?u rdf:type ontology:Q355304 . ?u property:P403 ?m } GROUP BY ?m } . FILTER ( ?q >= 50 ) }
action atleast
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 50
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?q ) WHERE { ?m rdf:type ontology:body_of_water . ?u rdf:type ontology:watercourse . ?u property:mouth_of_the_watercourse ?m } GROUP BY ?m } . FILTER ( ?q >= 50 ) }
[]
body of water watercourse
Q1247 Q33254 Q13924
SYSTEM
Caribbean Sea, Tasman Sea, Adriatic Sea
Q1247 Q33254 Q13924
(c(Q355304),P403,c(Q15324))
action atleast
action find_reverse_tuple_counts
relation P403
type Q15324
type Q355304
value 50
[ANSWERS]
[{'concept': 'Q355304'}, 'P403', {'concept': 'Q15324'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?q ) WHERE { ?m rdf:type ontology:Q15324 . ?u rdf:type ontology:Q355304 . ?u property:P403 ?m } GROUP BY ?m } . FILTER ( ?q >= 50 ) }
Caribbean Sea Tasman Sea Adriatic Sea
Which bodies of water atleast 50 watercourses drain into
Caribbean Sea Tasman Sea Adriatic Sea
action atleast
action find_reverse_tuple_counts
relation mouth of the watercourse
type body of water
type watercourse
value 50
[{'concept': 'watercourse'}, 'mouth of the watercourse', {'concept': 'body of water'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?u ) AS ?q ) WHERE { ?m rdf:type ontology:body_of_water . ?u rdf:type ontology:watercourse . ?u property:mouth_of_the_watercourse ?m } GROUP BY ?m } . FILTER ( ?q >= 50 ) }
[]