Simple Question (Direct)
Simple Question
Q6108050
P106
Q12737077
USER
What is the profession of Ricardo Buryaile ?
(Q6108050,P106,c(Q12737077))
action filter_type
action find
entity Q6108050
relation P106
type Q12737077
['Q6108050', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6108050 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Ricardo Buryaile
action filter_type
action find
entity Ricardo Buryaile
relation occupation
type occupation
['Ricardo Buryaile', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ricardo_Buryaile property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q6108050,P106,c(Q12737077))
action filter_type
action find
entity Q6108050
relation P106
type Q12737077
The profession of Ricardo Buryaile is a [ANSWER]
['Q6108050', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6108050 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
The profession of Ricardo Buryaile is a politician
politician
action filter_type
action find
entity Ricardo Buryaile
relation occupation
type occupation
['Ricardo Buryaile', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ricardo_Buryaile property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6108050
P39
Q12737077
USER
What was the position for which that person was appointed ?
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q6108050
relation P39
type Q12737077
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q6108050 property:P39 ?q }
Ricardo Buryaile
action filter_type
action find
entity Ricardo Buryaile
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Ricardo_Buryaile property:position_held ?q }
[]
occupation
Q18229570
SYSTEM
Member of the Argentine Chamber of Deputies
Q18229570
(Q82955,P39,c(Q12737077))
action filter_type
action find
entity Q6108050
relation P39
type Q12737077
[ANSWER]
['Q82955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q6108050 property:P39 ?q }
Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
Member of the Argentine Chamber of Deputies
action filter_type
action find
entity Ricardo Buryaile
relation position held
type occupation
['politician', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:Ricardo_Buryaile property:position_held ?q }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9040117 Q6108050
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Ricardo Buryaile or are Higginson Township located in ?
OR((Q6108050,P27,c(Q15617994)), (Q9040117,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6108050
relation P27
action find
entity Q9040117
relation P17
type Q15617994
{'OR': [['Q6108050', 'P27', {'concept': 'Q15617994'}], ['Q9040117', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6108050 property:P27 ?n } UNION { resource:Q9040117 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
Higginson Township Ricardo Buryaile
action filter_type
action union
action find
entity Ricardo Buryaile
relation country of citizenship
action find
entity Higginson Township
relation country
type designation for an administrative territorial entity
{'OR': [['Ricardo Buryaile', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Higginson Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ricardo_Buryaile property:country_of_citizenship ?n } UNION { resource:Higginson_Township property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q414
SYSTEM
United States of America, Argentina
Q30 Q414
OR((Q6108050,P27,c(Q15617994)), (Q9040117,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q6108050
relation P27
action find
entity Q9040117
relation P17
type Q15617994
[ANSWERS] are the countries of citizenship of Ricardo Buryaile or are Higginson Township located in
{'OR': [['Q6108050', 'P27', {'concept': 'Q15617994'}], ['Q9040117', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q6108050 property:P27 ?n } UNION { resource:Q9040117 property:P17 ?n } } . ?n rdf:type ontology:Q15617994 }
United States of America Argentina
United States of America and Argentina are the countries of citizenship of Ricardo Buryaile or are Higginson Township located in
United States of America Argentina
action filter_type
action union
action find
entity Ricardo Buryaile
relation country of citizenship
action find
entity Higginson Township
relation country
type designation for an administrative territorial entity
{'OR': [['Ricardo Buryaile', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Higginson Township', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ricardo_Buryaile property:country_of_citizenship ?n } UNION { resource:Higginson_Township property:country ?n } } . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q15617994 Q15416 Q166142
USER
How many administrative territories are around 16 television programs and applications set in ?
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 16
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 . ?a property:P840 ?e } UNION { ?a property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q166142 } } GROUP BY ?e } . FILTER ( ?p = 16 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 16
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program . ?a property:narrative_location ?e } UNION { ?a property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:application } } GROUP BY ?e } . FILTER ( ?p = 16 ) }
[]
designation for an administrative territorial entity television program application
SYSTEM
150
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q668 Q414 Q3278 Q55 Q1948 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q258 Q1979 Q45 Q43 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q869 Q6247
(c(Q15416)|c(Q166142),P840,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q15416
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
value 16
[ANSWER]
[[{'concept': 'Q15416'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q15416 . ?a property:P840 ?e } UNION { ?a property:P840 ?e . ?e rdf:type ontology:Q15617994 . ?a rdf:type ontology:Q166142 } } GROUP BY ?e } . FILTER ( ?p = 16 ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre India Argentina Charente-Maritime Netherlands Manitoba Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia South Africa Prince Edward Island Portugal Turkey Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Thailand Mantua
150
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type television program
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
value 16
[[{'concept': 'television program'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) ?e WHERE { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:television_program . ?a property:narrative_location ?e } UNION { ?a property:narrative_location ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a rdf:type ontology:application } } GROUP BY ?e } . FILTER ( ?p = 16 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P361
Q2221906
USER
What is Argentina a component of ?
(Q414,P361,c(Q2221906))
action filter_type
action find
entity Q414
relation P361
type Q2221906
['Q414', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q414 property:P361 ?c }
Argentina
action filter_type
action find
entity Argentina
relation part of
type geographic location
['Argentina', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:Argentina property:part_of ?c }
[]
geographic location
Q12585
SYSTEM
Latin America
Q12585
(Q414,P361,c(Q2221906))
action filter_type
action find
entity Q414
relation P361
type Q2221906
Argentina is a component of [ANSWER]
['Q414', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q2221906 . resource:Q414 property:P361 ?c }
Latin America
Argentina is a component of Latin America
Latin America
action filter_type
action find
entity Argentina
relation part of
type geographic location
['Argentina', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:geographic_location . resource:Argentina property:part_of ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2981976
Q2221906
USER
And how about Mamison Pass?
(Q2981976,P361,c(Q2221906))
action filter_type
action find
entity Q2981976
relation P361
type Q2221906
['Q2981976', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q2981976 property:P361 ?l . ?l rdf:type ontology:Q2221906 }
Mamison Pass
action filter_type
action find
entity Mamison Pass
relation part of
type geographic location
['Mamison Pass', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Mamison_Pass property:part_of ?l . ?l rdf:type ontology:geographic_location }
[]
geographic location
Q18869
SYSTEM
Caucasus
Q18869
(Q2981976,P361,c(Q2221906))
action filter_type
action find
entity Q2981976
relation P361
type Q2221906
[ANSWER]
['Q2981976', 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?l WHERE { resource:Q2981976 property:P361 ?l . ?l rdf:type ontology:Q2221906 }
Caucasus
Caucasus
action filter_type
action find
entity Mamison Pass
relation part of
type geographic location
['Mamison Pass', 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?l WHERE { resource:Mamison_Pass property:part_of ?l . ?l rdf:type ontology:geographic_location }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q849441
P706
Q56061 Q2221906
USER
Which administrative territories are less number of geographic locations located on than Saint John ?
(c(Q2221906),P706,c(Q56061))
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q849441
relation P706
type Q56061
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P706 ?m . ?m rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2221906 } GROUP BY ?m } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ontology:Q56061 . ?l property:P706 resource:Q849441 } } }
Saint John
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Saint John
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:located_on_terrain_feature ?m . ?m rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:geographic_location } GROUP BY ?m } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . ?l property:located_on_terrain_feature resource:Saint_John } } }
[]
administrative territorial entity geographic location
Q649 Q2807 Q8678
SYSTEM
Moscow, Madrid, Rio de Janeiro
Q1715 Q644023 Q12317764 Q10861438 Q211073 Q4965978 Q486580 Q203995 Q322361 Q1025947 Q3711 Q21176 Q138901 Q3413022 Q406 Q1135211 Q612 Q8678 Q309355 Q7107283 Q663011 Q20085877 Q727 Q649 Q6515984 Q1479 Q836960 Q3219865 Q72499 Q23436 Q26087 Q1085963 Q463937 Q368275 Q707345 Q572041 Q3141 Q586 Q672395 Q569685 Q5689172 Q1919093 Q1373658 Q904462 Q237 Q2255839 Q12994 Q2807 Q932302 Q2066 Q156858 Q1754 Q706005 Q1622641 Q13153 Q200707 Q14452 Q1850 Q6276922 Q212040 Q515 Q2428809 Q853946 Q2703446 Q90 Q16635 Q123076 Q25231 Q1741 Q913663 Q1748 Q1016709 Q3286039 Q1223508 Q84 Q2132 Q7880 Q24639 Q1553054 Q1921029 Q81046 Q155863 Q2622689 Q1218 Q7230430 Q10667337 Q1567229 Q2577744 Q3172924 Q516474 Q4942522 Q1014221 Q740149 Q16536070 Q214178 Q6958544 Q3295876 Q539579 Q25396 Q1043368 Q436691 Q815893 Q1476222 Q831527 Q2536868 Q1017 Q11998785 Q244289 Q780785 Q325455 Q15377091 Q1333951 Q1929484 Q191607 Q1042366 Q189059 Q27168 Q1014699 Q14947358 Q745121 Q1073089
(c(Q2221906),P706,c(Q56061))
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q849441
relation P706
type Q56061
[ANSWERS] are less number of geographic locations located on than Saint John
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:P706 ?m . ?m rdf:type ontology:Q56061 . ?y rdf:type ontology:Q2221906 } GROUP BY ?m } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ontology:Q56061 . ?l property:P706 resource:Q849441 } } }
Hanover Troy Grove Højer Svay Rieng Matadi Brickell Key Pedra de Lume Southend-on-Sea Ribe Watson Lake Belgrade Viborg Livermore Quartier-d'Orléans Istanbul Agios Konstantinos, East Attica Dubai Rio de Janeiro Kikinda Osney Hadsund Mullumbimby Amsterdam Moscow Setskog Bordeaux Rødding Laurium Mediterranean Basin Edinburgh Tromsø Franklin Saint Thomas Spetses Padborg Antequera Melbourne Bonn Thurø Griesheim Head Lake, Ontario Melby Charlottenlund Riddarholmen Vatican City Uitkerke Bruges Madrid Dingle Essen Struga Stockholm Friedrichstadt Mount Macedon Ronda Takamatsu Easter Island Phnom Penh Jordan River, British Columbia Stóra Dímun city Champagne Girsu Eskilstrup Paris Guam Palmyra Atoll Svalbard Vienna Bridge of Orchy Copenhagen Mokra Gora Manndalen Ohrid London Victoria Toulouse Vancouver Gudhjem Menzenschwand Charleroi Kronstadt Skærbæk Jerusalem Porsön Sickla Tornquist Zone Ingarö Løgumkloster Groß-Umstadt Bonnyrigg Konitsa Södermalm Careil Nablus Nagarbhavi Martinique, Nova Scotia Groß-Bieberau Bonaire Stora Essingen Altenberg Bellelay Sehel Island Djurgården Werbomont Aachen Rådal Athis-Mons Långholmen Yitzhar Clausthal Elstorf Klejtrup Podolia Lilla Essingen Mytilene Randers Demir Kapija Sommerfeld Alsace Wine Region Chimanimani
Moscow, Madrid and Rio de Janeiro are less number of geographic locations located on than Saint John
Moscow Madrid Rio de Janeiro
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Saint John
relation located on terrain feature
type administrative territorial entity
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?v ) WHERE { ?y property:located_on_terrain_feature ?m . ?m rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:geographic_location } GROUP BY ?m } . FILTER ( ?v < ?e ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { ?l rdf:type ontology:administrative_territorial_entity . ?l property:located_on_terrain_feature resource:Saint_John } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q105206
P706
Q56061 Q2221906
USER
And how about Bukovina?
(c(Q2221906),P706,c(Q56061))
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q105206
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P706 ?p . ?p rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2221906 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P706 resource:Q105206 . ?g rdf:type ontology:Q2221906 } } . FILTER ( ?k < ?c ) }
Bukovina
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Bukovina
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:located_on_terrain_feature ?p . ?p rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:geographic_location } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_on_terrain_feature resource:Bukovina . ?g rdf:type ontology:geographic_location } } . FILTER ( ?k < ?c ) }
[]
administrative territorial entity geographic location
Q649 Q2807 Q8678
SYSTEM
Moscow, Madrid, Rio de Janeiro
Q1715 Q644023 Q12317764 Q10861438 Q211073 Q4965978 Q486580 Q203995 Q322361 Q1025947 Q3711 Q21176 Q138901 Q3413022 Q406 Q1135211 Q612 Q8678 Q309355 Q7107283 Q663011 Q20085877 Q727 Q649 Q6515984 Q1479 Q836960 Q3219865 Q72499 Q23436 Q26087 Q1085963 Q463937 Q368275 Q707345 Q572041 Q3141 Q586 Q672395 Q569685 Q5689172 Q1919093 Q1373658 Q904462 Q237 Q2255839 Q12994 Q2807 Q932302 Q2066 Q156858 Q1754 Q706005 Q1622641 Q13153 Q200707 Q14452 Q1850 Q6276922 Q212040 Q515 Q2428809 Q853946 Q2703446 Q90 Q16635 Q123076 Q25231 Q1741 Q913663 Q1748 Q1016709 Q3286039 Q1223508 Q84 Q2132 Q7880 Q24639 Q1553054 Q849441 Q1921029 Q81046 Q605001 Q155863 Q2622689 Q1218 Q7230430 Q10667337 Q1567229 Q2577744 Q3172924 Q516474 Q4942522 Q1014221 Q740149 Q16536070 Q214178 Q6958544 Q3295876 Q539579 Q25396 Q1043368 Q436691 Q815893 Q1476222 Q831527 Q2536868 Q1017 Q11998785 Q244289 Q780785 Q325455 Q15377091 Q1333951 Q1929484 Q191607 Q1042366 Q189059 Q27168 Q1014699 Q14947358 Q745121 Q1073089
(c(Q2221906),P706,c(Q56061))
action less
action find_reverse_tuple_counts
relation P706
type Q56061
type Q2221906
action count
action filter_type
action find_reverse
entity Q105206
relation P706
type Q2221906
[ANSWERS]
[{'concept': 'Q2221906'}, 'P706', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:P706 ?p . ?p rdf:type ontology:Q56061 . ?e rdf:type ontology:Q2221906 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:P706 resource:Q105206 . ?g rdf:type ontology:Q2221906 } } . FILTER ( ?k < ?c ) }
Hanover Troy Grove Højer Svay Rieng Matadi Brickell Key Pedra de Lume Southend-on-Sea Ribe Watson Lake Belgrade Viborg Livermore Quartier-d'Orléans Istanbul Agios Konstantinos, East Attica Dubai Rio de Janeiro Kikinda Osney Hadsund Mullumbimby Amsterdam Moscow Setskog Bordeaux Rødding Laurium Mediterranean Basin Edinburgh Tromsø Franklin Saint Thomas Spetses Padborg Antequera Melbourne Bonn Thurø Griesheim Head Lake, Ontario Melby Charlottenlund Riddarholmen Vatican City Uitkerke Bruges Madrid Dingle Essen Struga Stockholm Friedrichstadt Mount Macedon Ronda Takamatsu Easter Island Phnom Penh Jordan River, British Columbia Stóra Dímun city Champagne Girsu Eskilstrup Paris Guam Palmyra Atoll Svalbard Vienna Bridge of Orchy Copenhagen Mokra Gora Manndalen Ohrid London Victoria Toulouse Vancouver Gudhjem Saint John Menzenschwand Charleroi Svaneke Kronstadt Skærbæk Jerusalem Porsön Sickla Tornquist Zone Ingarö Løgumkloster Groß-Umstadt Bonnyrigg Konitsa Södermalm Careil Nablus Nagarbhavi Martinique, Nova Scotia Groß-Bieberau Bonaire Stora Essingen Altenberg Bellelay Sehel Island Djurgården Werbomont Aachen Rådal Athis-Mons Långholmen Yitzhar Clausthal Elstorf Klejtrup Podolia Lilla Essingen Mytilene Randers Demir Kapija Sommerfeld Alsace Wine Region Chimanimani
Moscow Madrid Rio de Janeiro
action less
action find_reverse_tuple_counts
relation located on terrain feature
type administrative territorial entity
type geographic location
action count
action filter_type
action find_reverse
entity Bukovina
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?e ) AS ?k ) WHERE { ?e property:located_on_terrain_feature ?p . ?p rdf:type ontology:administrative_territorial_entity . ?e rdf:type ontology:geographic_location } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g property:located_on_terrain_feature resource:Bukovina . ?g rdf:type ontology:geographic_location } } . FILTER ( ?k < ?c ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q6799198
P190
Q56061
USER
Are Mağaraobruğu, Hamamözü a sister city of those ones ?
(Q6799198,P190,Q649) (Q6799198,P190,Q2807) (Q6799198,P190,Q8678)
action is_in
entity prev_answer
action find
entity Q6799198
relation P190
['Q6799198', 'P190', 'Q649'] ['Q6799198', 'P190', 'Q2807'] ['Q6799198', 'P190', 'Q8678']
ASK WHERE { resource:Q6799198 property:P190 ?l . VALUES ( ?l ) { ( resource:Q1715 ) ( resource:Q644023 ) ( resource:Q12317764 ) } }
Mağaraobruğu, Hamamözü
action is_in
entity prev_answer
action find
entity Mağaraobruğu, Hamamözü
relation sister city
['Mağaraobruğu, Hamamözü', 'sister city', 'Moscow'] ['Mağaraobruğu, Hamamözü', 'sister city', 'Madrid'] ['Mağaraobruğu, Hamamözü', 'sister city', 'Rio de Janeiro']
ASK WHERE { resource:Mağaraobruğu,_Hamamözü property:sister_city ?l . VALUES ( ?l ) { ( resource:Hanover ) ( resource:Troy_Grove ) ( resource:Højer ) } }
[]
administrative territorial entity
SYSTEM
NO
(Q6799198,P190,Q649) (Q6799198,P190,Q2807) (Q6799198,P190,Q8678)
action is_in
entity prev_answer
action find
entity Q6799198
relation P190
[ANSWER]
['Q6799198', 'P190', 'Q649'] ['Q6799198', 'P190', 'Q2807'] ['Q6799198', 'P190', 'Q8678']
ASK WHERE { resource:Q6799198 property:P190 ?l . VALUES ( ?l ) { ( resource:Q1715 ) ( resource:Q644023 ) ( resource:Q12317764 ) } }
No
action is_in
entity prev_answer
action find
entity Mağaraobruğu, Hamamözü
relation sister city
['Mağaraobruğu, Hamamözü', 'sister city', 'Moscow'] ['Mağaraobruğu, Hamamözü', 'sister city', 'Madrid'] ['Mağaraobruğu, Hamamözü', 'sister city', 'Rio de Janeiro']
ASK WHERE { resource:Mağaraobruğu,_Hamamözü property:sister_city ?l . VALUES ( ?l ) { ( resource:Hanover ) ( resource:Troy_Grove ) ( resource:Højer ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q649
P36
Q3024240 Q3895768
USER
How many former countries and fictional locations contain Moscow as their capital ?
(c(Q3024240),P36,Q649) (c(Q3895768),P36,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P36
type Q3024240
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[{'concept': 'Q3024240'}, 'P36', 'Q649'] [{'concept': 'Q3895768'}, 'P36', 'Q649']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:Q3024240 . ?h property:P36 resource:Q649 } UNION { ?h property:P36 resource:Q649 . ?h rdf:type ontology:Q3895768 } }
Moscow
action count
action union
action filter_type
action find_reverse
entity Moscow
relation capital
type former country
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'former country'}, 'capital', 'Moscow'] [{'concept': 'fictional location'}, 'capital', 'Moscow']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:former_country . ?h property:capital resource:Moscow } UNION { ?h property:capital resource:Moscow . ?h rdf:type ontology:fictional_location } }
[]
former country fictional location
SYSTEM
1 former countries and 1 fictional locations
Q34266 Q2630442
(c(Q3024240),P36,Q649) (c(Q3895768),P36,Q649)
action count
action union
action filter_type
action find_reverse
entity Q649
relation P36
type Q3024240
action filter_type
action find_reverse
entity Q649
relation P36
type Q3895768
[ANSWER]
[{'concept': 'Q3024240'}, 'P36', 'Q649'] [{'concept': 'Q3895768'}, 'P36', 'Q649']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:Q3024240 . ?h property:P36 resource:Q649 } UNION { ?h property:P36 resource:Q649 . ?h rdf:type ontology:Q3895768 } }
Russian Empire Reichskommissariat Moskowien
1 former countries and 1 fictional locations
action count
action union
action filter_type
action find_reverse
entity Moscow
relation capital
type former country
action filter_type
action find_reverse
entity Moscow
relation capital
type fictional location
[{'concept': 'former country'}, 'capital', 'Moscow'] [{'concept': 'fictional location'}, 'capital', 'Moscow']
SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { { ?h rdf:type ontology:former_country . ?h property:capital resource:Moscow } UNION { ?h property:capital resource:Moscow . ?h rdf:type ontology:fictional_location } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q4833112
P532
Q56061 Q2235308
USER
Which ship types are the registry port of greater number of administrative territories than Azurite FDPSO ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q4833112
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?l ) WHERE { ?i property:P532 ?y . ?y rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q4833112 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?d ) }
Azurite FDPSO
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Azurite FDPSO
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?l ) WHERE { ?i property:port_of_registry ?y . ?y rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Azurite_FDPSO property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?l > ?d ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q4833112
relation P532
type Q2235308
[ANSWERS] are the registry port of greater number of administrative territories than Azurite FDPSO
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?l ) WHERE { ?i property:P532 ?y . ?y rdf:type ontology:Q56061 . ?i rdf:type ontology:Q2235308 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Q4833112 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?d ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania are the registry port of greater number of administrative territories than Azurite FDPSO
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Azurite FDPSO
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?y ) AS ?l ) WHERE { ?i property:port_of_registry ?y . ?y rdf:type ontology:administrative_territorial_entity . ?i rdf:type ontology:ship_type } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { resource:Azurite_FDPSO property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?l > ?d ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q17374114
P532
Q56061 Q2235308
USER
And what about M/S Elfkungen?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q17374114
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?s ) WHERE { ?u property:P532 ?c . ?u rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p rdf:type ontology:Q2235308 . resource:Q17374114 property:P532 ?p } } . FILTER ( ?s > ?a ) }
M/S Elfkungen
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity M/S Elfkungen
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?s ) WHERE { ?u property:port_of_registry ?c . ?u rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p rdf:type ontology:ship_type . resource:M/S_Elfkungen property:port_of_registry ?p } } . FILTER ( ?s > ?a ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q17374114
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?s ) WHERE { ?u property:P532 ?c . ?u rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p rdf:type ontology:Q2235308 . resource:Q17374114 property:P532 ?p } } . FILTER ( ?s > ?a ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity M/S Elfkungen
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?s ) WHERE { ?u property:port_of_registry ?c . ?u rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { ?p rdf:type ontology:ship_type . resource:M/S_Elfkungen property:port_of_registry ?p } } . FILTER ( ?s > ?a ) }
[]