Simple Question (Direct)
Simple Question
Q3438137
P641
Q349
USER
What did Roddrick Muckelroy participate in ?
(Q3438137,P641,c(Q349))
action filter_type
action find
entity Q3438137
relation P641
type Q349
['Q3438137', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3438137 property:P641 ?j . ?j rdf:type ontology:Q349 }
Roddrick Muckelroy
action filter_type
action find
entity Roddrick Muckelroy
relation sport
type sport
['Roddrick Muckelroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Roddrick_Muckelroy property:sport ?j . ?j rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q3438137,P641,c(Q349))
action filter_type
action find
entity Q3438137
relation P641
type Q349
Roddrick Muckelroy participated in [ANSWER]
['Q3438137', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { resource:Q3438137 property:P641 ?j . ?j rdf:type ontology:Q349 }
American football
Roddrick Muckelroy participated in American football
American football
action filter_type
action find
entity Roddrick Muckelroy
relation sport
type sport
['Roddrick Muckelroy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { resource:Roddrick_Muckelroy property:sport ?j . ?j rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3438137
P19
Q56061
USER
Which administrative territory is the place of birth of Roddrick Muckelroy ?
(Q3438137,P19,c(Q56061))
action filter_type
action find
entity Q3438137
relation P19
type Q56061
['Q3438137', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q3438137 property:P19 ?m }
Roddrick Muckelroy
action filter_type
action find
entity Roddrick Muckelroy
relation place of birth
type administrative territorial entity
['Roddrick Muckelroy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Roddrick_Muckelroy property:place_of_birth ?m }
[]
administrative territorial entity
Q852645
SYSTEM
Longview
Q852645
(Q3438137,P19,c(Q56061))
action filter_type
action find
entity Q3438137
relation P19
type Q56061
[ANSWER] is the place of birth of Roddrick Muckelroy
['Q3438137', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q56061 . resource:Q3438137 property:P19 ?m }
Longview
Longview is the place of birth of Roddrick Muckelroy
Longview
action filter_type
action find
entity Roddrick Muckelroy
relation place of birth
type administrative territorial entity
['Roddrick Muckelroy', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:administrative_territorial_entity . resource:Roddrick_Muckelroy property:place_of_birth ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q852645 Q682819
P17
Q15617994
USER
Is that administrative territory located in Ravelsbach ?
(Q852645,P17,Q682819)
action is_in
entity Q682819
action find
entity Q852645
relation P17
['Q852645', 'P17', 'Q682819']
ASK WHERE { resource:Q852645 property:P17 resource:Q682819 }
Longview Ravelsbach
action is_in
entity Ravelsbach
action find
entity Longview
relation country
['Longview', 'country', 'Ravelsbach']
ASK WHERE { resource:Longview property:country resource:Ravelsbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q852645,P17,Q682819)
action is_in
entity Q682819
action find
entity Q852645
relation P17
[ANSWER]
['Q852645', 'P17', 'Q682819']
ASK WHERE { resource:Q852645 property:P17 resource:Q682819 }
No
action is_in
entity Ravelsbach
action find
entity Longview
relation country
['Longview', 'country', 'Ravelsbach']
ASK WHERE { resource:Longview property:country resource:Ravelsbach }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q166142 Q2342494
USER
Which administrative territories are min number of applications or collectables set in ?
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?u rdf:type ?b } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?n } . FILTER ( ?d = ?w ) }
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:collectable ) ( ontology:application ) } . ?u rdf:type ?b } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?n } . FILTER ( ?d = ?w ) }
[]
administrative territorial entity application collectable
Q1085 Q490 Q1781
SYSTEM
Prague, Milan, Budapest
Q1715 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q331990 Q210292 Q28729 Q25286 Q2280 Q3805 Q501661 Q49233 Q1255278 Q42096 Q18808 Q23725 Q1050826 Q4093 Q3659 Q16563 Q8692 Q585 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1022 Q308891 Q101625 Q48320 Q80985 Q215646 Q80734 Q7880 Q1930 Q1435589 Q597 Q690 Q257536 Q22889 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q1335 Q594807 Q9427 Q48274 Q12340599 Q262483 Q186237 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q11864 Q83387 Q462799 Q8673 Q2861 Q11703 Q2868 Q490 Q48370 Q36036 Q3703 Q208287 Q54212 Q3630 Q17151 Q237 Q6046 Q25416 Q239 Q16558 Q16559 Q753121 Q994 Q35178 Q113546 Q3037 Q723329 Q490737 Q1563 Q900 Q14815 Q169492 Q13670 Q128321 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q25390 Q214178 Q25395 Q78 Q70 Q178168 Q37100 Q2214 Q38022 Q174 Q270 Q37066 Q486439 Q208472 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q41329 Q1555 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q1479 Q387047 Q18419 Q1780 Q1781 Q690052 Q2090 Q2073211 Q1851 Q127856 Q18705 Q3820 Q621549 Q49149 Q676689 Q271411 Q13496 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q430464 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q1659757 Q268873 Q26 Q1726 Q530090 Q3825 Q159232 Q1757 Q18125 Q1867 Q384 Q5813 Q27393 Q12191 Q126148 Q202337 Q837478 Q184345 Q6106 Q49111 Q499196 Q495373 Q10313 Q49255 Q3640 Q647 Q41621 Q3012 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q1449 Q47048 Q1764 Q34932 Q2211 Q41262 Q2704 Q1040 Q6441 Q165972 Q374748 Q485172 Q26793 Q4190 Q897848 Q165413 Q1574020 Q3992 Q3110 Q3114 Q743521 Q630533 Q2751 Q41876 Q41970 Q34647 Q1085
(c(Q166142)|c(Q2342494),P840,c(Q56061))
action argmin
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
Min number of applications or collectables are set in [ANSWERS]
[[{'concept': 'Q166142'}, {'concept': 'Q2342494'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q166142 ) } . ?u rdf:type ?b } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q166142 ) ( ontology:Q2342494 ) } } GROUP BY ?n } . FILTER ( ?d = ?w ) }
Hanover Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Korean Demilitarized Zone Yozgat Kozhikode Uppsala Minsk Amman Schleswig Orlando Dragør Miryang Pyongyang Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Bilbao Oslo Tijuana Farsø Tombstone Giza Plzeň Stuttgart special wards of Tokyo Marrakesh Kōbe Fes Edo Campagna Toulouse Ottawa Folsom Lisbon Delft Janesville Bath Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Montevideo Søborg Timbuktu Nashua Vedersø Deadwood Joensuu Dybbøl Besançon Mexico City Torquay Onllwyn Junagadh Diyarbakır Evanston Lagos Rostock United States Virgin Islands Lima Milan Manchester Lviv Bamako Kauniainen Barnsley Jakarta Thessaloniki Vatican City Novara Stavanger Brussels Fort Worth Austin Atacames Tbilisi Kuwait City Blackeberg Kathmandu Ascot Bloomington Havana Kazan Weißenfels Neukölln Syracuse Midland Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Leeuwarden Nablus Newark Basel Bern Mitrovica Auckland Pskov St. Louis São Paulo Warsaw Bismarck Cedar Rapids Bingöl Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Linz Guatemala City La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Bordeaux Malibu Brooklyn Bratislava Budapest Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Bajram Curri Beirut Inglewood Nantucket Gravesend Malindi Brindisi Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Dearborn Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Gimli Newport Beach Northern Ireland Munich Jerichow Libreville Santa Cruz Helsinki Manchester Taipei Skopje Canary Islands Herning Nantes Tangier Nauplion Sabinov Viña del Mar Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Tampa Ankara Rennes Haifa Ulm Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Genoa Oulu Reykjavík Brisbane Malmö Nottingham Pescara Karlsruhe Montpellier Fort Lauderdale Jenin Ann Arbor Bergen Passau Brande Baikonur The Hamptons Liège San Salvador Canberra Scarborough Tire Siena Reims Pyatigorsk Johannesburg Prague
Min number of applications or collectables are set in Prague, Milan and Budapest
Prague Milan Budapest
action argmin
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
[[{'concept': 'application'}, {'concept': 'collectable'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?g ) AS ?w ) { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?g ) WHERE { VALUES ( ?b ) { ( ontology:collectable ) ( ontology:application ) } . ?u rdf:type ?b } GROUP BY ?t } } . { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:application ) ( ontology:collectable ) } } GROUP BY ?n } . FILTER ( ?d = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q925424 Q1085
P190
Q56061
USER
Which administrative territories are sister towns of Prague or Christchurch ?
OR((Q1085,P190,c(Q56061)), (Q925424,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q925424
relation P190
type Q56061
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q925424', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?f ) { ( resource:Q1085 ) ( resource:Q925424 ) } . ?f property:P190 ?l } . ?l rdf:type ontology:Q56061 }
Christchurch Prague
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Christchurch
relation sister city
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Christchurch', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?f ) { ( resource:Prague ) ( resource:Christchurch ) } . ?f property:sister_city ?l } . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1748 Q472 Q6252 Q26119 Q2807 Q13386 Q51103 Q1218 Q1842 Q1867
SYSTEM
Some of them are Copenhagen, Sofia, Monza, Prešov, Madrid, Lecce, Cali, Jerusalem, Luxembourg, Taipei
Q1757 Q649 Q472 Q8621 Q185632 Q1867 Q1297 Q3951 Q1842 Q1524 Q6252 Q406 Q1780 Q2634 Q13386 Q1748 Q26119 Q2090 Q79990 Q51103 Q13362 Q216 Q239 Q2807 Q64 Q3376 Q1218 Q16556 Q168202
OR((Q1085,P190,c(Q56061)), (Q925424,P190,c(Q56061)))
action filter_type
action union
action find
entity Q1085
relation P190
action find
entity Q925424
relation P190
type Q56061
[ANSWERS] are sister towns of Prague or Christchurch
{'OR': [['Q1085', 'P190', {'concept': 'Q56061'}], ['Q925424', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?f ) { ( resource:Q1085 ) ( resource:Q925424 ) } . ?f property:P190 ?l } . ?l rdf:type ontology:Q56061 }
Helsinki Moscow Sofia Terni Limassol Taipei Chicago Aalen Luxembourg Athens Monza Istanbul Bratislava Naples Lecce Copenhagen Prešov Nuremberg Christchurch Cali Ferrara Vilnius Brussels Madrid Berlin Trento Jerusalem Phoenix Rosh HaAyin
Copenhagen, Sofia, Monza, Prešov, Madrid, Lecce, Cali, Jerusalem, Luxembourg and Taipei are sister towns of Prague or Christchurch
Copenhagen Sofia Monza Prešov Madrid Lecce Cali Jerusalem Luxembourg Taipei
action filter_type
action union
action find
entity Prague
relation sister city
action find
entity Christchurch
relation sister city
type administrative territorial entity
{'OR': [['Prague', 'sister city', {'concept': 'administrative territorial entity'}], ['Christchurch', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { VALUES ( ?f ) { ( resource:Prague ) ( resource:Christchurch ) } . ?f property:sister_city ?l } . ?l rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11891639
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their base harbour than SS Coccolita ?
(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 Q11891639
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?u ) WHERE { ?j property:P532 ?d . ?j rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q11891639 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?u > ?a ) }
SS Coccolita
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 SS Coccolita
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?u ) WHERE { ?j property:port_of_registry ?d . ?j rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:SS_Coccolita property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?u > ?a ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(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 Q11891639
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their base harbour than SS Coccolita
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?u ) WHERE { ?j property:P532 ?d . ?j rdf:type ontology:Q2235308 . ?d rdf:type ontology:Q56061 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q11891639 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?u > ?a ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and MS Arrow have more number of administrative territories as their base harbour than SS Coccolita
MS Azura SS Maxim Gorkiy MS Arrow
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 SS Coccolita
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?u ) WHERE { ?j property:port_of_registry ?d . ?j rdf:type ontology:ship_type . ?d rdf:type ontology:administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:SS_Coccolita property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?u > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027083
P532
Q56061 Q2235308
USER
And what about Padarn?
(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 Q24027083
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q24027083 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?e property:P532 ?g } GROUP BY ?e } }
Padarn
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 Padarn
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Padarn property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?e property:port_of_registry ?g } GROUP BY ?e } }
[]
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 Q24027083
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Q24027083 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:Q2235308 . ?g rdf:type ontology:Q56061 . ?e property:P532 ?g } GROUP BY ?e } }
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 Padarn
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { FILTER ( ?s > ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?a ) WHERE { resource:Padarn property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . { SELECT DISTINCT ?e ( COUNT ( ?g ) AS ?s ) WHERE { ?e rdf:type ontology:ship_type . ?g rdf:type ontology:administrative_territorial_entity . ?e property:port_of_registry ?g } GROUP BY ?e } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q971263 Q682819
P47 P17
Q1048835
USER
Which political territories are Ravelsbach a part of or have a shared border with Arakaldo ?
OR((Q682819,P17,c(Q1048835)), (Q971263,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q682819
relation P17
action find
entity Q971263
relation P47
type Q1048835
{'OR': [['Q682819', 'P17', {'concept': 'Q1048835'}], ['Q971263', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q682819 property:P17 ?n } UNION { resource:Q971263 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Arakaldo Ravelsbach
action filter_type
action union
action find
entity Ravelsbach
relation country
action find
entity Arakaldo
relation shares border with
type political territorial entity
{'OR': [['Ravelsbach', 'country', {'concept': 'political territorial entity'}], ['Arakaldo', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ravelsbach property:country ?n } UNION { resource:Arakaldo property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q726664 Q676903 Q40 Q670080
SYSTEM
Orozko, Laudio/Llodio, Austria, Arrankudiaga
Q726664 Q676903 Q40 Q670080
OR((Q682819,P17,c(Q1048835)), (Q971263,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q682819
relation P17
action find
entity Q971263
relation P47
type Q1048835
[ANSWERS] are Ravelsbach a part of or have a shared border with Arakaldo
{'OR': [['Q682819', 'P17', {'concept': 'Q1048835'}], ['Q971263', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q682819 property:P17 ?n } UNION { resource:Q971263 property:P47 ?n } } . ?n rdf:type ontology:Q1048835 }
Orozko Laudio/Llodio Austria Arrankudiaga
Orozko, Laudio/Llodio, Austria and Arrankudiaga are Ravelsbach a part of or have a shared border with Arakaldo
Orozko Laudio/Llodio Austria Arrankudiaga
action filter_type
action union
action find
entity Ravelsbach
relation country
action find
entity Arakaldo
relation shares border with
type political territorial entity
{'OR': [['Ravelsbach', 'country', {'concept': 'political territorial entity'}], ['Arakaldo', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Ravelsbach property:country ?n } UNION { resource:Arakaldo property:shares_border_with ?n } } . ?n rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15876871 Q726664
P27 P17
Q15617994
USER
Which administrative territories are Orozko located in or are Jan Decadt an inhabitant of ?
OR((Q726664,P17,c(Q15617994)), (Q15876871,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q726664
relation P17
action find
entity Q15876871
relation P27
type Q15617994
{'OR': [['Q726664', 'P17', {'concept': 'Q15617994'}], ['Q15876871', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q726664 property:P17 ?p } UNION { resource:Q15876871 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Jan Decadt Orozko
action filter_type
action union
action find
entity Orozko
relation country
action find
entity Jan Decadt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Orozko', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jan Decadt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Orozko property:country ?p } UNION { resource:Jan_Decadt property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q31
SYSTEM
Spain, Belgium
Q29 Q31
OR((Q726664,P17,c(Q15617994)), (Q15876871,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q726664
relation P17
action find
entity Q15876871
relation P27
type Q15617994
Orozko Jan Decadt are located in [ANSWERS] or are an inhabitant of
{'OR': [['Q726664', 'P17', {'concept': 'Q15617994'}], ['Q15876871', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q726664 property:P17 ?p } UNION { resource:Q15876871 property:P27 ?p } } . ?p rdf:type ontology:Q15617994 }
Spain Belgium
Orozko Jan Decadt are located in Spain and Belgium or are an inhabitant of
Spain Belgium
action filter_type
action union
action find
entity Orozko
relation country
action find
entity Jan Decadt
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Orozko', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Jan Decadt', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Orozko property:country ?p } UNION { resource:Jan_Decadt property:country_of_citizenship ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q29 Q31
P17
Q7210356
USER
Which political organizations are located in Spain and Belgium ?
(c(Q7210356),P17,Q29) (c(Q7210356),P17,Q31)
action union
action filter_type
action find_reverse
entity Q29
relation P17
type Q7210356
action filter_type
action find_reverse
entity Q31
relation P17
type Q7210356
[{'concept': 'Q7210356'}, 'P17', 'Q29'] [{'concept': 'Q7210356'}, 'P17', 'Q31']
SELECT DISTINCT ?q WHERE { { ?q property:P17 resource:Q31 . ?q rdf:type ontology:Q7210356 } UNION { ?q property:P17 resource:Q29 . ?q rdf:type ontology:Q7210356 } }
Spain Belgium
action union
action filter_type
action find_reverse
entity Spain
relation country
type political organization
action filter_type
action find_reverse
entity Belgium
relation country
type political organization
[{'concept': 'political organization'}, 'country', 'Spain'] [{'concept': 'political organization'}, 'country', 'Belgium']
SELECT DISTINCT ?q WHERE { { ?q property:country resource:Belgium . ?q rdf:type ontology:political_organization } UNION { ?q property:country resource:Spain . ?q rdf:type ontology:political_organization } }
[]
political organization
Q15630787 Q927193 Q1470087
SYSTEM
Vox, Compromís, Francophone Democratic Federalists
Q93571 Q12391832 Q2194226 Q150398 Q18562305 Q3327648 Q3117911 Q19899708 Q3319699 Q19976930 Q21523398 Q635351 Q15630787 Q18219762 Q3395022 Q19587806 Q1829445 Q3298135 Q7738243 Q3327577 Q18729868 Q4891373 Q2629532 Q2877997 Q3327192 Q2595783 Q20057747 Q2603441 Q921147 Q927193 Q3394400 Q19969391 Q9091825 Q3395517 Q1232624 Q623740 Q3782251 Q149877 Q1124937 Q1432791 Q6065085 Q3178479 Q19833223 Q6748041 Q3813845 Q5923745 Q176727 Q1029869 Q2737634 Q3047755 Q588759 Q8846575 Q7141111 Q2713131 Q3323280 Q19817040 Q25104440 Q20976937 Q3321371 Q12379791 Q3780794 Q3328621 Q11693816 Q2351459 Q20681747 Q3052430 Q3322957 Q603477 Q20669461 Q9056457 Q3398554 Q2054678 Q3321171 Q3817400 Q20810793 Q1144342 Q2871932 Q18219058 Q6979795 Q11904082 Q541794 Q3366715 Q22661213 Q907516 Q28982 Q932768 Q130671 Q3388044 Q2431678 Q1774476 Q478306 Q2215286 Q792293 Q3561728 Q645787 Q750673 Q925616 Q655611 Q1725837 Q2067771 Q1811565 Q1084016 Q1924175 Q2532509 Q762051 Q2428334 Q840814 Q1510441 Q2636334 Q19850616 Q1670003 Q597900 Q533384 Q2711996 Q1470087 Q1160192 Q7248780 Q682990 Q513521 Q2871206
(c(Q7210356),P17,Q29) (c(Q7210356),P17,Q31)
action union
action filter_type
action find_reverse
entity Q29
relation P17
type Q7210356
action filter_type
action find_reverse
entity Q31
relation P17
type Q7210356
[ANSWERS] are located in Spain and Belgium
[{'concept': 'Q7210356'}, 'P17', 'Q29'] [{'concept': 'Q7210356'}, 'P17', 'Q31']
SELECT DISTINCT ?q WHERE { { ?q property:P17 resource:Q31 . ?q rdf:type ontology:Q7210356 } UNION { ?q property:P17 resource:Q29 . ?q rdf:type ontology:Q7210356 } }
Internet Party Galician League Partido Católico Nacional Convergence and Union X Party Galician Regionalist Association Union of the Salamancan People Marea Atlántica Cantabrian Nationalist Council Xixón si puede És el moment Progressive Party Vox Abrente-Galician Democratic Left Spanish Social Democratic Union Ahora Madrid Pact of San Sebastián Inzar The Greens of the Madrid Community Galician Solidarity Entesa per Arbúcies Reformist Party Carlist Tradicionalist Party Partido Católico Tradicionalista National Congress of the Canaries Revolutionary Antifascist Patriotic Front Las Palmas de Gran Canaria Puede Spanish Patriotic Union New Force Compromís Spanish Nationalist Party Compostela Aberta Union for the Progress of Cantabria Canarian Nationalist Initiative Socialist Party of Majorca United Left Aranese Democratic Convergence Initiative for Catalonia Greens Confederation of the Greens Navarrese People's Union political party in Spain Liberal Party Comunistes de Catalunya Communist Movement of Galicia Communist Workers Party of Catalonia Canarian United Left Democratic Action Party Spanish National Union Platform for Catalonia Liberal Union Euzko Gaztedi Basque Socialist Party Party of Separated and Divorced Republican Social Movement Euskal Herritarrok Málaga Now Union de Todos Popular Unity Popular Front of the Canary Islands AGIR Authentic Falange Partido Regionalista Extremeño Communist Movement of the Valencian Country Republican Left Popular Unity Candidates - Constituent Call Regionalist League Constitutional Party National Democracy Catalunya Sí que es Pot Menorca Socialist Party - Nationalist Agreement Galician League Moderate Party Popular Action Casa del pueblo Podemos Región de Murcia Union, Progress and Democracy Radical Republican Party Barcelona en Comú Nationalist Party of the Rif of Melilla Acción Gallega Canarian Independent Groups Christian Social Party Socialist Party National Front New Flemish Alliance Vivant Libertarian, Direct, Democratic Catholic Flemish People's Party Liberal Appeal Party for Freedom and Progress VLOTT Liberal party Catholic Party Flemish-Socialist Movement Socialist Party Christian Democratic and Flemish Workers' Party of Belgium Ecolo People's Union NEE Belgian Labour Party Christlich Soziale Partei Union des Francophones Belgian Socialist Party Rassemblement Wallonie France Left Socialist Party Humanist Democratic Centre Sociaal-Liberale Partij Liberal Party Ecolo-Groen ProDG Vlaams Blok Reform Movement Liberal Reformist Party Francophone Democratic Federalists Open Flemish Liberals and Democrats Progressive Party Flemish Interest Green Belgian Alliance
Vox, Compromís and Francophone Democratic Federalists are located in Spain and Belgium
Vox Compromís Francophone Democratic Federalists
action union
action filter_type
action find_reverse
entity Spain
relation country
type political organization
action filter_type
action find_reverse
entity Belgium
relation country
type political organization
[{'concept': 'political organization'}, 'country', 'Spain'] [{'concept': 'political organization'}, 'country', 'Belgium']
SELECT DISTINCT ?q WHERE { { ?q property:country resource:Belgium . ?q rdf:type ontology:political_organization } UNION { ?q property:country resource:Spain . ?q rdf:type ontology:political_organization } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q927193
P488
Q502895
USER
Who was the chair of that political organization ?
(Q927193,P488,c(Q502895))
action filter_type
action find
entity Q927193
relation P488
type Q502895
['Q927193', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q927193 property:P488 ?b }
Compromís
action filter_type
action find
entity Compromís
relation chairperson
type common name
['Compromís', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Compromís property:chairperson ?b }
[]
common name
Clarification for simple ques.
Q1470087
SYSTEM
Did you mean Francophone Democratic Federalists ?
Q15630787 Q927193 Q1470087
(Q15630787,P488,c(Q502895)) (Q927193,P488,c(Q502895)) (Q1470087,P488,c(Q502895))
[ANSWER]
['Q15630787', 'P488', {'concept': 'Q502895'}] ['Q927193', 'P488', {'concept': 'Q502895'}] ['Q1470087', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q927193 property:P488 ?b }
Vox Compromís Francophone Democratic Federalists
Did you mean Francophone Democratic Federalists ?
Francophone Democratic Federalists
['Vox', 'chairperson', {'concept': 'common name'}] ['Compromís', 'chairperson', {'concept': 'common name'}] ['Francophone Democratic Federalists', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Compromís property:chairperson ?b }
[]
Simple Question (Coreferenced)
USER
No, I meant Compromís. Could you tell me the answer for that?
(Q927193,P488,c(Q502895))
Q927193
['Q927193', 'P488', {'concept': 'Q502895'}]
['Compromís', 'chairperson', {'concept': 'common name'}]
[]
Q763954
SYSTEM
Enric Morera i Català
Q763954
(Q927193,P488,c(Q502895))
action filter_type
action find
entity Q927193
relation P488
type Q502895
The chair of that political organization was [ANSWER]
['Q927193', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q927193 property:P488 ?b }
Enric Morera i Català
The chair of that political organization was Enric Morera i Català
Enric Morera i Català
action filter_type
action find
entity Compromís
relation chairperson
type common name
['Compromís', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Compromís property:chairperson ?b }
[]