Simple Question (Direct)
Simple Question
Q3190770
P54
Q12973014
USER
Which sports teams are Jérémy Sinzelle a member of ?
(Q3190770,P54,c(Q12973014))
action filter_type
action find
entity Q3190770
relation P54
type Q12973014
['Q3190770', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q3190770 property:P54 ?r }
Jérémy Sinzelle
action filter_type
action find
entity Jérémy Sinzelle
relation member of sports team
type sports team
['Jérémy Sinzelle', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:Jérémy_Sinzelle property:member_of_sports_team ?r }
[]
sports team
Q1857064 Q1361000
SYSTEM
RC Toulonnais, Montauban ,Stade Français,racing clubnarbonne FCC Auch
Q1857064 Q1361000
(Q3190770,P54,c(Q12973014))
action filter_type
action find
entity Q3190770
relation P54
type Q12973014
[ANSWERS] are Jérémy Sinzelle a member of
['Q3190770', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12973014 . resource:Q3190770 property:P54 ?r }
RC Toulonnais Montauban ,Stade Français,racing clubnarbonne FCC Auch
RC Toulonnais and Montauban ,Stade Français,racing clubnarbonne FCC Auch are Jérémy Sinzelle a member of
RC Toulonnais Montauban ,Stade Français,racing clubnarbonne FCC Auch
action filter_type
action find
entity Jérémy Sinzelle
relation member of sports team
type sports team
['Jérémy Sinzelle', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sports_team . resource:Jérémy_Sinzelle property:member_of_sports_team ?r }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1857064 Q1361000
P118
Q623109
USER
What sports leagues do those sports teams contest in ?
(Q1857064,P118,c(Q623109)) (Q1361000,P118,c(Q623109))
action filter_type
action find
entity prev_answer
relation P118
type Q623109
['Q1857064', 'P118', {'concept': 'Q623109'}] ['Q1361000', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q623109 . ?t property:P118 ?a . VALUES ( ?t ) { ( resource:Q1857064 ) ( resource:Q1361000 ) } }
RC Toulonnais Montauban ,Stade Français,racing clubnarbonne FCC Auch
action filter_type
action find
entity prev_answer
relation league
type sports league
['RC Toulonnais', 'league', {'concept': 'sports league'}] ['Montauban ,Stade Français,racing clubnarbonne FCC Auch', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_league . ?t property:league ?a . VALUES ( ?t ) { ( resource:RC_Toulonnais ) ( resource:Montauban_,Stade_Français,racing_clubnarbonne_FCC_Auch ) } }
[]
sports league
Q5798 Q5798
SYSTEM
Top 14
Q5798 Q5798
(Q1857064,P118,c(Q623109)) (Q1361000,P118,c(Q623109))
action filter_type
action find
entity prev_answer
relation P118
type Q623109
Those sports teams contest s [ANSWER] and [ANSWER]
['Q1857064', 'P118', {'concept': 'Q623109'}] ['Q1361000', 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q623109 . ?t property:P118 ?a . VALUES ( ?t ) { ( resource:Q1857064 ) ( resource:Q1361000 ) } }
Top 14 Top 14
Those sports teams contest s Top 14 and Top 14
Top 14 Top 14
action filter_type
action find
entity prev_answer
relation league
type sports league
['RC Toulonnais', 'league', {'concept': 'sports league'}] ['Montauban ,Stade Français,racing clubnarbonne FCC Auch', 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sports_league . ?t property:league ?a . VALUES ( ?t ) { ( resource:RC_Toulonnais ) ( resource:Montauban_,Stade_Français,racing_clubnarbonne_FCC_Auch ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5798
P17
Q15617994
USER
Which administrative territory is Top 14 a part of ?
(Q5798,P17,c(Q15617994))
action filter_type
action find
entity Q5798
relation P17
type Q15617994
['Q5798', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5798 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Top 14
action filter_type
action find
entity Top 14
relation country
type designation for an administrative territorial entity
['Top 14', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Top_14 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q5798,P17,c(Q15617994))
action filter_type
action find
entity Q5798
relation P17
type Q15617994
[ANSWER] is Top 14 a part of
['Q5798', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q5798 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
France
France is Top 14 a part of
France
action filter_type
action find
entity Top 14
relation country
type designation for an administrative territorial entity
['Top 14', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Top_14 property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q26660541
Q15617994
USER
And also tell me about The Abbey Public House?
(Q26660541,P17,c(Q15617994))
action filter_type
action find
entity Q26660541
relation P17
type Q15617994
['Q26660541', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q26660541 property:P17 ?x }
The Abbey Public House
action filter_type
action find
entity The Abbey Public House
relation country
type designation for an administrative territorial entity
['The Abbey Public House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Abbey_Public_House property:country ?x }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q26660541,P17,c(Q15617994))
action filter_type
action find
entity Q26660541
relation P17
type Q15617994
[ANSWER]
['Q26660541', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q26660541 property:P17 ?x }
United Kingdom
United Kingdom
action filter_type
action find
entity The Abbey Public House
relation country
type designation for an administrative territorial entity
['The Abbey Public House', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Abbey_Public_House property:country ?x }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q25059223 Q142
P47 P17
Q15617994
USER
Which administrative territories are bordered by France and are not Beata Vergine del Carmine e San Rocco, Soragna present in ?
AND((Q142,P47,c(Q15617994)), NOT((Q25059223,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P47
action find
entity Q25059223
relation P17
type Q15617994
{'AND': [['Q142', 'P47', {'concept': 'Q15617994'}], {'NOT': [['Q25059223', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q142 property:P47 ?u . FILTER NOT EXISTS { resource:Q25059223 property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
Beata Vergine del Carmine e San Rocco, Soragna France
action filter_type
action difference
action find
entity France
relation shares border with
action find
entity Beata Vergine del Carmine e San Rocco, Soragna
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Beata Vergine del Carmine e San Rocco, Soragna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { resource:France property:shares_border_with ?u . FILTER NOT EXISTS { resource:Beata_Vergine_del_Carmine_e_San_Rocco,_Soragna property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39
SYSTEM
Venezuela, United Kingdom, Brazil, Suriname, Kingdom of the Netherlands, Andorra, Luxembourg, Belgium, Spain, Switzerland
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39
AND((Q142,P47,c(Q15617994)), NOT((Q25059223,P17,c(Q15617994))))
action filter_type
action difference
action find
entity Q142
relation P47
action find
entity Q25059223
relation P17
type Q15617994
[ANSWERS] are bordered by France and are not Beata Vergine del Carmine e San Rocco, Soragna present in
{'AND': [['Q142', 'P47', {'concept': 'Q15617994'}], {'NOT': [['Q25059223', 'P17', {'concept': 'Q15617994'}]]}]}
SELECT DISTINCT ?u WHERE { resource:Q142 property:P47 ?u . FILTER NOT EXISTS { resource:Q25059223 property:P17 ?u } . ?u rdf:type ontology:Q15617994 }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland
Venezuela, United Kingdom, Brazil, Suriname, Kingdom of the Netherlands, Andorra, Luxembourg, Belgium, Spain and Switzerland are bordered by France and are not Beata Vergine del Carmine e San Rocco, Soragna present in
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland
action filter_type
action difference
action find
entity France
relation shares border with
action find
entity Beata Vergine del Carmine e San Rocco, Soragna
relation country
type designation for an administrative territorial entity
{'AND': [['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], {'NOT': [['Beata Vergine del Carmine e San Rocco, Soragna', 'country', {'concept': 'designation for an administrative territorial entity'}]]}]}
SELECT DISTINCT ?u WHERE { resource:France property:shares_border_with ?u . FILTER NOT EXISTS { resource:Beata_Vergine_del_Carmine_e_San_Rocco,_Soragna property:country ?u } . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39
P17
Q15617994
USER
Which administrative territories do those ones belong to ?
(Q717,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q730,P17,c(Q15617994)) (Q29999,P17,c(Q15617994)) (Q228,P17,c(Q15617994)) (Q32,P17,c(Q15617994)) (Q31,P17,c(Q15617994)) (Q29,P17,c(Q15617994)) (Q39,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q717', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q730', 'P17', {'concept': 'Q15617994'}] ['Q29999', 'P17', {'concept': 'Q15617994'}] ['Q228', 'P17', {'concept': 'Q15617994'}] ['Q32', 'P17', {'concept': 'Q15617994'}] ['Q31', 'P17', {'concept': 'Q15617994'}] ['Q29', 'P17', {'concept': 'Q15617994'}] ['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q717 ) ( resource:Q145 ) ( resource:Q155 ) } . ?q property:P17 ?n }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Venezuela', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suriname', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Andorra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Venezuela ) ( resource:United_Kingdom ) ( resource:Brazil ) } . ?q property:country ?n }
[]
designation for an administrative territorial entity
Q155 Q30 Q145
SYSTEM
Brazil, United States of America, United Kingdom
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q30 Q31 Q29 Q39
(Q717,P17,c(Q15617994)) (Q145,P17,c(Q15617994)) (Q155,P17,c(Q15617994)) (Q730,P17,c(Q15617994)) (Q29999,P17,c(Q15617994)) (Q228,P17,c(Q15617994)) (Q32,P17,c(Q15617994)) (Q31,P17,c(Q15617994)) (Q29,P17,c(Q15617994)) (Q39,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those ones belong to [ANSWERS]
['Q717', 'P17', {'concept': 'Q15617994'}] ['Q145', 'P17', {'concept': 'Q15617994'}] ['Q155', 'P17', {'concept': 'Q15617994'}] ['Q730', 'P17', {'concept': 'Q15617994'}] ['Q29999', 'P17', {'concept': 'Q15617994'}] ['Q228', 'P17', {'concept': 'Q15617994'}] ['Q32', 'P17', {'concept': 'Q15617994'}] ['Q31', 'P17', {'concept': 'Q15617994'}] ['Q29', 'P17', {'concept': 'Q15617994'}] ['Q39', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . VALUES ( ?q ) { ( resource:Q717 ) ( resource:Q145 ) ( resource:Q155 ) } . ?q property:P17 ?n }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg United States of America Belgium Spain Switzerland
Those ones belong to Brazil, United States of America and United Kingdom
Brazil United States of America United Kingdom
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Venezuela', 'country', {'concept': 'designation for an administrative territorial entity'}] ['United Kingdom', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Brazil', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Suriname', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Kingdom of the Netherlands', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Andorra', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Luxembourg', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Spain', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Switzerland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?q ) { ( resource:Venezuela ) ( resource:United_Kingdom ) ( resource:Brazil ) } . ?q property:country ?n }
[]
Clarification
Simple Question|Single Entity|Indirect
Q155
P138
Q811979
USER
Which architectural structure is the eponym of that administrative territory ?
(c(Q811979),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q811979
[{'concept': 'Q811979'}, 'P138', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q811979 . ?g property:P138 resource:Q155 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:architectural_structure . ?g property:named_after resource:Brazil }
[]
architectural structure
Clarification for simple ques.
Q30
SYSTEM
Did you mean United States of America ?
Q155 Q30 Q145
(c(Q811979),P138,Q155) (c(Q811979),P138,Q30) (c(Q811979),P138,Q145)
[ANSWER]
[{'concept': 'Q811979'}, 'P138', 'Q155'] [{'concept': 'Q811979'}, 'P138', 'Q30'] [{'concept': 'Q811979'}, 'P138', 'Q145']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q811979 . ?g property:P138 resource:Q155 }
Brazil United States of America United Kingdom
Did you mean United States of America ?
United States of America
[{'concept': 'architectural structure'}, 'named after', 'Brazil'] [{'concept': 'architectural structure'}, 'named after', 'United States of America'] [{'concept': 'architectural structure'}, 'named after', 'United Kingdom']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:architectural_structure . ?g property:named_after resource:Brazil }
[]
Simple Question (Coreferenced)
USER
No, I meant Brazil. Could you tell me the answer for that?
(c(Q811979),P138,Q155)
Q155
[{'concept': 'Q811979'}, 'P138', 'Q155']
[{'concept': 'architectural structure'}, 'named after', 'Brazil']
[]
Q2367311
SYSTEM
place du Brésil
Q2367311
(c(Q811979),P138,Q155)
action filter_type
action find_reverse
entity Q155
relation P138
type Q811979
[ANSWER] is the eponym of that administrative territory
[{'concept': 'Q811979'}, 'P138', 'Q155']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q811979 . ?g property:P138 resource:Q155 }
place du Brésil
Place du Brésil is the eponym of that administrative territory
place du Brésil
action filter_type
action find_reverse
entity Brazil
relation named after
type architectural structure
[{'concept': 'architectural structure'}, 'named after', 'Brazil']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:architectural_structure . ?g property:named_after resource:Brazil }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P138
Q15617994
USER
How many administrative territories are namesakes of that architectural structure ?
(Q2367311,P138,c(Q15617994))
action count
action filter_type
action find
entity Q2367311
relation P138
type Q15617994
['Q2367311', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q2367311 property:P138 ?i }
action count
action filter_type
action find
entity place du Brésil
relation named after
type designation for an administrative territorial entity
['place du Brésil', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:place_du_Brésil property:named_after ?i }
[]
designation for an administrative territorial entity
SYSTEM
1
Q155
(Q2367311,P138,c(Q15617994))
action count
action filter_type
action find
entity Q2367311
relation P138
type Q15617994
[ANSWER]
['Q2367311', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:Q15617994 . resource:Q2367311 property:P138 ?i }
Brazil
1
action count
action filter_type
action find
entity place du Brésil
relation named after
type designation for an administrative territorial entity
['place du Brésil', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:place_du_Brésil property:named_after ?i }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2107939 Q228
P47 P17
Q15617994
USER
Which administrative territories have a shared border with Andorra or are Dorohozhychi a part of ?
OR((Q228,P47,c(Q15617994)), (Q2107939,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q228
relation P47
action find
entity Q2107939
relation P17
type Q15617994
{'OR': [['Q228', 'P47', {'concept': 'Q15617994'}], ['Q2107939', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q228 property:P47 ?f } UNION { resource:Q2107939 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Dorohozhychi Andorra
action filter_type
action union
action find
entity Andorra
relation shares border with
action find
entity Dorohozhychi
relation country
type designation for an administrative territorial entity
{'OR': [['Andorra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Dorohozhychi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Andorra property:shares_border_with ?f } UNION { resource:Dorohozhychi property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29 Q212
SYSTEM
France, Spain, Ukraine
Q142 Q29 Q212
OR((Q228,P47,c(Q15617994)), (Q2107939,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q228
relation P47
action find
entity Q2107939
relation P17
type Q15617994
[ANSWERS] have a shared border with Andorra or are Dorohozhychi a part of
{'OR': [['Q228', 'P47', {'concept': 'Q15617994'}], ['Q2107939', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q228 property:P47 ?f } UNION { resource:Q2107939 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
France Spain Ukraine
France, Spain and Ukraine have a shared border with Andorra or are Dorohozhychi a part of
France Spain Ukraine
action filter_type
action union
action find
entity Andorra
relation shares border with
action find
entity Dorohozhychi
relation country
type designation for an administrative territorial entity
{'OR': [['Andorra', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Dorohozhychi', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Andorra property:shares_border_with ?f } UNION { resource:Dorohozhychi property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q38
P530
Q15617994
USER
Are Italy known to have diplomatic connections with those ones ?
(Q38,P530,Q142) (Q38,P530,Q29) (Q38,P530,Q212)
action is_in
entity prev_answer
action find
entity Q38
relation P530
['Q38', 'P530', 'Q142'] ['Q38', 'P530', 'Q29'] ['Q38', 'P530', 'Q212']
ASK WHERE { resource:Q38 property:P530 ?i . VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q29 ) ( resource:Q212 ) } }
Italy
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'France'] ['Italy', 'diplomatic relation', 'Spain'] ['Italy', 'diplomatic relation', 'Ukraine']
ASK WHERE { resource:Italy property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:France ) ( resource:Spain ) ( resource:Ukraine ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q38,P530,Q142) (Q38,P530,Q29) (Q38,P530,Q212)
action is_in
entity prev_answer
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q142'] ['Q38', 'P530', 'Q29'] ['Q38', 'P530', 'Q212']
ASK WHERE { resource:Q38 property:P530 ?i . VALUES ( ?i ) { ( resource:Q142 ) ( resource:Q29 ) ( resource:Q212 ) } }
Yes
action is_in
entity prev_answer
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'France'] ['Italy', 'diplomatic relation', 'Spain'] ['Italy', 'diplomatic relation', 'Ukraine']
ASK WHERE { resource:Italy property:diplomatic_relation ?i . VALUES ( ?i ) { ( resource:France ) ( resource:Spain ) ( resource:Ukraine ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q289289
P466
Q483110
USER
What was inhabited by A.S.D. Legnano Football 1913 ?
(c(Q483110),P466,Q289289)
action filter_type
action find_reverse
entity Q289289
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q289289']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q289289 . ?v rdf:type ontology:Q483110 }
A.S.D. Legnano Football 1913
action filter_type
action find_reverse
entity A.S.D. Legnano Football 1913
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'A.S.D. Legnano Football 1913']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:A.S.D._Legnano_Football_1913 . ?v rdf:type ontology:stadium }
[]
stadium
Q3967810
SYSTEM
Stadio Giovanni Mari
Q3967810
(c(Q483110),P466,Q289289)
action filter_type
action find_reverse
entity Q289289
relation P466
type Q483110
[ANSWER] was inhabited by A.S.D. Legnano Football 1913
[{'concept': 'Q483110'}, 'P466', 'Q289289']
SELECT DISTINCT ?v WHERE { ?v property:P466 resource:Q289289 . ?v rdf:type ontology:Q483110 }
Stadio Giovanni Mari
Stadio Giovanni Mari was inhabited by A.S.D. Legnano Football 1913
Stadio Giovanni Mari
action filter_type
action find_reverse
entity A.S.D. Legnano Football 1913
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'A.S.D. Legnano Football 1913']
SELECT DISTINCT ?v WHERE { ?v property:occupant resource:A.S.D._Legnano_Football_1913 . ?v rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3967810
P127
Q15617994
USER
Who owns that stadium ?
(Q3967810,P127,c(Q15617994))
action filter_type
action find
entity Q3967810
relation P127
type Q15617994
['Q3967810', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3967810 property:P127 ?i . ?i rdf:type ontology:Q15617994 }
Stadio Giovanni Mari
action filter_type
action find
entity Stadio Giovanni Mari
relation owned by
type designation for an administrative territorial entity
['Stadio Giovanni Mari', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Stadio_Giovanni_Mari property:owned_by ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q42782
SYSTEM
Legnano
Q42782
(Q3967810,P127,c(Q15617994))
action filter_type
action find
entity Q3967810
relation P127
type Q15617994
[ANSWER] owns that stadium
['Q3967810', 'P127', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3967810 property:P127 ?i . ?i rdf:type ontology:Q15617994 }
Legnano
Legnano owns that stadium
Legnano
action filter_type
action find
entity Stadio Giovanni Mari
relation owned by
type designation for an administrative territorial entity
['Stadio Giovanni Mari', 'owned by', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Stadio_Giovanni_Mari property:owned_by ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]