Simple Question (Direct)
Simple Question
Q350595
P27
Q15617994
USER
Which administrative territory is the native country of Ricky Ullman ?
(Q350595,P27,c(Q15617994))
action filter_type
action find
entity Q350595
relation P27
type Q15617994
['Q350595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q350595 property:P27 ?y }
Ricky Ullman
action filter_type
action find
entity Ricky Ullman
relation country of citizenship
type designation for an administrative territorial entity
['Ricky Ullman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ricky_Ullman property:country_of_citizenship ?y }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q350595,P27,c(Q15617994))
action filter_type
action find
entity Q350595
relation P27
type Q15617994
[ANSWER] is the native country of Ricky Ullman
['Q350595', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q350595 property:P27 ?y }
United States of America
United States of America is the native country of Ricky Ullman
United States of America
action filter_type
action find
entity Ricky Ullman
relation country of citizenship
type designation for an administrative territorial entity
['Ricky Ullman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Ricky_Ullman property:country_of_citizenship ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q30
P30
Q2221906
USER
Which geographic locations are that administrative territory a part of ?
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
United States of America
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
geographic location
Q49 Q538
SYSTEM
North America, Oceania
Q49 Q538
(Q30,P30,c(Q2221906))
action filter_type
action find
entity Q30
relation P30
type Q2221906
[ANSWERS] are that administrative territory a part of
['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?m WHERE { resource:Q30 property:P30 ?m . ?m rdf:type ontology:Q2221906 }
North America Oceania
North America and Oceania are that administrative territory a part of
North America Oceania
action filter_type
action find
entity United States of America
relation continent
type geographic location
['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?m WHERE { resource:United_States_of_America property:continent ?m . ?m rdf:type ontology:geographic_location }
[]
Clarification
Simple Question|Single Entity|Indirect
Q538
P361
Q2221906
USER
What is a part of that one ?
(c(Q2221906),P361,Q538)
action filter_type
action find_reverse
entity Q538
relation P361
type Q2221906
[{'concept': 'Q2221906'}, 'P361', 'Q538']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . ?s property:P361 resource:Q538 }
Oceania
action filter_type
action find_reverse
entity Oceania
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Oceania']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . ?s property:part_of resource:Oceania }
[]
geographic location
Clarification for simple ques.
Q538
SYSTEM
Did you mean Oceania ?
Q49 Q538
(c(Q2221906),P361,Q49) (c(Q2221906),P361,Q538)
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', 'Q49'] [{'concept': 'Q2221906'}, 'P361', 'Q538']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . ?s property:P361 resource:Q538 }
North America Oceania
Did you mean Oceania ?
Oceania
[{'concept': 'geographic location'}, 'part of', 'North America'] [{'concept': 'geographic location'}, 'part of', 'Oceania']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . ?s property:part_of resource:Oceania }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2221906),P361,Q538)
[{'concept': 'Q2221906'}, 'P361', 'Q538']
[{'concept': 'geographic location'}, 'part of', 'Oceania']
[]
Q20655529
SYSTEM
South Pacific
Q20655529
(c(Q2221906),P361,Q538)
action filter_type
action find_reverse
entity Q538
relation P361
type Q2221906
A part of that one is the [ANSWER]
[{'concept': 'Q2221906'}, 'P361', 'Q538']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2221906 . ?s property:P361 resource:Q538 }
South Pacific
A part of that one is the South Pacific
South Pacific
action filter_type
action find_reverse
entity Oceania
relation part of
type geographic location
[{'concept': 'geographic location'}, 'part of', 'Oceania']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:geographic_location . ?s property:part_of resource:Oceania }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q20655529 Q538
P361
Q2221906
USER
Is South Pacific a portion of Oceania ?
(Q20655529,P361,Q538)
action is_in
entity Q538
action find
entity Q20655529
relation P361
['Q20655529', 'P361', 'Q538']
ASK WHERE { resource:Q20655529 property:P361 resource:Q538 }
South Pacific Oceania
action is_in
entity Oceania
action find
entity South Pacific
relation part of
['South Pacific', 'part of', 'Oceania']
ASK WHERE { resource:South_Pacific property:part_of resource:Oceania }
[]
geographic location
SYSTEM
YES
(Q20655529,P361,Q538)
action is_in
entity Q538
action find
entity Q20655529
relation P361
[ANSWER]
['Q20655529', 'P361', 'Q538']
ASK WHERE { resource:Q20655529 property:P361 resource:Q538 }
Yes
action is_in
entity Oceania
action find
entity South Pacific
relation part of
['South Pacific', 'part of', 'Oceania']
ASK WHERE { resource:South_Pacific property:part_of resource:Oceania }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q553036 Q1190554 Q2221906
USER
How many geographic locations are a portion of around 1 natural region of Germanys and events ?
(c(Q2221906),P361,c(Q553036)|c(Q1190554))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q553036
action find_tuple_counts
relation P361
type Q2221906
type Q1190554
value 1
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:Q553036 ) ( ontology:Q1190554 ) } . ?n rdf:type ?q } GROUP BY ?r } }
action count
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type natural region of Germany
action find_tuple_counts
relation part of
type geographic location
type event
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:natural_region_of_Germany ) ( ontology:event ) } . ?n rdf:type ?q } GROUP BY ?r } }
[]
natural region of Germany event geographic location
SYSTEM
5
Q315496 Q1234060 Q1997843 Q21491032 Q19603939
(c(Q2221906),P361,c(Q553036)|c(Q1190554))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q2221906
type Q553036
action find_tuple_counts
relation P361
type Q2221906
type Q1190554
value 1
[ANSWER]
[{'concept': 'Q2221906'}, 'P361', [{'concept': 'Q553036'}, {'concept': 'Q1190554'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:Q553036 ) ( ontology:Q1190554 ) } . ?n rdf:type ?q } GROUP BY ?r } }
Upper Harz Riesalb North Eifel Lower Harz building component
5
action count
action approx
action union
action find_tuple_counts
relation part of
type geographic location
type natural region of Germany
action find_tuple_counts
relation part of
type geographic location
type event
value 1
[{'concept': 'geographic location'}, 'part of', [{'concept': 'natural region of Germany'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?o ) WHERE { VALUES ( ?q ) { ( ontology:natural_region_of_Germany ) ( ontology:event ) } . ?n rdf:type ?q } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q6721952
P361
Q2221906 Q15617994 Q14524493
USER
Which geographic locations are approximately the same number of administrative territories and terrains a component of as MacIntyre Mountains ?
(c(Q15617994)|c(Q14524493),P361,c(Q2221906))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q15617994
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q6721952
relation P361
type Q15617994
type Q14524493
[[{'concept': 'Q15617994'}, {'concept': 'Q14524493'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { { ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q14524493 } } . ?g property:P361 resource:Q6721952 } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q14524493 ) } } GROUP BY ?o } }
MacIntyre Mountains
action approx
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity MacIntyre Mountains
relation part of
type designation for an administrative territorial entity
type terrain
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'terrain'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:terrain } } . ?g property:part_of resource:MacIntyre_Mountains } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:terrain ) } } GROUP BY ?o } }
[]
geographic location designation for an administrative territorial entity terrain
Q27561 Q48 Q18869
SYSTEM
Caribbean Netherlands, Asia, Caucasus
Q333934 Q6003861 Q15262083 Q431907 Q14705286 Q5928845 Q2907148 Q27468 Q866405 Q596660 Q6800778 Q27509 Q7655810 Q5167046 Q2915499 Q14685019 Q5263636 Q6794458 Q7204 Q1998580 Q7856755 Q632014 Q6403747 Q4921533 Q636672 Q121359 Q179842 Q1349167 Q184430 Q1551170 Q5328630 Q5127364 Q21195 Q621805 Q5031650 Q46 Q4345530 Q3960 Q7678507 Q3427382 Q6721952 Q27381 Q48 Q10334749 Q148571 Q4878060 Q4920954 Q272921 Q294440 Q7968217 Q5063897 Q828 Q7619592 Q1555938 Q1471568 Q7081788 Q5884642 Q49 Q4272468 Q538 Q2035462 Q5598693 Q186545 Q12511 Q7699521 Q664609 Q165269 Q7811491 Q5347682 Q7995202 Q1997843 Q24460 Q148124 Q7793408 Q2915691 Q44497 Q29223 Q4754085 Q999039 Q14204659 Q236118 Q153809 Q5146969 Q181386 Q5929184 Q6462724 Q2380693 Q7907867 Q422941 Q401815 Q1998497 Q4996620 Q7015155 Q7971575 Q667529 Q483242 Q46519 Q37654 Q2721679 Q1635387 Q27275 Q326359 Q7101759 Q7884747 Q2680496 Q604496 Q18869 Q15 Q475403 Q495241 Q811979 Q4996619 Q6729888 Q15266363 Q7427749 Q12060726 Q76034 Q4194 Q7974815 Q5596417 Q6391312 Q7107526 Q850245 Q6858288 Q8072 Q883889 Q623465 Q142965 Q1134547 Q5160326 Q771405 Q45256 Q14324291 Q7699945 Q262269 Q2841975 Q4147903 Q6405955 Q4930723 Q5089568 Q27449 Q875134 Q805727 Q3623001 Q1437459 Q5173256 Q2354215 Q6537223 Q7600178 Q7191545 Q5346101 Q257376 Q897168 Q27561 Q5139816 Q166620 Q7493250 Q7205132 Q2565366 Q205895 Q14706057 Q914711 Q6875911 Q5317255 Q6649061 Q753162 Q5002820 Q26824 Q194188 Q5401 Q6935461 Q719456
(c(Q15617994)|c(Q14524493),P361,c(Q2221906))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q15617994
action find_reverse_tuple_counts
relation P361
type Q2221906
type Q14524493
action count
action filter_multi_types
action find_reverse
entity Q6721952
relation P361
type Q15617994
type Q14524493
[ANSWERS] are approximately the same number of administrative territories and terrains a component of as MacIntyre Mountains
[[{'concept': 'Q15617994'}, {'concept': 'Q14524493'}], 'P361', {'concept': 'Q2221906'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { { ?g rdf:type ontology:Q15617994 } UNION { ?g rdf:type ontology:Q14524493 } } . ?g property:P361 resource:Q6721952 } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q14524493 ) } } GROUP BY ?o } }
Swiss Plateau Imeon Range New Museums Site Sierra de la Culata Toquima Range Hudson River Historic District Raritan Bay Eastern Europe East Antarctica New Territories McCullough Range Central Europe Sweetwater Mountains Cookes Range Upper Galilee Never Summer Mountains Desatoya Mountains Mawson Escarpment Middle East Northern Black Forest Tushar Mountains Mid-Atlantic States Kiamichi Mountains Black Range Sierra Nevada de Mérida infrastructure Tibetan Plateau ground station Zeelandic Flanders Palmer Land East Humboldt Range Clark Range Scandinavia Pisidia Candelaria Hills Europe Northern Italy Australia Takshanuk Mountains Kirwan Escarpment MacIntyre Mountains North Africa Asia Memphite necropolis fence Beaver Dam Mountains Black Hills Badlands public space Wapack Range Cerbat Mountains Americas Stony Point Battlefield Antarctic Old Babylonian Empire Okanagan Highland Holtedahl Peaks North America Lyab-i Hauz Oceania Ostfeste Great Balsam Mountains Midwestern United States stairs Tenaya Canyon Caribbean East Frisia Tobacco Root Mountains Egan Range White Pine Range North Eifel Northeastern United States Sorica Thomas Range Lower Galilee mining Theban Necropolis Anderson Heights Bay of Sevastopol Badlands and Black Hills Southern Cone Tyrol Collegiate Peaks Eastern Ukraine Hueco Mountains La Garita Mountains South Eifel Vaca Mountains Central Highlands of Sri Lanka Columbia Plateau North Eastern Europe Bull Run Mountains New York–New Jersey Highlands Washington's Crossing Blue Mountains laboratory Southern Germany market Warner Mountains Southern Black Forest Central Asia Palatinate Organ Mountains Unicoi Mountains Pasteur Peninsula Fennoscandia Caucasus Africa Bernese Oberland Gyeongju Historic Areas architectural structure Bull Run Mountains Magdalena Mountains Pilot Range (New Hampshire) Savage Mountain Indian River Lagoon Canadian Shield Sauerland Watson Escarpment Grant Range Kenosha Mountains Ossipee Mountains Fouta Djallon Mill Creek Mountain volcano Calenberg Land Wasatch Front Portuguese Timor Ellsworth Land Confusion Range South Asia Australasia South European Russia Tenmile Range Farther Pomerania Franklin Mountains Borders of the Roman Empire Kigluaik Mountains Blum Creek Chehalem Mountains Southern Europe European Russia Baltics Yukon Plateau mountain range Cortez Mountains Central London Lewis and Clark Range Stansbury Mountains Piedmont region of Virginia Edwards Gymnasium/Pfieffer Natatorium Bavarian Alpine Foreland High Eifel Caribbean Netherlands Coconino Plateau drainage basin Shekerley Mountains Plott Balsams West Hesse Depression landmass Manzano Mountains transmission tower Misquah Hills Dutch Caribbean Little Belt Mountains Sacri Monti of Piedmont and Lombardy Butte des Morts Alentejo spaceport Eurasia Mummy Range station
Caribbean Netherlands, Asia and Caucasus are approximately the same number of administrative territories and terrains a component of as MacIntyre Mountains
Caribbean Netherlands Asia Caucasus
action approx
action union
action find_reverse_tuple_counts
relation part of
type geographic location
type designation for an administrative territorial entity
action find_reverse_tuple_counts
relation part of
type geographic location
type terrain
action count
action filter_multi_types
action find_reverse
entity MacIntyre Mountains
relation part of
type designation for an administrative territorial entity
type terrain
[[{'concept': 'designation for an administrative territorial entity'}, {'concept': 'terrain'}], 'part of', {'concept': 'geographic location'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?g rdf:type ontology:terrain } } . ?g property:part_of resource:MacIntyre_Mountains } } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ?o ( COUNT ( ?y ) AS ?q ) WHERE { ?y rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:terrain ) } } GROUP BY ?o } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q216881 Q25607
P47
Q13220204
USER
How many administrative country subdivisions have an adjacent border with Capannori or St. Gallen ?
(c(Q13220204),P47,Q216881) (c(Q13220204),P47,Q25607)
action count
action union
action filter_type
action find_reverse
entity Q216881
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q25607
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q216881'] [{'concept': 'Q13220204'}, 'P47', 'Q25607']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:Q13220204 . ?j property:P47 resource:Q216881 } UNION { ?j property:P47 resource:Q25607 . ?j rdf:type ontology:Q13220204 } }
Capannori St. Gallen
action count
action union
action filter_type
action find_reverse
entity Capannori
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity St. Gallen
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Capannori'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'St. Gallen']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:second-level_administrative_country_subdivision . ?j property:shares_border_with resource:Capannori } UNION { ?j property:shares_border_with resource:St._Gallen . ?j rdf:type ontology:second-level_administrative_country_subdivision } }
[]
second-level administrative country subdivision
SYSTEM
9
Q66868 Q66334 Q67209 Q69777 Q67148 Q67193 Q66416 Q66781 Q66056
(c(Q13220204),P47,Q216881) (c(Q13220204),P47,Q25607)
action count
action union
action filter_type
action find_reverse
entity Q216881
relation P47
type Q13220204
action filter_type
action find_reverse
entity Q25607
relation P47
type Q13220204
[ANSWER]
[{'concept': 'Q13220204'}, 'P47', 'Q216881'] [{'concept': 'Q13220204'}, 'P47', 'Q25607']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:Q13220204 . ?j property:P47 resource:Q216881 } UNION { ?j property:P47 resource:Q25607 . ?j rdf:type ontology:Q13220204 } }
Eggersriet Mörschwil Teufen Gossau Speicher Stein Untereggen Gaiserwald Wittenbach
9
action count
action union
action filter_type
action find_reverse
entity Capannori
relation shares border with
type second-level administrative country subdivision
action filter_type
action find_reverse
entity St. Gallen
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Capannori'] [{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'St. Gallen']
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { ?j rdf:type ontology:second-level_administrative_country_subdivision . ?j property:shares_border_with resource:Capannori } UNION { ?j property:shares_border_with resource:St._Gallen . ?j rdf:type ontology:second-level_administrative_country_subdivision } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q216881
P190
Q15617994
USER
Which administrative territory is a sister city of Capannori ?
(c(Q15617994),P190,Q216881)
action filter_type
action find
entity Q216881
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q216881']
SELECT DISTINCT ?w WHERE { resource:Q216881 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Capannori
action filter_type
action find
entity Capannori
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Capannori']
SELECT DISTINCT ?w WHERE { resource:Capannori property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q629682
SYSTEM
Losheim am See
Q629682
(c(Q15617994),P190,Q216881)
action filter_type
action find
entity Q216881
relation P190
type Q15617994
[ANSWER] is a sister city of Capannori
[{'concept': 'Q15617994'}, 'P190', 'Q216881']
SELECT DISTINCT ?w WHERE { resource:Q216881 property:P190 ?w . ?w rdf:type ontology:Q15617994 }
Losheim am See
Losheim am See is a sister city of Capannori
Losheim am See
action filter_type
action find
entity Capannori
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Capannori']
SELECT DISTINCT ?w WHERE { resource:Capannori property:sister_city ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48
P840
Q15416
USER
Which television program has a setting location of Asia ?
(c(Q15416),P840,Q48)
action filter_type
action find_reverse
entity Q48
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q48']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15416 . ?c property:P840 resource:Q48 }
Asia
action filter_type
action find_reverse
entity Asia
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Asia']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:television_program . ?c property:narrative_location resource:Asia }
[]
television program
Q2496775
SYSTEM
The Country Mouse and the City Mouse Adventures
Q2496775
(c(Q15416),P840,Q48)
action filter_type
action find_reverse
entity Q48
relation P840
type Q15416
[ANSWER] has a setting location of Asia
[{'concept': 'Q15416'}, 'P840', 'Q48']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15416 . ?c property:P840 resource:Q48 }
The Country Mouse and the City Mouse Adventures
The Country Mouse and the City Mouse Adventures has a setting location of Asia
The Country Mouse and the City Mouse Adventures
action filter_type
action find_reverse
entity Asia
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'Asia']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:television_program . ?c property:narrative_location resource:Asia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q48
P376
Q16889133
USER
Which class is Asia situated on ?
(Q48,P376,c(Q16889133))
action filter_type
action find
entity Q48
relation P376
type Q16889133
['Q48', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?y WHERE { resource:Q48 property:P376 ?y . ?y rdf:type ontology:Q16889133 }
Asia
action filter_type
action find
entity Asia
relation located on astronomical body
type class
['Asia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?y WHERE { resource:Asia property:located_on_astronomical_body ?y . ?y rdf:type ontology:class }
[]
class
Q2
SYSTEM
Earth
Q2
(Q48,P376,c(Q16889133))
action filter_type
action find
entity Q48
relation P376
type Q16889133
Asia is situated on [ANSWER]
['Q48', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?y WHERE { resource:Q48 property:P376 ?y . ?y rdf:type ontology:Q16889133 }
Earth
Asia is situated on Earth
Earth
action filter_type
action find
entity Asia
relation located on astronomical body
type class
['Asia', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?y WHERE { resource:Asia property:located_on_astronomical_body ?y . ?y rdf:type ontology:class }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q24295948
Q16889133
USER
And what about Polina?
(Q24295948,P376,c(Q16889133))
action filter_type
action find
entity Q24295948
relation P376
type Q16889133
['Q24295948', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q16889133 . resource:Q24295948 property:P376 ?l }
Polina
action filter_type
action find
entity Polina
relation located on astronomical body
type class
['Polina', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:class . resource:Polina property:located_on_astronomical_body ?l }
[]
class
Q313
SYSTEM
Venus
Q313
(Q24295948,P376,c(Q16889133))
action filter_type
action find
entity Q24295948
relation P376
type Q16889133
[ANSWER]
['Q24295948', 'P376', {'concept': 'Q16889133'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q16889133 . resource:Q24295948 property:P376 ?l }
Venus
Venus
action filter_type
action find
entity Polina
relation located on astronomical body
type class
['Polina', 'located on astronomical body', {'concept': 'class'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:class . resource:Polina property:located_on_astronomical_body ?l }
[]