Simple Question (Direct)
Simple Question
Q8054450
P641
Q349
USER
Which sport was Yohanes Ferinando Pahabol a part of ?
(Q8054450,P641,c(Q349))
action filter_type
action find
entity Q8054450
relation P641
type Q349
['Q8054450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q8054450 property:P641 ?n }
Yohanes Ferinando Pahabol
action filter_type
action find
entity Yohanes Ferinando Pahabol
relation sport
type sport
['Yohanes Ferinando Pahabol', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Yohanes_Ferinando_Pahabol property:sport ?n }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q8054450,P641,c(Q349))
action filter_type
action find
entity Q8054450
relation P641
type Q349
The [ANSWER] was Yohanes Ferinando Pahabol a part of
['Q8054450', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q8054450 property:P641 ?n }
association football
The association football was Yohanes Ferinando Pahabol a part of
association football
action filter_type
action find
entity Yohanes Ferinando Pahabol
relation sport
type sport
['Yohanes Ferinando Pahabol', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Yohanes_Ferinando_Pahabol property:sport ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
Which territory is the origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q2736 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:association_football property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
[ANSWER] is the origin of that sport
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?r WHERE { resource:Q2736 property:P495 ?r . ?r rdf:type ontology:Q1496967 }
England
England is the origin of that sport
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:association_football property:country_of_origin ?r . ?r rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21 Q145
P530
Q15617994
USER
How many administrative territories have tactful political relations with England or United Kingdom ?
(c(Q15617994),P530,Q21) (c(Q15617994),P530,Q145)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q21'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P530 resource:Q145 . ?t rdf:type ontology:Q15617994 } UNION { ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q21 } }
England United Kingdom
action count
action union
action filter_type
action find_reverse
entity England
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'England'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:diplomatic_relation resource:United_Kingdom . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:England } }
[]
designation for an administrative territorial entity
SYSTEM
12
Q142 Q225 Q230 Q801 Q155 Q805 Q17 Q37 Q114 Q403 Q38 Q902
(c(Q15617994),P530,Q21) (c(Q15617994),P530,Q145)
action count
action union
action filter_type
action find_reverse
entity Q21
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q145
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q21'] [{'concept': 'Q15617994'}, 'P530', 'Q145']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:P530 resource:Q145 . ?t rdf:type ontology:Q15617994 } UNION { ?t rdf:type ontology:Q15617994 . ?t property:P530 resource:Q21 } }
France Bosnia and Herzegovina Georgia Israel Brazil Yemen Japan Lithuania Kenya Serbia Italy Bangladesh
12
action count
action union
action filter_type
action find_reverse
entity England
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity United Kingdom
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'England'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { ?t property:diplomatic_relation resource:United_Kingdom . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t property:diplomatic_relation resource:England } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21
P85
Q484692
USER
Which hymns are the anthems for England ?
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q484692 . resource:Q21 property:P85 ?b }
England
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:hymn . resource:England property:anthem ?b }
[]
hymn
Q489607 Q182268
SYSTEM
And did those feet in ancient time, Land of Hope and Glory
Q489607 Q182268
(Q21,P85,c(Q484692))
action filter_type
action find
entity Q21
relation P85
type Q484692
[ANSWERS] are the anthems for England
['Q21', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q484692 . resource:Q21 property:P85 ?b }
And did those feet in ancient time Land of Hope and Glory
And did those feet in ancient time and Land of Hope and Glory are the anthems for England
And did those feet in ancient time Land of Hope and Glory
action filter_type
action find
entity England
relation anthem
type hymn
['England', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:hymn . resource:England property:anthem ?b }
[]
Clarification
Simple Question|Single Entity|Indirect
Q489607
P800
Q502895
USER
Which person has that hymn as a notable work ?
(c(Q502895),P800,Q489607)
action filter_type
action find_reverse
entity Q489607
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q489607']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P800 resource:Q489607 }
And did those feet in ancient time
action filter_type
action find_reverse
entity And did those feet in ancient time
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'And did those feet in ancient time']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:notable_work resource:And_did_those_feet_in_ancient_time }
[]
common name
Clarification for simple ques.
Q489607
SYSTEM
Did you mean And did those feet in ancient time ?
Q489607 Q182268
(c(Q502895),P800,Q489607) (c(Q502895),P800,Q182268)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q489607'] [{'concept': 'Q502895'}, 'P800', 'Q182268']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P800 resource:Q489607 }
And did those feet in ancient time Land of Hope and Glory
Did you mean And did those feet in ancient time ?
And did those feet in ancient time
[{'concept': 'common name'}, 'notable work', 'And did those feet in ancient time'] [{'concept': 'common name'}, 'notable work', 'Land of Hope and Glory']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:notable_work resource:And_did_those_feet_in_ancient_time }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P800,Q489607)
[{'concept': 'Q502895'}, 'P800', 'Q489607']
[{'concept': 'common name'}, 'notable work', 'And did those feet in ancient time']
[]
Q41513
SYSTEM
William Blake
Q41513
(c(Q502895),P800,Q489607)
action filter_type
action find_reverse
entity Q489607
relation P800
type Q502895
[ANSWER] has that hymn as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q489607']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q502895 . ?g property:P800 resource:Q489607 }
William Blake
William Blake has that hymn as a notable work
William Blake
action filter_type
action find_reverse
entity And did those feet in ancient time
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'And did those feet in ancient time']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:common_name . ?g property:notable_work resource:And_did_those_feet_in_ancient_time }
[]