Simple Question (Direct)
Simple Question
Q6864812
P57
Q502895
USER
Who was Minguito Tinguitela, papá directed by ?
(Q6864812,P57,c(Q502895))
action filter_type
action find
entity Q6864812
relation P57
type Q502895
['Q6864812', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q6864812 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Minguito Tinguitela, papá
action filter_type
action find
entity Minguito Tinguitela, papá
relation director
type common name
['Minguito Tinguitela, papá', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Minguito_Tinguitela,_papá property:director ?z . ?z rdf:type ontology:common_name }
[]
common name
Q5379680
SYSTEM
Enrique Dawi
Q5379680
(Q6864812,P57,c(Q502895))
action filter_type
action find
entity Q6864812
relation P57
type Q502895
Minguito Tinguitela , papá was directed by [ANSWER] by
['Q6864812', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q6864812 property:P57 ?z . ?z rdf:type ontology:Q502895 }
Enrique Dawi
Minguito Tinguitela , papá was directed by Enrique Dawi by
Enrique Dawi
action filter_type
action find
entity Minguito Tinguitela, papá
relation director
type common name
['Minguito Tinguitela, papá', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Minguito_Tinguitela,_papá property:director ?z . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5379680
P162
Q838948
USER
Which work of art has been produced by that person ?
(c(Q838948),P162,Q5379680)
action filter_type
action find_reverse
entity Q5379680
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q5379680']
SELECT DISTINCT ?e WHERE { ?e property:P162 resource:Q5379680 . ?e rdf:type ontology:Q838948 }
Enrique Dawi
action filter_type
action find_reverse
entity Enrique Dawi
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Enrique Dawi']
SELECT DISTINCT ?e WHERE { ?e property:producer resource:Enrique_Dawi . ?e rdf:type ontology:work_of_art }
[]
work of art
Q3311909
SYSTEM
Adiós
Q3311909
(c(Q838948),P162,Q5379680)
action filter_type
action find_reverse
entity Q5379680
relation P162
type Q838948
[ANSWER] has been produced by that person
[{'concept': 'Q838948'}, 'P162', 'Q5379680']
SELECT DISTINCT ?e WHERE { ?e property:P162 resource:Q5379680 . ?e rdf:type ontology:Q838948 }
Adiós
Adiós has been produced by that person
Adiós
action filter_type
action find_reverse
entity Enrique Dawi
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Enrique Dawi']
SELECT DISTINCT ?e WHERE { ?e property:producer resource:Enrique_Dawi . ?e rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6354897 Q6864812
P161
Q502895
USER
Which people starred in Minguito Tinguitela, papá or Kalyana Photo ?
OR((Q6864812,P161,c(Q502895)), (Q6354897,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6864812
relation P161
action find
entity Q6354897
relation P161
type Q502895
{'OR': [['Q6864812', 'P161', {'concept': 'Q502895'}], ['Q6354897', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6864812 property:P161 ?v } UNION { resource:Q6354897 property:P161 ?v } } . ?v rdf:type ontology:Q502895 }
Kalyana Photo Minguito Tinguitela, papá
action filter_type
action union
action find
entity Minguito Tinguitela, papá
relation cast member
action find
entity Kalyana Photo
relation cast member
type common name
{'OR': [['Minguito Tinguitela, papá', 'cast member', {'concept': 'common name'}], ['Kalyana Photo', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Minguito_Tinguitela,_papá property:cast_member ?v } UNION { resource:Kalyana_Photo property:cast_member ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q17369817 Q6161186 Q6781955 Q6165680 Q6007303 Q6299167 Q6047255 Q16624444 Q277417 Q5955900
SYSTEM
Joaquín Piñón, Vicente La Russa, María Cristina Laurenz, Javier Portales, Max Berliner, Juan Carlos Altavista, Nya Quesada, Raúl Ricutti, Madhu, Julio de Grazia
Q17369817 Q6161186 Q6781955 Q6165680 Q6007303 Q6299167 Q6047255 Q16624444 Q277417 Q5955900
OR((Q6864812,P161,c(Q502895)), (Q6354897,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6864812
relation P161
action find
entity Q6354897
relation P161
type Q502895
[ANSWERS] starred in Minguito Tinguitela, papá or Kalyana Photo
{'OR': [['Q6864812', 'P161', {'concept': 'Q502895'}], ['Q6354897', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q6864812 property:P161 ?v } UNION { resource:Q6354897 property:P161 ?v } } . ?v rdf:type ontology:Q502895 }
Joaquín Piñón Vicente La Russa María Cristina Laurenz Javier Portales Max Berliner Juan Carlos Altavista Nya Quesada Raúl Ricutti Madhu Julio de Grazia
Joaquín Piñón, Vicente La Russa, María Cristina Laurenz, Javier Portales, Max Berliner, Juan Carlos Altavista, Nya Quesada, Raúl Ricutti, Madhu and Julio de Grazia starred in Minguito Tinguitela, papá or Kalyana Photo
Joaquín Piñón Vicente La Russa María Cristina Laurenz Javier Portales Max Berliner Juan Carlos Altavista Nya Quesada Raúl Ricutti Madhu Julio de Grazia
action filter_type
action union
action find
entity Minguito Tinguitela, papá
relation cast member
action find
entity Kalyana Photo
relation cast member
type common name
{'OR': [['Minguito Tinguitela, papá', 'cast member', {'concept': 'common name'}], ['Kalyana Photo', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Minguito_Tinguitela,_papá property:cast_member ?v } UNION { resource:Kalyana_Photo property:cast_member ?v } } . ?v rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6122272 Q6007303
P161
Q838948
USER
Which works of art stars Max Berliner or Jagdeep as actor ?
OR((c(Q838948),P161,Q6007303), (c(Q838948),P161,Q6122272))
action filter_type
action union
action find_reverse
entity Q6007303
relation P161
action find_reverse
entity Q6122272
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q6007303'], [{'concept': 'Q838948'}, 'P161', 'Q6122272']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P161 resource:Q6007303 } UNION { ?u property:P161 resource:Q6122272 } } . ?u rdf:type ontology:Q838948 }
Jagdeep Max Berliner
action filter_type
action union
action find_reverse
entity Max Berliner
relation cast member
action find_reverse
entity Jagdeep
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Max Berliner'], [{'concept': 'work of art'}, 'cast member', 'Jagdeep']]}
SELECT DISTINCT ?u WHERE { { { ?u property:cast_member resource:Max_Berliner } UNION { ?u property:cast_member resource:Jagdeep } } . ?u rdf:type ontology:work_of_art }
[]
work of art
Q5150542 Q11038827 Q10962107 Q10979175 Q23089 Q6864812 Q17102883 Q7969099 Q7395706 Q4843127
SYSTEM
Some of them are Comandos azules, Soorma Bhopali, Naukari, Himmat, Do Bigha Zamin, Minguito Tinguitela, papá, Plata dulce, Wardaat, Saas Bhi Kabhi Bahu Thi, Bai Chali Sasariye
Q7902170 Q5286140 Q5276606 Q7689614 Q7395706 Q7137543 Q5350955 Q5936523 Q7286792 Q7186441 Q7262825 Q7462495 Q7187334 Q11012472 Q7638488 Q3423463 Q6864812 Q5150542 Q1163010 Q5251026 Q6368318 Q7685384 Q3420831 Q6909523 Q11038827 Q17102883 Q5595457 Q7969099 Q4843127 Q10979175 Q10962107 Q301032 Q1651091 Q5936492 Q23089 Q5434761 Q7399597
OR((c(Q838948),P161,Q6007303), (c(Q838948),P161,Q6122272))
action filter_type
action union
action find_reverse
entity Q6007303
relation P161
action find_reverse
entity Q6122272
relation P161
type Q838948
[ANSWERS] star Max Berliner or Jagdeep as actor
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q6007303'], [{'concept': 'Q838948'}, 'P161', 'Q6122272']]}
SELECT DISTINCT ?u WHERE { { { ?u property:P161 resource:Q6007303 } UNION { ?u property:P161 resource:Q6122272 } } . ?u rdf:type ontology:Q838948 }
Ustadi Ustad Se Do Musafir Dil Daulat Duniya Taxi Chor Saas Bhi Kabhi Bahu Thi Parivaar El Casamiento de Laucha Hum Intezaar Karenge Rakta Bandhan Phir Wohi Raat Pyaar Ke Do Pal Shaitaan Phool Aur Kaante Raksha Bandhan Sun Sajna Ek Baar Kaho Minguito Tinguitela, papá Comandos azules Lajja Deewana Tere Naam Ka Karamdaata Tarana Only Human Morcha Soorma Bhopali Plata dulce Grandma Wardaat Bai Chali Sasariye Himmat Naukari Aar Paar Jeene Ki Raah Hum Dono Do Bigha Zamin Faraib Sahhas
Comandos azules, Soorma Bhopali, Naukari, Himmat, Do Bigha Zamin, Minguito Tinguitela, papá, Plata dulce, Wardaat, Saas Bhi Kabhi Bahu Thi and Bai Chali Sasariye star Max Berliner or Jagdeep as actor
Comandos azules Soorma Bhopali Naukari Himmat Do Bigha Zamin Minguito Tinguitela, papá Plata dulce Wardaat Saas Bhi Kabhi Bahu Thi Bai Chali Sasariye
action filter_type
action union
action find_reverse
entity Max Berliner
relation cast member
action find_reverse
entity Jagdeep
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Max Berliner'], [{'concept': 'work of art'}, 'cast member', 'Jagdeep']]}
SELECT DISTINCT ?u WHERE { { { ?u property:cast_member resource:Max_Berliner } UNION { ?u property:cast_member resource:Jagdeep } } . ?u rdf:type ontology:work_of_art }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10962107
P495
Q15617994
USER
Which administrative territory is the country of origin of that work of art ?
(Q10962107,P495,c(Q15617994))
action filter_type
action find
entity Q10962107
relation P495
type Q15617994
['Q10962107', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q10962107 property:P495 ?o }
Naukari
action filter_type
action find
entity Naukari
relation country of origin
type designation for an administrative territorial entity
['Naukari', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Naukari property:country_of_origin ?o }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q7395706
SYSTEM
Did you mean Saas Bhi Kabhi Bahu Thi ?
Q5150542 Q11038827 Q10962107 Q10979175 Q23089 Q6864812 Q17102883 Q7969099 Q7395706 Q4843127
(Q5150542,P495,c(Q15617994)) (Q11038827,P495,c(Q15617994)) (Q10962107,P495,c(Q15617994)) (Q10979175,P495,c(Q15617994)) (Q23089,P495,c(Q15617994)) (Q6864812,P495,c(Q15617994)) (Q17102883,P495,c(Q15617994)) (Q7969099,P495,c(Q15617994)) (Q7395706,P495,c(Q15617994)) (Q4843127,P495,c(Q15617994))
[ANSWER]
['Q5150542', 'P495', {'concept': 'Q15617994'}] ['Q11038827', 'P495', {'concept': 'Q15617994'}] ['Q10962107', 'P495', {'concept': 'Q15617994'}] ['Q10979175', 'P495', {'concept': 'Q15617994'}] ['Q23089', 'P495', {'concept': 'Q15617994'}] ['Q6864812', 'P495', {'concept': 'Q15617994'}] ['Q17102883', 'P495', {'concept': 'Q15617994'}] ['Q7969099', 'P495', {'concept': 'Q15617994'}] ['Q7395706', 'P495', {'concept': 'Q15617994'}] ['Q4843127', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q10962107 property:P495 ?o }
Comandos azules Soorma Bhopali Naukari Himmat Do Bigha Zamin Minguito Tinguitela, papá Plata dulce Wardaat Saas Bhi Kabhi Bahu Thi Bai Chali Sasariye
Did you mean Saas Bhi Kabhi Bahu Thi ?
Saas Bhi Kabhi Bahu Thi
['Comandos azules', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Soorma Bhopali', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Naukari', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Himmat', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Do Bigha Zamin', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Minguito Tinguitela, papá', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Plata dulce', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Wardaat', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Saas Bhi Kabhi Bahu Thi', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Bai Chali Sasariye', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Naukari property:country_of_origin ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Naukari. Could you tell me the answer for that?
(Q10962107,P495,c(Q15617994))
Q10962107
['Q10962107', 'P495', {'concept': 'Q15617994'}]
['Naukari', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q668
SYSTEM
India
Q668
(Q10962107,P495,c(Q15617994))
action filter_type
action find
entity Q10962107
relation P495
type Q15617994
[ANSWER] is the country of origin of that work of art
['Q10962107', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q15617994 . resource:Q10962107 property:P495 ?o }
India
India is the country of origin of that work of art
India
action filter_type
action find
entity Naukari
relation country of origin
type designation for an administrative territorial entity
['Naukari', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Naukari property:country_of_origin ?o }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q668 Q30 Q155
P530
Q15617994
USER
Does that administrative territory have tactful political relations with United States of America and Brazil ?
(Q668,P530,Q30) (Q668,P530,Q155)
action is_in
entity Q668
action intersection
action find_reverse
entity Q30
relation P530
action find_reverse
entity Q155
relation P530
['Q668', 'P530', 'Q30'] ['Q668', 'P530', 'Q155']
ASK WHERE { resource:Q668 property:P530 resource:Q30 . resource:Q668 property:P530 resource:Q155 }
India United States of America Brazil
action is_in
entity India
action intersection
action find_reverse
entity United States of America
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['India', 'diplomatic relation', 'United States of America'] ['India', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:India property:diplomatic_relation resource:United_States_of_America . resource:India property:diplomatic_relation resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q668,P530,Q30) (Q668,P530,Q155)
action is_in
entity Q668
action intersection
action find_reverse
entity Q30
relation P530
action find_reverse
entity Q155
relation P530
[ANSWER]
['Q668', 'P530', 'Q30'] ['Q668', 'P530', 'Q155']
ASK WHERE { resource:Q668 property:P530 resource:Q30 . resource:Q668 property:P530 resource:Q155 }
Yes
action is_in
entity India
action intersection
action find_reverse
entity United States of America
relation diplomatic relation
action find_reverse
entity Brazil
relation diplomatic relation
['India', 'diplomatic relation', 'United States of America'] ['India', 'diplomatic relation', 'Brazil']
ASK WHERE { resource:India property:diplomatic_relation resource:United_States_of_America . resource:India property:diplomatic_relation resource:Brazil }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q668
P361
Q3918
USER
Which university is a component of India ?
action filter_type
action find_reverse
entity Q668
relation P361
type Q3918
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q668 . ?v rdf:type ontology:Q3918 }
India
action filter_type
action find_reverse
entity India
relation part of
type university
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:India . ?v rdf:type ontology:university }
[]
university
Q6733405
SYSTEM
Maharishi Markandeshwar University, Mullana
Q6733405
action filter_type
action find_reverse
entity Q668
relation P361
type Q3918
[ANSWER] is a component of India
SELECT DISTINCT ?v WHERE { ?v property:P361 resource:Q668 . ?v rdf:type ontology:Q3918 }
Maharishi Markandeshwar University, Mullana
Maharishi Markandeshwar University, Mullana is a component of India
Maharishi Markandeshwar University, Mullana
action filter_type
action find_reverse
entity India
relation part of
type university
SELECT DISTINCT ?v WHERE { ?v property:part_of resource:India . ?v rdf:type ontology:university }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q6733405 Q668
P17
Q15617994
USER
Does that university belong to India ?
(Q6733405,P17,Q668)
action is_in
entity Q668
action find
entity Q6733405
relation P17
['Q6733405', 'P17', 'Q668']
ASK WHERE { resource:Q6733405 property:P17 resource:Q668 }
Maharishi Markandeshwar University, Mullana India
action is_in
entity India
action find
entity Maharishi Markandeshwar University, Mullana
relation country
['Maharishi Markandeshwar University, Mullana', 'country', 'India']
ASK WHERE { resource:Maharishi_Markandeshwar_University,_Mullana property:country resource:India }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q6733405,P17,Q668)
action is_in
entity Q668
action find
entity Q6733405
relation P17
[ANSWER]
['Q6733405', 'P17', 'Q668']
ASK WHERE { resource:Q6733405 property:P17 resource:Q668 }
Yes
action is_in
entity India
action find
entity Maharishi Markandeshwar University, Mullana
relation country
['Maharishi Markandeshwar University, Mullana', 'country', 'India']
ASK WHERE { resource:Maharishi_Markandeshwar_University,_Mullana property:country resource:India }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q838948 Q6619679 Q2031291
USER
Which works of art are around 1 fictional humanoids or releases a portion of ?
(c(Q6619679)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
value 1
[[{'concept': 'Q6619679'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?g WHERE { { ?g rdf:type ontology:Q838948 . ?l rdf:type ontology:Q6619679 . ?l property:P361 ?g } UNION { ?l property:P361 ?g . ?g rdf:type ontology:Q838948 . ?l rdf:type ontology:Q2031291 } } GROUP BY ?g } . FILTER ( ?u = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type release
value 1
[[{'concept': 'fictional humanoid'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?g WHERE { { ?g rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_humanoid . ?l property:part_of ?g } UNION { ?l property:part_of ?g . ?g rdf:type ontology:work_of_art . ?l rdf:type ontology:release } } GROUP BY ?g } . FILTER ( ?u = 1 ) }
[]
work of art fictional humanoid release
Q15624215 Q60072 Q2312028
SYSTEM
Lucy, The Sound of Music, Star Spangled Rhythm
Q2312028 Q15624215 Q372959 Q222867 Q1623056 Q174811 Q472359 Q60072 Q7572454 Q7338317 Q7203413 Q152185
(c(Q6619679)|c(Q2031291),P361,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q2031291
value 1
[ANSWERS] are around 1 fictional humanoids or releases a portion of
[[{'concept': 'Q6619679'}, {'concept': 'Q2031291'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?g WHERE { { ?g rdf:type ontology:Q838948 . ?l rdf:type ontology:Q6619679 . ?l property:P361 ?g } UNION { ?l property:P361 ?g . ?g rdf:type ontology:Q838948 . ?l rdf:type ontology:Q2031291 } } GROUP BY ?g } . FILTER ( ?u = 1 ) }
Star Spangled Rhythm Lucy The Towering Inferno 2 Fast 2 Furious The Fighting Temptations Up El Cantante The Sound of Music Space Pirate Captain Harlock Rivers and Tides Playing for Keeps The Legend of Lucy Keyes
Lucy, The Sound of Music and Star Spangled Rhythm are around 1 fictional humanoids or releases a portion of
Lucy The Sound of Music Star Spangled Rhythm
action approx
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type release
value 1
[[{'concept': 'fictional humanoid'}, {'concept': 'release'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?g WHERE { { ?g rdf:type ontology:work_of_art . ?l rdf:type ontology:fictional_humanoid . ?l property:part_of ?g } UNION { ?l property:part_of ?g . ?g rdf:type ontology:work_of_art . ?l rdf:type ontology:release } } GROUP BY ?g } . FILTER ( ?u = 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q11750728
P2079
Q2695280 Q838948
USER
How many technicss are used for the production of greater number of works of art than Punching ?
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q11750728
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?x } GROUP BY ?x } . FILTER ( ?y > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q11750728 property:P2079 ?o . ?o rdf:type ontology:Q2695280 } } }
Punching
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity Punching
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?x } GROUP BY ?x } . FILTER ( ?y > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Punching property:fabrication_method ?o . ?o rdf:type ontology:technics } } }
[]
technics work of art
SYSTEM
2
Q1334300 Q170593
(c(Q838948),P2079,c(Q2695280))
action count
action greater
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q11750728
relation P2079
type Q2695280
[ANSWER]
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x rdf:type ontology:Q2695280 . ?u rdf:type ontology:Q838948 . ?u property:P2079 ?x } GROUP BY ?x } . FILTER ( ?y > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Q11750728 property:P2079 ?o . ?o rdf:type ontology:Q2695280 } } }
gilding collage
2
action count
action greater
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity Punching
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?y ) WHERE { ?x rdf:type ontology:technics . ?u rdf:type ontology:work_of_art . ?u property:fabrication_method ?x } GROUP BY ?x } . FILTER ( ?y > ?w ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { resource:Punching property:fabrication_method ?o . ?o rdf:type ontology:technics } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15624215
P1441
Q15619164
USER
Which abstract beings are present in Lucy ?
(c(Q15619164),P1441,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15619164 . ?b property:P1441 resource:Q15624215 }
Lucy
action filter_type
action find_reverse
entity Lucy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:abstract_being . ?b property:present_in_work resource:Lucy }
[]
abstract being
Q17417423 Q17417427 Q17417431
SYSTEM
Regent Hotel Concierge #2, French Mule, Lucy’s Driver
Q17420051 Q17417436 Q17417438 Q17417428 Q17417440 Q17417427 Q17417442 Q17417443 Q17417431 Q17417430 Q17417433 Q17417432 Q17420617 Q17419858 Q17417423 Q17419952 Q17417425 Q17419658 Q17419649
(c(Q15619164),P1441,Q15624215)
action filter_type
action find_reverse
entity Q15624215
relation P1441
type Q15619164
[ANSWERS] are present in Lucy
[{'concept': 'Q15619164'}, 'P1441', 'Q15624215']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15619164 . ?b property:P1441 resource:Q15624215 }
Rubik's Cube Boy Chinese Doctor Drug Addict Cop Daniel Warehouse Man Driver French Mule Mahjong Room Man The Receptionist Lucy’s Driver Airport Nurse Italian Mule Jii Airport Doctor Cop Robert Regent Hotel Concierge #2 Cop Sergeant Cabin Manager Business Man Plane Taipei Surgeon
Regent Hotel Concierge #2, French Mule and Lucy’s Driver are present in Lucy
Regent Hotel Concierge #2 French Mule Lucy’s Driver
action filter_type
action find_reverse
entity Lucy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'Lucy']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:abstract_being . ?b property:present_in_work resource:Lucy }
[]