Simple Question (Direct)
Simple Question
Q8060222
P86
Q502895
USER
Who composed Yuddham Sei ?
(Q8060222,P86,c(Q502895))
action filter_type
action find
entity Q8060222
relation P86
type Q502895
['Q8060222', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q8060222 property:P86 ?z . ?z rdf:type ontology:Q502895 }
Yuddham Sei
action filter_type
action find
entity Yuddham Sei
relation composer
type common name
['Yuddham Sei', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Yuddham_Sei property:composer ?z . ?z rdf:type ontology:common_name }
[]
common name
Q12977435
SYSTEM
K
Q12977435
(Q8060222,P86,c(Q502895))
action filter_type
action find
entity Q8060222
relation P86
type Q502895
[ANSWER] composed Yuddham Sei
['Q8060222', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q8060222 property:P86 ?z . ?z rdf:type ontology:Q502895 }
K
K composed Yuddham Sei
K
action filter_type
action find
entity Yuddham Sei
relation composer
type common name
['Yuddham Sei', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Yuddham_Sei property:composer ?z . ?z rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11638748 Q12977435
P106
Q12737077
USER
Which occupations are the professions of K or Kazuhiko Kondō ?
OR((Q12977435,P106,c(Q12737077)), (Q11638748,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q12977435
relation P106
action find
entity Q11638748
relation P106
type Q12737077
{'OR': [['Q12977435', 'P106', {'concept': 'Q12737077'}], ['Q11638748', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q12977435 property:P106 ?y } UNION { resource:Q11638748 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
Kazuhiko Kondō K
action filter_type
action union
action find
entity K
relation occupation
action find
entity Kazuhiko Kondō
relation occupation
type occupation
{'OR': [['K', 'occupation', {'concept': 'occupation'}], ['Kazuhiko Kondō', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:K property:occupation ?y } UNION { resource:Kazuhiko_Kondō property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
occupation
Q201788 Q753110 Q36834
SYSTEM
historian, songwriter, composer
Q201788 Q753110 Q36834
OR((Q12977435,P106,c(Q12737077)), (Q11638748,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q12977435
relation P106
action find
entity Q11638748
relation P106
type Q12737077
[ANSWERS] are the professions of K or Kazuhiko Kondō
{'OR': [['Q12977435', 'P106', {'concept': 'Q12737077'}], ['Q11638748', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q12977435 property:P106 ?y } UNION { resource:Q11638748 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
historian songwriter composer
Historian, songwriter and composer are the professions of K or Kazuhiko Kondō
historian songwriter composer
action filter_type
action union
action find
entity K
relation occupation
action find
entity Kazuhiko Kondō
relation occupation
type occupation
{'OR': [['K', 'occupation', {'concept': 'occupation'}], ['Kazuhiko Kondō', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:K property:occupation ?y } UNION { resource:Kazuhiko_Kondō property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5320265
P106
Q502895
USER
Do Désiré Vervoort have a job as those occupations ?
(Q5320265,P106,Q201788) (Q5320265,P106,Q753110) (Q5320265,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q5320265
relation P106
['Q5320265', 'P106', 'Q201788'] ['Q5320265', 'P106', 'Q753110'] ['Q5320265', 'P106', 'Q36834']
ASK WHERE { VALUES ( ?d ) { ( resource:Q201788 ) ( resource:Q753110 ) ( resource:Q36834 ) } . resource:Q5320265 property:P106 ?d }
Désiré Vervoort
action is_in
entity prev_answer
action find
entity Désiré Vervoort
relation occupation
['Désiré Vervoort', 'occupation', 'historian'] ['Désiré Vervoort', 'occupation', 'songwriter'] ['Désiré Vervoort', 'occupation', 'composer']
ASK WHERE { VALUES ( ?d ) { ( resource:historian ) ( resource:songwriter ) ( resource:composer ) } . resource:Désiré_Vervoort property:occupation ?d }
[]
common name
SYSTEM
NO
(Q5320265,P106,Q201788) (Q5320265,P106,Q753110) (Q5320265,P106,Q36834)
action is_in
entity prev_answer
action find
entity Q5320265
relation P106
[ANSWER]
['Q5320265', 'P106', 'Q201788'] ['Q5320265', 'P106', 'Q753110'] ['Q5320265', 'P106', 'Q36834']
ASK WHERE { VALUES ( ?d ) { ( resource:Q201788 ) ( resource:Q753110 ) ( resource:Q36834 ) } . resource:Q5320265 property:P106 ?d }
No
action is_in
entity prev_answer
action find
entity Désiré Vervoort
relation occupation
['Désiré Vervoort', 'occupation', 'historian'] ['Désiré Vervoort', 'occupation', 'songwriter'] ['Désiré Vervoort', 'occupation', 'composer']
ASK WHERE { VALUES ( ?d ) { ( resource:historian ) ( resource:songwriter ) ( resource:composer ) } . resource:Désiré_Vervoort property:occupation ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8060222
P272
Q43229
USER
Who produced Yuddham Sei ?
(Q8060222,P272,c(Q43229))
action filter_type
action find
entity Q8060222
relation P272
type Q43229
['Q8060222', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q8060222 property:P272 ?y . ?y rdf:type ontology:Q43229 }
Yuddham Sei
action filter_type
action find
entity Yuddham Sei
relation production company
type organization
['Yuddham Sei', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Yuddham_Sei property:production_company ?y . ?y rdf:type ontology:organization }
[]
organization
Q4651702
SYSTEM
AGS Entertainment
Q4651702
(Q8060222,P272,c(Q43229))
action filter_type
action find
entity Q8060222
relation P272
type Q43229
[ANSWER] produced Yuddham Sei
['Q8060222', 'P272', {'concept': 'Q43229'}]
SELECT DISTINCT ?y WHERE { resource:Q8060222 property:P272 ?y . ?y rdf:type ontology:Q43229 }
AGS Entertainment
AGS Entertainment produced Yuddham Sei
AGS Entertainment
action filter_type
action find
entity Yuddham Sei
relation production company
type organization
['Yuddham Sei', 'production company', {'concept': 'organization'}]
SELECT DISTINCT ?y WHERE { resource:Yuddham_Sei property:production_company ?y . ?y rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8060222
P57
Q502895
USER
Which person directed that work of art ?
(Q4651702,P57,c(Q502895))
action filter_type
action find
entity Q8060222
relation P57
type Q502895
['Q4651702', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q8060222 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Yuddham Sei
action filter_type
action find
entity Yuddham Sei
relation director
type common name
['AGS Entertainment', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Yuddham_Sei property:director ?m . ?m rdf:type ontology:common_name }
[]
common name
Q6948734
SYSTEM
Mysskin
Q6948734
(Q4651702,P57,c(Q502895))
action filter_type
action find
entity Q8060222
relation P57
type Q502895
[ANSWER] directed that work of art
['Q4651702', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q8060222 property:P57 ?m . ?m rdf:type ontology:Q502895 }
Mysskin
Mysskin directed that work of art
Mysskin
action filter_type
action find
entity Yuddham Sei
relation director
type common name
['AGS Entertainment', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Yuddham_Sei property:director ?m . ?m rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q6948734 Q19801630 Q33999
P106
Q12737077
USER
Does that person have a job as gendarme and actor ?
(Q6948734,P106,Q19801630) (Q6948734,P106,Q33999)
action is_in
entity Q6948734
action intersection
action find_reverse
entity Q19801630
relation P106
action find_reverse
entity Q33999
relation P106
['Q6948734', 'P106', 'Q19801630'] ['Q6948734', 'P106', 'Q33999']
ASK WHERE { resource:Q6948734 property:P106 resource:Q19801630 . resource:Q6948734 property:P106 resource:Q33999 }
Mysskin gendarme actor
action is_in
entity Mysskin
action intersection
action find_reverse
entity gendarme
relation occupation
action find_reverse
entity actor
relation occupation
['Mysskin', 'occupation', 'gendarme'] ['Mysskin', 'occupation', 'actor']
ASK WHERE { resource:Mysskin property:occupation resource:gendarme . resource:Mysskin property:occupation resource:actor }
[]
occupation
SYSTEM
NO and YES respectively
(Q6948734,P106,Q19801630) (Q6948734,P106,Q33999)
action is_in
entity Q6948734
action intersection
action find_reverse
entity Q19801630
relation P106
action find_reverse
entity Q33999
relation P106
[ANSWER]
['Q6948734', 'P106', 'Q19801630'] ['Q6948734', 'P106', 'Q33999']
ASK WHERE { resource:Q6948734 property:P106 resource:Q19801630 . resource:Q6948734 property:P106 resource:Q33999 }
NO and YES respectively
action is_in
entity Mysskin
action intersection
action find_reverse
entity gendarme
relation occupation
action find_reverse
entity actor
relation occupation
['Mysskin', 'occupation', 'gendarme'] ['Mysskin', 'occupation', 'actor']
ASK WHERE { resource:Mysskin property:occupation resource:gendarme . resource:Mysskin property:occupation resource:actor }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 2025 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2025
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?d = 2025 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2025
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?d = 2025 ) }
[]
musical instrument common name
SYSTEM
6
Q46185 Q80019 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2025
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?r rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?d = 2025 ) }
bass guitar double bass trumpet cello organ drum kit
6
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2025
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?r ) AS ?d ) WHERE { ?r property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?r rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?d = 2025 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8060222
P136
Q1792379
USER
What can be considered as category for Yuddham Sei ?
(Q8060222,P136,c(Q1792379))
action filter_type
action find
entity Q8060222
relation P136
type Q1792379
['Q8060222', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q8060222 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
Yuddham Sei
action filter_type
action find
entity Yuddham Sei
relation genre
type art genre
['Yuddham Sei', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Yuddham_Sei property:genre ?f . ?f rdf:type ontology:art_genre }
[]
art genre
Q959790
SYSTEM
crime film
Q959790
(Q8060222,P136,c(Q1792379))
action filter_type
action find
entity Q8060222
relation P136
type Q1792379
[ANSWER] can be considered as category for Yuddham Sei
['Q8060222', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?f WHERE { resource:Q8060222 property:P136 ?f . ?f rdf:type ontology:Q1792379 }
crime film
Crime film can be considered as category for Yuddham Sei
crime film
action filter_type
action find
entity Yuddham Sei
relation genre
type art genre
['Yuddham Sei', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?f WHERE { resource:Yuddham_Sei property:genre ?f . ?f rdf:type ontology:art_genre }
[]