Simple Question (Direct)
Simple Question
Q1818972
P39
Q12737077
USER
What was the position held by Leonard Gansevoort ?
(Q1818972,P39,c(Q12737077))
action filter_type
action find
entity Q1818972
relation P39
type Q12737077
['Q1818972', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1818972 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Leonard Gansevoort
action filter_type
action find
entity Leonard Gansevoort
relation position held
type occupation
['Leonard Gansevoort', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Leonard_Gansevoort property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q18691526
SYSTEM
member of the State Senate of New York
Q18691526
(Q1818972,P39,c(Q12737077))
action filter_type
action find
entity Q1818972
relation P39
type Q12737077
The position held by Leonard Gansevoort was a [ANSWER]
['Q1818972', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1818972 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the State Senate of New York
The position held by Leonard Gansevoort was a member of the State Senate of New York
member of the State Senate of New York
action filter_type
action find
entity Leonard Gansevoort
relation position held
type occupation
['Leonard Gansevoort', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Leonard_Gansevoort property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1818972
P119
Q43229
USER
Which organization is the place of burial of Leonard Gansevoort ?
(Q1818972,P119,c(Q43229))
action filter_type
action find
entity Q1818972
relation P119
type Q43229
['Q1818972', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q1818972 property:P119 ?m }
Leonard Gansevoort
action filter_type
action find
entity Leonard Gansevoort
relation place of burial
type organization
['Leonard Gansevoort', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:Leonard_Gansevoort property:place_of_burial ?m }
[]
organization
Q1790095
SYSTEM
Albany Rural Cemetery
Q1790095
(Q1818972,P119,c(Q43229))
action filter_type
action find
entity Q1818972
relation P119
type Q43229
The [ANSWER] is the place of burial of Leonard Gansevoort
['Q1818972', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q43229 . resource:Q1818972 property:P119 ?m }
Albany Rural Cemetery
The Albany Rural Cemetery is the place of burial of Leonard Gansevoort
Albany Rural Cemetery
action filter_type
action find
entity Leonard Gansevoort
relation place of burial
type organization
['Leonard Gansevoort', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:organization . resource:Leonard_Gansevoort property:place_of_burial ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1818972
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q1790095,P19,c(Q56061))
action filter_type
action find
entity Q1818972
relation P19
type Q56061
['Q1790095', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1818972 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Leonard Gansevoort
action filter_type
action find
entity Leonard Gansevoort
relation place of birth
type administrative territorial entity
['Albany Rural Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leonard_Gansevoort property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24861
SYSTEM
Albany
Q24861
(Q1790095,P19,c(Q56061))
action filter_type
action find
entity Q1818972
relation P19
type Q56061
That person was born at [ANSWER]
['Q1790095', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q1818972 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Albany
That person was born at Albany
Albany
action filter_type
action find
entity Leonard Gansevoort
relation place of birth
type administrative territorial entity
['Albany Rural Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Leonard_Gansevoort property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027260
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as registry port than Convoy ?
(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 Q24027260
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:P532 ?z . ?o rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q24027260 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?v > ?k ) }
Convoy
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 Convoy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:port_of_registry ?z . ?o rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Convoy property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?v > ?k ) }
[]
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 Q24027260
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as registry port than Convoy
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:P532 ?z . ?o rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Q24027260 property:P532 ?m . ?m rdf:type ontology:Q2235308 } } . FILTER ( ?v > ?k ) }
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 have more number of administrative territories as registry port than Convoy
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 Convoy
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?v ) WHERE { ?o property:port_of_registry ?z . ?o rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?k ) WHERE { resource:Convoy property:port_of_registry ?m . ?m rdf:type ontology:ship_type } } . FILTER ( ?v > ?k ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P88
Q502895 Q18142 Q207628
USER
How many people were the persons who commissioned atleast 1 tower blocks or musical compositions ?
(c(Q18142)|c(Q207628),P88,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action find_reverse_tuple_counts
relation P88
type Q502895
type Q207628
value 1
[[{'concept': 'Q18142'}, {'concept': 'Q207628'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?m WHERE { { ?e property:P88 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q18142 } UNION { ?e property:P88 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q207628 } } GROUP BY ?m } . FILTER ( ?w >= 1 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action find_reverse_tuple_counts
relation commissioned by
type common name
type musical composition
value 1
[[{'concept': 'tower block'}, {'concept': 'musical composition'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?m WHERE { { ?e property:commissioned_by ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:tower_block } UNION { ?e property:commissioned_by ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:musical_composition } } GROUP BY ?m } . FILTER ( ?w >= 1 ) }
[]
common name tower block musical composition
SYSTEM
5
Q344454 Q443559 Q3381859 Q520493 Q170348
(c(Q18142)|c(Q207628),P88,c(Q502895))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action find_reverse_tuple_counts
relation P88
type Q502895
type Q207628
value 1
[ANSWER]
[[{'concept': 'Q18142'}, {'concept': 'Q207628'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?m WHERE { { ?e property:P88 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q18142 } UNION { ?e property:P88 ?m . ?m rdf:type ontology:Q502895 . ?e rdf:type ontology:Q207628 } } GROUP BY ?m } . FILTER ( ?w >= 1 ) }
Charles de Rémusat Elizabeth Sprague Coolidge Phyllis Lambert Michael Tilson Thomas Paul Wittgenstein
5
action count
action atleast
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action find_reverse_tuple_counts
relation commissioned by
type common name
type musical composition
value 1
[[{'concept': 'tower block'}, {'concept': 'musical composition'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) ?m WHERE { { ?e property:commissioned_by ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:tower_block } UNION { ?e property:commissioned_by ?m . ?m rdf:type ontology:common_name . ?e rdf:type ontology:musical_composition } } GROUP BY ?m } . FILTER ( ?w >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q59593
P138
Q2235308 Q15700808
USER
Which urban unit definitions have less number of ship types as their toponym than Fortitude Valley ?
(c(Q15700808),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q59593
relation P138
type Q2235308
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?d < ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q59593 property:P138 ?h . ?h rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { ?u property:P138 ?g . ?g rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q15700808 } GROUP BY ?u } }
Fortitude Valley
action less
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Fortitude Valley
relation named after
type ship type
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?d < ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Fortitude_Valley property:named_after ?h . ?h rdf:type ontology:ship_type } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { ?u property:named_after ?g . ?g rdf:type ontology:ship_type . ?u rdf:type ontology:urban_unit_definition } GROUP BY ?u } }
[]
ship type urban unit definition
Q7989345 Q7626934 Q1421389
SYSTEM
Weston, Stuart Park, Fitzroy
Q1594002 Q1421389 Q7026520 Q5377277 Q14935141 Q692763 Q7338840 Q2896400 Q4476251 Q949824 Q7989345 Q7626934 Q6391446 Q7641406 Q6271274 Q673418 Q1012058 Q6722652 Q4894915 Q7185600 Q22525629 Q763513 Q2651034 Q2918153 Q6480572 Q5167620 Q660135 Q1521059 Q4999948 Q482055 Q2918803 Q2918802 Q7810475 Q1160037 Q5184107 Q5598698 Q516923 Q5148151 Q7002958 Q1003684 Q5102084 Q2900456 Q256948 Q291305 Q12060435 Q4977003 Q5455716 Q5125861 Q4942699 Q5315441 Q2236090 Q256629 Q443946 Q7244455 Q1001743 Q17007340 Q6938213 Q1011478 Q7330307 Q905081 Q5679492 Q910857 Q7968787 Q2975743 Q6813667 Q4530072 Q617029 Q3764261 Q1004189 Q652017 Q7899493 Q5135073 Q12736886 Q1228554 Q24239665 Q4976165 Q257618 Q5048437 Q2895133 Q538592 Q1109698 Q4455973 Q8026553 Q591771 Q860086 Q7617547 Q4972237 Q532284 Q2918677 Q7798372 Q1200355 Q1109824 Q4155281 Q6933244 Q994135 Q848872 Q520022 Q5166874 Q1012076 Q13420360 Q5211219 Q7141839
(c(Q15700808),P138,c(Q2235308))
action less
action find_tuple_counts
relation P138
type Q15700808
type Q2235308
action count
action filter_type
action find
entity Q59593
relation P138
type Q2235308
[ANSWERS] have less number of ship types as their toponym than Fortitude Valley
[{'concept': 'Q15700808'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?d < ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Q59593 property:P138 ?h . ?h rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { ?u property:P138 ?g . ?g rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q15700808 } GROUP BY ?u } }
Heidelberg Fitzroy Nicholls Enfield Fawkner Bonner Rivett Chifley Watson Sturt Weston Stuart Park Kensington Gardens Sunshine Tempe Bondi Beach Williamstown Macarthur Berserker Phillip Gillen Cremorne Alphington La Perouse Lalor Coombs Florey Tullamarine Burnley Acton Potts Point Camperdown Tiwi Lyons Cremorne Great Barr Evatt Colonel Light Gardens Neutral Bay Fraser Chisholm Darling Point Hackett Banks Holroyd Bruce Fitzroy North Clapham Bonython Dunlop Bankstown Scullin Altona Princes Hill Fisher Denman Prospect Murdoch Darlinghurst Richardson Dickson Hassall Grove Duffy Waramanga Kingsford Melrose Park Ainslie Holder Gilberton Frösön Crace Upwey Clontarf Normanhurst Palmerston Eaton Brown Hill Creek Waterloo Casey Phillip Bay Curtin Collingwood Turner Winthrop Albert Park Chapman Stirling Broadmeadows Chifley Waverley Throsby Derrimut Collinsvale Downer Muirhead Brunswick Braddon Forde Cook Richmond Barton Dallas Pascoe Vale
Weston, Stuart Park and Fitzroy have less number of ship types as their toponym than Fortitude Valley
Weston Stuart Park Fitzroy
action less
action find_tuple_counts
relation named after
type urban unit definition
type ship type
action count
action filter_type
action find
entity Fortitude Valley
relation named after
type ship type
[{'concept': 'urban unit definition'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?u WHERE { FILTER ( ?d < ?z ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) WHERE { resource:Fortitude_Valley property:named_after ?h . ?h rdf:type ontology:ship_type } } . { SELECT DISTINCT ?u ( COUNT ( ?g ) AS ?d ) WHERE { ?u property:named_after ?g . ?g rdf:type ontology:ship_type . ?u rdf:type ontology:urban_unit_definition } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q2472587 Q15700808
USER
Which peoples are min number of urban unit definitions named after ?
(c(Q15700808),P138,Q68518)
action argmin
action find_reverse_tuple_counts
relation P138
type Q2472587
type Q15700808
[{'concept': 'Q15700808'}, 'P138', 'Q68518']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P138 ?r . ?r rdf:type ontology:Q2472587 . ?m rdf:type ontology:Q15700808 } GROUP BY ?r } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P138 ?d . ?d rdf:type ontology:Q2472587 . ?a rdf:type ontology:Q15700808 } GROUP BY ?d } }
action argmin
action find_reverse_tuple_counts
relation named after
type people
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', 'Iroquois']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:named_after ?r . ?r rdf:type ontology:people . ?m rdf:type ontology:urban_unit_definition } GROUP BY ?r } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:named_after ?d . ?d rdf:type ontology:people . ?a rdf:type ontology:urban_unit_definition } GROUP BY ?d } }
[]
people urban unit definition
Q613120 Q255872 Q4988656
SYSTEM
Romans, Ojibwe, Maronites
Q80040 Q241696 Q36747 Q1567323 Q7325 Q163353 Q622728 Q1268882 Q2625797 Q58843 Q1253290 Q10290797 Q255872 Q4988656 Q2508464 Q2518090 Q510023 Q1137067 Q101985 Q105405 Q216151 Q21056 Q1894736 Q956264 Q6122670 Q694525 Q810917 Q180688 Q950097 Q49542 Q34188 Q475021 Q1572875 Q244157 Q104444 Q133032 Q1547060 Q640444 Q1939219 Q1937531 Q203711 Q16148367 Q116971 Q1355221 Q7449528 Q2447438 Q210334 Q675228 Q42406 Q200569 Q55290 Q213396 Q108266 Q1425238 Q40477 Q107434 Q499687 Q263176 Q15863 Q3036334 Q51705 Q648255 Q188779 Q1891793 Q117100 Q6940348 Q1075883 Q170088 Q322951 Q322168 Q1537653 Q242485 Q260152 Q701704 Q498844 Q1092654 Q543386 Q1509140 Q18973 Q1123923 Q6957306 Q504685 Q213422 Q318806 Q491709 Q1517496 Q209148 Q1065583 Q5103726 Q1581447 Q8060 Q474202 Q1536013 Q682808 Q48199 Q169260 Q82048 Q51710 Q35966 Q2280107 Q3336808 Q806902 Q48287 Q170284 Q1256681 Q3512034 Q35323 Q102090 Q947650 Q41975 Q613120 Q1754503 Q1799968 Q68518
(c(Q15700808),P138,Q68518)
action argmin
action find_reverse_tuple_counts
relation P138
type Q2472587
type Q15700808
Min number of urban unit definitions after are named by [ANSWERS]
[{'concept': 'Q15700808'}, 'P138', 'Q68518']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P138 ?r . ?r rdf:type ontology:Q2472587 . ?m rdf:type ontology:Q15700808 } GROUP BY ?r } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:P138 ?d . ?d rdf:type ontology:Q2472587 . ?a rdf:type ontology:Q15700808 } GROUP BY ?d } }
Kazakhs Somali people Native Americans Rockaway (Indian tribe) Jewish people Ukrani Chickasaw Quapaw Luguru people Tuareg people Ute people Goyazes Ojibwe Maronites Walla Walla people Peoria tribe Paiute people Ovambo people Saxons Cherokee Vietnamese people Onondaga people Yavapai people Miami people Māori Nama people Tswana people Bedouin Mississaugas Russians Yanomami Vlachs Oneida people Igbo people Amish Hungarian people Griqua people Severians Missouria Tohono O'odham Dorians Dakota people Mohawk people Sakalava people Seminole Nation of Oklahoma Menominee Cayuga people Vel' d'Hiv Roundup English people Dutch people Catawba people Wyandot people Navajo people Wichita people Slavs Sioux Alabama people Baster Slovenes Skagit tribes Muscogee Kabyle people Norwegians Moroccans Kiowa people Muscogee (Creek) Nation Chokwe people Herero people Cheyenne people Treveri Ho-Chunk Flemings Greeks in Ukraine Bunun people Klamath people Yellowknives Oglala Lakota Okanagan people Georgian people Nez Perce people Nacogdoche Bambara people Seneca people Abenaki people Spokane people Iowa people Pima people Potawatomi Choctaw Nation of Oklahoma Albanians in Ukraine Romani people Seminole Pamlico Assiniboine people Sami people Moors Lenape Tunica-Biloxi Celt Forest Finns Chickasaw Nation Bannock people Krivich Finns Arikara people Nottoway people Arab Apache Osage Nation mongols Romans Quechan people Ladin people Iroquois
Min number of urban unit definitions after are named by Romans, Ojibwe and Maronites
Romans Ojibwe Maronites
action argmin
action find_reverse_tuple_counts
relation named after
type people
type urban unit definition
[{'concept': 'urban unit definition'}, 'named after', 'Iroquois']
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?b ) AS ?i ) { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:named_after ?r . ?r rdf:type ontology:people . ?m rdf:type ontology:urban_unit_definition } GROUP BY ?r } } . FILTER ( ?q = ?i ) . { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?q ) WHERE { ?a property:named_after ?d . ?d rdf:type ontology:people . ?a rdf:type ontology:urban_unit_definition } GROUP BY ?d } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q5962346 Q781132 Q2235308
USER
Which ship types are a component of around 1 classification schemes or military branches ?
(c(Q2235308),P361,c(Q5962346)|c(Q781132))
action approx
action union
action find_tuple_counts
relation P361
type Q2235308
type Q5962346
action find_tuple_counts
relation P361
type Q2235308
type Q781132
value 1
[{'concept': 'Q2235308'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q781132'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?g WHERE { { ?g property:P361 ?n . ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q5962346 } UNION { ?g property:P361 ?n . ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q781132 } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
action approx
action union
action find_tuple_counts
relation part of
type ship type
type classification scheme
action find_tuple_counts
relation part of
type ship type
type military branch
value 1
[{'concept': 'ship type'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'military branch'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?g WHERE { { ?g property:part_of ?n . ?g rdf:type ontology:ship_type . ?n rdf:type ontology:classification_scheme } UNION { ?g property:part_of ?n . ?g rdf:type ontology:ship_type . ?n rdf:type ontology:military_branch } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
[]
classification scheme military branch ship type
Q1564180 Q567416 Q5630824
SYSTEM
HMS Cygnet, SMS Brandenburg, HMCS Iroquois
Q666573 Q1564180 Q5630845 Q5630583 Q568690 Q5633389 Q571254 Q135795 Q12790625 Q15809857 Q5631770 Q5631771 Q549323 Q666604 Q4040181 Q1564170 Q5630477 Q5630374 Q5630256 Q5630656 Q320399 Q1564140 Q16995797 Q567416 Q633215 Q571295 Q5630824 Q931718 Q5633349 Q5630327 Q1564407 Q549368 Q5634661
(c(Q2235308),P361,c(Q5962346)|c(Q781132))
action approx
action union
action find_tuple_counts
relation P361
type Q2235308
type Q5962346
action find_tuple_counts
relation P361
type Q2235308
type Q781132
value 1
[ANSWERS] are a component of around 1 classification schemes or military branches
[{'concept': 'Q2235308'}, 'P361', [{'concept': 'Q5962346'}, {'concept': 'Q781132'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?g WHERE { { ?g property:P361 ?n . ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q5962346 } UNION { ?g property:P361 ?n . ?g rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q781132 } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
German submarine U-38 HMS Cygnet HMCS Margaree HMAS Stawell German submarine U-42 HMS Mildura German submarine U-43 Z-Schiff HMCS Peterborough German fleet service ship HMS Camperdown HMS Camperdown German submarine U-44 German submarine U-37 HMS Portland (1770) HMCS Rainbow HMAS Mildura HMAS Horsham HMAS Barwon HMAS Warrnambool Oste-class fleet service ship HMAS Warrnambool HMCS La Hulloise SMS Brandenburg German submarine U-39 German submarine U-41 HMCS Iroquois HMCS Haida HMS Melton HMAS Echuca HMS Blackwood German submarine U-40 HMS Torquay
HMS Cygnet, SMS Brandenburg and HMCS Iroquois are a component of around 1 classification schemes or military branches
HMS Cygnet SMS Brandenburg HMCS Iroquois
action approx
action union
action find_tuple_counts
relation part of
type ship type
type classification scheme
action find_tuple_counts
relation part of
type ship type
type military branch
value 1
[{'concept': 'ship type'}, 'part of', [{'concept': 'classification scheme'}, {'concept': 'military branch'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?g WHERE { { ?g property:part_of ?n . ?g rdf:type ontology:ship_type . ?n rdf:type ontology:classification_scheme } UNION { ?g property:part_of ?n . ?g rdf:type ontology:ship_type . ?n rdf:type ontology:military_branch } } GROUP BY ?g } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1616330
P47
Q20667921
USER
Which french administrative divisions have an adjacent border with Launac ?
(c(Q20667921),P47,Q1616330)
action filter_type
action find
entity Q1616330
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q1616330']
SELECT DISTINCT ?w WHERE { resource:Q1616330 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Launac
action filter_type
action find
entity Launac
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Launac']
SELECT DISTINCT ?w WHERE { resource:Launac property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q671069 Q940112 Q1631595
SYSTEM
Grenade, Thil, Larra
Q1616314 Q1163241 Q671069 Q1143835 Q513618 Q940112 Q1631595
(c(Q20667921),P47,Q1616330)
action filter_type
action find
entity Q1616330
relation P47
type Q20667921
[ANSWERS] have an adjacent border with Launac
[{'concept': 'Q20667921'}, 'P47', 'Q1616330']
SELECT DISTINCT ?w WHERE { resource:Q1616330 property:P47 ?w . ?w rdf:type ontology:Q20667921 }
Drudas Le Burgaud Grenade Saint-Cézert Pelleport Thil Larra
Grenade, Thil and Larra have an adjacent border with Launac
Grenade Thil Larra
action filter_type
action find
entity Launac
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Launac']
SELECT DISTINCT ?w WHERE { resource:Launac property:shares_border_with ?w . ?w rdf:type ontology:type_of_french_administrative_division }
[]