Simple Question (Direct)
Simple Question
Q128211
P47
Q15617994
USER
Which administrative territories are bordered by Sonnino ?
(Q128211,P47,c(Q15617994))
action filter_type
action find
entity Q128211
relation P47
type Q15617994
['Q128211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q128211 property:P47 ?t }
Sonnino
action filter_type
action find
entity Sonnino
relation shares border with
type designation for an administrative territorial entity
['Sonnino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sonnino property:shares_border_with ?t }
[]
designation for an administrative territorial entity
Q128226 Q128139 Q116399
SYSTEM
Terracina, Priverno, Amaseno
Q128107 Q128226 Q116399 Q128139 Q128163 Q128130
(Q128211,P47,c(Q15617994))
action filter_type
action find
entity Q128211
relation P47
type Q15617994
[ANSWERS] are bordered by Sonnino
['Q128211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . resource:Q128211 property:P47 ?t }
Monte San Biagio Terracina Amaseno Priverno Roccasecca dei Volsci Pontinia
Terracina, Priverno and Amaseno are bordered by Sonnino
Terracina Priverno Amaseno
action filter_type
action find
entity Sonnino
relation shares border with
type designation for an administrative territorial entity
['Sonnino', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sonnino property:shares_border_with ?t }
[]
Clarification
Simple Question|Single Entity|Indirect
Q116399
P190
Q15617994
USER
Which administrative territory is partner town of that one ?
(c(Q15617994),P190,Q116399)
action filter_type
action find
entity Q116399
relation P190
type Q15617994
[{'concept': 'Q15617994'}, 'P190', 'Q116399']
SELECT DISTINCT ?y WHERE { resource:Q116399 property:P190 ?y . ?y rdf:type ontology:Q15617994 }
Amaseno
action filter_type
action find
entity Amaseno
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amaseno']
SELECT DISTINCT ?y WHERE { resource:Amaseno property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q128226
SYSTEM
Did you mean Terracina ?
Q128226 Q128139 Q116399
(c(Q15617994),P190,Q128226) (c(Q15617994),P190,Q128139) (c(Q15617994),P190,Q116399)
[ANSWER]
[{'concept': 'Q15617994'}, 'P190', 'Q128226'] [{'concept': 'Q15617994'}, 'P190', 'Q128139'] [{'concept': 'Q15617994'}, 'P190', 'Q116399']
SELECT DISTINCT ?y WHERE { resource:Q116399 property:P190 ?y . ?y rdf:type ontology:Q15617994 }
Terracina Priverno Amaseno
Did you mean Terracina ?
Terracina
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Terracina'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Priverno'] [{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amaseno']
SELECT DISTINCT ?y WHERE { resource:Amaseno property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Amaseno. Could you tell me the answer for that?
(c(Q15617994),P190,Q116399)
Q116399
[{'concept': 'Q15617994'}, 'P190', 'Q116399']
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amaseno']
[]
Q55960
SYSTEM
San Lorenzello
Q55960
(c(Q15617994),P190,Q116399)
action filter_type
action find
entity Q116399
relation P190
type Q15617994
[ANSWER] is partner town of that one
[{'concept': 'Q15617994'}, 'P190', 'Q116399']
SELECT DISTINCT ?y WHERE { resource:Q116399 property:P190 ?y . ?y rdf:type ontology:Q15617994 }
San Lorenzello
San Lorenzello is partner town of that one
San Lorenzello
action filter_type
action find
entity Amaseno
relation sister city
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'sister city', 'Amaseno']
SELECT DISTINCT ?y WHERE { resource:Amaseno property:sister_city ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P17
Q15617994 Q43229 Q1190554
USER
Which administrative territories do exactly 14 organizations or events belong to ?
(c(Q43229)|c(Q1190554),P17,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
value 14
[[{'concept': 'Q43229'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q1190554 ) } . ?w rdf:type ?k } GROUP BY ?y } . FILTER ( ?t = 14 ) }
action equal
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
value 14
[[{'concept': 'organization'}, {'concept': 'event'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:event ) } . ?w rdf:type ?k } GROUP BY ?y } . FILTER ( ?t = 14 ) }
[]
designation for an administrative territorial entity organization event
Q225 Q214 Q222
SYSTEM
Bosnia and Herzegovina, Slovakia, Albania
Q214 Q739 Q189 Q225 Q222
(c(Q43229)|c(Q1190554),P17,c(Q15617994))
action equal
action union
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q43229
action find_reverse_tuple_counts
relation P17
type Q15617994
type Q1190554
value 14
14 organizations or events belong to [ANSWERS] exactly
[[{'concept': 'Q43229'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:Q43229 ) ( ontology:Q1190554 ) } . ?w rdf:type ?k } GROUP BY ?y } . FILTER ( ?t = 14 ) }
Slovakia Colombia Iceland Bosnia and Herzegovina Albania
14 organizations or events belong to Bosnia and Herzegovina, Slovakia and Albania exactly
Bosnia and Herzegovina Slovakia Albania
action equal
action union
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type organization
action find_reverse_tuple_counts
relation country
type designation for an administrative territorial entity
type event
value 14
[[{'concept': 'organization'}, {'concept': 'event'}], 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?t ) WHERE { VALUES ( ?k ) { ( ontology:organization ) ( ontology:event ) } . ?w rdf:type ?k } GROUP BY ?y } . FILTER ( ?t = 14 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q225 Q214 Q222
P1532
Q6979593
USER
Who play for those administrative territories ?
(c(Q6979593),P1532,Q225) (c(Q6979593),P1532,Q214) (c(Q6979593),P1532,Q222)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q225'] [{'concept': 'Q6979593'}, 'P1532', 'Q214'] [{'concept': 'Q6979593'}, 'P1532', 'Q222']
SELECT DISTINCT ?t WHERE { VALUES ( ?c ) { ( resource:Q214 ) ( resource:Q739 ) ( resource:Q189 ) } . ?t rdf:type ontology:Q6979593 . ?t property:P1532 ?c }
Bosnia and Herzegovina Slovakia Albania
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Bosnia and Herzegovina'] [{'concept': 'national association football team'}, 'country for sport', 'Slovakia'] [{'concept': 'national association football team'}, 'country for sport', 'Albania']
SELECT DISTINCT ?t WHERE { VALUES ( ?c ) { ( resource:Slovakia ) ( resource:Colombia ) ( resource:Iceland ) } . ?t rdf:type ontology:national_association_football_team . ?t property:country_for_sport ?c }
[]
national association football team
Q4947365 Q4947363 Q511521
SYSTEM
Bosnia and Herzegovina women's national under-19 football team, Bosnia and Herzegovina women's national under-17 football team, Bosnia and Herzegovina women's national football team
Q4947365 Q4947363 Q511521 Q1093016 Q934030 Q19870626
(c(Q6979593),P1532,Q225) (c(Q6979593),P1532,Q214) (c(Q6979593),P1532,Q222)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[ANSWERS] play for those administrative territories
[{'concept': 'Q6979593'}, 'P1532', 'Q225'] [{'concept': 'Q6979593'}, 'P1532', 'Q214'] [{'concept': 'Q6979593'}, 'P1532', 'Q222']
SELECT DISTINCT ?t WHERE { VALUES ( ?c ) { ( resource:Q214 ) ( resource:Q739 ) ( resource:Q189 ) } . ?t rdf:type ontology:Q6979593 . ?t property:P1532 ?c }
Bosnia and Herzegovina women's national under-19 football team Bosnia and Herzegovina women's national under-17 football team Bosnia and Herzegovina women's national football team Slovakia women's national football team Albania women's national football team Albania women's national under-19 football team
Bosnia and Herzegovina women's national under-19 football team, Bosnia and Herzegovina women's national under-17 football team and Bosnia and Herzegovina women's national football team play for those administrative territories
Bosnia and Herzegovina women's national under-19 football team Bosnia and Herzegovina women's national under-17 football team Bosnia and Herzegovina women's national football team
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Bosnia and Herzegovina'] [{'concept': 'national association football team'}, 'country for sport', 'Slovakia'] [{'concept': 'national association football team'}, 'country for sport', 'Albania']
SELECT DISTINCT ?t WHERE { VALUES ( ?c ) { ( resource:Slovakia ) ( resource:Colombia ) ( resource:Iceland ) } . ?t rdf:type ontology:national_association_football_team . ?t property:country_for_sport ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q225
P840
Q166142
USER
Which application has its setting located at Bosnia and Herzegovina ?
(c(Q166142),P840,Q225)
action filter_type
action find_reverse
entity Q225
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q225']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q225 . ?j rdf:type ontology:Q166142 }
Bosnia and Herzegovina
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Bosnia_and_Herzegovina . ?j rdf:type ontology:application }
[]
application
Q868523
SYSTEM
Command & Conquer
Q868523
(c(Q166142),P840,Q225)
action filter_type
action find_reverse
entity Q225
relation P840
type Q166142
[ANSWER] has its setting located at Bosnia and Herzegovina
[{'concept': 'Q166142'}, 'P840', 'Q225']
SELECT DISTINCT ?j WHERE { ?j property:P840 resource:Q225 . ?j rdf:type ontology:Q166142 }
Command & Conquer
Command & Conquer has its setting located at Bosnia and Herzegovina
Command & Conquer
action filter_type
action find_reverse
entity Bosnia and Herzegovina
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?j WHERE { ?j property:narrative_location resource:Bosnia_and_Herzegovina . ?j rdf:type ontology:application }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q511521
P641
Q349
USER
Which sport was Bosnia and Herzegovina women's national football team a part of ?
(Q511521,P641,c(Q349))
action filter_type
action find
entity Q511521
relation P641
type Q349
['Q511521', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q511521 property:P641 ?h . ?h rdf:type ontology:Q349 }
Bosnia and Herzegovina women's national football team
action filter_type
action find
entity Bosnia and Herzegovina women's national football team
relation sport
type sport
["Bosnia and Herzegovina women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Bosnia_and_Herzegovina_women's_national_football_team property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q606060
SYSTEM
women's association football
Q606060
(Q511521,P641,c(Q349))
action filter_type
action find
entity Q511521
relation P641
type Q349
The [ANSWER] was Bosnia and Herzegovina women's national football team a part of
['Q511521', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q511521 property:P641 ?h . ?h rdf:type ontology:Q349 }
women's association football
The women's association football was Bosnia and Herzegovina women's national football team a part of
women's association football
action filter_type
action find
entity Bosnia and Herzegovina women's national football team
relation sport
type sport
["Bosnia and Herzegovina women's national football team", 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:Bosnia_and_Herzegovina_women's_national_football_team property:sport ?h . ?h rdf:type ontology:sport }
[]