Simple Question (Direct)
Simple Question
Q16850547
P241
Q781132
USER
Which military branch did John Martin belong to ?
(Q16850547,P241,c(Q781132))
action filter_type
action find
entity Q16850547
relation P241
type Q781132
['Q16850547', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q16850547 property:P241 ?o . ?o rdf:type ontology:Q781132 }
John Martin
action filter_type
action find
entity John Martin
relation military branch
type military branch
['John Martin', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:John_Martin property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q16850547,P241,c(Q781132))
action filter_type
action find
entity Q16850547
relation P241
type Q781132
John Martin belonged to [ANSWER]
['Q16850547', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q16850547 property:P241 ?o . ?o rdf:type ontology:Q781132 }
United States Army
John Martin belonged to United States Army
United States Army
action filter_type
action find
entity John Martin
relation military branch
type military branch
['John Martin', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:John_Martin property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16850547
P20
Q56061
USER
Which administrative territory is the place of death of John Martin ?
(Q16850547,P20,c(Q56061))
action filter_type
action find
entity Q16850547
relation P20
type Q56061
['Q16850547', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16850547 property:P20 ?m . ?m rdf:type ontology:Q56061 }
John Martin
action filter_type
action find
entity John Martin
relation place of death
type administrative territorial entity
['John Martin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:John_Martin property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q16556
SYSTEM
Phoenix
Q16556
(Q16850547,P20,c(Q56061))
action filter_type
action find
entity Q16850547
relation P20
type Q56061
[ANSWER] is the place of death of John Martin
['Q16850547', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16850547 property:P20 ?m . ?m rdf:type ontology:Q56061 }
Phoenix
Phoenix is the place of death of John Martin
Phoenix
action filter_type
action find
entity John Martin
relation place of death
type administrative territorial entity
['John Martin', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:John_Martin property:place_of_death ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P825
Q502895 Q482994 Q41176
USER
Which people are atleast 5 albums and buildings dedicated to ?
(c(Q482994)|c(Q41176),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
value 5
[[{'concept': 'Q482994'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q482994 ) ( ontology:Q41176 ) } . ?x rdf:type ?z } GROUP BY ?a } . FILTER ( ?q >= 5 ) }
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
value 5
[[{'concept': 'album'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:album ) ( ontology:building ) } . ?x rdf:type ?z } GROUP BY ?a } . FILTER ( ?q >= 5 ) }
[]
common name album building
Q392 Q171977 Q317997
SYSTEM
Bob Dylan, Tokugawa Ieyasu, Ōjin
Q392 Q171977 Q382005 Q317997
(c(Q482994)|c(Q41176),P825,c(Q502895))
action atleast
action union
action find_reverse_tuple_counts
relation P825
type Q502895
type Q482994
action find_reverse_tuple_counts
relation P825
type Q502895
type Q41176
value 5
[ANSWERS]
[[{'concept': 'Q482994'}, {'concept': 'Q41176'}], 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q482994 ) ( ontology:Q41176 ) } . ?x rdf:type ?z } GROUP BY ?a } . FILTER ( ?q >= 5 ) }
Bob Dylan Tokugawa Ieyasu Sugawara no Michizane Ōjin
Which people are atleast 5 albums and buildings dedicated to
Bob Dylan Tokugawa Ieyasu Ōjin
action atleast
action union
action find_reverse_tuple_counts
relation dedicated to
type common name
type album
action find_reverse_tuple_counts
relation dedicated to
type common name
type building
value 5
[[{'concept': 'album'}, {'concept': 'building'}], 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?x ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:album ) ( ontology:building ) } . ?x rdf:type ?z } GROUP BY ?a } . FILTER ( ?q >= 5 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q317997
P21 P22
Q502895
USER
Which people have Ōjin as dad and are a male ?
AND((c(Q502895),P22,Q317997), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q317997
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q317997'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P21 resource:Q6581097 . ?j property:P22 resource:Q317997 }
male Ōjin
action filter_type
action intersection
action find_reverse
entity Ōjin
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ōjin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:gender resource:male . ?j property:father resource:Ōjin }
[]
common name
Q313119 Q11619989 Q11434606 Q13264213
SYSTEM
Nintoku, Prince Uji no Wakiiratsuko, Prince Ōyamamori, Wakanuke-Futamata no Miko
Q313119 Q11619989 Q11434606 Q13264213
AND((c(Q502895),P22,Q317997), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q317997
relation P22
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Ōjin as dad and are a male
{'AND': [[{'concept': 'Q502895'}, 'P22', 'Q317997'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . ?j property:P21 resource:Q6581097 . ?j property:P22 resource:Q317997 }
Nintoku Prince Uji no Wakiiratsuko Prince Ōyamamori Wakanuke-Futamata no Miko
Nintoku, Prince Uji no Wakiiratsuko, Prince Ōyamamori and Wakanuke-Futamata no Miko have Ōjin as dad and are a male
Nintoku Prince Uji no Wakiiratsuko Prince Ōyamamori Wakanuke-Futamata no Miko
action filter_type
action intersection
action find_reverse
entity Ōjin
relation father
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'father', 'Ōjin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . ?j property:gender resource:male . ?j property:father resource:Ōjin }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27688364 Q313119
P27 P17
Q15617994
USER
Which administrative territories are Nintoku an inhabitant of or are Thermopolium (IX.1.13) located in ?
OR((Q313119,P27,c(Q15617994)), (Q27688364,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q313119
relation P27
action find
entity Q27688364
relation P17
type Q15617994
{'OR': [['Q313119', 'P27', {'concept': 'Q15617994'}], ['Q27688364', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q313119 property:P27 ?a } UNION { resource:Q27688364 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Thermopolium (IX.1.13) Nintoku
action filter_type
action union
action find
entity Nintoku
relation country of citizenship
action find
entity Thermopolium (IX.1.13)
relation country
type designation for an administrative territorial entity
{'OR': [['Nintoku', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thermopolium (IX.1.13)', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Nintoku property:country_of_citizenship ?a } UNION { resource:Thermopolium_(IX.1.13) property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17 Q38
SYSTEM
Japan, Italy
Q17 Q38
OR((Q313119,P27,c(Q15617994)), (Q27688364,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q313119
relation P27
action find
entity Q27688364
relation P17
type Q15617994
[ANSWERS] are Nintoku an inhabitant of or are Thermopolium (IX.1.13) located in
{'OR': [['Q313119', 'P27', {'concept': 'Q15617994'}], ['Q27688364', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q313119 property:P27 ?a } UNION { resource:Q27688364 property:P17 ?a } } . ?a rdf:type ontology:Q15617994 }
Japan Italy
Japan and Italy are Nintoku an inhabitant of or are Thermopolium (IX.1.13) located in
Japan Italy
action filter_type
action union
action find
entity Nintoku
relation country of citizenship
action find
entity Thermopolium (IX.1.13)
relation country
type designation for an administrative territorial entity
{'OR': [['Nintoku', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Thermopolium (IX.1.13)', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Nintoku property:country_of_citizenship ?a } UNION { resource:Thermopolium_(IX.1.13) property:country ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q17 Q38
P1001
Q14660
USER
Which flags have jurisdiction over those administrative territories ?
(c(Q14660),P1001,Q17) (c(Q14660),P1001,Q38)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[{'concept': 'Q14660'}, 'P1001', 'Q17'] [{'concept': 'Q14660'}, 'P1001', 'Q38']
SELECT DISTINCT ?d WHERE { ?d property:P1001 ?n . ?d rdf:type ontology:Q14660 . VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q38 ) } }
Japan Italy
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction ?n . ?d rdf:type ontology:flag . VALUES ( ?n ) { ( resource:Japan ) ( resource:Italy ) } }
[]
flag
Q43175 Q42876
SYSTEM
Flag of Japan, Flag of Italy
Q43175 Q42876
(c(Q14660),P1001,Q17) (c(Q14660),P1001,Q38)
action filter_type
action find_reverse
entity prev_answer
relation P1001
type Q14660
[ANSWERS] have jurisdiction over those administrative territories
[{'concept': 'Q14660'}, 'P1001', 'Q17'] [{'concept': 'Q14660'}, 'P1001', 'Q38']
SELECT DISTINCT ?d WHERE { ?d property:P1001 ?n . ?d rdf:type ontology:Q14660 . VALUES ( ?n ) { ( resource:Q17 ) ( resource:Q38 ) } }
Flag of Japan Flag of Italy
Flag of Japan and Flag of Italy have jurisdiction over those administrative territories
Flag of Japan Flag of Italy
action filter_type
action find_reverse
entity prev_answer
relation applies to jurisdiction
type flag
[{'concept': 'flag'}, 'applies to jurisdiction', 'Japan'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?d WHERE { ?d property:applies_to_jurisdiction ?n . ?d rdf:type ontology:flag . VALUES ( ?n ) { ( resource:Japan ) ( resource:Italy ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43175 Q42876
P163
Q15617994
USER
Which administrative territories can be described by Flag of Japan and Flag of Italy ?
(c(Q15617994),P163,Q43175) (c(Q15617994),P163,Q42876)
action union
action filter_type
action find_reverse
entity Q43175
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
[{'concept': 'Q15617994'}, 'P163', 'Q43175'] [{'concept': 'Q15617994'}, 'P163', 'Q42876']
SELECT DISTINCT ?o WHERE { VALUES ( ?s ) { ( resource:Q43175 ) ( resource:Q42876 ) } . ?o property:P163 ?s }
Flag of Japan Flag of Italy
action union
action filter_type
action find_reverse
entity Flag of Japan
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy']
SELECT DISTINCT ?o WHERE { VALUES ( ?s ) { ( resource:Flag_of_Japan ) ( resource:Flag_of_Italy ) } . ?o property:flag ?s }
[]
designation for an administrative territorial entity
Q17 Q38
SYSTEM
Japan, Italy
Q17 Q38
(c(Q15617994),P163,Q43175) (c(Q15617994),P163,Q42876)
action union
action filter_type
action find_reverse
entity Q43175
relation P163
type Q15617994
action filter_type
action find_reverse
entity Q42876
relation P163
type Q15617994
And [ANSWERS] can be described by Flag of Japan and Flag of Italy
[{'concept': 'Q15617994'}, 'P163', 'Q43175'] [{'concept': 'Q15617994'}, 'P163', 'Q42876']
SELECT DISTINCT ?o WHERE { VALUES ( ?s ) { ( resource:Q43175 ) ( resource:Q42876 ) } . ?o property:P163 ?s }
Japan Italy
And Japan and Italy can be described by Flag of Japan and Flag of Italy
Japan Italy
action union
action filter_type
action find_reverse
entity Flag of Japan
relation flag
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Flag of Italy
relation flag
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Japan'] [{'concept': 'designation for an administrative territorial entity'}, 'flag', 'Flag of Italy']
SELECT DISTINCT ?o WHERE { VALUES ( ?s ) { ( resource:Flag_of_Japan ) ( resource:Flag_of_Italy ) } . ?o property:flag ?s }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q17 Q38
P17
Q43229
USER
Which organizations are located in Japan and Italy ?
(c(Q43229),P17,Q17) (c(Q43229),P17,Q38)
action union
action filter_type
action find_reverse
entity Q17
relation P17
type Q43229
action filter_type
action find_reverse
entity Q38
relation P17
type Q43229
[{'concept': 'Q43229'}, 'P17', 'Q17'] [{'concept': 'Q43229'}, 'P17', 'Q38']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Q17 ) ( resource:Q38 ) } . ?u property:P17 ?l }
Japan Italy
action union
action filter_type
action find_reverse
entity Japan
relation country
type organization
action filter_type
action find_reverse
entity Italy
relation country
type organization
[{'concept': 'organization'}, 'country', 'Japan'] [{'concept': 'organization'}, 'country', 'Italy']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Japan ) ( resource:Italy ) } . ?u property:country ?l }
[]
organization
Q1422 Q20165 Q41187
SYSTEM
Juventus F.C., Nissan, Sony
Q1134652 Q17230246 Q11289715 Q1760857 Q2972687 Q5368807 Q11343037 Q11449019 Q17217204 Q2110378 Q6809967 Q817123 Q5453133 Q21682690 Q307110 Q1263931 Q5513321 Q11397831 Q717318 Q11389322 Q11291461 Q22079741 Q898568 Q11353911 Q6358614 Q11587758 Q5375135 Q756072 Q11633527 Q11318979 Q11284667 Q7095987 Q11369779 Q6955512 Q6955516 Q6943994 Q7677245 Q11390488 Q2058024 Q6443371 Q5323603 Q2068008 Q339165 Q16465726 Q973054 Q3030458 Q2134033 Q1081154 Q7447118 Q17222936 Q11552613 Q9584 Q8054358 Q29803 Q11505373 Q6747833 Q844871 Q4346386 Q11393919 Q7000750 Q11228017 Q17049767 Q5216057 Q7670685 Q6137375 Q5986105 Q750619 Q1051297 Q3178370 Q6777917 Q11293025 Q2510185 Q3116531 Q5503087 Q1078203 Q1016072 Q867667 Q172741 Q7032143 Q11602280 Q11628761 Q3081081 Q18335632 Q7418001 Q847533 Q11242719 Q118911 Q11347862 Q9097645 Q11645219 Q16998284 Q3661655 Q17190616 Q11313944 Q586430 Q864387 Q11379095 Q17225643 Q1082983 Q6045152 Q6446262 Q6940153 Q858952 Q11367179 Q971946 Q864495 Q6173132 Q11310666 Q7830625 Q6960268 Q11321399 Q6884435 Q11674839 Q17222542 Q11335753 Q11660643 Q7670949 Q11367184 Q11340731 Q11365540 Q859212 Q982473 Q3552061 Q5358428 Q320458 Q17216261 Q41187 Q11510768 Q11349387 Q18289590 Q5878035 Q4410214 Q11584516 Q2214105 Q11517439 Q16335213 Q11661591 Q35996 Q1358933 Q4699761 Q11667111 Q11242608 Q17232072 Q1059183 Q5355875 Q188454 Q2083058 Q1457455 Q1045622 Q7418928 Q11657375 Q4099167 Q11309242 Q4674469 Q5640353 Q27843691 Q2220571 Q3341523 Q27147987 Q1536520 Q11498878 Q27843689 Q27843685 Q11490303 Q1356034 Q7496874 Q1196530 Q11188921 Q848773 Q11328516 Q853958 Q17230433 Q4120053 Q2458461 Q1255529 Q4835667 Q6883239 Q11506430 Q11253593 Q733351 Q2995703 Q11351680 Q8047831 Q11275367 Q1634097 Q11398212 Q872586 Q11589976 Q2526471 Q11656215 Q11589782 Q3191943 Q3197640 Q265330 Q11534329 Q11433345 Q4388703 Q20165 Q249525 Q11297322 Q927289 Q7752364 Q5530295 Q1068351 Q11351652 Q11510029 Q1204169 Q751358 Q225095 Q11585936 Q11392505 Q11374850 Q11632440 Q11320256 Q17217776 Q11344385 Q520763 Q5517715 Q11390950 Q5280061 Q3116938 Q11409000 Q858452 Q16941514 Q2972676 Q886564 Q773924 Q27511 Q11533893 Q3116102 Q11398188 Q15116592 Q11289634 Q5002696 Q11395092 Q4288274 Q5587161 Q17209180 Q19377803 Q7105550 Q11524350 Q5765167 Q1320224 Q6418087 Q6729092 Q11589735 Q11466247 Q17192679 Q17990780 Q6340035 Q758765 Q1514221 Q11594884 Q11379368 Q11613684 Q11666805 Q53227 Q1036028 Q720484 Q1611033 Q9286431 Q839552 Q11398123 Q6080369 Q11402201 Q1054787 Q11298783 Q11199031 Q679027 Q7334856 Q720479 Q1667971 Q11254401 Q11348610 Q10854960 Q6958437 Q5871699 Q8069229 Q11370820 Q11350234 Q5640557 Q1544189 Q11617285 Q11321521 Q4876649 Q384730 Q7827542 Q5302643 Q11509524 Q11433801 Q1065819 Q451944 Q4019894 Q6093003 Q5209137 Q11645635 Q782398 Q19262657 Q569273 Q3984527 Q93544 Q23728771 Q324782 Q2222482 Q5615262 Q19885983 Q283754 Q1110899 Q1230520 Q2307257 Q3640368 Q16825116 Q1936257 Q19545342 Q3852972 Q745394 Q929822 Q4011019 Q3747168 Q2932911 Q2932919 Q2454999 Q548005 Q3618642 Q1149018 Q3676872 Q3676873 Q3676870 Q3676874 Q1502774 Q3676869 Q3747148 Q24050253 Q3687413 Q3856064 Q1343118 Q1031614 Q904589 Q1092127 Q3787735 Q2521786 Q5621640 Q2213203 Q921454 Q5045816 Q3965055 Q1092134 Q18590100 Q3734950 Q5364679 Q3155844 Q482539 Q15736003 Q324171 Q865859 Q3902543 Q3399348 Q3648736 Q3747192 Q26823 Q3071105 Q19788324 Q892356 Q3944614 Q806323 Q1494416 Q3944608 Q650467 Q3776892 Q1135494 Q20009979 Q3992632 Q26963651 Q3992600 Q4094497 Q3695922 Q133813 Q1041597 Q969999 Q2865899 Q936025 Q3651034 Q1408048 Q1048204 Q4778465 Q1248729 Q21551978 Q3681880 Q16162585 Q4009599 Q3459824 Q498934 Q3710407 Q7886501 Q16957061 Q5394149 Q16487751 Q18809941 Q3745781 Q5324039 Q2579938 Q3747208 Q3111039 Q17630717 Q2884181 Q173085 Q3929491 Q1327429 Q5971938 Q4033476 Q641671 Q3746693 Q3182693 Q608405 Q692286 Q3828284 Q3676901 Q128356 Q3909455 Q3483550 Q3743281 Q1897596 Q926575 Q23308254 Q1664128 Q13409832 Q3355690 Q4015982 Q27426 Q16536952 Q753256 Q5041455 Q543750 Q3963820 Q46730 Q3968369 Q3997398 Q245992 Q24059098 Q3633493 Q18639450 Q2343891 Q3601097 Q371138 Q21335628 Q931123 Q3612609 Q1407994 Q3979195 Q3671680 Q936563 Q3648471 Q3740902 Q786790 Q27586 Q474739 Q1422 Q27485968 Q1321624 Q3674566 Q2884871 Q1077360 Q35896 Q2524205 Q13211531 Q3070662 Q207770 Q3943636 Q27333 Q3638898 Q1361595 Q2937884 Q1187723 Q27325 Q530666 Q3676942 Q1617516 Q583247 Q3601261 Q3601265 Q1408050 Q17020270 Q3070443 Q16536357 Q3676925 Q3676921 Q3676928 Q3676929 Q45568 Q934858 Q3747137 Q1093218 Q20725204 Q263096 Q3676936 Q3676931 Q3676930 Q17102646 Q3685523 Q3687385 Q3845396 Q3736741 Q841263 Q3943803 Q3949801 Q1302956 Q14791510 Q3071884 Q568068 Q952641 Q3752400 Q913903 Q3850740 Q3662013 Q652063 Q769786 Q3665606 Q3943406 Q764169 Q426892 Q19903251 Q3880025 Q15138907 Q2843227 Q3676982 Q27253840 Q3676889 Q3676883 Q3676882 Q3676881 Q3676886 Q3629844
(c(Q43229),P17,Q17) (c(Q43229),P17,Q38)
action union
action filter_type
action find_reverse
entity Q17
relation P17
type Q43229
action filter_type
action find_reverse
entity Q38
relation P17
type Q43229
[ANSWERS] are located in Japan and Italy
[{'concept': 'Q43229'}, 'P17', 'Q17'] [{'concept': 'Q43229'}, 'P17', 'Q38']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Q17 ) ( resource:Q38 ) } . ?u property:P17 ?l }
Tokyo Takarazuka Theater HOKKAIDO BANK FORTIUS Express Tommy Kaira Foreign cemeteries in Japan Choshi Electric Railway Meat Hope Uku Kankō Bus Muteppou Prince Motor Company Meidensha Benesse First Kitchen Itohkyuemon Au Duesen Bayern GEco Holdings Zenshinza Sumitomo Group All Japan Universities Consortium Enplas Corporation Sega Live Creation Japan Tobacco Manyō Club Kamiyachō Shareo HEKI Co., Ltd. Ena Railway Atlansia Toshimagaoka Cemetery Toyo Radiator Hakone Sightseeing Cruise Open Computer Network Hisashi Metal Industry Co., Ltd. NTT Communications Corp NTT Plala Mutoh Europe nv Takaotozan Railway Yagoto Cemetery Takashimaya Kumagai Gumi EMOBILE Riso Kagaku Corporation K-1 Nida cemetery Rakuten Disney Mobile Honshu-Shikoku Bridge Expressway Company Kajima Corporation Sekai Mumei Senshi no Haka Goryōkaku Tower OKINAWA TOURIST SERVICE Honda Yogen Früz Isuzu Motors Nissin Electric Mandarake ESP Guitars Tokyo Shoseki Naigai Yakuhin Network Applied Communication Laboratory KLab InterCon Systems Corporation JGC Corporation TMEIC Sukiya Ichibanya Chugai Pharmaceutical Co. Fuji Heavy Industries Taisei Corporation Marui OWNDAYS So-net Takenaka Corporation Freshness Burger Stardust Promotion Pepper Lunch Hino Motors Subaru Nifty Corporation The Second Association of Regional Banks Nishimatsuya Chain Toyohashi Railroad E-ComeTrue.inc Sangi Railway Kōbe Rapid Transit Railway ジョンソン Konica Minolta Lion D'or Zeon NOGUCHI-KANKO KFC in Japan Nippon Paint I-S Shipyard Super Eccentric Theater Takarazuka Revue Yanaka Cemetery Ise-wan Ferry Kanebo Cosmetics Takarazuka Grand Theater Interac Kurobe Gorge Railway Musashi Imperial Graveyard Big Japan Pro Wrestling Chuetsu Pulp & Paper KDDI Japan Railways Group Jef Jovi Jova Toyo Engineering Corporation Nakano Corporation Tomato Bank Miyazaki Airplane Cemetery of Tottori feudal lord Ikeda family Gunjyo Butai Puriba, Ltd. Dentsu Young & Rubicam Inc. Toa Corporation Chuetsu Transport Manual of Errors Artists Nakamuraya Tokyu Hands Tama Cemetery Up-Front Works Loft (store) Ibanez Best Buy Sony Nisshoku Gyu-Kaku FinTech Global Incorporated. Hokka Hokka Tei Hazama Corporation Chihoku Peace Park SoftBank Mobile ASAHI Net Japan Council of International Schools Asunaro Aoki Construction Mazda Livedoor Ajisen Ramen Metropolitan Expressway Association Shinhan Bank Japan Kid's Guitar Being Inc. Tokyo Sunshine Boys Yamaha Corporation Rockstar Japan Zōshigaya Cemetery Circus Sanriku Railway Tsuruga Holdings Bungakuza Gedix Co., Ltd. Acom Hakata-za Shiretoko Daiichi Hotel Sanden Corporation Nikka Whisky Distilling Metropolitan Expressway Tama Drums Kaizōsha Daiichi Hotel DAIICHI HOTEL Tokugawa Reimeikai Pilot Corporation Shimizu Corporation Hiroshima Electric Railway Adeka Corporation Matsuya Foods Co. Burstman NTT DoCoMo Do-ro Kensetsu Peregrine Volks Tsubakimoto Chain Grezzo BIGLOBE Mitsui Engineering & Shipbuilding Nippon Cable Skylark Dome Kansai Ki-in Warner Brothers Japan Yamaichi Securities Hakubaku Nihon Ki-in Mingei Theatre Horipro Kobe Municipal Foreign Cemetery 5pb. Kansai Super Kobe Regatta & Athletic Club Kaigetsudō school Kiuchi Brewery DAPD News Agency Ryugetsu Great Consolidated Electric Power Company Avex Digital Nissan Lotteria Carrot iXIT The Most Beautiful Villages in Japan Gekidan Wakakusa East Nippon Expressway Company Works Applications Hitachi Insurance Services MOS Burger Toshiba Samsung Storage Technology Tokyo Waterfront Area Rapid Transit Rinkai Line IR Ishikawa Railway ROKKATEI Kyoto Kotsu Keiseisha DeNA Shindengen Electric Manufacturing Model Production Yanmar Gakunan Railway Line Yawataya Isogorō Dipper Dan Matsuzakaya Hakubunkan Fujiya Co. Inamori Foundation Chidorigafuchi National Cemetery Saizeriya Yonex Daihatsu Somei Cemetery Tokai Communications Yasokai Kamakura Shunjusha Avex Music Creative Butlers Cafe Fuji Cemetery Sakamoto International Cemetery Gosen UACJ Metal Components Corporation Yokohama War Cemetery Osaka Denwa Tokyo Big Sight Inc. Himawari Theatre Group Osaka Exchange Kitcho Maeda Corporation Kobe Wing Stadium Sankyu Inc Unbalance Corporation CORAZON ENTERTAINMENT KVH Co. Ltd. Audi Motor Assembly Kubota Shuhoku Bus ITOKU Maizuru Warehouse Gyoza no Ohsho Sharp Corporation Aoyama Cemetery Asahi Glass Alps Electric Enshū Railway Line SMC Corporation Gekidan Shinkansen Ishinha Hōjō Railway Nippon Telegraph and Telephone Kubota-Chemix FDK Energy Chinon Industries Ringer Hut Asahi Breweries Internet Initiative Japan Shinano Railway Link and Motivation Inc. Kanagawa Chuo Kotsu Nagano Electric Railway Hitachi Zosen Corporation Zensho Kameyamannendō Loco Solare Hakkōda Ropeway Mitsuoka Ibaraki Kōtsū Toyota InfoTechnology Center Co., Ltd. Beard Papa's Obayashi Corporation Tosa Kuroshio Railway Dowa Holdings Nittou Seiyu Books Ogaki Mister Donut Takeuchi Manufacturing Willcom Italian Tomato Daiichi Kosho Company Nomura Shokusan Fontanelle cemetery 2i Rete Gas Treni Regionali Ticino Lombardia Terra Modena Monumental Cemetery of Staglieno insistema Beretta Sanpellegrino S.p.A. Guglielmo coffee Cimitero Storico Italdesign Giugiaro Pinarello Divella Bticino Peroni Anfatis Minarelli Consorzio Trasporti Pubblici Insubria Mausoleo Schilizzi Gilera Tatuus Vianini Lavori FareFuturo Caffè Cova Caffè Gambrinus, Naples Candy Azienda del Consorzio Trasporti Veneziano Old English Cemetery, Livorno Moto Guzzi Cimitero Maggiore di Milano Cemetery Sangro River Firenze Jewish cemetery Canadian war cemetery of Ortona Massimo Zanetti Cimitero Flaminio Fondazione Bruno Kessler Emilio Mauri S.p.A. Consip Miani e Silvestri Intesa Sanpaolo Camposanto Monumentale Breda Cimitero acattolico di Capri 3 Italy De Agostini Gustobene Saipem Gaggia Carpigiani Sorelle Fontana English Cemetery, Florence Fondital Eurostazioni Elledi Italferr Fila, Inc. Cemetery of San Felice a Ema Benelli italie Peroni Brewery Picchio Racing Cars Porto Ravenna Volley CINECA Fondazione Magnani-Rocca Abarth Voiello Polli Bonfiglioli Riduttori Sacrario militare di Pocol Bandini Automobili F.lli Saclà Asiago War Memorial Wind Telecomunicazioni Grom B Engineering Menowatt Rock-cut tombs of San Liberatore Giovanni Milani & Nipoti Brion Cemetery Lima Corporate Cotton Mill Cantoni Federazione Anarchica Italiana Indesit Illy Artsana Treno Alta Velocità Caltagirone Ferrovie della Sardegna Cassa Depositi e Prestiti Anzio War Cemetery Brazilian Military Cemetery of Pistoia Francesco Paolo Michetti Foundation Vodafone Automotive Aeronautica Sicula Veneto Strade SNIA S.p.A. Redipuglia Marzadro Distillery Union of Anarchist Communist of Italy Group 70 Ernesto Coppola & Figli Alcantara Cavallini-Sgarbi Foundation Fiocchi Munizioni ERG Renew Coppola Foods Fondazione Prada MCS (Fashion Brand) Fopponino di Porta Vercellina (Milan) Carrozzeria Barbi De Tomaso Rai Cinema Fincantieri IMA Life S.r.l Aeromere/Capriolo Arenaways Florence War Cemetery Polistil Cimitero Monumentale di Milano Menarini LeNORD Sicily–Rome American Cemetery and Memorial Thales Alenia Space PosteMobile Sigma-Tau Ferrovia Adriatico Sangritana Mariella Burani Fashion Group Fendi Our Land Innocenti Sterilgarda Bracco Vodafone Italy Campo Verano Carlo Erba Atala Carlo Barbera Lavazza Società europea tubifici e acciaierie Banca Monte dei Paschi di Siena Starhotels Tramvie Elettriche Bergamasche Healthcare in Italy Elemento Tango Balocco Argenta Gap War Cemetery Bellasi APAM Piccolo Teatro Salvatore Romano Foundation De Cecco Allocchio Bacchini Ferrotramviaria Syracuse Commonwealth War Graves Commission Cemetery Certosa di Bologna Borsa Italiana CAMP Italian Explorers Federation Autogrill Ferrari Loacker Juventus F.C. EP Produzione Saeco Chiesi Farmaceutici S.p.A. Barovier & Toso Ferrovie Emilia Romagna Lancia Fiera Milano Speed Up Lazzaroni Pirelli SIA S.p.A. Campo Santo Teutonico Bertagni Erreà Carapelli Protestant Cemetery Bertone Cimitero degli Allori San Michele Cemetery San Carlo Snam ASF Autolinee ASM Brescia Ferrovie del Sud Est Hacking Team Cirio Cantieri navali Odero Cemetery of the 366 Fossae, Naples Mojazza Cemetery Cimitero delle Porte Sante Monumental Cemetery of Bonaria UniCredit Cemetery of Poggioreale, Naples Fondazione Antonino Caponnetto Cisitalia Sueglio cemetery La Molisana Rifredi Cemetery Cemetery Lambrate Monumental cemetery of Brescia Zambon Nuovi Orizzonti Provincial Council in Italy Marca Corona FBT Piaggio SOGIN Sanctuary of Montenero Hupac Digital Bros Vicenzi Moleskine Florence American Cemetery and Memorial Fratelli Rossetti Italian Red Cross Maserati Cassino War Cemetery Colnago English Cemetery, Naples Cesena War Cemetery SAMET Polish Cemetery at Monte Cassino Iso Rivolta Energica Motor Company Nòverca Veolia Cargo Amica Chips Monumental Cemetery of Turin Henry Cotton’s Busto Arsizio monumental cemetery Polish Cemetery at Loreto Polish Cemetery at Casamassima Polish Cemetery at Bologna German Military Cemetery in Merano Auricchio
Juventus F.C., Nissan and Sony are located in Japan and Italy
Juventus F.C. Nissan Sony
action union
action filter_type
action find_reverse
entity Japan
relation country
type organization
action filter_type
action find_reverse
entity Italy
relation country
type organization
[{'concept': 'organization'}, 'country', 'Japan'] [{'concept': 'organization'}, 'country', 'Italy']
SELECT DISTINCT ?u WHERE { VALUES ( ?l ) { ( resource:Japan ) ( resource:Italy ) } . ?u property:country ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q392
P26
Q502895
USER
Who are married to Bob Dylan ?
(c(Q502895),P26,Q392)
action filter_type
action find
entity Q392
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q392']
SELECT DISTINCT ?a WHERE { resource:Q392 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Bob Dylan
action filter_type
action find
entity Bob Dylan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bob Dylan']
SELECT DISTINCT ?a WHERE { resource:Bob_Dylan property:spouse ?a . ?a rdf:type ontology:common_name }
[]
common name
Q5045345 Q457433
SYSTEM
Carolyn Dennis, Sara Dylan
Q5045345 Q457433
(c(Q502895),P26,Q392)
action filter_type
action find
entity Q392
relation P26
type Q502895
Dennis [ANSWERS] are married to Bob Dylan
[{'concept': 'Q502895'}, 'P26', 'Q392']
SELECT DISTINCT ?a WHERE { resource:Q392 property:P26 ?a . ?a rdf:type ontology:Q502895 }
Carolyn Dennis Sara Dylan
Dennis Carolyn Dennis and Sara Dylan are married to Bob Dylan
Carolyn Dennis Sara Dylan
action filter_type
action find
entity Bob Dylan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Bob Dylan']
SELECT DISTINCT ?a WHERE { resource:Bob_Dylan property:spouse ?a . ?a rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q457433
P161
Q838948
USER
Which work of art does that person star in ?
(c(Q838948),P161,Q457433)
action filter_type
action find_reverse
entity Q457433
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q457433']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q457433 . ?m rdf:type ontology:Q838948 }
Sara Dylan
action filter_type
action find_reverse
entity Sara Dylan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sara Dylan']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Sara_Dylan . ?m rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q5045345
SYSTEM
Did you mean Carolyn Dennis ?
Q5045345 Q457433
(c(Q838948),P161,Q5045345) (c(Q838948),P161,Q457433)
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q5045345'] [{'concept': 'Q838948'}, 'P161', 'Q457433']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q457433 . ?m rdf:type ontology:Q838948 }
Carolyn Dennis Sara Dylan
Did you mean Carolyn Dennis ?
Carolyn Dennis
[{'concept': 'work of art'}, 'cast member', 'Carolyn Dennis'] [{'concept': 'work of art'}, 'cast member', 'Sara Dylan']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Sara_Dylan . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Sara Dylan. Could you tell me the answer for that?
(c(Q838948),P161,Q457433)
Q457433
[{'concept': 'Q838948'}, 'P161', 'Q457433']
[{'concept': 'work of art'}, 'cast member', 'Sara Dylan']
[]
Q2392956
SYSTEM
Renaldo and Clara
Q2392956
(c(Q838948),P161,Q457433)
action filter_type
action find_reverse
entity Q457433
relation P161
type Q838948
That person stars Maria [ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q457433']
SELECT DISTINCT ?m WHERE { ?m property:P161 resource:Q457433 . ?m rdf:type ontology:Q838948 }
Renaldo and Clara
That person stars Maria Renaldo and Clara
Renaldo and Clara
action filter_type
action find_reverse
entity Sara Dylan
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Sara Dylan']
SELECT DISTINCT ?m WHERE { ?m property:cast_member resource:Sara_Dylan . ?m rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2392956 Q27613133 Q392
P57
Q502895
USER
Is Claire Palmer and Bob Dylan a director of Renaldo and Clara ?
(Q2392956,P57,Q27613133) (Q2392956,P57,Q392)
action is_in
entity Q2392956
action intersection
action find_reverse
entity Q27613133
relation P57
action find_reverse
entity Q392
relation P57
['Q2392956', 'P57', 'Q27613133'] ['Q2392956', 'P57', 'Q392']
ASK WHERE { resource:Q2392956 property:P57 resource:Q27613133 . resource:Q2392956 property:P57 resource:Q392 }
Renaldo and Clara Claire Palmer Bob Dylan
action is_in
entity Renaldo and Clara
action intersection
action find_reverse
entity Claire Palmer
relation director
action find_reverse
entity Bob Dylan
relation director
['Renaldo and Clara', 'director', 'Claire Palmer'] ['Renaldo and Clara', 'director', 'Bob Dylan']
ASK WHERE { resource:Renaldo_and_Clara property:director resource:Claire_Palmer . resource:Renaldo_and_Clara property:director resource:Bob_Dylan }
[]
common name
SYSTEM
NO and YES respectively
(Q2392956,P57,Q27613133) (Q2392956,P57,Q392)
action is_in
entity Q2392956
action intersection
action find_reverse
entity Q27613133
relation P57
action find_reverse
entity Q392
relation P57
[ANSWER]
['Q2392956', 'P57', 'Q27613133'] ['Q2392956', 'P57', 'Q392']
ASK WHERE { resource:Q2392956 property:P57 resource:Q27613133 . resource:Q2392956 property:P57 resource:Q392 }
NO and YES respectively
action is_in
entity Renaldo and Clara
action intersection
action find_reverse
entity Claire Palmer
relation director
action find_reverse
entity Bob Dylan
relation director
['Renaldo and Clara', 'director', 'Claire Palmer'] ['Renaldo and Clara', 'director', 'Bob Dylan']
ASK WHERE { resource:Renaldo_and_Clara property:director resource:Claire_Palmer . resource:Renaldo_and_Clara property:director resource:Bob_Dylan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11434606 Q11626419
P9
Q502895
USER
Is Sotoori hime the sister of Prince Ōyamamori ?
(Q11434606,P9,Q11626419)
action is_in
entity Q11626419
action find
entity Q11434606
relation P9
['Q11434606', 'P9', 'Q11626419']
ASK WHERE { resource:Q11434606 property:P9 resource:Q11626419 }
Prince Ōyamamori Sotoori hime
action is_in
entity Sotoori hime
action find
entity Prince Ōyamamori
relation sister
['Prince Ōyamamori', 'sister', 'Sotoori hime']
ASK WHERE { resource:Prince_Ōyamamori property:sister resource:Sotoori_hime }
[]
common name
SYSTEM
YES
(Q11434606,P9,Q11626419)
action is_in
entity Q11626419
action find
entity Q11434606
relation P9
[ANSWER]
['Q11434606', 'P9', 'Q11626419']
ASK WHERE { resource:Q11434606 property:P9 resource:Q11626419 }
Yes
action is_in
entity Sotoori hime
action find
entity Prince Ōyamamori
relation sister
['Prince Ōyamamori', 'sister', 'Sotoori hime']
ASK WHERE { resource:Prince_Ōyamamori property:sister resource:Sotoori_hime }
[]