Simple Question (Direct)
Simple Question
Q7610518
P607
Q350604
USER
Which battle did Stephen Shoosmith take part in ?
(Q7610518,P607,c(Q350604))
action filter_type
action find
entity Q7610518
relation P607
type Q350604
['Q7610518', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?m WHERE { resource:Q7610518 property:P607 ?m . ?m rdf:type ontology:Q350604 }
Stephen Shoosmith
action filter_type
action find
entity Stephen Shoosmith
relation conflict
type armed conflict
['Stephen Shoosmith', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Shoosmith property:conflict ?m . ?m rdf:type ontology:armed_conflict }
[]
armed conflict
Q8663
SYSTEM
Korean War
Q8663
(Q7610518,P607,c(Q350604))
action filter_type
action find
entity Q7610518
relation P607
type Q350604
Stephen Shoosmith took part in [ANSWER]
['Q7610518', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?m WHERE { resource:Q7610518 property:P607 ?m . ?m rdf:type ontology:Q350604 }
Korean War
Stephen Shoosmith took part in Korean War
Korean War
action filter_type
action find
entity Stephen Shoosmith
relation conflict
type armed conflict
['Stephen Shoosmith', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?m WHERE { resource:Stephen_Shoosmith property:conflict ?m . ?m rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7610518
P410
Q4189293
USER
What is the title conferred upon Stephen Shoosmith ?
(Q7610518,P410,c(Q4189293))
action filter_type
action find
entity Q7610518
relation P410
type Q4189293
['Q7610518', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { resource:Q7610518 property:P410 ?n . ?n rdf:type ontology:Q4189293 }
Stephen Shoosmith
action filter_type
action find
entity Stephen Shoosmith
relation military rank
type title
['Stephen Shoosmith', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { resource:Stephen_Shoosmith property:military_rank ?n . ?n rdf:type ontology:title }
[]
title
Q287709
SYSTEM
major-general
Q287709
(Q7610518,P410,c(Q4189293))
action filter_type
action find
entity Q7610518
relation P410
type Q4189293
The title conferred upon Stephen Shoosmith is a [ANSWER]
['Q7610518', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?n WHERE { resource:Q7610518 property:P410 ?n . ?n rdf:type ontology:Q4189293 }
major-general
The title conferred upon Stephen Shoosmith is a major-general
major-general
action filter_type
action find
entity Stephen Shoosmith
relation military rank
type title
['Stephen Shoosmith', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?n WHERE { resource:Stephen_Shoosmith property:military_rank ?n . ?n rdf:type ontology:title }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q75609
Q4189293
USER
And what about Eugen Müller?
(Q75609,P410,c(Q4189293))
action filter_type
action find
entity Q75609
relation P410
type Q4189293
['Q75609', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q75609 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
Eugen Müller
action filter_type
action find
entity Eugen Müller
relation military rank
type title
['Eugen Müller', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:Eugen_Müller property:military_rank ?o . ?o rdf:type ontology:title }
[]
title
Q664101
SYSTEM
General of the Artillery
Q664101
(Q75609,P410,c(Q4189293))
action filter_type
action find
entity Q75609
relation P410
type Q4189293
[ANSWER]
['Q75609', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?o WHERE { resource:Q75609 property:P410 ?o . ?o rdf:type ontology:Q4189293 }
General of the Artillery
General of the Artillery
action filter_type
action find
entity Eugen Müller
relation military rank
type title
['Eugen Müller', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?o WHERE { resource:Eugen_Müller property:military_rank ?o . ?o rdf:type ontology:title }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q664101 Q183
P17
Q1048835
USER
Is that title located in Germany ?
(Q664101,P17,Q183)
action is_in
entity Q183
action find
entity Q664101
relation P17
['Q664101', 'P17', 'Q183']
ASK WHERE { resource:Q664101 property:P17 resource:Q183 }
General of the Artillery Germany
action is_in
entity Germany
action find
entity General of the Artillery
relation country
['General of the Artillery', 'country', 'Germany']
ASK WHERE { resource:General_of_the_Artillery property:country resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q664101,P17,Q183)
action is_in
entity Q183
action find
entity Q664101
relation P17
[ANSWER]
['Q664101', 'P17', 'Q183']
ASK WHERE { resource:Q664101 property:P17 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity General of the Artillery
relation country
['General of the Artillery', 'country', 'Germany']
ASK WHERE { resource:General_of_the_Artillery property:country resource:Germany }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q350604 Q350604
USER
Which armed conflicts are atleast 3 armed conflicts a part of ?
(c(Q350604),P361,c(Q350604))
action atleast
action find_reverse_tuple_counts
relation P361
type Q350604
type Q350604
value 3
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P361 ?g . ?g rdf:type ontology:Q350604 . ?x rdf:type ontology:Q350604 } GROUP BY ?g } . FILTER ( ?n >= 3 ) }
action atleast
action find_reverse_tuple_counts
relation part of
type armed conflict
type armed conflict
value 3
[{'concept': 'armed conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:part_of ?g . ?g rdf:type ontology:armed_conflict . ?x rdf:type ontology:armed_conflict } GROUP BY ?g } . FILTER ( ?n >= 3 ) }
[]
armed conflict armed conflict
Q12551 Q32929 Q33143
SYSTEM
Hundred Years' War, War of the Austrian Succession, Seven Years' War
Q1519107 Q207318 Q33143 Q11924845 Q273348 Q849680 Q1330607 Q32929 Q617321 Q15053704 Q12551
(c(Q350604),P361,c(Q350604))
action atleast
action find_reverse_tuple_counts
relation P361
type Q350604
type Q350604
value 3
[ANSWERS] are atleast 3 armed conflicts a part of
[{'concept': 'Q350604'}, 'P361', {'concept': 'Q350604'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:P361 ?g . ?g rdf:type ontology:Q350604 . ?x rdf:type ontology:Q350604 } GROUP BY ?g } . FILTER ( ?n >= 3 ) }
War in Afghanistan French Revolutionary Wars Seven Years' War Messenian Wars Italian Wars American Indian Wars Syrian Wars War of the Austrian Succession Anglo-Mysore Wars Coalition Wars Hundred Years' War
Hundred Years' War, War of the Austrian Succession and Seven Years' War are atleast 3 armed conflicts a part of
Hundred Years' War War of the Austrian Succession Seven Years' War
action atleast
action find_reverse_tuple_counts
relation part of
type armed conflict
type armed conflict
value 3
[{'concept': 'armed conflict'}, 'part of', {'concept': 'armed conflict'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?n ) WHERE { ?x property:part_of ?g . ?g rdf:type ontology:armed_conflict . ?x rdf:type ontology:armed_conflict } GROUP BY ?g } . FILTER ( ?n >= 3 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q12551
P276
Q1496967 Q15617994
USER
How many territories or administrative territories are the place where Hundred Years' War are located ?
(Q12551,P276,c(Q1496967)) (Q12551,P276,c(Q15617994))
action count
action union
action filter_type
action find
entity Q12551
relation P276
type Q1496967
action filter_type
action find
entity Q12551
relation P276
type Q15617994
['Q12551', 'P276', {'concept': 'Q1496967'}] ['Q12551', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?m ) { ( ontology:Q1496967 ) ( ontology:Q15617994 ) } . ?a rdf:type ?m }
Hundred Years' War
action count
action union
action filter_type
action find
entity Hundred Years' War
relation location
type territorial entity
action filter_type
action find
entity Hundred Years' War
relation location
type designation for an administrative territorial entity
["Hundred Years' War", 'location', {'concept': 'territorial entity'}] ["Hundred Years' War", 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?m ) { ( ontology:territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?a rdf:type ?m }
[]
territorial entity designation for an administrative territorial entity
SYSTEM
3
Q142 Q21 Q29
(Q12551,P276,c(Q1496967)) (Q12551,P276,c(Q15617994))
action count
action union
action filter_type
action find
entity Q12551
relation P276
type Q1496967
action filter_type
action find
entity Q12551
relation P276
type Q15617994
[ANSWER]
['Q12551', 'P276', {'concept': 'Q1496967'}] ['Q12551', 'P276', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?m ) { ( ontology:Q1496967 ) ( ontology:Q15617994 ) } . ?a rdf:type ?m }
France England Spain
3
action count
action union
action filter_type
action find
entity Hundred Years' War
relation location
type territorial entity
action filter_type
action find
entity Hundred Years' War
relation location
type designation for an administrative territorial entity
["Hundred Years' War", 'location', {'concept': 'territorial entity'}] ["Hundred Years' War", 'location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?m ) { ( ontology:territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?a rdf:type ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12551
P1344
Q502895
USER
Which person took part in that armed conflict ?
action filter_type
action find_reverse
entity Q12551
relation P1344
type Q502895
SELECT DISTINCT ?n WHERE { ?n property:P1344 resource:Q12551 . ?n rdf:type ontology:Q502895 }
Hundred Years' War
action filter_type
action find_reverse
entity Hundred Years' War
relation participant of
type common name
SELECT DISTINCT ?n WHERE { ?n property:participant_of resource:Hundred_Years'_War . ?n rdf:type ontology:common_name }
[]
common name
Q3525704
SYSTEM
Thomas de La Marche
Q3525704
action filter_type
action find_reverse
entity Q12551
relation P1344
type Q502895
[ANSWER] took part in that armed conflict
SELECT DISTINCT ?n WHERE { ?n property:P1344 resource:Q12551 . ?n rdf:type ontology:Q502895 }
Thomas de La Marche
Thomas de La Marche took part in that armed conflict
Thomas de La Marche
action filter_type
action find_reverse
entity Hundred Years' War
relation participant of
type common name
SELECT DISTINCT ?n WHERE { ?n property:participant_of resource:Hundred_Years'_War . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5828660 Q183
P530 P17
Q15617994
USER
Which administrative territories have a diplomatic relationship with Germany and are Colombian presidential election, 1882 a part of ?
AND((Q183,P530,c(Q15617994)), (Q5828660,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q5828660
relation P17
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q5828660', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q5828660 property:P17 ?u . resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Colombian presidential election, 1882 Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Colombian presidential election, 1882
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Colombian presidential election, 1882', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Colombian_presidential_election,_1882 property:country ?u . resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
AND((Q183,P530,c(Q15617994)), (Q5828660,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q5828660
relation P17
type Q15617994
[ANSWER] have a diplomatic relationship with Germany and are [ANSWER]n presidential election, 1882 a part of
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q5828660', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q5828660 property:P17 ?u . resource:Q183 property:P530 ?u . ?u rdf:type ontology:Q15617994 }
Colombia
Colombia have a diplomatic relationship with Germany and are Colombian presidential election, 1882 a part of
Colombia
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Colombian presidential election, 1882
relation country
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Colombian presidential election, 1882', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Colombian_presidential_election,_1882 property:country ?u . resource:Germany property:diplomatic_relation ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories are the origin of greater number of releases than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q739
relation P495
type Q15617994
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2031291 . ?c property:P495 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q739 property:P495 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?g ) }
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Colombia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:release . ?c property:country_of_origin ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Colombia property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?g ) }
[]
designation for an administrative territorial entity release
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
action greater
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2031291
action count
action filter_type
action find
entity Q739
relation P495
type Q15617994
[ANSWERS] are the origin of greater number of releases than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q2031291 . ?c property:P495 ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Q739 property:P495 ?o . ?o rdf:type ontology:Q15617994 } } . FILTER ( ?i > ?g ) }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Italy, Brazil and United States of America are the origin of greater number of releases than that administrative territory
Italy Brazil United States of America
action greater
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type release
action count
action filter_type
action find
entity Colombia
relation country of origin
type designation for an administrative territorial entity
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?c ) AS ?i ) WHERE { ?a rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:release . ?c property:country_of_origin ?a } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { resource:Colombia property:country_of_origin ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?i > ?g ) }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q7725634
USER
How many administrative territories are the origin of more number of musical ensembles and literary works than that administrative territory ?
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
designation for an administrative territorial entity musical ensemble literary work
Comparative|Count over More/Less|Mult. entity type|Clarification
Q38
SYSTEM
Did you mean Italy ?
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
Did you mean Italy ?
Italy
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
6
Q142 Q55 Q145 Q30 Q34 Q17
(c(Q2088357)|c(Q7725634),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q7725634'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q7725634 }
France Netherlands United Kingdom United States of America Sweden Japan
6
[[{'concept': 'musical ensemble'}, {'concept': 'literary work'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:literary_work }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q739
P138
Q811979
USER
Which architectural structure is named after Colombia ?
(c(Q811979),P138,Q739)
action filter_type
action find_reverse
entity Q739
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q739']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q739 . ?k rdf:type ontology:Q811979 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Colombia']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Colombia . ?k rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390229
SYSTEM
place de Colombie
Q3390229
(c(Q811979),P138,Q739)
action filter_type
action find_reverse
entity Q739
relation P138
type Q811979
[ANSWER] is named after Colombia
[{'concept': 'Q811979'}, 'P138', 'Q739']
SELECT DISTINCT ?k WHERE { ?k property:P138 resource:Q739 . ?k rdf:type ontology:Q811979 }
place de Colombie
Place de Colombie is named after Colombia
place de Colombie
action filter_type
action find_reverse
entity Colombia
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Colombia']
SELECT DISTINCT ?k WHERE { ?k property:named_after resource:Colombia . ?k rdf:type ontology:architectural_structure }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3390229
P47
Q79007
USER
Who share the border with that architectural structure ?
(Q3390229,P47,c(Q79007))
action filter_type
action find
entity Q3390229
relation P47
type Q79007
['Q3390229', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?e WHERE { resource:Q3390229 property:P47 ?e . ?e rdf:type ontology:Q79007 }
place de Colombie
action filter_type
action find
entity place de Colombie
relation shares border with
type street
['place de Colombie', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?e WHERE { resource:place_de_Colombie property:shares_border_with ?e . ?e rdf:type ontology:street }
[]
street
Q2921941 Q790568 Q2921864
SYSTEM
boulevard Suchet, avenue Henri-Martin, boulevard Lannes
Q2921941 Q790568 Q2921864
(Q3390229,P47,c(Q79007))
action filter_type
action find
entity Q3390229
relation P47
type Q79007
[ANSWERS] share the border with that architectural structure
['Q3390229', 'P47', {'concept': 'Q79007'}]
SELECT DISTINCT ?e WHERE { resource:Q3390229 property:P47 ?e . ?e rdf:type ontology:Q79007 }
boulevard Suchet avenue Henri-Martin boulevard Lannes
Boulevard Suchet, avenue Henri-Martin and boulevard Lannes share the border with that architectural structure
boulevard Suchet avenue Henri-Martin boulevard Lannes
action filter_type
action find
entity place de Colombie
relation shares border with
type street
['place de Colombie', 'shares border with', {'concept': 'street'}]
SELECT DISTINCT ?e WHERE { resource:place_de_Colombie property:shares_border_with ?e . ?e rdf:type ontology:street }
[]