Simple Question (Direct)
Simple Question
Q2535706
P734
Q82799
USER
Who is associated with Hiroshi Ninomiya ?
(Q2535706,P734,c(Q82799))
action filter_type
action find
entity Q2535706
relation P734
type Q82799
['Q2535706', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q2535706 property:P734 ?x }
Hiroshi Ninomiya
action filter_type
action find
entity Hiroshi Ninomiya
relation family name
type name
['Hiroshi Ninomiya', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:Hiroshi_Ninomiya property:family_name ?x }
[]
name
Q21504674
SYSTEM
Ninomiya
Q21504674
(Q2535706,P734,c(Q82799))
action filter_type
action find
entity Q2535706
relation P734
type Q82799
Is [ANSWER] is associated with Hiroshi [ANSWER]
['Q2535706', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q82799 . resource:Q2535706 property:P734 ?x }
Ninomiya
Is Ninomiya is associated with Hiroshi Ninomiya
Ninomiya
action filter_type
action find
entity Hiroshi Ninomiya
relation family name
type name
['Hiroshi Ninomiya', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:name . resource:Hiroshi_Ninomiya property:family_name ?x }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P734
Q502895
USER
How many people have that name as last name ?
(c(Q502895),P734,Q21504674)
action count
action filter_type
action find_reverse
entity Q21504674
relation P734
type Q502895
[{'concept': 'Q502895'}, 'P734', 'Q21504674']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P734 resource:Q21504674 }
action count
action filter_type
action find_reverse
entity Ninomiya
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Ninomiya']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:common_name . ?n property:family_name resource:Ninomiya }
[]
common name
SYSTEM
46
Q562887 Q3875093 Q3655885 Q11371485 Q11371484 Q11371483 Q11371482 Q11371481 Q11371480 Q11371491 Q11371493 Q11371494 Q11371495 Q11371497 Q17212590 Q17212564 Q11371465 Q11371464 Q11371467 Q11371245 Q17212535 Q11371478 Q11371479 Q11371477 Q11371475 Q11371473 Q11371470 Q11371471 Q362277 Q17212579 Q17212574 Q3135493 Q47324 Q17212548 Q2535706 Q982147 Q11371513 Q11371512 Q11371506 Q441373 Q6303870 Q6531797 Q5361177 Q17229630 Q17229631 Q3299810
(c(Q502895),P734,Q21504674)
action count
action filter_type
action find_reverse
entity Q21504674
relation P734
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P734', 'Q21504674']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:Q502895 . ?n property:P734 resource:Q21504674 }
Jōkō Ninomiya Kazuhiro Ninomiya Chūhachi Ninomiya Tomoko Ninomiya Akari Ninomiya Bunzō Ninomiya Takashi Ninomiya Atsushi Ninomiya Masaaki Ninomiya Masayuki Ninomiya Masami Ninomiya Ayumi Ninomiya Sara Ninomiya Jun'ichi Ninomiya Norifumi Ninomiya Hiroko Ninomiya Aki Ninomiya Fusa Ninomiya Yū Ninomiya Yoshitaka Ninomiya Keita Ninomiya Yasuaki Ninomiya Tadashi Ninomiya Yasushi Ninomiya Hiroyuki Ninomiya Yoshimi Ninomiya Atsumi Ninomiya Shūhei Ninomiya Kazunari Ninomiya Yoshimoto Ninomiya Yōji Ninomiya Hikaru Ninomiya Hiroshi Ninomiya Nozomi Ninomiya Hiroshi Ninomiya Hirokazu Ninomiya Itaru Ninomiya Hideki Ninomiya Naoki Ninomiya Tomoko Ninomiya Judo at the 1997 East Asian Games Ninomiya Keisaku Yuka Ninomiya Atsuto Ninomiya Kōhei Ninomiya Kazuhiro Ninomiya
46
action count
action filter_type
action find_reverse
entity Ninomiya
relation family name
type common name
[{'concept': 'common name'}, 'family name', 'Ninomiya']
SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { ?n rdf:type ontology:common_name . ?n property:family_name resource:Ninomiya }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10356 Q2535706
P47 P27
Q15617994
USER
Which administrative territories are the native countriesof Hiroshi Ninomiya or are bordered by Villar Pellice ?
OR((Q2535706,P27,c(Q15617994)), (Q10356,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2535706
relation P27
action find
entity Q10356
relation P47
type Q15617994
{'OR': [['Q2535706', 'P27', {'concept': 'Q15617994'}], ['Q10356', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2535706 property:P27 ?w } UNION { resource:Q10356 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Villar Pellice Hiroshi Ninomiya
action filter_type
action union
action find
entity Hiroshi Ninomiya
relation country of citizenship
action find
entity Villar Pellice
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Hiroshi Ninomiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Villar Pellice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hiroshi_Ninomiya property:country_of_citizenship ?w } UNION { resource:Villar_Pellice property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q9052 Q9555 Q20006 Q17 Q10203 Q10242 Q10318 Q18351 Q9004
SYSTEM
Bobbio Pellice, Perrero, Crissolo, Japan, Prali, Rorà, Torre Pellice, Bagnolo Piemonte, Angrogna
Q9052 Q9555 Q20006 Q17 Q10203 Q10242 Q10318 Q18351 Q9004
OR((Q2535706,P27,c(Q15617994)), (Q10356,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q2535706
relation P27
action find
entity Q10356
relation P47
type Q15617994
[ANSWERS] are the native countriesof Hiroshi Ninomiya or are bordered by Villar Pellice
{'OR': [['Q2535706', 'P27', {'concept': 'Q15617994'}], ['Q10356', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q2535706 property:P27 ?w } UNION { resource:Q10356 property:P47 ?w } } . ?w rdf:type ontology:Q15617994 }
Bobbio Pellice Perrero Crissolo Japan Prali Rorà Torre Pellice Bagnolo Piemonte Angrogna
Bobbio Pellice, Perrero, Crissolo, Japan, Prali, Rorà, Torre Pellice, Bagnolo Piemonte and Angrogna are the native countriesof Hiroshi Ninomiya or are bordered by Villar Pellice
Bobbio Pellice Perrero Crissolo Japan Prali Rorà Torre Pellice Bagnolo Piemonte Angrogna
action filter_type
action union
action find
entity Hiroshi Ninomiya
relation country of citizenship
action find
entity Villar Pellice
relation shares border with
type designation for an administrative territorial entity
{'OR': [['Hiroshi Ninomiya', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Villar Pellice', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hiroshi_Ninomiya property:country_of_citizenship ?w } UNION { resource:Villar_Pellice property:shares_border_with ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q9052 Q9555 Q20006 Q17 Q10203 Q10242 Q10318 Q18351 Q9004
P47
Q15617994
USER
Which administrative territories do Bobbio Pellice, Perrero, Crissolo, Japan, Prali, Rorà, Torre Pellice, Bagnolo Piemonte and Angrogna share a border with ?
(c(Q15617994),P47,Q9052) (c(Q15617994),P47,Q9555) (c(Q15617994),P47,Q20006) (c(Q15617994),P47,Q17) (c(Q15617994),P47,Q10203) (c(Q15617994),P47,Q10242) (c(Q15617994),P47,Q10318) (c(Q15617994),P47,Q18351) (c(Q15617994),P47,Q9004)
action union
action filter_type
action find_reverse
entity Q9052
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q9555
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q20006
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10203
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10242
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10318
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q18351
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q9004
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q9052'] [{'concept': 'Q15617994'}, 'P47', 'Q9555'] [{'concept': 'Q15617994'}, 'P47', 'Q20006'] [{'concept': 'Q15617994'}, 'P47', 'Q17'] [{'concept': 'Q15617994'}, 'P47', 'Q10203'] [{'concept': 'Q15617994'}, 'P47', 'Q10242'] [{'concept': 'Q15617994'}, 'P47', 'Q10318'] [{'concept': 'Q15617994'}, 'P47', 'Q18351'] [{'concept': 'Q15617994'}, 'P47', 'Q9004']
SELECT DISTINCT ?p WHERE { { ?p property:P47 resource:Q9052 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P47 resource:Q9555 . ?p rdf:type ontology:Q15617994 } }
Bobbio Pellice Perrero Crissolo Japan Prali Rorà Torre Pellice Bagnolo Piemonte Angrogna
action union
action filter_type
action find_reverse
entity Bobbio Pellice
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Perrero
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Crissolo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Prali
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rorà
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Torre Pellice
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bagnolo Piemonte
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Angrogna
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bobbio Pellice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Perrero'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Crissolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Prali'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rorà'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Torre Pellice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bagnolo Piemonte'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Angrogna']
SELECT DISTINCT ?p WHERE { { ?p property:shares_border_with resource:Bobbio_Pellice . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:shares_border_with resource:Perrero . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q10356 Q10203 Q20006 Q10205 Q9551 Q10245 Q10254 Q10356 Q10203 Q10197 Q9004 Q9452 Q9052 Q10356 Q20281 Q18209 Q20276 Q18351 Q884 Q30 Q423 Q148 Q159 Q10201 Q9555 Q10254 Q10297 Q9052 Q10356 Q9004 Q9442 Q10318 Q10356 Q18351 Q10242 Q9442 Q10356 Q9004 Q10242 Q9442 Q9239 Q10356 Q20281 Q20006 Q9050 Q18354 Q10207 Q10205 Q9555 Q10264 Q9442 Q10318 Q10356 Q10203 Q9080
(c(Q15617994),P47,Q9052) (c(Q15617994),P47,Q9555) (c(Q15617994),P47,Q20006) (c(Q15617994),P47,Q17) (c(Q15617994),P47,Q10203) (c(Q15617994),P47,Q10242) (c(Q15617994),P47,Q10318) (c(Q15617994),P47,Q18351) (c(Q15617994),P47,Q9004)
action union
action filter_type
action find_reverse
entity Q9052
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q9555
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q20006
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q17
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10203
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10242
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q10318
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q18351
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q9004
relation P47
type Q15617994
[ANSWERS] Bobbio Pellice, Perrero, Crissolo, Japan, Prali, Rorà, Torre Pellice, Bagnolo Piemonte and Angrogna share a border with
[{'concept': 'Q15617994'}, 'P47', 'Q9052'] [{'concept': 'Q15617994'}, 'P47', 'Q9555'] [{'concept': 'Q15617994'}, 'P47', 'Q20006'] [{'concept': 'Q15617994'}, 'P47', 'Q17'] [{'concept': 'Q15617994'}, 'P47', 'Q10203'] [{'concept': 'Q15617994'}, 'P47', 'Q10242'] [{'concept': 'Q15617994'}, 'P47', 'Q10318'] [{'concept': 'Q15617994'}, 'P47', 'Q18351'] [{'concept': 'Q15617994'}, 'P47', 'Q9004']
SELECT DISTINCT ?p WHERE { { ?p property:P47 resource:Q9052 . ?p rdf:type ontology:Q15617994 } UNION { ?p property:P47 resource:Q9555 . ?p rdf:type ontology:Q15617994 } }
Villar Pellice Prali Crissolo Pramollo Perosa Argentina Roure Salza di Pinerolo Villar Pellice Prali Pomaretto Angrogna Massello Bobbio Pellice Villar Pellice Ostana Pontechianale Oncino Bagnolo Piemonte South Korea United States of America North Korea People's Republic of China Russia Pragelato Perrero Salza di Pinerolo Sauze di Cesana Bobbio Pellice Villar Pellice Angrogna Luserna San Giovanni Torre Pellice Villar Pellice Bagnolo Piemonte Rorà Luserna San Giovanni Villar Pellice Angrogna Rorà Luserna San Giovanni Cavour Villar Pellice Ostana Crissolo Bibiana Barge Prarostino Pramollo Perrero San Germano Chisone Luserna San Giovanni Torre Pellice Villar Pellice Prali Bricherasio
United States of America, Russia and People's Republic of China Bobbio Pellice, Perrero, Crissolo, Japan, Prali, Rorà, Torre Pellice, Bagnolo Piemonte and Angrogna share a border with
United States of America Russia People's Republic of China
action union
action filter_type
action find_reverse
entity Bobbio Pellice
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Perrero
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Crissolo
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Japan
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Prali
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Rorà
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Torre Pellice
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Bagnolo Piemonte
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Angrogna
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bobbio Pellice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Perrero'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Crissolo'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Prali'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Rorà'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Torre Pellice'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Bagnolo Piemonte'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Angrogna']
SELECT DISTINCT ?p WHERE { { ?p property:shares_border_with resource:Bobbio_Pellice . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?p property:shares_border_with resource:Perrero . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q159 Q148
P163
Q14660
USER
Which flags are associated with United States of America, Russia and People's Republic of China ?
(Q30,P163,c(Q14660)) (Q159,P163,c(Q14660)) (Q148,P163,c(Q14660))
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q159
relation P163
type Q14660
action filter_type
action find
entity Q148
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}] ['Q159', 'P163', {'concept': 'Q14660'}] ['Q148', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?k ) { ( resource:Q30 ) ( resource:Q159 ) } . ?k property:P163 ?b }
United States of America Russia People's Republic of China
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Russia
relation flag
type flag
action filter_type
action find
entity People's Republic of China
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['Russia', 'flag', {'concept': 'flag'}] ["People's Republic of China", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?k ) { ( resource:United_States_of_America ) ( resource:Russia ) } . ?k property:flag ?b }
[]
flag
Q42537 Q16611 Q131147
SYSTEM
flag of the United States of America, flag of Russia, Flag of the People's Republic of China
Q42537 Q16611 Q131147
(Q30,P163,c(Q14660)) (Q159,P163,c(Q14660)) (Q148,P163,c(Q14660))
action union
action filter_type
action find
entity Q30
relation P163
type Q14660
action filter_type
action find
entity Q159
relation P163
type Q14660
action filter_type
action find
entity Q148
relation P163
type Q14660
The [ANSWERS] are associated with United States of America, Russia and People's Republic of China
['Q30', 'P163', {'concept': 'Q14660'}] ['Q159', 'P163', {'concept': 'Q14660'}] ['Q148', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?k ) { ( resource:Q30 ) ( resource:Q159 ) } . ?k property:P163 ?b }
flag of the United States of America flag of Russia Flag of the People's Republic of China
The flag of the United States of America, flag of Russia and Flag of the People's Republic of China are associated with United States of America, Russia and People's Republic of China
flag of the United States of America flag of Russia Flag of the People's Republic of China
action union
action filter_type
action find
entity United States of America
relation flag
type flag
action filter_type
action find
entity Russia
relation flag
type flag
action filter_type
action find
entity People's Republic of China
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}] ['Russia', 'flag', {'concept': 'flag'}] ["People's Republic of China", 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?k ) { ( resource:United_States_of_America ) ( resource:Russia ) } . ?k property:flag ?b }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q42537 Q16611 Q131147
P1001
Q15617994
USER
Which administrative territories are judicially linked to flag of the United States of America, flag of Russia and Flag of the People's Republic of China ?
(Q42537,P1001,c(Q15617994)) (Q16611,P1001,c(Q15617994)) (Q131147,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q42537
relation P1001
type Q15617994
action filter_type
action find
entity Q16611
relation P1001
type Q15617994
action filter_type
action find
entity Q131147
relation P1001
type Q15617994
['Q42537', 'P1001', {'concept': 'Q15617994'}] ['Q16611', 'P1001', {'concept': 'Q15617994'}] ['Q131147', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?c ) { ( resource:Q42537 ) ( resource:Q16611 ) } . ?c property:P1001 ?w }
flag of the United States of America flag of Russia Flag of the People's Republic of China
action union
action filter_type
action find
entity flag of the United States of America
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity flag of Russia
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of the People's Republic of China
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Russia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ["Flag of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?c ) { ( resource:flag_of_the_United_States_of_America ) ( resource:flag_of_Russia ) } . ?c property:applies_to_jurisdiction ?w }
[]
designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q30 Q159 Q148
(Q42537,P1001,c(Q15617994)) (Q16611,P1001,c(Q15617994)) (Q131147,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q42537
relation P1001
type Q15617994
action filter_type
action find
entity Q16611
relation P1001
type Q15617994
action filter_type
action find
entity Q131147
relation P1001
type Q15617994
[ANSWERS] are judicially linked to flag of the United States of America, flag of Russia and Flag of the People's Republic of China
['Q42537', 'P1001', {'concept': 'Q15617994'}] ['Q16611', 'P1001', {'concept': 'Q15617994'}] ['Q131147', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?c ) { ( resource:Q42537 ) ( resource:Q16611 ) } . ?c property:P1001 ?w }
United States of America Russia People's Republic of China
United States of America, Russia and People's Republic of China are judicially linked to flag of the United States of America, flag of Russia and Flag of the People's Republic of China
United States of America Russia People's Republic of China
action union
action filter_type
action find
entity flag of the United States of America
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity flag of Russia
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Flag of the People's Republic of China
relation applies to jurisdiction
type designation for an administrative territorial entity
['flag of the United States of America', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['flag of Russia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ["Flag of the People's Republic of China", 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { VALUES ( ?c ) { ( resource:flag_of_the_United_States_of_America ) ( resource:flag_of_Russia ) } . ?c property:applies_to_jurisdiction ?w }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q159 Q148
P840
Q15416
USER
Which television programs have their setting located at United States of America, Russia and People's Republic of China ?
(c(Q15416),P840,Q30) (c(Q15416),P840,Q159) (c(Q15416),P840,Q148)
action union
action filter_type
action find_reverse
entity Q30
relation P840
type Q15416
action filter_type
action find_reverse
entity Q159
relation P840
type Q15416
action filter_type
action find_reverse
entity Q148
relation P840
type Q15416
[{'concept': 'Q15416'}, 'P840', 'Q30'] [{'concept': 'Q15416'}, 'P840', 'Q159'] [{'concept': 'Q15416'}, 'P840', 'Q148']
SELECT DISTINCT ?z WHERE { { ?z property:P840 resource:Q30 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P840 resource:Q159 . ?z rdf:type ontology:Q15416 } }
United States of America Russia People's Republic of China
action union
action filter_type
action find_reverse
entity United States of America
relation narrative location
type television program
action filter_type
action find_reverse
entity Russia
relation narrative location
type television program
action filter_type
action find_reverse
entity People's Republic of China
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United States of America'] [{'concept': 'television program'}, 'narrative location', 'Russia'] [{'concept': 'television program'}, 'narrative location', "People's Republic of China"]
SELECT DISTINCT ?z WHERE { { ?z property:narrative_location resource:United_States_of_America . ?z rdf:type ontology:television_program } UNION { ?z property:narrative_location resource:Russia . ?z rdf:type ontology:television_program } }
[]
television program
Q974961 Q15576983 Q1753093
SYSTEM
Les Uns et les Autres, The Sniffer, Ben 10: Race Against Time
Q1753093 Q1767491 Q5915000 Q509805 Q974961 Q7246112 Q7805092 Q6939624 Q18153618 Q5902601 Q7753207 Q15576983 Q2737257
(c(Q15416),P840,Q30) (c(Q15416),P840,Q159) (c(Q15416),P840,Q148)
action union
action filter_type
action find_reverse
entity Q30
relation P840
type Q15416
action filter_type
action find_reverse
entity Q159
relation P840
type Q15416
action filter_type
action find_reverse
entity Q148
relation P840
type Q15416
[ANSWERS] have their setting located at United States of America, Russia and People's Republic of China
[{'concept': 'Q15416'}, 'P840', 'Q30'] [{'concept': 'Q15416'}, 'P840', 'Q159'] [{'concept': 'Q15416'}, 'P840', 'Q148']
SELECT DISTINCT ?z WHERE { { ?z property:P840 resource:Q30 . ?z rdf:type ontology:Q15416 } UNION { ?z property:P840 resource:Q159 . ?z rdf:type ontology:Q15416 } }
Ben 10: Race Against Time Ben 10: Alien Swarm House of Harmony Sanctimony Les Uns et les Autres Private Lies Time Share Murrow The Roosevelts Horatio's Drive: America's First Road Trip The National Parks: America's Best Idea The Sniffer Sagwa, the Chinese Siamese Cat
Les Uns et les Autres, The Sniffer and Ben 10: Race Against Time have their setting located at United States of America, Russia and People's Republic of China
Les Uns et les Autres The Sniffer Ben 10: Race Against Time
action union
action filter_type
action find_reverse
entity United States of America
relation narrative location
type television program
action filter_type
action find_reverse
entity Russia
relation narrative location
type television program
action filter_type
action find_reverse
entity People's Republic of China
relation narrative location
type television program
[{'concept': 'television program'}, 'narrative location', 'United States of America'] [{'concept': 'television program'}, 'narrative location', 'Russia'] [{'concept': 'television program'}, 'narrative location', "People's Republic of China"]
SELECT DISTINCT ?z WHERE { { ?z property:narrative_location resource:United_States_of_America . ?z rdf:type ontology:television_program } UNION { ?z property:narrative_location resource:Russia . ?z rdf:type ontology:television_program } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15576983
P161
Q502895
USER
Which people are in that television program ?
(Q15576983,P161,c(Q502895))
action filter_type
action find
entity Q15576983
relation P161
type Q502895
['Q15576983', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q15576983 property:P161 ?w }
The Sniffer
action filter_type
action find
entity The Sniffer
relation cast member
type common name
['The Sniffer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Sniffer property:cast_member ?w }
[]
common name
Clarification for simple ques.
Q15576983
SYSTEM
Did you mean The Sniffer ?
Q974961 Q15576983 Q1753093
(Q974961,P161,c(Q502895)) (Q15576983,P161,c(Q502895)) (Q1753093,P161,c(Q502895))
[ANSWER]
['Q974961', 'P161', {'concept': 'Q502895'}] ['Q15576983', 'P161', {'concept': 'Q502895'}] ['Q1753093', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q15576983 property:P161 ?w }
Les Uns et les Autres The Sniffer Ben 10: Race Against Time
Did you mean The Sniffer ?
The Sniffer
['Les Uns et les Autres', 'cast member', {'concept': 'common name'}] ['The Sniffer', 'cast member', {'concept': 'common name'}] ['Ben 10: Race Against Time', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Sniffer property:cast_member ?w }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15576983,P161,c(Q502895))
['Q15576983', 'P161', {'concept': 'Q502895'}]
['The Sniffer', 'cast member', {'concept': 'common name'}]
[]
Q4516077 Q4251347 Q4275668
SYSTEM
Nikolay Chindyaykin, Kirill Käro, Anastasija Makiejewa
Q4516077 Q4251347 Q4467720 Q4275668 Q4066225 Q4211682 Q4140956 Q4330968 Q4535565 Q4095136 Q21106407
(Q15576983,P161,c(Q502895))
action filter_type
action find
entity Q15576983
relation P161
type Q502895
[ANSWERS] are in that television program
['Q15576983', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q15576983 property:P161 ?w }
Nikolay Chindyaykin Kirill Käro Aleksandr Tyutin Anastasija Makiejewa Mariya Anikanova Boris Kamorzin Nina Gogayeva Ivan Oganesyan Sergey Yushkevich Igor Botvin Agne Grudite
Nikolay Chindyaykin, Kirill Käro and Anastasija Makiejewa are in that television program
Nikolay Chindyaykin Kirill Käro Anastasija Makiejewa
action filter_type
action find
entity The Sniffer
relation cast member
type common name
['The Sniffer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:The_Sniffer property:cast_member ?w }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q15416 Q2342494 Q166142
USER
Which television programs are atmost 4 collectables and applications based on ?
(c(Q2342494)|c(Q166142),P144,c(Q15416))
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
value 4
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:Q15416 . ?g rdf:type ontology:Q166142 . ?g property:P144 ?v } UNION { ?g property:P144 ?v . ?v rdf:type ontology:Q15416 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?v } . FILTER ( ?w <= 4 ) }
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type collectable
action find_reverse_tuple_counts
relation based on
type television program
type application
value 4
[[{'concept': 'collectable'}, {'concept': 'application'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:television_program . ?g rdf:type ontology:application . ?g property:based_on ?v } UNION { ?g property:based_on ?v . ?v rdf:type ontology:television_program . ?g rdf:type ontology:collectable } } GROUP BY ?v } . FILTER ( ?w <= 4 ) }
[]
television program collectable application
Q23572 Q7103920 Q83071
SYSTEM
Game of Thrones, Orphan Black, Downton Abbey
Q201358 Q4347124 Q1193168 Q1887148 Q16070164 Q1372163 Q2613769 Q3281746 Q5785110 Q2085782 Q3234798 Q732383 Q1247770 Q4427572 Q715723 Q1166225 Q322015 Q26693418 Q11274015 Q2318552 Q1275157 Q11160398 Q6682512 Q120300 Q3567653 Q464123 Q13923 Q890908 Q697135 Q1072839 Q387943 Q4384432 Q1031065 Q23605 Q139849 Q17091414 Q1368978 Q611100 Q1248747 Q1077 Q1190630 Q811225 Q1192644 Q11622 Q23831 Q212156 Q83071 Q4300886 Q2700478 Q5554642 Q755975 Q23572 Q17104814 Q812805 Q1249333 Q698301 Q1171033 Q7039588 Q130615 Q655271 Q24156458 Q1054760 Q978011 Q2690883 Q451399 Q518589 Q18571935 Q2533572 Q369111 Q2298323 Q732063 Q166845 Q2095183 Q4351904 Q155629 Q7512111 Q506074 Q10292622 Q921889 Q214107 Q1264983 Q92096 Q1247907 Q189411 Q702061 Q1247268 Q6422347 Q484020 Q45717 Q974857 Q6011000 Q3962025 Q649097 Q776608 Q1849170 Q1152081 Q207746 Q1571849 Q4543361 Q1286698 Q4846058 Q23829 Q18608849 Q3853767 Q3527986 Q638590 Q77522 Q13419757 Q3052933 Q1141930 Q1278637 Q2022612 Q280154 Q11275379 Q2553745 Q3234199 Q922713 Q1193499 Q217246 Q7336117 Q461100 Q1982608 Q617274 Q1193889 Q6857960 Q7737672 Q2072832 Q465616 Q1247201 Q1625113 Q390120 Q679623 Q902253 Q2077112 Q586491 Q4982200 Q488652 Q2265954 Q1044635 Q1138953 Q1229047 Q2085 Q3273305 Q245996 Q773202 Q6407502 Q31426 Q33162 Q183513 Q1156862 Q635933 Q1156866 Q214016 Q272015 Q1211796 Q1894972 Q162371 Q774834 Q2313956 Q174390 Q3555437 Q2518713 Q152178 Q2634204 Q7711682 Q634199 Q3794953 Q6900695 Q933189 Q264198 Q990842 Q1623411 Q1400775 Q559321 Q375062 Q779048 Q714753 Q1312683 Q244511 Q108774 Q617251 Q451943 Q13979 Q203707 Q5990513 Q2293964 Q1203502 Q3784600 Q18469946 Q3818118 Q7103920 Q591029 Q2744 Q4529 Q1193356 Q23623 Q208647 Q4183763 Q1190971 Q344081 Q34316 Q304290 Q2367132 Q182056 Q1768525 Q956446 Q156155 Q168708 Q3234630 Q1247495 Q1573292 Q1080682 Q1156849 Q16756 Q202577 Q7497756 Q7340827 Q126631 Q1145002 Q824379 Q366375 Q700127 Q192015 Q1247567 Q192259 Q828520 Q20655866 Q611745 Q56194 Q7721796 Q742103 Q8963139 Q1156853 Q2985293 Q599309 Q482482 Q217250 Q1215573 Q53110 Q189350 Q5291435 Q1193512 Q16290 Q1991960 Q250767 Q232737 Q752365 Q137034 Q5161696 Q1055984 Q1041541 Q701189 Q536137 Q3311904
(c(Q2342494)|c(Q166142),P144,c(Q15416))
action atmost
action union
action find_reverse_tuple_counts
relation P144
type Q15416
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q15416
type Q166142
value 4
[ANSWERS] are atmost 4 collectables and applications based on
[[{'concept': 'Q2342494'}, {'concept': 'Q166142'}], 'P144', {'concept': 'Q15416'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:Q15416 . ?g rdf:type ontology:Q166142 . ?g property:P144 ?v } UNION { ?g property:P144 ?v . ?v rdf:type ontology:Q15416 . ?g rdf:type ontology:Q2342494 } } GROUP BY ?v } . FILTER ( ?w <= 4 ) }
The Flintstones Porridge The Equalizer Unsolved Mysteries Cordon Kamen Rider Wizard The Famous Jett Jackson Ti lascio una canzone Contra Las Cuerdas Prisoners of War The Life and Loves of a She-Devil Yes Minister Peter Gunn Soldier Urusei Yatsura Dark Shadows Fifteen to One The Way to Dusty Death Dancing on Ice The Rocky and Bullwinkle Show Matador Z for Zachariah Los Beverly de Peralvillo Crayon Shin-chan Wheel of Fortune The A-Team The Grim Adventures of Billy & Mandy The Jerry Springer Show Bayside Shakedown Doc Martin Tiny Toon Adventures Traffik Underdog Shameless The Suite Life on Deck Nearest and Dearest Liar Game Da Ali G Show Steptoe and Son Star Trek: The Original Series Chōriki Sentai Ohranger Farmer Wants a Wife Kaizoku Sentai Gokaiger Firefly The Office Angel Downton Abbey I Am a Singer Caméra Café Getting On Survivor Game of Thrones series 12 of Strictly Come Dancing BeTipul The Quatermass Experiment Voltron The Burning Bed Sabri Maranan H₂O: Just Add Water Top Cat Maniac Super Sentai The Inbetweeners Real Humans Edge of Darkness Happy Days The Big O Go Ask Alice Mission: Impossible Top Chef Cheers Maverick Fingersmith Big Brother Australia Sesame Street Sightings Family Feud Guerra dos Sexos Johnny Tsunami DuckTales The Man from U.N.C.L.E. Fort Boyard My Favorite Martian CSI: Miami Little Lord Fauntleroy Get Smart Knightmare Mr. Bean You're Beautiful Police Squad! In Time with You Sirens Física o Química George and Mildred Reno 911! Tensou Sentai Goseiger Ben 10 Halloweentown The Magicians QI Aquí no hay quien viva The Office Angry Birds Stella The Returned Ti Ti Ti Those Who Kill Winx Club Secret Story Antiques Roadshow Juken Sentai Gekiranger The Wild Wild West Juukou B-Fighter All That Hagure Keiji: Junjōha Fat Albert and the Cosby Kids Hi-5 Whose Line Is It Anyway? Kamen Rider Black RX The Suite Life of Zack & Cody Rising Damp The Restless Years Kamen Rider Charlie's Angels Samurai Sentai Shinkenger Miljoenenjacht The Great British Bake Off Climax! Jackass Batman Rendezvous with Death Torchwood Hyakujuu Sentai Gaoranger Long Way Down SWAT Kats: The Radical Squadron Denji Sentai Megaranger Bubble Gang 49 Days Man About the House Bewitched Kyōryū Sentai Zyuranger Teacher's Pet Twin Peaks B-Fighter Kabuto Three's Company Yo soy Betty, la fea Killer Karaoke America's Next Top Model Top Gear Buffy the Vampire Slayer Tokusou Sentai Dekaranger The Batman Seijuu Sentai Gingaman 21 Jump Street Ranma ½ The Bridge Mystery Science Theater 3000 Charmed Toen Was Geluk Heel Gewoon Twelve Angry Men State of Play Anything Goes Don't Forget Your Toothbrush Glee Un gars, une fille The $1,000,000 Chance of a Lifetime Bottom Robin's Nest Monkey-ed Movies The World of David the Gnome CSI Hallo K3 Who's the Boss? Trailer Park Boys Miami Vice Engine Sentai Go-onger Dead Like Me The Prisoner Nitro Circus Twitches Star Trek: Deep Space Nine Zyuden Sentai Kyoryuger Land of the Lost Saturday Night Live Kim Possible If I Ruled the World RIS Delitti Imperfetti Mahou Sentai Magiranger Hell's Kitchen Vai Que Cola The Yogi Bear Show Orphan Black Ninpuu Sentai Hurricaneger The X-Files Veronica Mars Bakuryū Sentai Abaranger Queer as Folk Married... with Children Super Robot Mach Baron Mirai Sentai Timeranger Recess Doctor Who Rugrats Battlestar Galactica Inuyasha Have I Got News for You The Killing Alarm für Cobra 11 – Die Autobahnpolizei Dallas The Bund Wonder Woman The League of Gentlemen Decalogue II Kyuukyuu Sentai GoGoFive Modern Family Till Death Us Do Part Shinsengumi Keppuroku Robbery Under Arms Hannah Montana The Osbournes Strangers with Candy Good Luck Charlie Science Ninja Team Gatchaman Yu-Gi-Oh! Car 54, Where Are You? CSI: NY Hercules: The Legendary Journeys Ashura no Gotoku Count Duckula 24 The Cay The Twilight Zone Furor Gekisou Sentai Carranger Who Do You Think You Are? Tenchi Muyo! K-On! Camp Rock The Proud Family High School Musical 30 Rock Don't Be Afraid of the Dark Kamen Rider V3 Star Trek: The Next Generation George of the Jungle The Brady Bunch The Walking Dead Mad About You The Fugitive Connections House of Cards Yama Onna Kabe Onna Kindaichi Case Files Lost in Space Ana y los 7
Game of Thrones, Orphan Black and Downton Abbey are atmost 4 collectables and applications based on
Game of Thrones Orphan Black Downton Abbey
action atmost
action union
action find_reverse_tuple_counts
relation based on
type television program
type collectable
action find_reverse_tuple_counts
relation based on
type television program
type application
value 4
[[{'concept': 'collectable'}, {'concept': 'application'}], 'based on', {'concept': 'television program'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?w ) ?v WHERE { { ?v rdf:type ontology:television_program . ?g rdf:type ontology:application . ?g property:based_on ?v } UNION { ?g property:based_on ?v . ?v rdf:type ontology:television_program . ?g rdf:type ontology:collectable } } GROUP BY ?v } . FILTER ( ?w <= 4 ) }
[]