Simple Question (Direct)
Simple Question
Q1160156
P19
Q56061
USER
Which administrative territory was Daniel Bragg born at ?
(Q1160156,P19,c(Q56061))
action filter_type
action find
entity Q1160156
relation P19
type Q56061
['Q1160156', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1160156 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Daniel Bragg
action filter_type
action find
entity Daniel Bragg
relation place of birth
type administrative territorial entity
['Daniel Bragg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Bragg property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3130
SYSTEM
Sydney
Q3130
(Q1160156,P19,c(Q56061))
action filter_type
action find
entity Q1160156
relation P19
type Q56061
Daniel Bragg was born in [ANSWER]
['Q1160156', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1160156 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Sydney
Daniel Bragg was born in Sydney
Sydney
action filter_type
action find
entity Daniel Bragg
relation place of birth
type administrative territorial entity
['Daniel Bragg', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Daniel_Bragg property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1160156
P27
Q1048835
USER
Which political territory is that person an inhabitant of ?
(Q3130,P27,c(Q1048835))
action filter_type
action find
entity Q1160156
relation P27
type Q1048835
['Q3130', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1160156 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Daniel Bragg
action filter_type
action find
entity Daniel Bragg
relation country of citizenship
type political territorial entity
['Sydney', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Bragg property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q3130,P27,c(Q1048835))
action filter_type
action find
entity Q1160156
relation P27
type Q1048835
[ANSWER] is that person an inhabitant of
['Q3130', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q1160156 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Australia
Australia is that person an inhabitant of
Australia
action filter_type
action find
entity Daniel Bragg
relation country of citizenship
type political territorial entity
['Sydney', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Daniel_Bragg property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1160156
P641
Q349
USER
What did Daniel Bragg participate in ?
(Q1160156,P641,c(Q349))
action filter_type
action find
entity Q1160156
relation P641
type Q349
['Q1160156', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q1160156 property:P641 ?z }
Daniel Bragg
action filter_type
action find
entity Daniel Bragg
relation sport
type sport
['Daniel Bragg', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Daniel_Bragg property:sport ?z }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1160156,P641,c(Q349))
action filter_type
action find
entity Q1160156
relation P641
type Q349
Daniel Bragg participated in [ANSWER]
['Q1160156', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q349 . resource:Q1160156 property:P641 ?z }
association football
Daniel Bragg participated in association football
association football
action filter_type
action find
entity Daniel Bragg
relation sport
type sport
['Daniel Bragg', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sport . resource:Daniel_Bragg property:sport ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q408
P85
Q7725634
USER
Which is the national anthem of Australia ?
(Q408,P85,c(Q7725634))
action filter_type
action find
entity Q408
relation P85
type Q7725634
['Q408', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?n WHERE { resource:Q408 property:P85 ?n . ?n rdf:type ontology:Q7725634 }
Australia
action filter_type
action find
entity Australia
relation anthem
type literary work
['Australia', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?n WHERE { resource:Australia property:anthem ?n . ?n rdf:type ontology:literary_work }
[]
literary work
Q40807
SYSTEM
God Save the Queen
Q40807
(Q408,P85,c(Q7725634))
action filter_type
action find
entity Q408
relation P85
type Q7725634
The national anthem of Australia is the [ANSWER]
['Q408', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?n WHERE { resource:Q408 property:P85 ?n . ?n rdf:type ontology:Q7725634 }
God Save the Queen
The national anthem of Australia is the God Save the Queen
God Save the Queen
action filter_type
action find
entity Australia
relation anthem
type literary work
['Australia', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?n WHERE { resource:Australia property:anthem ?n . ?n rdf:type ontology:literary_work }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q408
Q484692
USER
And which hymn?
(Q408,P85,c(Q484692))
action filter_type
action find
entity Q408
relation P85
type Q484692
['Q408', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q408 property:P85 ?k }
Australia
action filter_type
action find
entity Australia
relation anthem
type hymn
['Australia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Australia property:anthem ?k }
[]
hymn
Q170601
SYSTEM
Advance Australia Fair
Q170601
(Q408,P85,c(Q484692))
action filter_type
action find
entity Q408
relation P85
type Q484692
[ANSWER]
['Q408', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q484692 . resource:Q408 property:P85 ?k }
Advance Australia Fair
Advance Australia Fair
action filter_type
action find
entity Australia
relation anthem
type hymn
['Australia', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:hymn . resource:Australia property:anthem ?k }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P85
Q484692 Q161243
USER
Which hymns are the national anthems of greater number of dependent territories than that hymn ?
(c(Q161243),P85,c(Q484692))
action greater
action find_reverse_tuple_counts
relation P85
type Q484692
type Q161243
action count
action filter_type
action find
entity Q170601
relation P85
type Q484692
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q161243 . ?k rdf:type ontology:Q484692 . ?j property:P85 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q484692 . resource:Q170601 property:P85 ?v } } . FILTER ( ?y > ?t ) }
action greater
action find_reverse_tuple_counts
relation anthem
type hymn
type dependent territory
action count
action filter_type
action find
entity Advance Australia Fair
relation anthem
type hymn
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:dependent_territory . ?k rdf:type ontology:hymn . ?j property:anthem ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:hymn . resource:Advance_Australia_Fair property:anthem ?v } } . FILTER ( ?y > ?t ) }
[]
hymn dependent territory
Q81534 Q161539
SYSTEM
Kimi Ga Yo, The Brabançonne
Q81534 Q161539
(c(Q161243),P85,c(Q484692))
action greater
action find_reverse_tuple_counts
relation P85
type Q484692
type Q161243
action count
action filter_type
action find
entity Q170601
relation P85
type Q484692
[ANSWERS] are the national anthems of greater number of dependent territories than that hymn
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q161243 . ?k rdf:type ontology:Q484692 . ?j property:P85 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:Q484692 . resource:Q170601 property:P85 ?v } } . FILTER ( ?y > ?t ) }
Kimi Ga Yo The Brabançonne
Kimi Ga Yo and The Brabançonne are the national anthems of greater number of dependent territories than that hymn
Kimi Ga Yo The Brabançonne
action greater
action find_reverse_tuple_counts
relation anthem
type hymn
type dependent territory
action count
action filter_type
action find
entity Advance Australia Fair
relation anthem
type hymn
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:dependent_territory . ?k rdf:type ontology:hymn . ?j property:anthem ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { ?v rdf:type ontology:hymn . resource:Advance_Australia_Fair property:anthem ?v } } . FILTER ( ?y > ?t ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P85
Q484692 Q161243
USER
How many hymns are the national anthems of around the same number of dependent territories as that hymn ?
(c(Q161243),P85,c(Q484692))
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q541947 ?y . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q484692 }
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:anthem ?y . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:hymn }
[]
hymn dependent territory
Comparative|Count over More/Less|Single entity type|Clarification
Q81534
SYSTEM
Did you mean Kimi Ga Yo ?
(c(Q161243),P85,c(Q484692))
[ANSWER]
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q541947 ?y . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q484692 }
Did you mean Kimi Ga Yo ?
Kimi Ga Yo
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:anthem ?y . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:hymn }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant The Brabançonne. Could you tell me the answer for that?
(c(Q161243),P85,c(Q484692))
Q161539
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
[]
SYSTEM
2
Q81534 Q161539
(c(Q161243),P85,c(Q484692))
[ANSWER]
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q541947 ?y . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q484692 }
Kimi Ga Yo The Brabançonne
2
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:anthem ?y . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:hymn }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1160156
P106
Q12737077
USER
Which occupation has Daniel Bragg as his/her 's career ?
(Q1160156,P106,c(Q12737077))
action filter_type
action find
entity Q1160156
relation P106
type Q12737077
['Q1160156', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1160156 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Daniel Bragg
action filter_type
action find
entity Daniel Bragg
relation occupation
type occupation
['Daniel Bragg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Daniel_Bragg property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1160156,P106,c(Q12737077))
action filter_type
action find
entity Q1160156
relation P106
type Q12737077
Player [ANSWER] has Daniel Bragg as his/her 's career
['Q1160156', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1160156 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
association football player
Player association football player has Daniel Bragg as his/her 's career
association football player
action filter_type
action find
entity Daniel Bragg
relation occupation
type occupation
['Daniel Bragg', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Daniel_Bragg property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161539
P86
Q502895
USER
Who did the compostion for The Brabançonne ?
(Q161539,P86,c(Q502895))
action filter_type
action find
entity Q161539
relation P86
type Q502895
['Q161539', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q161539 property:P86 ?c . ?c rdf:type ontology:Q502895 }
The Brabançonne
action filter_type
action find
entity The Brabançonne
relation composer
type common name
['The Brabançonne', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Brabançonne property:composer ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1363402
SYSTEM
François van Campenhout
Q1363402
(Q161539,P86,c(Q502895))
action filter_type
action find
entity Q161539
relation P86
type Q502895
[ANSWER] did the compostion for The Brabançonne
['Q161539', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q161539 property:P86 ?c . ?c rdf:type ontology:Q502895 }
François van Campenhout
François van Campenhout did the compostion for The Brabançonne
François van Campenhout
action filter_type
action find
entity The Brabançonne
relation composer
type common name
['The Brabançonne', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:The_Brabançonne property:composer ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q161539
P17
Q15617994
USER
Which administrative territory is The Brabançonne located in ?
(Q161539,P17,c(Q15617994))
action filter_type
action find
entity Q161539
relation P17
type Q15617994
['Q161539', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q161539 property:P17 ?u }
The Brabançonne
action filter_type
action find
entity The Brabançonne
relation country
type designation for an administrative territorial entity
['The Brabançonne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Brabançonne property:country ?u }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q161539,P17,c(Q15617994))
action filter_type
action find
entity Q161539
relation P17
type Q15617994
The Brabançonne is located in [ANSWER]
['Q161539', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q15617994 . resource:Q161539 property:P17 ?u }
Belgium
The Brabançonne is located in Belgium
Belgium
action filter_type
action find
entity The Brabançonne
relation country
type designation for an administrative territorial entity
['The Brabançonne', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:The_Brabançonne property:country ?u }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7429357
Q15617994
USER
And how about Sayyid Abdulwaḥd?
(Q7429357,P17,c(Q15617994))
action filter_type
action find
entity Q7429357
relation P17
type Q15617994
['Q7429357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7429357 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Sayyid Abdulwaḥd
action filter_type
action find
entity Sayyid Abdulwaḥd
relation country
type designation for an administrative territorial entity
['Sayyid Abdulwaḥd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Sayyid_Abdulwaḥd property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016
SYSTEM
Libya
Q1016
(Q7429357,P17,c(Q15617994))
action filter_type
action find
entity Q7429357
relation P17
type Q15617994
[ANSWER]
['Q7429357', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q7429357 property:P17 ?u . ?u rdf:type ontology:Q15617994 }
Libya
Libya
action filter_type
action find
entity Sayyid Abdulwaḥd
relation country
type designation for an administrative territorial entity
['Sayyid Abdulwaḥd', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Sayyid_Abdulwaḥd property:country ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]