Simple Question (Direct)
Simple Question
Q1457777
P19
Q56061
USER
Which administrative territory was Jean Pierre Erman born at ?
(Q1457777,P19,c(Q56061))
action filter_type
action find
entity Q1457777
relation P19
type Q56061
['Q1457777', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1457777 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Jean Pierre Erman
action filter_type
action find
entity Jean Pierre Erman
relation place of birth
type administrative territorial entity
['Jean Pierre Erman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Pierre_Erman property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1457777,P19,c(Q56061))
action filter_type
action find
entity Q1457777
relation P19
type Q56061
Jean Pierre Erman was born in [ANSWER]
['Q1457777', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q1457777 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Berlin
Jean Pierre Erman was born in Berlin
Berlin
action filter_type
action find
entity Jean Pierre Erman
relation place of birth
type administrative territorial entity
['Jean Pierre Erman', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jean_Pierre_Erman property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1457777
P106
Q12737077
USER
What is the profession of Jean Pierre Erman ?
(Q1457777,P106,c(Q12737077))
action filter_type
action find
entity Q1457777
relation P106
type Q12737077
['Q1457777', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1457777 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jean Pierre Erman
action filter_type
action find
entity Jean Pierre Erman
relation occupation
type occupation
['Jean Pierre Erman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Pierre_Erman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q201788
SYSTEM
historian
Q201788
(Q1457777,P106,c(Q12737077))
action filter_type
action find
entity Q1457777
relation P106
type Q12737077
The profession of Jean Pierre Erman is a [ANSWER]
['Q1457777', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1457777 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
historian
The profession of Jean Pierre Erman is a historian
historian
action filter_type
action find
entity Jean Pierre Erman
relation occupation
type occupation
['Jean Pierre Erman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Jean_Pierre_Erman property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1457777
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q201788,P27,c(Q1048835))
action filter_type
action find
entity Q1457777
relation P27
type Q1048835
['Q201788', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1457777 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Jean Pierre Erman
action filter_type
action find
entity Jean Pierre Erman
relation country of citizenship
type political territorial entity
['historian', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jean_Pierre_Erman property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q201788,P27,c(Q1048835))
action filter_type
action find
entity Q1457777
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q201788', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1457777 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany is the native country of that person
Germany
action filter_type
action find
entity Jean Pierre Erman
relation country of citizenship
type political territorial entity
['historian', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jean_Pierre_Erman property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2755858 Q1457777
P20
Q56061
USER
Which administrative territories are the places of death of Jean Pierre Erman or Leo Johnen ?
OR((Q1457777,P20,c(Q56061)), (Q2755858,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1457777
relation P20
action find
entity Q2755858
relation P20
type Q56061
{'OR': [['Q1457777', 'P20', {'concept': 'Q56061'}], ['Q2755858', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q1457777 property:P20 ?g } UNION { resource:Q2755858 property:P20 ?g } } }
Leo Johnen Jean Pierre Erman
action filter_type
action union
action find
entity Jean Pierre Erman
relation place of death
action find
entity Leo Johnen
relation place of death
type administrative territorial entity
{'OR': [['Jean Pierre Erman', 'place of death', {'concept': 'administrative territorial entity'}], ['Leo Johnen', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Jean_Pierre_Erman property:place_of_death ?g } UNION { resource:Leo_Johnen property:place_of_death ?g } } }
[]
administrative territorial entity
Q64 Q1718
SYSTEM
Berlin, Düsseldorf
Q64 Q1718
OR((Q1457777,P20,c(Q56061)), (Q2755858,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1457777
relation P20
action find
entity Q2755858
relation P20
type Q56061
[ANSWERS] are the places of death of Jean Pierre Erman or Leo Johnen
{'OR': [['Q1457777', 'P20', {'concept': 'Q56061'}], ['Q2755858', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q1457777 property:P20 ?g } UNION { resource:Q2755858 property:P20 ?g } } }
Berlin Düsseldorf
Berlin and Düsseldorf are the places of death of Jean Pierre Erman or Leo Johnen
Berlin Düsseldorf
action filter_type
action union
action find
entity Jean Pierre Erman
relation place of death
action find
entity Leo Johnen
relation place of death
type administrative territorial entity
{'OR': [['Jean Pierre Erman', 'place of death', {'concept': 'administrative territorial entity'}], ['Leo Johnen', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Jean_Pierre_Erman property:place_of_death ?g } UNION { resource:Leo_Johnen property:place_of_death ?g } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1376
Q183366 Q1048835
USER
How many territories or political territories have that administrative territory have their first city ?
(Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835)) (Q64,P1376,c(Q183366)) (Q64,P1376,c(Q1048835)) (Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835))
['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}] ['Q64', 'P1376', {'concept': 'Q183366'}] ['Q64', 'P1376', {'concept': 'Q1048835'}] ['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } UNION { resource:Q614184 property:P1376 ?z } UNION { resource:Q614184 property:P1376 ?y } UNION { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}] ['Berlin', 'capital of', {'concept': 'territory'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}] ['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } UNION { resource:Berlin property:capital_of ?z } UNION { resource:Berlin property:capital_of ?y } UNION { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
territory political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q64
SYSTEM
Did you mean Berlin ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } UNION { resource:Q614184 property:P1376 ?z } UNION { resource:Q614184 property:P1376 ?y } UNION { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
Did you mean Berlin ?
Berlin
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } UNION { resource:Berlin property:capital_of ?z } UNION { resource:Berlin property:capital_of ?y } UNION { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Düsseldorf. Could you tell me the answer for that?
(Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835)) (Q64,P1376,c(Q183366)) (Q64,P1376,c(Q1048835)) (Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835))
Q1718
['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}] ['Q64', 'P1376', {'concept': 'Q183366'}] ['Q64', 'P1376', {'concept': 'Q1048835'}] ['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}]
['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}] ['Berlin', 'capital of', {'concept': 'territory'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}] ['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}]
[]
SYSTEM
2
Q151095 Q22880
(Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835)) (Q64,P1376,c(Q183366)) (Q64,P1376,c(Q1048835)) (Q1718,P1376,c(Q183366)) (Q1718,P1376,c(Q1048835))
[ANSWER]
['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}] ['Q64', 'P1376', {'concept': 'Q183366'}] ['Q64', 'P1376', {'concept': 'Q1048835'}] ['Q1718', 'P1376', {'concept': 'Q183366'}] ['Q1718', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } UNION { resource:Q614184 property:P1376 ?z } UNION { resource:Q614184 property:P1376 ?y } UNION { resource:Q1718 property:P1376 ?z } UNION { resource:Q1718 property:P1376 ?y } } . ?z rdf:type ontology:Q14916058 . ?y rdf:type ontology:Q1048835 }
Duchy of Berg Electoral Palatinate
2
['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}] ['Berlin', 'capital of', {'concept': 'territory'}] ['Berlin', 'capital of', {'concept': 'political territorial entity'}] ['Düsseldorf', 'capital of', {'concept': 'territory'}] ['Düsseldorf', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } UNION { resource:Berlin property:capital_of ?z } UNION { resource:Berlin property:capital_of ?y } UNION { resource:Düsseldorf property:capital_of ?z } UNION { resource:Düsseldorf property:capital_of ?y } } . ?z rdf:type ontology:territory . ?y rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P609
Q83620
USER
Which thoroughfare is Berlin a destination for ?
(c(Q83620),P609,Q64)
action filter_type
action find_reverse
entity Q64
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q64']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q83620 . ?e property:P609 resource:Q64 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:thoroughfare . ?e property:terminus_location resource:Berlin }
[]
thoroughfare
Q14378572
SYSTEM
Cycling route Berlin–Leipzig
Q14378572
(c(Q83620),P609,Q64)
action filter_type
action find_reverse
entity Q64
relation P609
type Q83620
Berlin is the [ANSWER]
[{'concept': 'Q83620'}, 'P609', 'Q64']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q83620 . ?e property:P609 resource:Q64 }
Cycling route Berlin–Leipzig
Berlin is the Cycling route Berlin–Leipzig
Cycling route Berlin–Leipzig
action filter_type
action find_reverse
entity Berlin
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'Berlin']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:thoroughfare . ?e property:terminus_location resource:Berlin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P610
Q151885
USER
Which is the highest peak of that administrative territory ?
(Q14378572,P610,c(Q151885))
action filter_type
action find
entity Q64
relation P610
type Q151885
['Q14378572', 'P610', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q64 property:P610 ?o . ?o rdf:type ontology:Q151885 }
Berlin
action filter_type
action find
entity Berlin
relation highest point
type concept
['Cycling route Berlin–Leipzig', 'highest point', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Berlin property:highest_point ?o . ?o rdf:type ontology:concept }
[]
concept
Q19259618
SYSTEM
Arkenberge
Q19259618
(Q14378572,P610,c(Q151885))
action filter_type
action find
entity Q64
relation P610
type Q151885
The highest peak of that administrative territory is the [ANSWER]
['Q14378572', 'P610', {'concept': 'Q151885'}]
SELECT DISTINCT ?o WHERE { resource:Q64 property:P610 ?o . ?o rdf:type ontology:Q151885 }
Arkenberge
The highest peak of that administrative territory is the Arkenberge
Arkenberge
action filter_type
action find
entity Berlin
relation highest point
type concept
['Cycling route Berlin–Leipzig', 'highest point', {'concept': 'concept'}]
SELECT DISTINCT ?o WHERE { resource:Berlin property:highest_point ?o . ?o rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q925906
P706
Q107425 Q151885
USER
How many landscapes are around the same number of concepts located on as Colorado Plateau ?
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q925906
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P706 ?f . ?f rdf:type ontology:Q107425 . ?u rdf:type ontology:Q151885 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q925906 property:P706 ?c . ?c rdf:type ontology:Q107425 } } . FILTER ( ?b = ?j ) }
Colorado Plateau
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Colorado Plateau
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:located_on_terrain_feature ?f . ?f rdf:type ontology:landscape . ?u rdf:type ontology:concept } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Colorado_Plateau property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape } } . FILTER ( ?b = ?j ) }
[]
landscape concept
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q925906
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P706 ?f . ?f rdf:type ontology:Q107425 . ?u rdf:type ontology:Q151885 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q925906 property:P706 ?c . ?c rdf:type ontology:Q107425 } } . FILTER ( ?b = ?j ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Colorado Plateau
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?l ) WHERE { { SELECT DISTINCT ?f ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:located_on_terrain_feature ?f . ?f rdf:type ontology:landscape . ?u rdf:type ontology:concept } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Colorado_Plateau property:located_on_terrain_feature ?c . ?c rdf:type ontology:landscape } } . FILTER ( ?b = ?j ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23011164
P706
Q107425 Q151885
USER
And also tell me about Canso Islands?
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q23011164
relation P706
type Q107425
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P706 ?s . ?s rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q23011164 property:P706 ?z . ?z rdf:type ontology:Q107425 } } . FILTER ( ?u = ?a ) }
Canso Islands
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Canso Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:located_on_terrain_feature ?s . ?s rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Canso_Islands property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape } } . FILTER ( ?u = ?a ) }
[]
landscape concept
SYSTEM
104
Q537749 Q5238909 Q3593572 Q201698 Q184355 Q218907 Q205711 Q171132 Q3628422 Q6549341 Q1133595 Q122641 Q46623 Q7361436 Q26399 Q1371403 Q83788 Q3437341 Q181528 Q3182351 Q15622837 Q8534941 Q5053601 Q3298193 Q47141 Q846021 Q189429 Q1670250 Q7296 Q3803 Q152704 Q2618638 Q1124865 Q140298 Q170383 Q3297553 Q303431 Q1142129 Q271674 Q671343 Q925906 Q152928 Q6583 Q17140346 Q162843 Q93259 Q116693 Q2860207 Q1384782 Q1283 Q855658 Q775944 Q46772 Q119206 Q472207 Q202816 Q924257 Q10688475 Q5312305 Q3237 Q7592509 Q211436 Q12707 Q172691 Q6379939 Q5467845 Q5951207 Q924897 Q645941 Q140948 Q634740 Q829084 Q291004 Q212520 Q620481 Q1127200 Q19730761 Q2135927 Q1919137 Q205695 Q2280216 Q207383 Q128172 Q586512 Q192626 Q75596 Q38095 Q180209 Q81052 Q2364593 Q118350 Q797807 Q292647 Q23011164 Q653732 Q753719 Q272521 Q1348763 Q15139 Q118920 Q913470 Q1252239 Q25046183 Q304679
(c(Q151885),P706,c(Q107425))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q107425
type Q151885
action count
action filter_type
action find
entity Q23011164
relation P706
type Q107425
[ANSWER]
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P706 ?s . ?s rdf:type ontology:Q107425 . ?b rdf:type ontology:Q151885 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Q23011164 property:P706 ?z . ?z rdf:type ontology:Q107425 } } . FILTER ( ?u = ?a ) }
Florida Keys Svenska Högarna Apostle Islands Crozet Islands Mojave Desert Sharon Plain Solovetsky Islands Cyclades Madeira Islands Limestone Massif Meridiani Planum Lechquellen Mountains Prince Edward Islands Rolwaling Himal Hoggar Mountains Similan Islands Cordillera Central Roc de Chère National Nature Reserve Libyan Desert Plain of the Cul-de-Sac Guaniguanico Cerro de la Neblina Cato Reef Borg Massif Atacama Desert Southern Coral Group Sonoran Desert Jenolan Caves Mount Kilimanjaro Lesser Sunda Islands Gailtal Alps Upland Minsk Kantō Plain Windward Islands Aïr Mountains Amargosa Desert Ufenau Pearl Islands Phoenix Islands Mont Blanc massif Colorado Plateau Carnic Prealps Sahara Ko Yao archipelago Negev Lesser Antilles Esjan Queen Adelaide Archipelago Tanezrouft Dolomites Chihuahuan Desert Bărăgan Plain Kerguelen Islands Julian Alps Amirante Islands Stora Alvaret Mahalangur Himal Söderarm archipelago Dufek Massif Rügen St Anthony Head Visayas Great Plains Thar Desert Kawdy Plateau Ford Massif Huvudskär Seychelles Inner Islands Argentine Islands South Shetland Islands Comoros Islands Vegaøyan Highlands of Iceland Lower Rhine Plain Alphonse Group Louisiade Archipelago Phraya Nakhon Cave Red Centre Melchior Islands Mascarene Islands Gran Paradiso massif South Orkney Islands Île d'Orléans Morvan Hawaiian Islands Laurentian Mountains Galápagos Islands Isles of Scilly Inner Hebrides Sulitelma Caroline Islands Babuyan Islands Petite Terre Islands Canso Islands Lubusz Land Fjäderholmarna Ténéré Magdalen Islands Diablerets Society Islands Loyalty Islands Hochelaga Archipelago Surin Islands Palmer Archipelago
104
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type landscape
type concept
action count
action filter_type
action find
entity Canso Islands
relation located on terrain feature
type landscape
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?e ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:located_on_terrain_feature ?s . ?s rdf:type ontology:landscape . ?b rdf:type ontology:concept } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { resource:Canso_Islands property:located_on_terrain_feature ?z . ?z rdf:type ontology:landscape } } . FILTER ( ?u = ?a ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q64
P17
Q183366 Q3024240
USER
How many territories or former countries are Berlin a part of ?
(Q64,P17,c(Q183366)) (Q64,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q64
relation P17
type Q183366
action filter_type
action find
entity Q64
relation P17
type Q3024240
['Q64', 'P17', {'concept': 'Q183366'}] ['Q64', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { resource:Q64 property:P17 ?v . ?v rdf:type ontology:Q3024240 } UNION { resource:Q64 property:P17 ?v . ?v rdf:type ontology:Q183366 } }
Berlin
action count
action union
action filter_type
action find
entity Berlin
relation country
type territory
action filter_type
action find
entity Berlin
relation country
type former country
['Berlin', 'country', {'concept': 'territory'}] ['Berlin', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { resource:Berlin property:country ?v . ?v rdf:type ontology:former_country } UNION { resource:Berlin property:country ?v . ?v rdf:type ontology:territory } }
[]
territory former country
SYSTEM
2
Q55300 Q43287
(Q64,P17,c(Q183366)) (Q64,P17,c(Q3024240))
action count
action union
action filter_type
action find
entity Q64
relation P17
type Q183366
action filter_type
action find
entity Q64
relation P17
type Q3024240
[ANSWER]
['Q64', 'P17', {'concept': 'Q183366'}] ['Q64', 'P17', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { resource:Q64 property:P17 ?v . ?v rdf:type ontology:Q3024240 } UNION { resource:Q64 property:P17 ?v . ?v rdf:type ontology:Q183366 } }
Soviet occupation zone German Empire
2
action count
action union
action filter_type
action find
entity Berlin
relation country
type territory
action filter_type
action find
entity Berlin
relation country
type former country
['Berlin', 'country', {'concept': 'territory'}] ['Berlin', 'country', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { resource:Berlin property:country ?v . ?v rdf:type ontology:former_country } UNION { resource:Berlin property:country ?v . ?v rdf:type ontology:territory } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P237
Q17335294
USER
Which coat of arms serves as the ensign for that administrative territory ?
action filter_type
action find
entity Q64
relation P237
type Q17335294
SELECT DISTINCT ?a WHERE { resource:Q64 property:P237 ?a . ?a rdf:type ontology:Q17335294 }
Berlin
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?a WHERE { resource:Berlin property:coat_of_arms ?a . ?a rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q819737
SYSTEM
coat of arms of Berlin
Q819737
action filter_type
action find
entity Q64
relation P237
type Q17335294
The [ANSWER] serves as the ensign for that administrative territory
SELECT DISTINCT ?a WHERE { resource:Q64 property:P237 ?a . ?a rdf:type ontology:Q17335294 }
coat of arms of Berlin
The coat of arms of Berlin serves as the ensign for that administrative territory
coat of arms of Berlin
action filter_type
action find
entity Berlin
relation coat of arms
type flag or coat of arms
SELECT DISTINCT ?a WHERE { resource:Berlin property:coat_of_arms ?a . ?a rdf:type ontology:flag_or_coat_of_arms }
[]