Simple Question (Direct)
Simple Question
Q2269556
P1303
Q34379
USER
Which musical instrument is played by Louis Kentner ?
(Q2269556,P1303,c(Q34379))
action filter_type
action find
entity Q2269556
relation P1303
type Q34379
['Q2269556', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { resource:Q2269556 property:P1303 ?k . ?k rdf:type ontology:Q34379 }
Louis Kentner
action filter_type
action find
entity Louis Kentner
relation instrument
type musical instrument
['Louis Kentner', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Kentner property:instrument ?k . ?k rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994
SYSTEM
piano
Q5994
(Q2269556,P1303,c(Q34379))
action filter_type
action find
entity Q2269556
relation P1303
type Q34379
[ANSWER] is played by Louis Kentner
['Q2269556', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { resource:Q2269556 property:P1303 ?k . ?k rdf:type ontology:Q34379 }
piano
Piano is played by Louis Kentner
piano
action filter_type
action find
entity Louis Kentner
relation instrument
type musical instrument
['Louis Kentner', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { resource:Louis_Kentner property:instrument ?k . ?k rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2269556
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q5994,P106,c(Q12737077))
action filter_type
action find
entity Q2269556
relation P106
type Q12737077
['Q5994', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2269556 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Louis Kentner
action filter_type
action find
entity Louis Kentner
relation occupation
type occupation
['piano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Kentner property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q36834 Q486748
SYSTEM
composer, pianist
Q36834 Q486748
(Q5994,P106,c(Q12737077))
action filter_type
action find
entity Q2269556
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q5994', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { resource:Q2269556 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
composer pianist
The professions of that person are composer and pianist
composer pianist
action filter_type
action find
entity Louis Kentner
relation occupation
type occupation
['piano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { resource:Louis_Kentner property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q188451 Q43229
USER
How many music genres and organizations have career as that occupation ?
(c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q486748) (c(Q43229),P106,Q486748)
[{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q486748'] [{'concept': 'Q43229'}, 'P106', 'Q486748']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q486748 } UNION { ?y property:Q528892 resource:Q486748 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q43229 }
[{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'pianist'] [{'concept': 'organization'}, 'occupation', 'pianist']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:pianist } UNION { ?y property:occupation resource:pianist } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:organization }
[]
music genre organization
Quantitative|Count|Mult. entity type|Clarification
Q36834
SYSTEM
Did you mean composer ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q486748 } UNION { ?y property:Q528892 resource:Q486748 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q43229 }
Did you mean composer ?
composer
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:pianist } UNION { ?y property:occupation resource:pianist } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:organization }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q486748) (c(Q43229),P106,Q486748)
[{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q486748'] [{'concept': 'Q43229'}, 'P106', 'Q486748']
[{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'pianist'] [{'concept': 'organization'}, 'occupation', 'pianist']
[]
SYSTEM
1 music genres and 1 organizations
Q4855993 Q5377442
(c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q36834) (c(Q43229),P106,Q36834) (c(Q188451),P106,Q486748) (c(Q43229),P106,Q486748)
[ANSWER]
[{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q36834'] [{'concept': 'Q43229'}, 'P106', 'Q36834'] [{'concept': 'Q188451'}, 'P106', 'Q486748'] [{'concept': 'Q43229'}, 'P106', 'Q486748']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q36834 } UNION { ?y property:Q528892 resource:Q36834 } UNION { ?z property:Q528892 resource:Q486748 } UNION { ?y property:Q528892 resource:Q486748 } } . ?z rdf:type ontology:Q188451 . ?y rdf:type ontology:Q43229 }
Bank West Engarandus Juvenis
1 music genres and 1 organizations
[{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'composer'] [{'concept': 'organization'}, 'occupation', 'composer'] [{'concept': 'music genre'}, 'occupation', 'pianist'] [{'concept': 'organization'}, 'occupation', 'pianist']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:composer } UNION { ?y property:occupation resource:composer } UNION { ?z property:occupation resource:pianist } UNION { ?y property:occupation resource:pianist } } . ?z rdf:type ontology:music_genre . ?y rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2269556
P26
Q502895
USER
Which person has Louis Kentner as spouse ?
(c(Q502895),P26,Q2269556)
action filter_type
action find_reverse
entity Q2269556
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q2269556']
SELECT DISTINCT ?o WHERE { ?o property:P26 resource:Q2269556 . ?o rdf:type ontology:Q502895 }
Louis Kentner
action filter_type
action find_reverse
entity Louis Kentner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Kentner']
SELECT DISTINCT ?o WHERE { ?o property:spouse resource:Louis_Kentner . ?o rdf:type ontology:common_name }
[]
common name
Q1103126
SYSTEM
Ilona Kabos
Q1103126
(c(Q502895),P26,Q2269556)
action filter_type
action find_reverse
entity Q2269556
relation P26
type Q502895
[ANSWER] has Louis Kentner as spouse
[{'concept': 'Q502895'}, 'P26', 'Q2269556']
SELECT DISTINCT ?o WHERE { ?o property:P26 resource:Q2269556 . ?o rdf:type ontology:Q502895 }
Ilona Kabos
Ilona Kabos has Louis Kentner as spouse
Ilona Kabos
action filter_type
action find_reverse
entity Louis Kentner
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Louis Kentner']
SELECT DISTINCT ?o WHERE { ?o property:spouse resource:Louis_Kentner . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1103126
P40
Q502895
USER
Whose child is that one ?
(c(Q502895),P40,Q1103126)
action filter_type
action find_reverse
entity Q1103126
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1103126']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q1103126 }
Ilona Kabos
action filter_type
action find_reverse
entity Ilona Kabos
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ilona Kabos']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Ilona_Kabos }
[]
common name
Q1103123
SYSTEM
Ede Kabos
Q1103123
(c(Q502895),P40,Q1103126)
action filter_type
action find_reverse
entity Q1103126
relation P40
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P40', 'Q1103126']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q502895 . ?v property:P40 resource:Q1103126 }
Ede Kabos
Ede Kabos is that one
Ede Kabos
action filter_type
action find_reverse
entity Ilona Kabos
relation child
type common name
[{'concept': 'common name'}, 'child', 'Ilona Kabos']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:common_name . ?v property:child resource:Ilona_Kabos }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1103123
P22
Q502895
USER
Who has that one as a father ?
(c(Q502895),P22,Q1103123)
action filter_type
action find_reverse
entity Q1103123
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1103123']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q1103123 . ?f rdf:type ontology:Q502895 }
Ede Kabos
action filter_type
action find_reverse
entity Ede Kabos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ede Kabos']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Ede_Kabos . ?f rdf:type ontology:common_name }
[]
common name
Q1103126
SYSTEM
Ilona Kabos
Q1103126
(c(Q502895),P22,Q1103123)
action filter_type
action find_reverse
entity Q1103123
relation P22
type Q502895
[ANSWER] has that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q1103123']
SELECT DISTINCT ?f WHERE { ?f property:P22 resource:Q1103123 . ?f rdf:type ontology:Q502895 }
Ilona Kabos
Ilona Kabos has that one as a father
Ilona Kabos
action filter_type
action find_reverse
entity Ede Kabos
relation father
type common name
[{'concept': 'common name'}, 'father', 'Ede Kabos']
SELECT DISTINCT ?f WHERE { ?f property:father resource:Ede_Kabos . ?f rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1781 Q1103123
P19 P22
Q502895
USER
Which people have Ede Kabos as a father and were born at Budapest ?
AND((c(Q502895),P22,Q1103123), (c(Q502895),P19,Q1781))
action filter_type
action intersection
action find_reverse
entity Q1103123
relation P22
action find_reverse
entity Q1781
relation P19
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1103123'], [{'concept': 'Q502895'}, 'P19', 'Q1781']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P22 resource:Q1103123 . ?z property:P19 resource:Q1781 }
Budapest Ede Kabos
action filter_type
action intersection
action find_reverse
entity Ede Kabos
relation father
action find_reverse
entity Budapest
relation place of birth
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ede Kabos'], [{'concept': 'common name'}, 'place of birth', 'Budapest']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:father resource:Ede_Kabos . ?z property:place_of_birth resource:Budapest }
[]
common name
Q1103126
SYSTEM
Ilona Kabos
Q1103126
AND((c(Q502895),P22,Q1103123), (c(Q502895),P19,Q1781))
action filter_type
action intersection
action find_reverse
entity Q1103123
relation P22
action find_reverse
entity Q1781
relation P19
type Q502895
[ANSWER] have Ede Kabos as a father and were born at Budapest
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q1103123'], [{'concept': 'Q502895'}, 'P19', 'Q1781']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P22 resource:Q1103123 . ?z property:P19 resource:Q1781 }
Ilona Kabos
Ilona Kabos have Ede Kabos as a father and were born at Budapest
Ilona Kabos
action filter_type
action intersection
action find_reverse
entity Ede Kabos
relation father
action find_reverse
entity Budapest
relation place of birth
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ede Kabos'], [{'concept': 'common name'}, 'place of birth', 'Budapest']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:father resource:Ede_Kabos . ?z property:place_of_birth resource:Budapest }
[]