Simple Question (Direct)
Simple Question
Q3519943
P106
Q12737077
USER
What do Lalgudi Jayaraman do for a living ?
(Q3519943,P106,c(Q12737077))
action filter_type
action find
entity Q3519943
relation P106
type Q12737077
['Q3519943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3519943 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Lalgudi Jayaraman
action filter_type
action find
entity Lalgudi Jayaraman
relation occupation
type occupation
['Lalgudi Jayaraman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lalgudi_Jayaraman property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q1198887 Q36834
SYSTEM
music director, composer
Q1198887 Q36834
(Q3519943,P106,c(Q12737077))
action filter_type
action find
entity Q3519943
relation P106
type Q12737077
Lalgudi Jayaraman do for a living as [ANSWERS]
['Q3519943', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3519943 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
music director composer
Lalgudi Jayaraman do for a living as music director and composer
music director composer
action filter_type
action find
entity Lalgudi Jayaraman
relation occupation
type occupation
['Lalgudi Jayaraman', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Lalgudi_Jayaraman property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3519943
P21
Q290
USER
Which sex does Lalgudi Jayaraman have ?
(Q3519943,P21,c(Q290))
action filter_type
action find
entity Q3519943
relation P21
type Q290
['Q3519943', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3519943 property:P21 ?s . ?s rdf:type ontology:Q290 }
Lalgudi Jayaraman
action filter_type
action find
entity Lalgudi Jayaraman
relation gender
type sex
['Lalgudi Jayaraman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Lalgudi_Jayaraman property:gender ?s . ?s rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3519943,P21,c(Q290))
action filter_type
action find
entity Q3519943
relation P21
type Q290
Lalgudi Jayaraman has 1 [ANSWER]
['Q3519943', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { resource:Q3519943 property:P21 ?s . ?s rdf:type ontology:Q290 }
male
Lalgudi Jayaraman has 1 male
male
action filter_type
action find
entity Lalgudi Jayaraman
relation gender
type sex
['Lalgudi Jayaraman', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { resource:Lalgudi_Jayaraman property:gender ?s . ?s rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3519943
P86
Q838948
USER
Which work of art has Lalgudi Jayaraman as the composer ?
(c(Q838948),P86,Q3519943)
action filter_type
action find_reverse
entity Q3519943
relation P86
type Q838948
[{'concept': 'Q838948'}, 'P86', 'Q3519943']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q3519943 . ?v rdf:type ontology:Q838948 }
Lalgudi Jayaraman
action filter_type
action find_reverse
entity Lalgudi Jayaraman
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Lalgudi Jayaraman']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Lalgudi_Jayaraman . ?v rdf:type ontology:work_of_art }
[]
work of art
Q7586432
SYSTEM
Sringaram
Q7586432
(c(Q838948),P86,Q3519943)
action filter_type
action find_reverse
entity Q3519943
relation P86
type Q838948
[ANSWER] has Lalgudi Jayaraman as the composer
[{'concept': 'Q838948'}, 'P86', 'Q3519943']
SELECT DISTINCT ?v WHERE { ?v property:P86 resource:Q3519943 . ?v rdf:type ontology:Q838948 }
Sringaram
Sringaram has Lalgudi Jayaraman as the composer
Sringaram
action filter_type
action find_reverse
entity Lalgudi Jayaraman
relation composer
type work of art
[{'concept': 'work of art'}, 'composer', 'Lalgudi Jayaraman']
SELECT DISTINCT ?v WHERE { ?v property:composer resource:Lalgudi_Jayaraman . ?v rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P425
Q838948
USER
Who has composer as the associated field of occupation ?
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { resource:Q36834 property:P425 ?b . ?b rdf:type ontology:Q838948 }
composer
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { resource:composer property:field_of_this_occupation ?b . ?b rdf:type ontology:work_of_art }
[]
work of art
Q207628
SYSTEM
musical composition
Q207628
(Q36834,P425,c(Q838948))
action filter_type
action find
entity Q36834
relation P425
type Q838948
The [ANSWER] has composer as the associated field of occupation
['Q36834', 'P425', {'concept': 'Q838948'}]
SELECT DISTINCT ?b WHERE { resource:Q36834 property:P425 ?b . ?b rdf:type ontology:Q838948 }
musical composition
The musical composition has composer as the associated field of occupation
musical composition
action filter_type
action find
entity composer
relation field of this occupation
type work of art
['composer', 'field of this occupation', {'concept': 'work of art'}]
SELECT DISTINCT ?b WHERE { resource:composer property:field_of_this_occupation ?b . ?b rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36834
P417
Q502895
USER
Which person is the patron saint of composer ?
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q36834 property:P417 ?m . ?m rdf:type ontology:Q502895 }
composer
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:composer property:patron_saint ?m . ?m rdf:type ontology:common_name }
[]
common name
Q80513
SYSTEM
Saint Cecilia
Q80513
(Q36834,P417,c(Q502895))
action filter_type
action find
entity Q36834
relation P417
type Q502895
Of [ANSWER] is the patron saint of composer
['Q36834', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q36834 property:P417 ?m . ?m rdf:type ontology:Q502895 }
Saint Cecilia
Of Saint Cecilia is the patron saint of composer
Saint Cecilia
action filter_type
action find
entity composer
relation patron saint
type common name
['composer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:composer property:patron_saint ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36834
P175
Q7725634
USER
Which literary work gave the performance of that occupation ?
(c(Q7725634),P175,Q80513)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[{'concept': 'Q7725634'}, 'P175', 'Q80513']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7725634 . ?b property:P175 resource:Q36834 }
composer
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Saint Cecilia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:literary_work . ?b property:performer resource:composer }
[]
literary work
Q5907189
SYSTEM
Hosanna
Q5907189
(c(Q7725634),P175,Q80513)
action filter_type
action find_reverse
entity Q36834
relation P175
type Q7725634
[ANSWER] gave the performance of that occupation
[{'concept': 'Q7725634'}, 'P175', 'Q80513']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q7725634 . ?b property:P175 resource:Q36834 }
Hosanna
Hosanna gave the performance of that occupation
Hosanna
action filter_type
action find_reverse
entity composer
relation performer
type literary work
[{'concept': 'literary work'}, 'performer', 'Saint Cecilia']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:literary_work . ?b property:performer resource:composer }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q7725634
USER
Which languages are the languages of work for exactly 4 literary works ?
(c(Q7725634),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 4
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P407 ?r . ?r rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 } GROUP BY ?r } . FILTER ( ?z = 4 ) }
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 4
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?b rdf:type ontology:literary_work } GROUP BY ?r } . FILTER ( ?z = 4 ) }
[]
language literary work
Q397 Q9056
SYSTEM
Latin, Czech
Q397 Q9056
(c(Q7725634),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q7725634
value 4
[ANSWERS] are the languages of work for exactly 4 literary works
[{'concept': 'Q7725634'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:P407 ?r . ?r rdf:type ontology:Q34770 . ?b rdf:type ontology:Q7725634 } GROUP BY ?r } . FILTER ( ?z = 4 ) }
Latin Czech
Latin and Czech are the languages of work for exactly 4 literary works
Latin Czech
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type literary work
value 4
[{'concept': 'literary work'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?b ) AS ?z ) WHERE { ?b property:language_of_work_or_name ?r . ?r rdf:type ontology:language . ?b rdf:type ontology:literary_work } GROUP BY ?r } . FILTER ( ?z = 4 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q117763
P1412
Q502895
USER
Does Giuseppe Caspar Mezzofanti speak those languages ?
(Q117763,P1412,Q397) (Q117763,P1412,Q9056)
action is_in
entity prev_answer
action find
entity Q117763
relation P1412
['Q117763', 'P1412', 'Q397'] ['Q117763', 'P1412', 'Q9056']
ASK WHERE { resource:Q117763 property:P1412 ?j . VALUES ( ?j ) { ( resource:Q397 ) ( resource:Q9056 ) } }
Giuseppe Caspar Mezzofanti
action is_in
entity prev_answer
action find
entity Giuseppe Caspar Mezzofanti
relation languages spoken, written or signed
['Giuseppe Caspar Mezzofanti', 'languages spoken, written or signed', 'Latin'] ['Giuseppe Caspar Mezzofanti', 'languages spoken, written or signed', 'Czech']
ASK WHERE { resource:Giuseppe_Caspar_Mezzofanti property:languages_spoken,_written_or_signed ?j . VALUES ( ?j ) { ( resource:Latin ) ( resource:Czech ) } }
[]
common name
SYSTEM
YES
(Q117763,P1412,Q397) (Q117763,P1412,Q9056)
action is_in
entity prev_answer
action find
entity Q117763
relation P1412
[ANSWER]
['Q117763', 'P1412', 'Q397'] ['Q117763', 'P1412', 'Q9056']
ASK WHERE { resource:Q117763 property:P1412 ?j . VALUES ( ?j ) { ( resource:Q397 ) ( resource:Q9056 ) } }
Yes
action is_in
entity prev_answer
action find
entity Giuseppe Caspar Mezzofanti
relation languages spoken, written or signed
['Giuseppe Caspar Mezzofanti', 'languages spoken, written or signed', 'Latin'] ['Giuseppe Caspar Mezzofanti', 'languages spoken, written or signed', 'Czech']
ASK WHERE { resource:Giuseppe_Caspar_Mezzofanti property:languages_spoken,_written_or_signed ?j . VALUES ( ?j ) { ( resource:Latin ) ( resource:Czech ) } }
[]