Simple Question (Direct)
Simple Question
Q344529
P106
Q12737077
USER
What does Shintarō Hashimoto do for a living ?
(Q344529,P106,c(Q12737077))
action filter_type
action find
entity Q344529
relation P106
type Q12737077
['Q344529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q344529 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Shintarō Hashimoto
action filter_type
action find
entity Shintarō Hashimoto
relation occupation
type occupation
['Shintarō Hashimoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Shintarō_Hashimoto property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q344529,P106,c(Q12737077))
action filter_type
action find
entity Q344529
relation P106
type Q12737077
Shintarō Hashimoto does all [ANSWER] for a living
['Q344529', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q344529 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
military personnel
Shintarō Hashimoto does all military personnel for a living
military personnel
action filter_type
action find
entity Shintarō Hashimoto
relation occupation
type occupation
['Shintarō Hashimoto', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Shintarō_Hashimoto property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q344529
P734
Q82799
USER
Who has the surname that person ?
(Q47064,P734,c(Q82799))
action filter_type
action find
entity Q344529
relation P734
type Q82799
['Q47064', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q344529 property:P734 ?c }
Shintarō Hashimoto
action filter_type
action find
entity Shintarō Hashimoto
relation family name
type name
['military personnel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Shintarō_Hashimoto property:family_name ?c }
[]
name
Q16870551
SYSTEM
Hashimoto
Q16870551
(Q47064,P734,c(Q82799))
action filter_type
action find
entity Q344529
relation P734
type Q82799
[ANSWER] has the surname that person
['Q47064', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q82799 . resource:Q344529 property:P734 ?c }
Hashimoto
Hashimoto has the surname that person
Hashimoto
action filter_type
action find
entity Shintarō Hashimoto
relation family name
type name
['military personnel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:name . resource:Shintarō_Hashimoto property:family_name ?c }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q16870551 Q176086
P734
Q502895
USER
How many people have Hashimoto or Derik as their family name ?
(c(Q502895),P734,Q16870551) (c(Q502895),P734,Q176086)
action count
action union
action filter_type
action find_reverse
entity Q16870551
relation P734
type Q502895
action filter_type
action find_reverse
entity Q176086
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q16870551'] [{'concept': 'Q502895'}, 'P734', 'Q176086']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:P734 resource:Q16870551 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P734 resource:Q176086 . ?y rdf:type ontology:Q502895 } }
Hashimoto Derik
action count
action union
action filter_type
action find_reverse
entity Hashimoto
relation family name
type common name
action filter_type
action find_reverse
entity Derik
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Hashimoto'] [{'concept': 'common name'}, 'family name', 'Derik']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:family_name resource:Hashimoto . ?y rdf:type ontology:common_name } UNION { ?y property:family_name resource:Derik . ?y rdf:type ontology:common_name } }
[]
common name
SYSTEM
284
Q11544063 Q11544062 Q11544061 Q11544066 Q11544064 Q17361413 Q1036286 Q1151130 Q15197135 Q24006614 Q4244195 Q17217727 Q11544051 Q11543934 Q11543935 Q11543936 Q11543843 Q11543839 Q11543931 Q11543932 Q11543933 Q11543835 Q11543834 Q11543836 Q11543831 Q11543833 Q11543832 Q5209079 Q3246617 Q5354418 Q11543738 Q11543739 Q11543737 Q11543734 Q11543735 Q11603424 Q982631 Q510914 Q11543941 Q11543940 Q11543943 Q11543942 Q11543945 Q11543947 Q275818 Q11543949 Q17218739 Q11544080 Q11544085 Q11544086 Q17208839 Q11543813 Q11543812 Q11543811 Q11543810 Q3143055 Q11543816 Q17217570 Q11543814 Q11543819 Q16336055 Q17217578 Q11544013 Q11544010 Q11544016 Q11544017 Q535072 Q11544018 Q11544019 Q11543952 Q1588427 Q7497650 Q11543950 Q2405959 Q11284394 Q11284397 Q7400822 Q309374 Q11544014 Q17217618 Q11598521 Q17214173 Q11543967 Q11543965 Q11543964 Q11543888 Q11543889 Q11543961 Q11543960 Q11543884 Q11543885 Q11543887 Q11543881 Q11543882 Q11121905 Q5961604 Q17217721 Q506251 Q17217605 Q2750146 Q3128092 Q5517695 Q11544038 Q11544039 Q2093514 Q11544034 Q11544036 Q11544037 Q3107382 Q13422532 Q558831 Q11543905 Q11543904 Q11543907 Q17217522 Q11543900 Q11543903 Q11543902 Q11543862 Q11543906 Q11543861 Q11543867 Q11543864 Q11543865 Q11543868 Q11543838 Q248209 Q617050 Q18014513 Q17217552 Q3198342 Q11544058 Q11544059 Q11544056 Q11544057 Q4923630 Q257096 Q11543996 Q11543997 Q11543994 Q7400825 Q11543992 Q11543983 Q11543990 Q11543991 Q11543998 Q17217712 Q6531832 Q11543848 Q11543921 Q11543920 Q11543924 Q11543840 Q11543841 Q11543842 Q11543928 Q11543844 Q11543845 Q11543847 Q16333956 Q11543989 Q11544074 Q344529 Q11544076 Q11544077 Q11544072 Q11544073 Q17229399 Q11544079 Q912117 Q6576659 Q1284710 Q7463103 Q3297130 Q15731322 Q17217638 Q11121896 Q11543828 Q11543829 Q11543794 Q11543827 Q11543824 Q11543797 Q11543823 Q11543820 Q11543821 Q11544001 Q11544000 Q11544002 Q11544007 Q706296 Q6094098 Q11543789 Q11284389 Q11543969 Q17217688 Q705237 Q11543953 Q11543899 Q11543951 Q11543956 Q11543954 Q11543955 Q11543893 Q11543891 Q11543890 Q11543897 Q11543894 Q17687209 Q11543854 Q1369207 Q17229803 Q11543800 Q11544026 Q11544025 Q11544022 Q11544021 Q11544020 Q11544029 Q11544028 Q1931273 Q1039604 Q6277327 Q11543826 Q17229760 Q17229761 Q11543978 Q11543979 Q509229 Q11543970 Q11543973 Q11543976 Q11543977 Q11543871 Q11543870 Q11543873 Q11543995 Q11543875 Q11543874 Q11543877 Q11543876 Q11543879 Q11543878 Q3128088 Q9299904 Q17217543 Q274946 Q11544048 Q11544044 Q11544047 Q11544046 Q11544041 Q11544040 Q11543985 Q11543984 Q11543987 Q11543986 Q11543981 Q5986203 Q11543982 Q3284987 Q11543988 Q3245168 Q4260403 Q6964580 Q11543919 Q11543917 Q11543914 Q11543915 Q17217537 Q263703 Q11543855 Q748624 Q11543853 Q11543852 Q11543851 Q6444653 Q17229762 Q11543859 Q11543858 Q2657055 Q11543958 Q1060268 Q15147328
(c(Q502895),P734,Q16870551) (c(Q502895),P734,Q176086)
action count
action union
action filter_type
action find_reverse
entity Q16870551
relation P734
type Q502895
action filter_type
action find_reverse
entity Q176086
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q16870551'] [{'concept': 'Q502895'}, 'P734', 'Q176086']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:P734 resource:Q16870551 . ?y rdf:type ontology:Q502895 } UNION { ?y property:P734 resource:Q176086 . ?y rdf:type ontology:Q502895 } }
Tatsujirō Hashimoto Shōzō Hashimoto Teruo Hashimoto Kunihiko Hashimoto Tatsuo Hashimoto Masami Hashimoto Hashimoto Sanai Kingorō Hashimoto Hashimoto Yoshimi Senna Deriks Ai Hashimoto Yoshiaki Hashimoto Hidenori Hashimoto Aya Hashimoto Ayaka Hashimoto Tōru Hashimoto Gen'ichi Hashimoto Shinji Hashimoto Hiroki Hashimoto Yasunari Hashimoto Hirofumi Hashimoto Toshiaki Hashimoto Shunji Hashimoto Tamotsu Hashimoto Shunsaku Hashimoto Toshiya Hashimoto Yoshiyuki Hashimoto Daichi Hashimoto Suguru Hashimoto Ryōsuke Hashimoto Shūichi Hashimoto Chikashi Hashimoto Jun'ichirō Hashimoto Yuna Hashimoto Keiichirō Hashimoto Nozomi Hashimoto Masaru Hashimoto Yui Hashimoto Megumi Hashimoto Megu Hashimoto Ai Hashimoto Keiko Hashimoto Aiko Hashimoto Seiichirō Hashimoto Hayato Hashimoto Takuya Hashimoto Kazumichi Hashimoto Yorimitsu Hashimoto Mari Hashimoto Ryōgo Hashimoto Eiji Hashimoto Ichirō Hashimoto Sanji Hashimoto Ichimei Hashimoto Hajime Hashimoto Shinya Hashimoto Hisakazu Hashimoto Kōmi Hashimoto Fumio Hashimoto Kenzō Hashimoto Asao Hashimoto Jun Hashimoto Shōgo Hashimoto Naoki Hashimoto Masato Hashimoto Mayumi Hashimoto Takako Hashimoto Yūsuke Hashimoto Sekishū Hashimoto Keizō Hashimoto Masujiro Hashimoto Shinkichi Hashimoto Kento Hashimoto Terumi Hashimoto Tomisaburō Hashimoto Mai Hashimoto Hiroshi Hashimoto Ryūtarō Hashimoto Shin'ichi Hashimoto Tatsuya Hashimoto Satoru Hashimoto Keiko Hashimoto Meiji Hashimoto Akira Hashimoto Masako Hashimoto Motohiro Hashimoto Keigo Hashimoto Masaya Hashimoto Fumio Hashimoto Hiroki Hashimoto Yoshiyuki Hashimoto Keiichirō Hashimoto Satoshi Hashimoto Kei Hashimoto Hashimoto Tsuneko Kazuo Hashimoto Takashi Hashimoto Hirokatsu Hashimoto Takuto Hashimoto Shoji Hashimoto Hashimoto Gahō Gaku Hashimoto Yoshio Hashimoto Yoshihiko Hashimoto Wataru Hashimoto Yoshizumi Hashimoto Mika Hashimoto Gun Hashimoto Shinobu Hashimoto Ryo Hashimoto Hideo Hashimoto Takayuki Hashimoto Natsue Hashimoto Kozō Hashimoto Akiyuki Hashimoto Daisuke Hashimoto Tarō Hashimoto Nanami Hashimoto Masaru Hashimoto Takashi Hashimoto Tsutomu Hashimoto Hiroaki Hashimoto Katsuya Hashimoto Katsutaka Hashimoto Hiroyuki Hashimoto Shin'ichi Hashimoto Yuji Hashimoto Koji Hashimoto Sukeyuki Hashimoto Kuniharu Hashimoto Koji Hashimoto Seiji Hashimoto Yūzō Hashimoto Hiroyuki Hashimoto Hiroshi Hashimoto Kaede Hashimoto Atsuko Hashimoto Seikichi Hashimoto Kiyohito Hashimoto Kiyoshi Hashimoto Itsuo Hashimoto Ryōko Hashimoto Masaaki Hashimoto Suzuka Hashimoto Jun Hashimoto Wataru Hashimoto Kōichi Hashimoto Hashimoto Sōkichi Kiminobu Hashimoto Mineo Hashimoto Takanori Hashimoto Takumi Hashimoto Kenji Hashimoto Yūko Hashimoto Yukari Hashimoto Heihachi Hashimoto Yuki Hashimoto Mitsuo Hashimoto Katsuhiko Hashimoto Hiroshi Hashimoto Yasuo Hashimoto Takao Hashimoto Shintarō Hashimoto Yū Hashimoto Masayuki Hashimoto Tetsuhiko Hashimoto Kōtarō Hashimoto Naoki Hashimoto Yukino Hashimoto Hashimoto Mantaro Chikara Hashimoto Izō Hashimoto Osamu Hashimoto Masakazu Hashimoto Chinami Hashimoto Tomisaburō Hashimoto Tenka Hashimoto Nobuhiro Hashimoto Shin'ya Hashimoto Noriko Hashimoto Jin Hashimoto Ryōma Hashimoto Masao Hashimoto Ryōichi Hashimoto Gorō Hashimoto Gorō Hashimoto Ushio Hashimoto Shigeo Hashimoto Yukari Hashimoto Naoya Hashimoto Tōru Hashimoto Itaru Hashimoto Kimiko Hashimoto Kentarō Hashimoto Tomoya Hashimoto Masaharu Hashimoto Mochitsura Hashimoto Atsushi Hashimoto Daichi Hashimoto Masanobu Hashimoto Keiji Hashimoto Takakane Hashimoto Takashi Hashimoto Toshimasa Hashimoto Masukichi Hashimoto Kentarō Hashimoto Daijirō Hashimoto Ayaka Hashimoto Mitsuaki Hashimoto Chikara Hashimoto Reika Hashimoto Masami Hashimoto Wakana Hashimoto Noriko Hashimoto Ryōma Hashimoto Tadayuki Hashimoto Fukuo Hashimoto Shōji Hashimoto Sawa Hashimoto Jun Hashimoto Michio Hashimoto Miyuki Hashimoto Chūji Hashimoto Hitoshi Hashimoto Kōsuke Hashimoto Shōko Hashimoto Makinori Hashimoto Shōgo Hashimoto Naoko Hashimoto Nozomi Hashimoto Kurumi Hashimoto Gorō Hashimoto Masayuki Hashimoto Kazuhito Hashimoto Tomohiko Hashimoto Kazuyuki Hashimoto Seinosuke Hashimoto Kazue Hashimoto Kazuko Hashimoto Kazuki Hashimoto Kazushi Hashimoto Kazuyoshi Hashimoto Kazuyoshi Hashimoto Hashimoto Kansetsu Taito Hashimoto Katsuya Hashimoto Yasuko Hashimoto Eiya Hashimoto Kōsuke Hashimoto Fumi Hashimoto Ryōhei Hashimoto Shōen Hashimoto Yoshitaka Hashimoto Takehiko Hashimoto Takehiro Hashimoto Osamu Hashimoto Ayumi Hashimoto Masatake Hashimoto Ichiko Hashimoto Takeshi Hashimoto Mami Hashimoto Yasuyoshi Hashimoto Koichi Hashimoto Atsushi Hashimoto Naoko Hashimoto Naoki Hashimoto Tasuku Hashimoto Minoru Hashimoto Jurō Hashimoto Kazuya Hashimoto Seiko Hashimoto Sōichi Hashimoto Hakaru Hashimoto Tsuyoshi Hashimoto Gyōin Hashimoto Rie Hashimoto Kunihiko Hashimoto Takumi Hashimoto Ben Hashimoto Tsutomu Hashimoto Utaro Hashimoto Fumio Hashimoto Aina Hashimoto Kanna Hashimoto
284
action count
action union
action filter_type
action find_reverse
entity Hashimoto
relation family name
type common name
action filter_type
action find_reverse
entity Derik
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Hashimoto'] [{'concept': 'common name'}, 'family name', 'Derik']
SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { { ?y property:family_name resource:Hashimoto . ?y rdf:type ontology:common_name } UNION { ?y property:family_name resource:Derik . ?y rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10841186 Q344529
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Shintarō Hashimoto or do Đại Xuyên belong to ?
OR((Q344529,P27,c(Q15617994)), (Q10841186,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q344529
relation P27
action find
entity Q10841186
relation P17
type Q15617994
{'OR': [['Q344529', 'P27', {'concept': 'Q15617994'}], ['Q10841186', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q344529 property:P27 ?p } UNION { resource:Q10841186 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Đại Xuyên Shintarō Hashimoto
action filter_type
action union
action find
entity Shintarō Hashimoto
relation country of citizenship
action find
entity Đại Xuyên
relation country
type designation for an administrative territorial entity
{'OR': [['Shintarō Hashimoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Đại Xuyên', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Shintarō_Hashimoto property:country_of_citizenship ?p } UNION { resource:Đại_Xuyên property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q881
SYSTEM
Japan, Vietnam
Q17 Q881
OR((Q344529,P27,c(Q15617994)), (Q10841186,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q344529
relation P27
action find
entity Q10841186
relation P17
type Q15617994
[ANSWERS] are the native countriesof Shintarō Hashimoto or do Đại Xuyên belong to
{'OR': [['Q344529', 'P27', {'concept': 'Q15617994'}], ['Q10841186', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q344529 property:P27 ?p } UNION { resource:Q10841186 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Japan Vietnam
Japan and Vietnam are the native countriesof Shintarō Hashimoto or do Đại Xuyên belong to
Japan Vietnam
action filter_type
action union
action find
entity Shintarō Hashimoto
relation country of citizenship
action find
entity Đại Xuyên
relation country
type designation for an administrative territorial entity
{'OR': [['Shintarō Hashimoto', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Đại Xuyên', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Shintarō_Hashimoto property:country_of_citizenship ?p } UNION { resource:Đại_Xuyên property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q881
P495
Q838948
USER
Which works of art originated in that administrative territory ?
(c(Q838948),P495,Q881)
action filter_type
action find_reverse
entity Q881
relation P495
type Q838948
[{'concept': 'Q838948'}, 'P495', 'Q881']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P495 resource:Q881 }
Vietnam
action filter_type
action find_reverse
entity Vietnam
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Vietnam']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:country_of_origin resource:Vietnam }
[]
work of art
Clarification for simple ques.
Q17
SYSTEM
Did you mean Japan ?
Q17 Q881
(c(Q838948),P495,Q17) (c(Q838948),P495,Q881)
[ANSWER]
[{'concept': 'Q838948'}, 'P495', 'Q17'] [{'concept': 'Q838948'}, 'P495', 'Q881']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P495 resource:Q881 }
Japan Vietnam
Did you mean Japan ?
Japan
[{'concept': 'work of art'}, 'country of origin', 'Japan'] [{'concept': 'work of art'}, 'country of origin', 'Vietnam']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:country_of_origin resource:Vietnam }
[]
Simple Question (Coreferenced)
USER
No, I meant Vietnam. Could you tell me the answer for that?
(c(Q838948),P495,Q881)
Q881
[{'concept': 'Q838948'}, 'P495', 'Q881']
[{'concept': 'work of art'}, 'country of origin', 'Vietnam']
[]
Q7142858 Q7982426 Q7774579
SYSTEM
Passport to Love, The Rebel, The White Silk Dress
Q7762488 Q16480059 Q17005080 Q7758259 Q4499131 Q7774579 Q3828914 Q7737066 Q20882297 Q19507879 Q7765475 Q14442565 Q22771064 Q5521218 Q20895688 Q10731135 Q7142858 Q7720507 Q16823783 Q18748009 Q21065370 Q7114866 Q7400072 Q7898085 Q2352960 Q7990667 Q7982426 Q4845637 Q17854917 Q7428940 Q21427223 Q16975952 Q20800478 Q6694951 Q7400073 Q19893083 Q20025376 Q16828214 Q21646448 Q7712077 Q621354 Q20026185 Q7847994 Q4188390 Q5127807 Q23925067 Q22873052
(c(Q838948),P495,Q881)
action filter_type
action find_reverse
entity Q881
relation P495
type Q838948
[ANSWERS] originated in that administrative territory
[{'concept': 'Q838948'}, 'P495', 'Q881']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q838948 . ?r property:P495 resource:Q881 }
The Scent of Burning Grass Vengeful Heart How to Fight in Six Inch Heels The Prince and the Pagoda Boy Scandal The White Silk Dress The Eleventh Child The Golden Key Ho Chi Minh in Siam Xuoi nguoc duong tran The Sound of the Violin in My Lai The Building Tenderness Gangsta Girls The Dance Of Death Who Is the Champion? Passport to Love The Buffalo Boy 2030 The Long Gone Boy Jackpot Owl and the Sparrow Saigon Eclipse Up in the Tree Lost in Paradise Wharf of Windows The Rebel Blood Letter Hollow Say Hi to Pencil! Chau, Beyond the Lines In the Name of Love Flapping in The Middle of Nowhere Lu and Bun Saigon Electric Let Hoi Decide The Last Journey of Madam Phung Bride of Silence Gone, Gone Forever Gone The Abandoned Field: Free Fire Zone Battle of the Brides Yellow Flowers on the Green Grass Truong Ba's Soul in Butcher's Body Kiss of the Death Clash Truy Sat/ Tracer Sweet 20
Passport to Love, The Rebel and The White Silk Dress originated in that administrative territory
Passport to Love The Rebel The White Silk Dress
action filter_type
action find_reverse
entity Vietnam
relation country of origin
type work of art
[{'concept': 'work of art'}, 'country of origin', 'Vietnam']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:work_of_art . ?r property:country_of_origin resource:Vietnam }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7142858 Q7982426 Q7774579
P136
Q1792379
USER
What can be considered as category for Passport to Love, The Rebel and The White Silk Dress ?
(Q7142858,P136,c(Q1792379)) (Q7982426,P136,c(Q1792379)) (Q7774579,P136,c(Q1792379))
action union
action filter_type
action find
entity Q7142858
relation P136
type Q1792379
action filter_type
action find
entity Q7982426
relation P136
type Q1792379
action filter_type
action find
entity Q7774579
relation P136
type Q1792379
['Q7142858', 'P136', {'concept': 'Q1792379'}] ['Q7982426', 'P136', {'concept': 'Q1792379'}] ['Q7774579', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { { resource:Q7142858 property:P136 ?g . ?g rdf:type ontology:Q1792379 } UNION { resource:Q7982426 property:P136 ?g . ?g rdf:type ontology:Q1792379 } }
Passport to Love The Rebel The White Silk Dress
action union
action filter_type
action find
entity Passport to Love
relation genre
type art genre
action filter_type
action find
entity The Rebel
relation genre
type art genre
action filter_type
action find
entity The White Silk Dress
relation genre
type art genre
['Passport to Love', 'genre', {'concept': 'art genre'}] ['The Rebel', 'genre', {'concept': 'art genre'}] ['The White Silk Dress', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { { resource:Passport_to_Love property:genre ?g . ?g rdf:type ontology:art_genre } UNION { resource:The_Rebel property:genre ?g . ?g rdf:type ontology:art_genre } }
[]
art genre
Q860626 Q1033891 Q188473
SYSTEM
romantic comedy, martial arts film, action film
Q860626 Q1033891 Q188473 Q130232
(Q7142858,P136,c(Q1792379)) (Q7982426,P136,c(Q1792379)) (Q7774579,P136,c(Q1792379))
action union
action filter_type
action find
entity Q7142858
relation P136
type Q1792379
action filter_type
action find
entity Q7982426
relation P136
type Q1792379
action filter_type
action find
entity Q7774579
relation P136
type Q1792379
[ANSWERS] can be considered as category for Passport to Love, The Rebel and The White Silk Dress
['Q7142858', 'P136', {'concept': 'Q1792379'}] ['Q7982426', 'P136', {'concept': 'Q1792379'}] ['Q7774579', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?g WHERE { { resource:Q7142858 property:P136 ?g . ?g rdf:type ontology:Q1792379 } UNION { resource:Q7982426 property:P136 ?g . ?g rdf:type ontology:Q1792379 } }
romantic comedy martial arts film action film drama film
Romantic comedy, martial arts film and action film can be considered as category for Passport to Love, The Rebel and The White Silk Dress
romantic comedy martial arts film action film
action union
action filter_type
action find
entity Passport to Love
relation genre
type art genre
action filter_type
action find
entity The Rebel
relation genre
type art genre
action filter_type
action find
entity The White Silk Dress
relation genre
type art genre
['Passport to Love', 'genre', {'concept': 'art genre'}] ['The Rebel', 'genre', {'concept': 'art genre'}] ['The White Silk Dress', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?g WHERE { { resource:Passport_to_Love property:genre ?g . ?g rdf:type ontology:art_genre } UNION { resource:The_Rebel property:genre ?g . ?g rdf:type ontology:art_genre } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7142858
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q7142858,P57,c(Q502895))
action filter_type
action find
entity Q7142858
relation P57
type Q502895
['Q7142858', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7142858 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Passport to Love
action filter_type
action find
entity Passport to Love
relation director
type common name
['Passport to Love', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Passport_to_Love property:director ?p . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7142858
SYSTEM
Did you mean Passport to Love ?
Q860626 Q1033891 Q188473
(Q860626,P57,c(Q502895)) (Q1033891,P57,c(Q502895)) (Q188473,P57,c(Q502895))
[ANSWER]
['Q860626', 'P57', {'concept': 'Q502895'}] ['Q1033891', 'P57', {'concept': 'Q502895'}] ['Q188473', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7142858 property:P57 ?p . ?p rdf:type ontology:Q502895 }
romantic comedy martial arts film action film
Did you mean Passport to Love ?
Passport to Love
['romantic comedy', 'director', {'concept': 'common name'}] ['martial arts film', 'director', {'concept': 'common name'}] ['action film', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Passport_to_Love property:director ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7142858,P57,c(Q502895))
['Q7142858', 'P57', {'concept': 'Q502895'}]
['Passport to Love', 'director', {'concept': 'common name'}]
[]
Q7926434
SYSTEM
Victor Vu
Q7926434
(Q7142858,P57,c(Q502895))
action filter_type
action find
entity Q7142858
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q7142858', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q7142858 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Victor Vu
Victor Vu served as the directed of that work of art
Victor Vu
action filter_type
action find
entity Passport to Love
relation director
type common name
['Passport to Love', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Passport_to_Love property:director ?p . ?p rdf:type ontology:common_name }
[]