Simple Question (Direct)
Simple Question
Q5986205
P735
Q82799
USER
What is forename of Ichiko Sato ?
(Q5986205,P735,c(Q82799))
action filter_type
action find
entity Q5986205
relation P735
type Q82799
['Q5986205', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q5986205 property:P735 ?h . ?h rdf:type ontology:Q82799 }
Ichiko Sato
action filter_type
action find
entity Ichiko Sato
relation given name
type name
['Ichiko Sato', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Ichiko_Sato property:given_name ?h . ?h rdf:type ontology:name }
[]
name
Q5986191
SYSTEM
Ichiko
Q5986191
(Q5986205,P735,c(Q82799))
action filter_type
action find
entity Q5986205
relation P735
type Q82799
Forename of [ANSWER] Sato is of [ANSWER]
['Q5986205', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q5986205 property:P735 ?h . ?h rdf:type ontology:Q82799 }
Ichiko
Forename of Ichiko Sato is of Ichiko
Ichiko
action filter_type
action find
entity Ichiko Sato
relation given name
type name
['Ichiko Sato', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Ichiko_Sato property:given_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5986205
P734
Q82799
USER
Which name is associated with Ichiko Sato ?
(Q5986205,P734,c(Q82799))
action filter_type
action find
entity Q5986205
relation P734
type Q82799
['Q5986205', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5986205 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Ichiko Sato
action filter_type
action find
entity Ichiko Sato
relation family name
type name
['Ichiko Sato', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Ichiko_Sato property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q978692
SYSTEM
Satō
Q978692
(Q5986205,P734,c(Q82799))
action filter_type
action find
entity Q5986205
relation P734
type Q82799
Ai [ANSWER] is associated with Ichiko Sato
['Q5986205', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q5986205 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Satō
Ai Satō is associated with Ichiko Sato
Satō
action filter_type
action find
entity Ichiko Sato
relation family name
type name
['Ichiko Sato', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Ichiko_Sato property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5986205
P21
Q290
USER
Which sex does Ichiko Sato possess ?
(Q5986205,P21,c(Q290))
action filter_type
action find
entity Q5986205
relation P21
type Q290
['Q5986205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5986205 property:P21 ?e . ?e rdf:type ontology:Q290 }
Ichiko Sato
action filter_type
action find
entity Ichiko Sato
relation gender
type sex
['Ichiko Sato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Ichiko_Sato property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q5986205,P21,c(Q290))
action filter_type
action find
entity Q5986205
relation P21
type Q290
Ichiko Sato possesses a [ANSWER]
['Q5986205', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q5986205 property:P21 ?e . ?e rdf:type ontology:Q290 }
female
Ichiko Sato possesses a female
female
action filter_type
action find
entity Ichiko Sato
relation gender
type sex
['Ichiko Sato', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Ichiko_Sato property:gender ?e . ?e rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5986205
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ichiko Sato ?
(Q5986205,P27,c(Q15617994))
action filter_type
action find
entity Q5986205
relation P27
type Q15617994
['Q5986205', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5986205 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Ichiko Sato
action filter_type
action find
entity Ichiko Sato
relation country of citizenship
type designation for an administrative territorial entity
['Ichiko Sato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ichiko_Sato property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q5986205,P27,c(Q15617994))
action filter_type
action find
entity Q5986205
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Ichiko Sato
['Q5986205', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5986205 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Japan
Of Japan is the country of citizenship of Ichiko Sato
Japan
action filter_type
action find
entity Ichiko Sato
relation country of citizenship
type designation for an administrative territorial entity
['Ichiko Sato', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Ichiko_Sato property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5986205
P106
Q12737077
USER
Which occupation is the profession of Ichiko Sato ?
(Q5986205,P106,c(Q12737077))
action filter_type
action find
entity Q5986205
relation P106
type Q12737077
['Q5986205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5986205 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Ichiko Sato
action filter_type
action find
entity Ichiko Sato
relation occupation
type occupation
['Ichiko Sato', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Ichiko_Sato property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q15117302
SYSTEM
volleyball player
Q15117302
(Q5986205,P106,c(Q12737077))
action filter_type
action find
entity Q5986205
relation P106
type Q12737077
The [ANSWER] is the profession of Ichiko Sato
['Q5986205', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q5986205 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
volleyball player
The volleyball player is the profession of Ichiko Sato
volleyball player
action filter_type
action find
entity Ichiko Sato
relation occupation
type occupation
['Ichiko Sato', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Ichiko_Sato property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1874790
Q12737077
USER
And also tell me about Ludwig Milch?
(Q1874790,P106,c(Q12737077))
action filter_type
action find
entity Q1874790
relation P106
type Q12737077
['Q1874790', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q1874790 property:P106 ?m }
Ludwig Milch
action filter_type
action find
entity Ludwig Milch
relation occupation
type occupation
['Ludwig Milch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Ludwig_Milch property:occupation ?m }
[]
occupation
Q1622272 Q520549
SYSTEM
university teacher, geologist
Q1622272 Q520549
(Q1874790,P106,c(Q12737077))
action filter_type
action find
entity Q1874790
relation P106
type Q12737077
[ANSWERS]
['Q1874790', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q12737077 . resource:Q1874790 property:P106 ?m }
university teacher geologist
university teacher geologist
action filter_type
action find
entity Ludwig Milch
relation occupation
type occupation
['Ludwig Milch', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:occupation . resource:Ludwig_Milch property:occupation ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1874790
P19
Q486972
USER
Which human settlement is the place of birth of that person ?
(Q1622272,P19,c(Q486972)) (Q520549,P19,c(Q486972))
action filter_type
action find
entity Q1874790
relation P19
type Q486972
['Q1622272', 'P19', {'concept': 'Q486972'}] ['Q520549', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q1874790 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Ludwig Milch
action filter_type
action find
entity Ludwig Milch
relation place of birth
type human settlement
['university teacher', 'place of birth', {'concept': 'human settlement'}] ['geologist', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Ludwig_Milch property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
human settlement
Q1799
SYSTEM
Wrocław
Q1799
(Q1622272,P19,c(Q486972)) (Q520549,P19,c(Q486972))
action filter_type
action find
entity Q1874790
relation P19
type Q486972
[ANSWER] is the place of birth of that person
['Q1622272', 'P19', {'concept': 'Q486972'}] ['Q520549', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?t WHERE { resource:Q1874790 property:P19 ?t . ?t rdf:type ontology:Q486972 }
Wrocław
Wrocław is the place of birth of that person
Wrocław
action filter_type
action find
entity Ludwig Milch
relation place of birth
type human settlement
['university teacher', 'place of birth', {'concept': 'human settlement'}] ['geologist', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?t WHERE { resource:Ludwig_Milch property:place_of_birth ?t . ?t rdf:type ontology:human_settlement }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P276
Q486972 Q34442 Q811979
USER
Which human settlements are greater number of roads or architectural structures located than that human settlement ?
(c(Q34442)|c(Q811979),P276,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P276
type Q486972
type Q34442
action find_reverse_tuple_counts
relation P276
type Q486972
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1799
relation P276
type Q34442
type Q811979
[[{'concept': 'Q34442'}, {'concept': 'Q811979'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?m WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q811979 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P276 resource:Q1799 . { { ?k rdf:type ontology:Q34442 } UNION { ?k rdf:type ontology:Q811979 } } } } . FILTER ( ?h > ?t ) }
action greater
action union
action find_reverse_tuple_counts
relation location
type human settlement
type road
action find_reverse_tuple_counts
relation location
type human settlement
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Wrocław
relation location
type road
type architectural structure
[[{'concept': 'road'}, {'concept': 'architectural structure'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?m WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:road ) ( ontology:architectural_structure ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:location resource:Wrocław . { { ?k rdf:type ontology:road } UNION { ?k rdf:type ontology:architectural_structure } } } } . FILTER ( ?h > ?t ) }
[]
human settlement road architectural structure
Q1055 Q125293 Q4356881
SYSTEM
Hamburg, Puebla City, Solberga
Q972244 Q26692381 Q81175 Q988827 Q1865919 Q7476191 Q1279445 Q2099544 Q4356881 Q128498 Q73084 Q153757 Q153751 Q2054052 Q521187 Q2984834 Q2141559 Q5303551 Q12012987 Q1948732 Q861363 Q2007481 Q2651676 Q81276 Q2181664 Q192508 Q14688501 Q1862257 Q1401387 Q2918627 Q73348 Q2203983 Q2652634 Q1055 Q3112112 Q1427377 Q26094419 Q5049958 Q881699 Q2102925 Q924091 Q142350 Q1987684 Q26089373 Q494359 Q3070648 Q2565664 Q991009 Q1939043 Q892667 Q4597611 Q144078 Q1342525 Q26109035 Q884451 Q26692578 Q2801571 Q1278906 Q1179726 Q996935 Q1087187 Q73099 Q12344051 Q463332 Q2155656 Q2268243 Q1002859 Q7169892 Q2148416 Q2777485 Q2613329 Q478612 Q7573657 Q1057444 Q141690 Q1974010 Q259184 Q478707 Q3075336 Q896722 Q1969060 Q64586 Q26109843 Q2276202 Q1615032 Q26692522 Q2435152 Q72991 Q1618053 Q26095204 Q178317 Q19904265 Q1653952 Q281527 Q3299324 Q2891187 Q4326710 Q2132687 Q2473420 Q60475 Q5762101 Q892677 Q10861698 Q21334433 Q3134986 Q2303485 Q2640642 Q1868170 Q2245467 Q1701402 Q248483 Q620734 Q5328829 Q2065987 Q955 Q880975 Q3571551 Q73817 Q2145452 Q1615365 Q26692202 Q81159 Q1870673 Q3593074 Q1003585 Q3184100 Q2788482 Q26692116 Q18662234 Q1936132 Q3126518 Q76996 Q14389109 Q2945660 Q429309 Q2054185 Q729552 Q1025685 Q2234389 Q7568464 Q26692600 Q894343 Q2439172 Q26109110 Q125293 Q26692456 Q465833 Q2069078 Q2336187 Q9879 Q3182086 Q1868599 Q1923836 Q3303930 Q81100 Q163319 Q2275291 Q26089053 Q1949 Q11249 Q27998 Q2242438 Q2189478 Q317111 Q2855829 Q1007172 Q2483283 Q21054 Q2297032 Q1573469 Q2593455 Q26089631 Q81186 Q124705 Q2848548 Q432917 Q7568496 Q630974 Q2407620 Q2168724 Q2784508 Q1190597 Q81220 Q850834 Q882086 Q73501 Q312776 Q1326964 Q1533756 Q1001800 Q2202653 Q26110025 Q590710 Q976443 Q153782 Q2108704 Q2122072 Q7624071 Q26692614 Q76937 Q927604 Q2026235 Q2456747 Q2102176 Q1026027 Q1312504 Q2792865 Q26089603 Q896695 Q2558755 Q988087 Q41976 Q41974 Q7399840
(c(Q34442)|c(Q811979),P276,c(Q486972))
action greater
action union
action find_reverse_tuple_counts
relation P276
type Q486972
type Q34442
action find_reverse_tuple_counts
relation P276
type Q486972
type Q811979
action count
action filter_multi_types
action find_reverse
entity Q1799
relation P276
type Q34442
type Q811979
[ANSWERS] are greater number of roads or architectural structures located than that human settlement
[[{'concept': 'Q34442'}, {'concept': 'Q811979'}], 'P276', {'concept': 'Q486972'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?m WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:Q34442 ) ( ontology:Q811979 ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P276 resource:Q1799 . { { ?k rdf:type ontology:Q34442 } UNION { ?k rdf:type ontology:Q811979 } } } } . FILTER ( ?h > ?t ) }
La Sal Florabuurt Steenwijk Tonopah Rivierenbuurt Hortusbuurt Friesdorf Plittersdorf Solberga Bijlmermeer Huissen Graurheindorf Poppelsdorf Buschdorf Vesterbro Psyri Mastenbroek Downtown Portland Korrewegwijk Leopold Quarter Christianshavn Zuiderpolder Zeeheldenbuurt Monnickendam Nieuwpoort, South Holland Bergen op Zoom Irvington Historic District Megen Jordaan Mid-Levels IJlst Rüngsdorf Paddepoel Hamburg Gramsbergen Flatiron District Helpman-Oost Castle, Bedford Vilich Waterrijk Goedereede Auerberg Niederdollendorf Binnenstad-Oost Rijssen Eastern Docklands Weststadt Brouwershaven Mission Hill Bonn-Castell Science Park Amsterdam Urfeld Gronau Corpus den Hoorn-Noord Mehlem Bloemenbuurt Molenvliet IJzendijke De Aker Rapenburg Buren Sloten Weert Buda Castle Quarter Rivierenbuurt Selhof De Baarsjes Perry South Rhöndorf Snel en Polanen Herewegbuurt Amsterdam Oud-West Sparkhill Skid Row Back Bay Bezuidenhout Winkel Grachtengordel Overhoeks Brüser Berg Kostverloren Apollobuurt De Wijert-Zuid De Hoogte Oostburg Van Starkenborgh Scheepvaartkwartier Groenlo Terborg Villabuurt-Oost Oberkassel Bomen- en Bloemenbuurt IJburg Wan Chai Oisterwijk Batenburg Slotermeer Ratheim Echt, Netherlands Harlingen Hill District Bonn-Zentrum Zábrdovice Kerbourg Heusden Woudrichem Stadsparkwijk Lohfeld Ulgersmaborg Limperich Oberdollendorf Downtown Dubai East Liberty Sluis Aardenburg Ippendorf Olalla Winschoten Beijum Ootmarsum Cortinghborg Hasselt Reitdiep île Feydeau Osdorp Veere Grunobuurt Oranjebuurt Tammerkoski Watergraafsmeer Hammarby Sjöstad Klundert Steenbergen Oosterparkwijk Grootebroek Goor Kamppi Borculo Gravenburg South Side Indische Buurt Bos en Lommer Spaarndam-West Gorechtbuurt Puebla City Winschoterdiep Schagen Pennenfeld Acropolis Waalwijk Kortgene Staatsliedenbuurt Staatsliedenkwartier Medemblik Hulst De Pijp Schildersbuurt Binnenstad-Noord Wannsee Midtown Manhattan Westerland Museumkwartier Zeeheldenbuurt Schwarzrheindorf/Vilich-Rheindorf De Greiden Delden Lewenborg Montfort Coendersborg Hamilton City Oosterpoortwijk Binnenstad-Zuid Genemuiden Südstadt Schilderskwartier Alt-Godesberg South Side Slopes Kerameikos Northern Quarter Zielhorst Hoogwoud Long Island City Goes Beuel-Mitte Nordstadt Bredevoort Tholen Hochkreuz Godesberg-Villenviertel Ullanlinna Römlinghoven De Wijert-Noord New Town Katajanokka Kessenich Selwerd Oranjewijk Strip District Hoendiep Willemstad, North Brabant Bronkhorst Waarderpolder Vinkhuizen Hoornse Meer Fort Defiance Schweinheim De Held Binnenstad-West Pützchen-Bechlinghoven Slotervaart Plantage Dokkum Franeker Sai Ying Pun
Hamburg, Puebla City and Solberga are greater number of roads or architectural structures located than that human settlement
Hamburg Puebla City Solberga
action greater
action union
action find_reverse_tuple_counts
relation location
type human settlement
type road
action find_reverse_tuple_counts
relation location
type human settlement
type architectural structure
action count
action filter_multi_types
action find_reverse
entity Wrocław
relation location
type road
type architectural structure
[[{'concept': 'road'}, {'concept': 'architectural structure'}], 'location', {'concept': 'human settlement'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?h ) ?m WHERE { ?g rdf:type ?a . VALUES ( ?a ) { ( ontology:road ) ( ontology:architectural_structure ) } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:location resource:Wrocław . { { ?k rdf:type ontology:road } UNION { ?k rdf:type ontology:architectural_structure } } } } . FILTER ( ?h > ?t ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4356881
P47
Q56061
USER
Which administrative territories have a shared border with that human settlement ?
(Q4356881,P47,c(Q56061))
action filter_type
action find
entity Q4356881
relation P47
type Q56061
['Q4356881', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4356881 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Solberga
action filter_type
action find
entity Solberga
relation shares border with
type administrative territorial entity
['Solberga', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Solberga property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q125293
SYSTEM
Did you mean Puebla City ?
Q1055 Q125293 Q4356881
(Q1055,P47,c(Q56061)) (Q125293,P47,c(Q56061)) (Q4356881,P47,c(Q56061))
[ANSWER]
['Q1055', 'P47', {'concept': 'Q56061'}] ['Q125293', 'P47', {'concept': 'Q56061'}] ['Q4356881', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4356881 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Hamburg Puebla City Solberga
Did you mean Puebla City ?
Puebla City
['Hamburg', 'shares border with', {'concept': 'administrative territorial entity'}] ['Puebla City', 'shares border with', {'concept': 'administrative territorial entity'}] ['Solberga', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Solberga property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Solberga. Could you tell me the answer for that?
(Q4356881,P47,c(Q56061))
Q4356881
['Q4356881', 'P47', {'concept': 'Q56061'}]
['Solberga', 'shares border with', {'concept': 'administrative territorial entity'}]
[]
Q255019 Q4357634 Q2552334
SYSTEM
Älvsjö, Västberga, Fruängen
Q4357031 Q2552334 Q255019 Q4357634 Q4357719 Q3354868 Q4357625
(Q4356881,P47,c(Q56061))
action filter_type
action find
entity Q4356881
relation P47
type Q56061
[ANSWERS] have a shared border with that human settlement
['Q4356881', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q4356881 property:P47 ?z . ?z rdf:type ontology:Q56061 }
Liseberg Fruängen Älvsjö Västberga Östberga Hägerstensåsen Långbro
Älvsjö, Västberga and Fruängen have a shared border with that human settlement
Älvsjö Västberga Fruängen
action filter_type
action find
entity Solberga
relation shares border with
type administrative territorial entity
['Solberga', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Solberga property:shares_border_with ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4356881
P47
Q486972
USER
Does Solberga share border with those administrative territories ?
(Q4356881,P47,Q255019) (Q4356881,P47,Q4357634) (Q4356881,P47,Q2552334)
action is_in
entity prev_answer
action find
entity Q4356881
relation P47
['Q4356881', 'P47', 'Q255019'] ['Q4356881', 'P47', 'Q4357634'] ['Q4356881', 'P47', 'Q2552334']
ASK WHERE { resource:Q4356881 property:P47 ?s . VALUES ( ?s ) { ( resource:Q4357031 ) ( resource:Q2552334 ) ( resource:Q255019 ) } }
Solberga
action is_in
entity prev_answer
action find
entity Solberga
relation shares border with
['Solberga', 'shares border with', 'Älvsjö'] ['Solberga', 'shares border with', 'Västberga'] ['Solberga', 'shares border with', 'Fruängen']
ASK WHERE { resource:Solberga property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Liseberg ) ( resource:Fruängen ) ( resource:Älvsjö ) } }
[]
human settlement
SYSTEM
YES
(Q4356881,P47,Q255019) (Q4356881,P47,Q4357634) (Q4356881,P47,Q2552334)
action is_in
entity prev_answer
action find
entity Q4356881
relation P47
[ANSWER]
['Q4356881', 'P47', 'Q255019'] ['Q4356881', 'P47', 'Q4357634'] ['Q4356881', 'P47', 'Q2552334']
ASK WHERE { resource:Q4356881 property:P47 ?s . VALUES ( ?s ) { ( resource:Q4357031 ) ( resource:Q2552334 ) ( resource:Q255019 ) } }
Yes
action is_in
entity prev_answer
action find
entity Solberga
relation shares border with
['Solberga', 'shares border with', 'Älvsjö'] ['Solberga', 'shares border with', 'Västberga'] ['Solberga', 'shares border with', 'Fruängen']
ASK WHERE { resource:Solberga property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Liseberg ) ( resource:Fruängen ) ( resource:Älvsjö ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q255019
P361
Q914262
USER
What is Älvsjö a component of ?
(Q255019,P361,c(Q914262))
action filter_type
action find
entity Q255019
relation P361
type Q914262
['Q255019', 'P361', {'concept': 'Q914262'}]
SELECT DISTINCT ?x WHERE { resource:Q255019 property:P361 ?x . ?x rdf:type ontology:Q914262 }
Älvsjö
action filter_type
action find
entity Älvsjö
relation part of
type administrative territorial entity of Sweden
['Älvsjö', 'part of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?x WHERE { resource:Älvsjö property:part_of ?x . ?x rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q860675
SYSTEM
Älvsjö city district
Q860675
(Q255019,P361,c(Q914262))
action filter_type
action find
entity Q255019
relation P361
type Q914262
Of [ANSWER] of Älvsjö a component is
['Q255019', 'P361', {'concept': 'Q914262'}]
SELECT DISTINCT ?x WHERE { resource:Q255019 property:P361 ?x . ?x rdf:type ontology:Q914262 }
Älvsjö city district
Of Älvsjö city district of Älvsjö a component is
Älvsjö city district
action filter_type
action find
entity Älvsjö
relation part of
type administrative territorial entity of Sweden
['Älvsjö', 'part of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?x WHERE { resource:Älvsjö property:part_of ?x . ?x rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3543408
Q914262
USER
And what about Malmköping?
(Q3543408,P361,c(Q914262))
action filter_type
action find
entity Q3543408
relation P361
type Q914262
['Q3543408', 'P361', {'concept': 'Q914262'}]
SELECT DISTINCT ?a WHERE { resource:Q3543408 property:P361 ?a . ?a rdf:type ontology:Q914262 }
Malmköping
action filter_type
action find
entity Malmköping
relation part of
type administrative territorial entity of Sweden
['Malmköping', 'part of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?a WHERE { resource:Malmköping property:part_of ?a . ?a rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]
administrative territorial entity of Sweden
Q626062
SYSTEM
Södermanland
Q626062
(Q3543408,P361,c(Q914262))
action filter_type
action find
entity Q3543408
relation P361
type Q914262
[ANSWER]
['Q3543408', 'P361', {'concept': 'Q914262'}]
SELECT DISTINCT ?a WHERE { resource:Q3543408 property:P361 ?a . ?a rdf:type ontology:Q914262 }
Södermanland
Södermanland
action filter_type
action find
entity Malmköping
relation part of
type administrative territorial entity of Sweden
['Malmköping', 'part of', {'concept': 'administrative territorial entity of Sweden'}]
SELECT DISTINCT ?a WHERE { resource:Malmköping property:part_of ?a . ?a rdf:type ontology:administrative_territorial_entity_of_Sweden }
[]