Simple Question (Direct)
Simple Question
Q352246
P106
Q12737077
USER
What are the professions of B-Real ?
(Q352246,P106,c(Q12737077))
action filter_type
action find
entity Q352246
relation P106
type Q12737077
['Q352246', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q352246 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
B-Real
action filter_type
action find
entity B-Real
relation occupation
type occupation
['B-Real', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:B-Real property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q639669 Q177220
SYSTEM
musician, singer
Q639669 Q177220
(Q352246,P106,c(Q12737077))
action filter_type
action find
entity Q352246
relation P106
type Q12737077
The professions of B-Real are the [ANSWERS]
['Q352246', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q352246 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
musician singer
The professions of B-Real are the musician and singer
musician singer
action filter_type
action find
entity B-Real
relation occupation
type occupation
['B-Real', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:B-Real property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q352246
P264
Q334453
USER
What is the record label of B-Real ?
(Q352246,P264,c(Q334453))
action filter_type
action find
entity Q352246
relation P264
type Q334453
['Q352246', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q334453 . resource:Q352246 property:P264 ?v }
B-Real
action filter_type
action find
entity B-Real
relation record label
type division
['B-Real', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:division . resource:B-Real property:record_label ?v }
[]
division
Q183387
SYSTEM
Columbia Records
Q183387
(Q352246,P264,c(Q334453))
action filter_type
action find
entity Q352246
relation P264
type Q334453
The record label of B-Real is not [ANSWER]
['Q352246', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q334453 . resource:Q352246 property:P264 ?v }
Columbia Records
The record label of B-Real is not Columbia Records
Columbia Records
action filter_type
action find
entity B-Real
relation record label
type division
['B-Real', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:division . resource:B-Real property:record_label ?v }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1859060
Q334453
USER
And what about iCarly: Music from and Inspired by the Hit TV Show?
(Q1859060,P264,c(Q334453))
action filter_type
action find
entity Q1859060
relation P264
type Q334453
['Q1859060', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q334453 . resource:Q1859060 property:P264 ?q }
iCarly: Music from and Inspired by the Hit TV Show
action filter_type
action find
entity iCarly: Music from and Inspired by the Hit TV Show
relation record label
type division
['iCarly: Music from and Inspired by the Hit TV Show', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:division . resource:iCarly:_Music_from_and_Inspired_by_the_Hit_TV_Show property:record_label ?q }
[]
division
Q183387 Q7027790
SYSTEM
Columbia Records, Nick Records
Q183387 Q7027790
(Q1859060,P264,c(Q334453))
action filter_type
action find
entity Q1859060
relation P264
type Q334453
[ANSWERS]
['Q1859060', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q334453 . resource:Q1859060 property:P264 ?q }
Columbia Records Nick Records
Columbia Records Nick Records
action filter_type
action find
entity iCarly: Music from and Inspired by the Hit TV Show
relation record label
type division
['iCarly: Music from and Inspired by the Hit TV Show', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:division . resource:iCarly:_Music_from_and_Inspired_by_the_Hit_TV_Show property:record_label ?q }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5104
P264
Q502895
USER
Do Miranda Cosgrove have those divisions as their record label ?
(Q5104,P264,Q183387) (Q5104,P264,Q7027790)
action is_in
entity prev_answer
action find
entity Q5104
relation P264
['Q5104', 'P264', 'Q183387'] ['Q5104', 'P264', 'Q7027790']
ASK WHERE { resource:Q5104 property:P264 ?e . VALUES ( ?e ) { ( resource:Q183387 ) ( resource:Q7027790 ) } }
Miranda Cosgrove
action is_in
entity prev_answer
action find
entity Miranda Cosgrove
relation record label
['Miranda Cosgrove', 'record label', 'Columbia Records'] ['Miranda Cosgrove', 'record label', 'Nick Records']
ASK WHERE { resource:Miranda_Cosgrove property:record_label ?e . VALUES ( ?e ) { ( resource:Columbia_Records ) ( resource:Nick_Records ) } }
[]
common name
SYSTEM
YES
(Q5104,P264,Q183387) (Q5104,P264,Q7027790)
action is_in
entity prev_answer
action find
entity Q5104
relation P264
[ANSWER]
['Q5104', 'P264', 'Q183387'] ['Q5104', 'P264', 'Q7027790']
ASK WHERE { resource:Q5104 property:P264 ?e . VALUES ( ?e ) { ( resource:Q183387 ) ( resource:Q7027790 ) } }
Yes
action is_in
entity prev_answer
action find
entity Miranda Cosgrove
relation record label
['Miranda Cosgrove', 'record label', 'Columbia Records'] ['Miranda Cosgrove', 'record label', 'Nick Records']
ASK WHERE { resource:Miranda_Cosgrove property:record_label ?e . VALUES ( ?e ) { ( resource:Columbia_Records ) ( resource:Nick_Records ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q639669
P425
Q1914636
USER
Who is associated with the field of occupation musician ?
(Q639669,P425,c(Q1914636))
action filter_type
action find
entity Q639669
relation P425
type Q1914636
['Q639669', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q639669 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
musician
action filter_type
action find
entity musician
relation field of this occupation
type activity
['musician', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:musician property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
activity
Q638
SYSTEM
music
Q638
(Q639669,P425,c(Q1914636))
action filter_type
action find
entity Q639669
relation P425
type Q1914636
Is [ANSWER] is associated with the field of occupation [ANSWER]ian
['Q639669', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?v WHERE { resource:Q639669 property:P425 ?v . ?v rdf:type ontology:Q1914636 }
music
Is music is associated with the field of occupation musician
music
action filter_type
action find
entity musician
relation field of this occupation
type activity
['musician', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?v WHERE { resource:musician property:field_of_this_occupation ?v . ?v rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q639669
P710
Q1656682
USER
What event did that occupation particiate in ?
(c(Q1656682),P710,Q638)
action filter_type
action find_reverse
entity Q639669
relation P710
type Q1656682
[{'concept': 'Q1656682'}, 'P710', 'Q638']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1656682 . ?y property:P710 resource:Q639669 }
musician
action filter_type
action find_reverse
entity musician
relation participant
type event
[{'concept': 'event'}, 'participant', 'music']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:event . ?y property:participant resource:musician }
[]
event
Q6942562
SYSTEM
musical performance
Q6942562
(c(Q1656682),P710,Q638)
action filter_type
action find_reverse
entity Q639669
relation P710
type Q1656682
That occupation particiated [ANSWER]
[{'concept': 'Q1656682'}, 'P710', 'Q638']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1656682 . ?y property:P710 resource:Q639669 }
musical performance
That occupation particiated musical performance
musical performance
action filter_type
action find_reverse
entity musician
relation participant
type event
[{'concept': 'event'}, 'participant', 'music']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:event . ?y property:participant resource:musician }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183387
P108
Q502895
USER
Which people work for Columbia Records ?
(c(Q502895),P108,Q183387)
action filter_type
action find_reverse
entity Q183387
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183387']
SELECT DISTINCT ?v WHERE { ?v property:P108 resource:Q183387 . ?v rdf:type ontology:Q502895 }
Columbia Records
action filter_type
action find_reverse
entity Columbia Records
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Columbia Records']
SELECT DISTINCT ?v WHERE { ?v property:employer resource:Columbia_Records . ?v rdf:type ontology:common_name }
[]
common name
Q6767478 Q21111406 Q4910527
SYSTEM
Mark Eddinger, John Berg, Bill Porter
Q4910527 Q6767478 Q24206437 Q21111406
(c(Q502895),P108,Q183387)
action filter_type
action find_reverse
entity Q183387
relation P108
type Q502895
[ANSWERS] work for Columbia Records
[{'concept': 'Q502895'}, 'P108', 'Q183387']
SELECT DISTINCT ?v WHERE { ?v property:P108 resource:Q183387 . ?v rdf:type ontology:Q502895 }
Bill Porter Mark Eddinger Don Hunstein John Berg
Mark Eddinger, John Berg and Bill Porter work for Columbia Records
Mark Eddinger John Berg Bill Porter
action filter_type
action find_reverse
entity Columbia Records
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Columbia Records']
SELECT DISTINCT ?v WHERE { ?v property:employer resource:Columbia_Records . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q6767478 Q21111406 Q4910527
P106
Q12737077
USER
What are the job of Mark Eddinger, John Berg and Bill Porter ?
(Q6767478,P106,c(Q12737077)) (Q21111406,P106,c(Q12737077)) (Q4910527,P106,c(Q12737077))
action union
action filter_type
action find
entity Q6767478
relation P106
type Q12737077
action filter_type
action find
entity Q21111406
relation P106
type Q12737077
action filter_type
action find
entity Q4910527
relation P106
type Q12737077
['Q6767478', 'P106', {'concept': 'Q12737077'}] ['Q21111406', 'P106', {'concept': 'Q12737077'}] ['Q4910527', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q12737077 . resource:Q21111406 property:P106 ?i } UNION { ?i rdf:type ontology:Q12737077 . resource:Q6767478 property:P106 ?i } }
Mark Eddinger John Berg Bill Porter
action union
action filter_type
action find
entity Mark Eddinger
relation occupation
type occupation
action filter_type
action find
entity John Berg
relation occupation
type occupation
action filter_type
action find
entity Bill Porter
relation occupation
type occupation
['Mark Eddinger', 'occupation', {'concept': 'occupation'}] ['John Berg', 'occupation', {'concept': 'occupation'}] ['Bill Porter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:occupation . resource:John_Berg property:occupation ?i } UNION { ?i rdf:type ontology:occupation . resource:Mark_Eddinger property:occupation ?i } }
[]
occupation
Q639669 Q3922505 Q15978655
SYSTEM
musician, music producer, consultant
Q639669 Q3922505 Q15978655 Q3089940 Q706364 Q81096 Q128124
(Q6767478,P106,c(Q12737077)) (Q21111406,P106,c(Q12737077)) (Q4910527,P106,c(Q12737077))
action union
action filter_type
action find
entity Q6767478
relation P106
type Q12737077
action filter_type
action find
entity Q21111406
relation P106
type Q12737077
action filter_type
action find
entity Q4910527
relation P106
type Q12737077
The job of Mark Eddinger , John Berg and Bill Porter are a [ANSWERS]
['Q6767478', 'P106', {'concept': 'Q12737077'}] ['Q21111406', 'P106', {'concept': 'Q12737077'}] ['Q4910527', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:Q12737077 . resource:Q21111406 property:P106 ?i } UNION { ?i rdf:type ontology:Q12737077 . resource:Q6767478 property:P106 ?i } }
musician music producer consultant music executive art director engineer audio engineer
The job of Mark Eddinger , John Berg and Bill Porter are a musician, music producer and consultant
musician music producer consultant
action union
action filter_type
action find
entity Mark Eddinger
relation occupation
type occupation
action filter_type
action find
entity John Berg
relation occupation
type occupation
action filter_type
action find
entity Bill Porter
relation occupation
type occupation
['Mark Eddinger', 'occupation', {'concept': 'occupation'}] ['John Berg', 'occupation', {'concept': 'occupation'}] ['Bill Porter', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { { ?i rdf:type ontology:occupation . resource:John_Berg property:occupation ?i } UNION { ?i rdf:type ontology:occupation . resource:Mark_Eddinger property:occupation ?i } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3922505
P101
Q502895
USER
Which person has field of work as that occupation ?
(c(Q502895),P101,Q3922505)
action filter_type
action find_reverse
entity Q3922505
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3922505']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q3922505 . ?d rdf:type ontology:Q502895 }
music producer
action filter_type
action find_reverse
entity music producer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'music producer']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:music_producer . ?d rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q15978655
SYSTEM
Did you mean consultant ?
Q639669 Q3922505 Q15978655
(c(Q502895),P101,Q639669) (c(Q502895),P101,Q3922505) (c(Q502895),P101,Q15978655)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q639669'] [{'concept': 'Q502895'}, 'P101', 'Q3922505'] [{'concept': 'Q502895'}, 'P101', 'Q15978655']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q3922505 . ?d rdf:type ontology:Q502895 }
musician music producer consultant
Did you mean consultant ?
consultant
[{'concept': 'common name'}, 'field of work', 'musician'] [{'concept': 'common name'}, 'field of work', 'music producer'] [{'concept': 'common name'}, 'field of work', 'consultant']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:music_producer . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant music producer. Could you tell me the answer for that?
(c(Q502895),P101,Q3922505)
Q3922505
[{'concept': 'Q502895'}, 'P101', 'Q3922505']
[{'concept': 'common name'}, 'field of work', 'music producer']
[]
Q18171888
SYSTEM
Kim André Arnesen
Q18171888
(c(Q502895),P101,Q3922505)
action filter_type
action find_reverse
entity Q3922505
relation P101
type Q502895
[ANSWER] has field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q3922505']
SELECT DISTINCT ?d WHERE { ?d property:P101 resource:Q3922505 . ?d rdf:type ontology:Q502895 }
Kim André Arnesen
Kim André Arnesen has field of work as that occupation
Kim André Arnesen
action filter_type
action find_reverse
entity music producer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'music producer']
SELECT DISTINCT ?d WHERE { ?d property:field_of_work resource:music_producer . ?d rdf:type ontology:common_name }
[]