Simple Question (Direct)
Simple Question
Q12044944
P1412
Q34770
USER
Which language can Petr Lachnit understand ?
(Q12044944,P1412,c(Q34770))
action filter_type
action find
entity Q12044944
relation P1412
type Q34770
['Q12044944', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q12044944 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Petr Lachnit
action filter_type
action find
entity Petr Lachnit
relation languages spoken, written or signed
type language
['Petr Lachnit', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Petr_Lachnit property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q12044944,P1412,c(Q34770))
action filter_type
action find
entity Q12044944
relation P1412
type Q34770
Petr Lachnit can understand in [ANSWER]
['Q12044944', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q12044944 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Czech
Petr Lachnit can understand in Czech
Czech
action filter_type
action find
entity Petr Lachnit
relation languages spoken, written or signed
type language
['Petr Lachnit', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Petr_Lachnit property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12044944
P937
Q56061
USER
What is the location where that person worked ?
(Q9056,P937,c(Q56061))
action filter_type
action find
entity Q12044944
relation P937
type Q56061
['Q9056', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q12044944 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Petr Lachnit
action filter_type
action find
entity Petr Lachnit
relation work location
type administrative territorial entity
['Czech', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Petr_Lachnit property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239
SYSTEM
Brussels
Q239
(Q9056,P937,c(Q56061))
action filter_type
action find
entity Q12044944
relation P937
type Q56061
The location that person worked is a [ANSWER]
['Q9056', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?o WHERE { resource:Q12044944 property:P937 ?o . ?o rdf:type ontology:Q56061 }
Brussels
The location that person worked is a Brussels
Brussels
action filter_type
action find
entity Petr Lachnit
relation work location
type administrative territorial entity
['Czech', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Petr_Lachnit property:work_location ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q56061 Q13220204
USER
How many administrative territories and administrative country subdivisions are a sister city of that administrative territory ?
(c(Q56061),P190,Q239) (c(Q13220204),P190,Q239) (c(Q56061),P190,Q239) (c(Q13220204),P190,Q239)
action count
action union
action filter_type
action find_reverse
entity Q239
relation P190
type Q56061
action filter_type
action find_reverse
entity Q239
relation P190
type Q13220204
[{'concept': 'Q56061'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239'] [{'concept': 'Q56061'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P190 resource:Q239 . ?s rdf:type ontology:Q56061 } UNION { ?s property:P190 resource:Q239 . ?s rdf:type ontology:Q13220204 } }
action count
action union
action filter_type
action find_reverse
entity Brussels
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Brussels
relation sister city
type second-level administrative country subdivision
[{'concept': 'administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:sister_city resource:Brussels . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s property:sister_city resource:Brussels . ?s rdf:type ontology:second-level_administrative_country_subdivision } }
[]
administrative territorial entity second-level administrative country subdivision
SYSTEM
11 administrative territories and 1 administrative country subdivisions
Q8673 Q437 Q216 Q340 Q649 Q9899 Q2807 Q956 Q1085 Q64 Q61 Q23556
(c(Q56061),P190,Q239) (c(Q13220204),P190,Q239) (c(Q56061),P190,Q239) (c(Q13220204),P190,Q239)
action count
action union
action filter_type
action find_reverse
entity Q239
relation P190
type Q56061
action filter_type
action find_reverse
entity Q239
relation P190
type Q13220204
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239'] [{'concept': 'Q56061'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P190 resource:Q239 . ?s rdf:type ontology:Q56061 } UNION { ?s property:P190 resource:Q239 . ?s rdf:type ontology:Q13220204 } }
Lagos Ljubljana Vilnius Montreal Moscow Amsterdam Madrid Beijing Prague Berlin Washington, D.C. Atlanta
11 administrative territories and 1 administrative country subdivisions
action count
action union
action filter_type
action find_reverse
entity Brussels
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Brussels
relation sister city
type second-level administrative country subdivision
[{'concept': 'administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:sister_city resource:Brussels . ?s rdf:type ontology:administrative_territorial_entity } UNION { ?s property:sister_city resource:Brussels . ?s rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027428
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as registry port than Swallow ?
(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 Q24027428
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q24027428 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?m property:P532 ?e . ?m rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?m } }
Swallow
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 Swallow
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Swallow property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?m property:port_of_registry ?e . ?m rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } }
[]
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 Q24027428
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as registry port than Swallow
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Q24027428 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?m property:P532 ?e . ?m rdf:type ontology:Q2235308 . ?e rdf:type ontology:Q56061 } GROUP BY ?m } }
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 greater number of administrative territories as registry port than Swallow
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 Swallow
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?j > ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { resource:Swallow property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?j ) WHERE { ?m property:port_of_registry ?e . ?m rdf:type ontology:ship_type . ?e rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q239
P190
Q56061
USER
How many administrative territories are partner towns of Brussels ?
(Q239,P190,c(Q56061))
action count
action filter_type
action find
entity Q239
relation P190
type Q56061
['Q239', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q239 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Brussels
action count
action filter_type
action find
entity Brussels
relation sister city
type administrative territorial entity
['Brussels', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Brussels property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
11
Q8673 Q437 Q216 Q340 Q649 Q2807 Q956 Q64 Q23556 Q61 Q1085
(Q239,P190,c(Q56061))
action count
action filter_type
action find
entity Q239
relation P190
type Q56061
[ANSWER]
['Q239', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q239 property:P190 ?x . ?x rdf:type ontology:Q56061 }
Lagos Ljubljana Vilnius Montreal Moscow Madrid Beijing Berlin Atlanta Washington, D.C. Prague
11
action count
action filter_type
action find
entity Brussels
relation sister city
type administrative territorial entity
['Brussels', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Brussels property:sister_city ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q5776
P190
Q56061
USER
And also tell me about Bethlehem?
(Q5776,P190,c(Q56061))
action count
action filter_type
action find
entity Q5776
relation P190
type Q56061
['Q5776', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q5776 property:P190 ?w }
Bethlehem
action count
action filter_type
action find
entity Bethlehem
relation sister city
type administrative territorial entity
['Bethlehem', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Bethlehem property:sister_city ?w }
[]
administrative territorial entity
SYSTEM
21
Q49233 Q1683958 Q317865 Q3551 Q5818 Q365 Q1524 Q42800 Q4093 Q983511 Q1289 Q5582862 Q103244 Q10305 Q36600 Q490 Q597 Q2044 Q6441 Q6221 Q2028
(Q5776,P190,c(Q56061))
action count
action filter_type
action find
entity Q5776
relation P190
type Q56061
[ANSWER]
['Q5776', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:Q56061 . resource:Q5776 property:P190 ?w }
Orlando Madaba Joplin Rabat Córdoba Cologne Athens Belo Horizonte Glasgow Valinhos Grenoble Cusco San Miniato Zaragoza The Hague Milan Lisbon Florence Montpellier Brescia Verona
21
action count
action filter_type
action find
entity Bethlehem
relation sister city
type administrative territorial entity
['Bethlehem', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Bethlehem property:sister_city ?w }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q62
Q56061
USER
And what about San Francisco?
(Q62,P190,c(Q56061))
action count
action filter_type
action find
entity Q62
relation P190
type Q56061
['Q62', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q62 property:P190 ?d . ?d rdf:type ontology:Q56061 }
San Francisco
action count
action filter_type
action find
entity San Francisco
relation sister city
type administrative territorial entity
['San Francisco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:San_Francisco property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
15
(Q62,P190,c(Q56061))
action count
action filter_type
action find
entity Q62
relation P190
type Q56061
[ANSWER]
['Q62', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:Q62 property:P190 ?d . ?d rdf:type ontology:Q56061 }
15
action count
action filter_type
action find
entity San Francisco
relation sister city
type administrative territorial entity
['San Francisco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { resource:San_Francisco property:sister_city ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q239
P1376
Q15617994 Q56061
USER
How many administrative territories and administrative territories have Brussels have their first city ?
(Q239,P1376,c(Q15617994)) (Q239,P1376,c(Q56061))
action count
action union
action filter_type
action find
entity Q239
relation P1376
type Q15617994
action filter_type
action find
entity Q239
relation P1376
type Q56061
['Q239', 'P1376', {'concept': 'Q15617994'}] ['Q239', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Brussels
action count
action union
action filter_type
action find
entity Brussels
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Brussels
relation capital of
type administrative territorial entity
['Brussels', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Brussels', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
2
Q31 Q458
(Q239,P1376,c(Q15617994)) (Q239,P1376,c(Q56061))
action count
action union
action filter_type
action find
entity Q239
relation P1376
type Q15617994
action filter_type
action find
entity Q239
relation P1376
type Q56061
[ANSWER]
['Q239', 'P1376', {'concept': 'Q15617994'}] ['Q239', 'P1376', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q15617994 ) ( ontology:Q56061 ) } }
Belgium European Union
2
action count
action union
action filter_type
action find
entity Brussels
relation capital of
type designation for an administrative territorial entity
action filter_type
action find
entity Brussels
relation capital of
type administrative territorial entity
['Brussels', 'capital of', {'concept': 'designation for an administrative territorial entity'}] ['Brussels', 'capital of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:administrative_territorial_entity ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q15700808 Q2235308
USER
How many urban unit definitions have around 1 ship type as their port of registry ?
(c(Q2235308),P532,c(Q15700808))
action count
action approx
action find_reverse_tuple_counts
relation P532
type Q15700808
type Q2235308
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P532 ?p . ?p rdf:type ontology:Q15700808 . ?v rdf:type ontology:Q2235308 } GROUP BY ?p } }
action count
action approx
action find_reverse_tuple_counts
relation port of registry
type urban unit definition
type ship type
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:port_of_registry ?p . ?p rdf:type ontology:urban_unit_definition . ?v rdf:type ontology:ship_type } GROUP BY ?p } }
[]
urban unit definition ship type
SYSTEM
5
Q1001109 Q26943 Q2295696 Q54339 Q1478888
(c(Q2235308),P532,c(Q15700808))
action count
action approx
action find_reverse_tuple_counts
relation P532
type Q15700808
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q15700808'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:P532 ?p . ?p rdf:type ontology:Q15700808 . ?v rdf:type ontology:Q2235308 } GROUP BY ?p } }
Vaxholm Trelleborg Smögen Trollhättan Färjestaden
5
action count
action approx
action find_reverse_tuple_counts
relation port of registry
type urban unit definition
type ship type
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'urban unit definition'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?h = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?v ) AS ?h ) WHERE { ?v property:port_of_registry ?p . ?p rdf:type ontology:urban_unit_definition . ?v rdf:type ontology:ship_type } GROUP BY ?p } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q239
P190
Q15617994 Q13220204
USER
How many administrative territories and administrative country subdivisions are sister town of Brussels ?
(c(Q15617994),P190,Q239) (c(Q13220204),P190,Q239)
action count
action union
action filter_type
action find_reverse
entity Q239
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q239
relation P190
type Q13220204
[{'concept': 'Q15617994'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P190 resource:Q239 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P190 resource:Q239 . ?m rdf:type ontology:Q13220204 } }
Brussels
action count
action union
action filter_type
action find_reverse
entity Brussels
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brussels
relation sister city
type second-level administrative country subdivision
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:sister_city resource:Brussels . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:sister_city resource:Brussels . ?m rdf:type ontology:second-level_administrative_country_subdivision } }
[]
designation for an administrative territorial entity second-level administrative country subdivision
SYSTEM
1 administrative territories and 1 administrative country subdivisions
Q9899 Q206966
(c(Q15617994),P190,Q239) (c(Q13220204),P190,Q239)
action count
action union
action filter_type
action find_reverse
entity Q239
relation P190
type Q15617994
action filter_type
action find_reverse
entity Q239
relation P190
type Q13220204
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q239'] [{'concept': 'Q13220204'}, 'P190', 'Q239']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:P190 resource:Q239 . ?m rdf:type ontology:Q15617994 } UNION { ?m property:P190 resource:Q239 . ?m rdf:type ontology:Q13220204 } }
Amsterdam Gabicce Mare
1 administrative territories and 1 administrative country subdivisions
action count
action union
action filter_type
action find_reverse
entity Brussels
relation sister city
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Brussels
relation sister city
type second-level administrative country subdivision
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Brussels'] [{'concept': 'second-level administrative country subdivision'}, 'sister city', 'Brussels']
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { ?m property:sister_city resource:Brussels . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m property:sister_city resource:Brussels . ?m rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q239
P30
Q2221906
USER
Where is Brussels located ?
(Q239,P30,c(Q2221906))
action filter_type
action find
entity Q239
relation P30
type Q2221906
['Q239', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q239 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Brussels
action filter_type
action find
entity Brussels
relation continent
type geographic location
['Brussels', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Brussels property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q239,P30,c(Q2221906))
action filter_type
action find
entity Q239
relation P30
type Q2221906
Brussels is located in [ANSWER]
['Q239', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?e WHERE { resource:Q239 property:P30 ?e . ?e rdf:type ontology:Q2221906 }
Europe
Brussels is located in Europe
Europe
action filter_type
action find
entity Brussels
relation continent
type geographic location
['Brussels', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?e WHERE { resource:Brussels property:continent ?e . ?e rdf:type ontology:geographic_location }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q46
P706
Q82794
USER
Which geographic region is that geographic location located on ?
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?k WHERE { resource:Q46 property:P706 ?k . ?k rdf:type ontology:Q82794 }
Europe
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?k WHERE { resource:Europe property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_region }
[]
geographic region
Q39061
SYSTEM
Northern Hemisphere
Q39061
(Q46,P706,c(Q82794))
action filter_type
action find
entity Q46
relation P706
type Q82794
That geographic location is located in [ANSWER]
['Q46', 'P706', {'concept': 'Q82794'}]
SELECT DISTINCT ?k WHERE { resource:Q46 property:P706 ?k . ?k rdf:type ontology:Q82794 }
Northern Hemisphere
That geographic location is located in Northern Hemisphere
Northern Hemisphere
action filter_type
action find
entity Europe
relation located on terrain feature
type geographic region
['Europe', 'located on terrain feature', {'concept': 'geographic region'}]
SELECT DISTINCT ?k WHERE { resource:Europe property:located_on_terrain_feature ?k . ?k rdf:type ontology:geographic_region }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39061
P361
Q16889133
USER
Which class is that geographic region a part of ?
(Q39061,P361,c(Q16889133))
action filter_type
action find
entity Q39061
relation P361
type Q16889133
['Q39061', 'P361', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { resource:Q39061 property:P361 ?o . ?o rdf:type ontology:Q16889133 }
Northern Hemisphere
action filter_type
action find
entity Northern Hemisphere
relation part of
type class
['Northern Hemisphere', 'part of', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { resource:Northern_Hemisphere property:part_of ?o . ?o rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q39061,P361,c(Q16889133))
action filter_type
action find
entity Q39061
relation P361
type Q16889133
The [ANSWER] is that geographic region a part of
['Q39061', 'P361', {'concept': 'Q16889133'}]
SELECT DISTINCT ?o WHERE { resource:Q39061 property:P361 ?o . ?o rdf:type ontology:Q16889133 }
Earth
The Earth is that geographic region a part of
Earth
action filter_type
action find
entity Northern Hemisphere
relation part of
type class
['Northern Hemisphere', 'part of', {'concept': 'class'}]
SELECT DISTINCT ?o WHERE { resource:Northern_Hemisphere property:part_of ?o . ?o rdf:type ontology:class }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P706
Q2221906 Q271669 Q82794
USER
Which geographic regions are located in exactly 1 geographic locations and landforms ?
(c(Q82794),P706,c(Q2221906)|c(Q271669))
action equal
action union
action find_tuple_counts
relation P706
type Q82794
type Q2221906
action find_tuple_counts
relation P706
type Q82794
type Q271669
value 1
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { { ?c property:P706 ?w . ?c rdf:type ontology:Q82794 . ?w rdf:type ontology:Q271669 } UNION { ?c property:P706 ?w . ?c rdf:type ontology:Q82794 . ?w rdf:type ontology:Q2221906 } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
action equal
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic region
type landform
value 1
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landform'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { { ?c property:located_on_terrain_feature ?w . ?c rdf:type ontology:geographic_region . ?w rdf:type ontology:landform } UNION { ?c property:located_on_terrain_feature ?w . ?c rdf:type ontology:geographic_region . ?w rdf:type ontology:geographic_location } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
geographic location landform geographic region
Q118388 Q132480 Q129465
SYSTEM
Death Valley, Kantō region, Tōhoku region
Q118388 Q17581963 Q17577772 Q129465 Q17581883 Q17582092 Q17582090 Q17582091 Q17582098 Q17577228 Q11997824 Q7984868 Q17581813 Q17581811 Q17581810 Q17581817 Q17581816 Q17581815 Q17582077 Q17577665 Q17581819 Q134638 Q17581838 Q4740244 Q17582080 Q17581873 Q17577707 Q17581835 Q132480 Q17577813 Q17582585 Q17577778 Q17582113 Q17582094 Q17581800 Q17582586 Q17577677 Q17581808 Q17581809 Q17581864 Q17577794 Q17577798 Q17577418 Q17577733 Q8352403 Q17582110 Q17577762 Q17581973 Q17577766 Q17582116 Q17581852 Q17577421 Q17577783 Q17577789 Q17576914 Q17576916 Q17576912 Q17577804 Q16891140 Q17577716 Q17581901 Q17577712 Q17576524 Q17576526 Q17577223 Q17582115 Q571430 Q17577757 Q874416 Q864668 Q17582128 Q17582129 Q17582126 Q17582127 Q17582125 Q14215814 Q4993045 Q17582120 Q17582121 Q17581814 Q17577809 Q17577688 Q17577683 Q17582122 Q17582123 Q17581848 Q17582112 Q17582111 Q17577730 Q17581927 Q4854879 Q17582114 Q17581840 Q17581841 Q17581842 Q17582118 Q17581844 Q17581845 Q17581846 Q17581847 Q17577752 Q17581944 Q17582099 Q17582577 Q17577694 Q17577698 Q929061 Q1339950 Q17582104 Q17577726 Q17582107 Q17582100 Q17577721 Q17582102 Q17582103 Q17581834 Q17581837 Q17582109 Q17582073 Q17581832 Q17581953 Q17577740 Q17582096 Q17577745 Q17581892 Q17582085 Q17582086 Q17582081 Q7567823 Q17582083 Q17582082 Q17582088 Q17582074 Q17582075 Q17582078 Q17582076 Q17581828 Q17581829 Q17581826 Q17581827 Q17581824 Q17581825 Q17581822 Q17581823 Q17581820 Q17581821
(c(Q82794),P706,c(Q2221906)|c(Q271669))
action equal
action union
action find_tuple_counts
relation P706
type Q82794
type Q2221906
action find_tuple_counts
relation P706
type Q82794
type Q271669
value 1
[ANSWERS] are located in exactly 1 geographic locations and landforms
[{'concept': 'Q82794'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { { ?c property:P706 ?w . ?c rdf:type ontology:Q82794 . ?w rdf:type ontology:Q271669 } UNION { ?c property:P706 ?w . ?c rdf:type ontology:Q82794 . ?w rdf:type ontology:Q2221906 } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
Death Valley Caernarvonshire Monaghan Tōhoku region Breconshire Cumberland North Northumberland Westmorland (with Furness) Wigtownshire Limerick Rijpdalen West Cork North Wiltshire North Somerset South Somerset South Hampshire Isle of Wight Dorset Cheshire Kilkenny North Hampshire Chūbu region West Norfolk Amari Valley West Lancashire Glamorganshire Kildare East Suffolk Kantō region Londonderry East Sutherland Fermanagh Fifeshire Dumfriesshire East Cornwall West Sutherland Carlow South Devon North Devon Shropshire Tyrone Armagh Clare Roscommon Ebro Basin East Lothian Cavan Denbighshire Louth Mid Perthshire Staffordshire North Tipperary East Donegal West Donegal East Cork Waterford Mid-Cork Down Erskine Valley Dublin Carmarthenshire Wicklow South Kerry North Kerry South Tipperary West Perthshire Antarctic ice sheet Leitrim West Suffolk Caithness Argyllshire Dunbartonshire East Inverness-shire West Inverness-shire Moray Murg Valley Tyresån Lake System Angus Kincardineshire South Wiltshire Antrim South-east Galway Laois South Aberdeenshire North Aberdeenshire Herefordshire West Lothian Midlothian Longford Cardiganshire Banffshire Stirlingshire Cambridgeshire Bedfordshire Huntingdonshire East Perthshire Northamptonshire East Gloucestershire West Gloucestershire Monmouthshire Sligo Montgomeryshire Ayrshire Kintyre West Galway North-east Galway Urstromtal Sternberg lake district Selkirkshire Westmeath Roxburghshire Renfrewshire Meath Lanarkshire Peebleshire Buckinghamshire East Norfolk Berwickshire North Lincolnshire Oxfordshire Merionethshire East Mayo Kirkcudbrightshire West Mayo Radnorshire Mid-west Yorkshire North-west Yorkshire South-east Yorkshire South Lincolnshire South-west Yorkshire North-east Yorkshire South Northumberland Leicestershire (with Rutland) Nottinghamshire South Lancashire Derbyshire Middlesex Berkshire North Essex Hertfordshire Surrey South Essex East Kent West Kent West Sussex East Sussex
Death Valley, Kantō region and Tōhoku region are located in exactly 1 geographic locations and landforms
Death Valley Kantō region Tōhoku region
action equal
action union
action find_tuple_counts
relation located on terrain feature
type geographic region
type geographic location
action find_tuple_counts
relation located on terrain feature
type geographic region
type landform
value 1
[{'concept': 'geographic region'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'landform'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?w ) AS ?q ) WHERE { { ?c property:located_on_terrain_feature ?w . ?c rdf:type ontology:geographic_region . ?w rdf:type ontology:landform } UNION { ?c property:located_on_terrain_feature ?w . ?c rdf:type ontology:geographic_region . ?w rdf:type ontology:geographic_location } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q118388 Q132480 Q129465
P17
Q15617994
USER
Which administrative territories are Death Valley, Kantō region and Tōhoku region present in ?
(Q118388,P17,c(Q15617994)) (Q132480,P17,c(Q15617994)) (Q129465,P17,c(Q15617994))
action union
action filter_type
action find
entity Q118388
relation P17
type Q15617994
action filter_type
action find
entity Q132480
relation P17
type Q15617994
action filter_type
action find
entity Q129465
relation P17
type Q15617994
['Q118388', 'P17', {'concept': 'Q15617994'}] ['Q132480', 'P17', {'concept': 'Q15617994'}] ['Q129465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q118388 ) ( resource:Q132480 ) } . ?z property:P17 ?h }
Death Valley Kantō region Tōhoku region
action union
action filter_type
action find
entity Death Valley
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kantō region
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Tōhoku region
relation country
type designation for an administrative territorial entity
['Death Valley', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kantō region', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tōhoku region', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Death_Valley ) ( resource:Kantō_region ) } . ?z property:country ?h }
[]
designation for an administrative territorial entity
Q30 Q17 Q17
SYSTEM
Japan for 2nd, 3rd, United States of America for 1st
Q30 Q17 Q17
(Q118388,P17,c(Q15617994)) (Q132480,P17,c(Q15617994)) (Q129465,P17,c(Q15617994))
action union
action filter_type
action find
entity Q118388
relation P17
type Q15617994
action filter_type
action find
entity Q132480
relation P17
type Q15617994
action filter_type
action find
entity Q129465
relation P17
type Q15617994
[ANSWERS]
['Q118388', 'P17', {'concept': 'Q15617994'}] ['Q132480', 'P17', {'concept': 'Q15617994'}] ['Q129465', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Q118388 ) ( resource:Q132480 ) } . ?z property:P17 ?h }
United States of America Japan Japan
United States of America, Japan and Japan are Death Valley, Kantō region and Tōhoku region present in
United States of America Japan Japan
action union
action filter_type
action find
entity Death Valley
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Kantō region
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Tōhoku region
relation country
type designation for an administrative territorial entity
['Death Valley', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kantō region', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Tōhoku region', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { VALUES ( ?z ) { ( resource:Death_Valley ) ( resource:Kantō_region ) } . ?z property:country ?h }
[]