Simple Question (Direct)
Simple Question
Q532387
P19
Q515
USER
Which city was Takashi Gojobori born at ?
(Q532387,P19,c(Q515))
action filter_type
action find
entity Q532387
relation P19
type Q515
['Q532387', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q532387 property:P19 ?s . ?s rdf:type ontology:Q515 }
Takashi Gojobori
action filter_type
action find
entity Takashi Gojobori
relation place of birth
type city
['Takashi Gojobori', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Takashi_Gojobori property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
city
Q26600
SYSTEM
Fukuoka
Q26600
(Q532387,P19,c(Q515))
action filter_type
action find
entity Q532387
relation P19
type Q515
Takashi Gojobori was born in [ANSWER]
['Q532387', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?s WHERE { resource:Q532387 property:P19 ?s . ?s rdf:type ontology:Q515 }
Fukuoka
Takashi Gojobori was born in Fukuoka
Fukuoka
action filter_type
action find
entity Takashi Gojobori
relation place of birth
type city
['Takashi Gojobori', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?s WHERE { resource:Takashi_Gojobori property:place_of_birth ?s . ?s rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26600
P126
Q83620
USER
Which thoroughfares are maintained by that city ?
(c(Q83620),P126,Q26600)
action filter_type
action find_reverse
entity Q26600
relation P126
type Q83620
[{'concept': 'Q83620'}, 'P126', 'Q26600']
SELECT DISTINCT ?a WHERE { ?a property:P126 resource:Q26600 . ?a rdf:type ontology:Q83620 }
Fukuoka
action filter_type
action find_reverse
entity Fukuoka
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Fukuoka']
SELECT DISTINCT ?a WHERE { ?a property:maintained_by resource:Fukuoka . ?a rdf:type ontology:thoroughfare }
[]
thoroughfare
Q11592897 Q11592645 Q11592743
SYSTEM
Fukuoka Prefectural Road and Saga Prefectural Road Route 136, Fukuoka Prefectural Road Route 21, Fukuoka Prefectural Road Route 54
Q11592749 Q11592748 Q11592645 Q11592769 Q11592767 Q11592743 Q11592742 Q11592744 Q11592747 Q11592746 Q11592904 Q11592697 Q11592694 Q11592670 Q11592734 Q11592716 Q11592715 Q11592713 Q11592752 Q11592753 Q11592750 Q11592878 Q11592770 Q16484320 Q11592781 Q11592897 Q11592729 Q11592727 Q11592725
(c(Q83620),P126,Q26600)
action filter_type
action find_reverse
entity Q26600
relation P126
type Q83620
And [ANSWERS] are maintained by that city
[{'concept': 'Q83620'}, 'P126', 'Q26600']
SELECT DISTINCT ?a WHERE { ?a property:P126 resource:Q26600 . ?a rdf:type ontology:Q83620 }
Fukuoka Prefectural Road Route 558 Fukuoka Prefectural Road Route 556 Fukuoka Prefectural Road Route 21 Fukuoka Prefectural Road Route 605 Fukuoka Prefectural Road Route 602 Fukuoka Prefectural Road Route 54 Fukuoka Prefectural Road Route 542 Fukuoka Prefectural Road Route 550 Fukuoka Prefectural Road Route 555 Fukuoka Prefectural Road Route 554 Fukuoka Prefectural Road and Oita Prefectural Road Route 112 Fukuoka Prefectural Road Route 35 Fukuoka Prefectural Road Route 31 Fukuoka Prefectural Road Route 24 Fukuoka Prefectural Road Route 518 Fukuoka Prefectural Road Route 45 Fukuoka Prefectural Road Route 44 Fukuoka Prefectural Road Route 43 Fukuoka Prefectural Road Route 559 Fukuoka Prefectural Road Route 561 Fukuoka Prefectural Road Route 557 Fukuoka Prefectural Road Route 85 Fukuoka Prefectural Road Route 607 Fukuoka Prefectural Road Route 551 Fukuoka Prefectural Road Route 68 Fukuoka Prefectural Road and Saga Prefectural Road Route 136 Fukuoka Prefectural Road Route 505 Fukuoka Prefectural Road Route 504 Fukuoka Prefectural Road Route 49
And Fukuoka Prefectural Road and Saga Prefectural Road Route 136, Fukuoka Prefectural Road Route 21 and Fukuoka Prefectural Road Route 54 are maintained by that city
Fukuoka Prefectural Road and Saga Prefectural Road Route 136 Fukuoka Prefectural Road Route 21 Fukuoka Prefectural Road Route 54
action filter_type
action find_reverse
entity Fukuoka
relation maintained by
type thoroughfare
[{'concept': 'thoroughfare'}, 'maintained by', 'Fukuoka']
SELECT DISTINCT ?a WHERE { ?a property:maintained_by resource:Fukuoka . ?a rdf:type ontology:thoroughfare }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q11592897 Q11592645 Q11592743
P17
Q15617994
USER
Which administrative territories are those thoroughfares located in ?
(Q11592897,P17,c(Q15617994)) (Q11592645,P17,c(Q15617994)) (Q11592743,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q11592897', 'P17', {'concept': 'Q15617994'}] ['Q11592645', 'P17', {'concept': 'Q15617994'}] ['Q11592743', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . ?a property:P17 ?t . VALUES ( ?a ) { ( resource:Q11592749 ) ( resource:Q11592748 ) ( resource:Q11592645 ) } }
Fukuoka Prefectural Road and Saga Prefectural Road Route 136 Fukuoka Prefectural Road Route 21 Fukuoka Prefectural Road Route 54
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fukuoka Prefectural Road and Saga Prefectural Road Route 136', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fukuoka Prefectural Road Route 21', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fukuoka Prefectural Road Route 54', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?t . VALUES ( ?a ) { ( resource:Fukuoka_Prefectural_Road_Route_558 ) ( resource:Fukuoka_Prefectural_Road_Route_556 ) ( resource:Fukuoka_Prefectural_Road_Route_21 ) } }
[]
designation for an administrative territorial entity
Q17 Q17 Q17
SYSTEM
Japan
Q17 Q17 Q17
(Q11592897,P17,c(Q15617994)) (Q11592645,P17,c(Q15617994)) (Q11592743,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those thoroughfares are located in [ANSWER], [ANSWER] and [ANSWER]
['Q11592897', 'P17', {'concept': 'Q15617994'}] ['Q11592645', 'P17', {'concept': 'Q15617994'}] ['Q11592743', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . ?a property:P17 ?t . VALUES ( ?a ) { ( resource:Q11592749 ) ( resource:Q11592748 ) ( resource:Q11592645 ) } }
Japan Japan Japan
Those thoroughfares are located in Japan, Japan and Japan
Japan Japan Japan
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Fukuoka Prefectural Road and Saga Prefectural Road Route 136', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fukuoka Prefectural Road Route 21', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Fukuoka Prefectural Road Route 54', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . ?a property:country ?t . VALUES ( ?a ) { ( resource:Fukuoka_Prefectural_Road_Route_558 ) ( resource:Fukuoka_Prefectural_Road_Route_556 ) ( resource:Fukuoka_Prefectural_Road_Route_21 ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26600
P127
Q1076486
USER
Which sports venues belongs to Fukuoka ?
(c(Q1076486),P127,Q26600)
action filter_type
action find_reverse
entity Q26600
relation P127
type Q1076486
[{'concept': 'Q1076486'}, 'P127', 'Q26600']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q26600 . ?e rdf:type ontology:Q1076486 }
Fukuoka
action filter_type
action find_reverse
entity Fukuoka
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Fukuoka']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Fukuoka . ?e rdf:type ontology:sports_venue }
[]
sports venue
Q1366106 Q5640354
SYSTEM
Level-5 Stadium, Hakatanomori Athletic Stadium
Q1366106 Q5640354
(c(Q1076486),P127,Q26600)
action filter_type
action find_reverse
entity Q26600
relation P127
type Q1076486
[ANSWERS] belong to Fukuoka
[{'concept': 'Q1076486'}, 'P127', 'Q26600']
SELECT DISTINCT ?e WHERE { ?e property:P127 resource:Q26600 . ?e rdf:type ontology:Q1076486 }
Level-5 Stadium Hakatanomori Athletic Stadium
Level-5 Stadium and Hakatanomori Athletic Stadium belong to Fukuoka
Level-5 Stadium Hakatanomori Athletic Stadium
action filter_type
action find_reverse
entity Fukuoka
relation owned by
type sports venue
[{'concept': 'sports venue'}, 'owned by', 'Fukuoka']
SELECT DISTINCT ?e WHERE { ?e property:owned_by resource:Fukuoka . ?e rdf:type ontology:sports_venue }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1366106 Q5640354
P17
Q15617994
USER
Which administrative territories do those sports venues belong to ?
(Q1366106,P17,c(Q15617994)) (Q5640354,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q1366106', 'P17', {'concept': 'Q15617994'}] ['Q5640354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . ?b property:P17 ?j . VALUES ( ?b ) { ( resource:Q1366106 ) ( resource:Q5640354 ) } }
Level-5 Stadium Hakatanomori Athletic Stadium
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Level-5 Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hakatanomori Athletic Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country ?j . VALUES ( ?b ) { ( resource:Level-5_Stadium ) ( resource:Hakatanomori_Athletic_Stadium ) } }
[]
designation for an administrative territorial entity
Q17 Q17
SYSTEM
Japan
Q17 Q17
(Q1366106,P17,c(Q15617994)) (Q5640354,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
Those sports venues belong to both [ANSWER] and [ANSWER]
['Q1366106', 'P17', {'concept': 'Q15617994'}] ['Q5640354', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . ?b property:P17 ?j . VALUES ( ?b ) { ( resource:Q1366106 ) ( resource:Q5640354 ) } }
Japan Japan
Those sports venues belong to both Japan and Japan
Japan Japan
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Level-5 Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Hakatanomori Athletic Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b property:country ?j . VALUES ( ?b ) { ( resource:Level-5_Stadium ) ( resource:Hakatanomori_Athletic_Stadium ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17
P137
Q2235308
USER
Which ship type can be described as service operator of Japan ?
(c(Q2235308),P137,Q17)
action filter_type
action find_reverse
entity Q17
relation P137
type Q2235308
[{'concept': 'Q2235308'}, 'P137', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q17 . ?h rdf:type ontology:Q2235308 }
Japan
action filter_type
action find_reverse
entity Japan
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Japan . ?h rdf:type ontology:ship_type }
[]
ship type
Q1785303
SYSTEM
Takao class cruiser
Q1785303
(c(Q2235308),P137,Q17)
action filter_type
action find_reverse
entity Q17
relation P137
type Q2235308
[ANSWER] can be described as service operator of Japan
[{'concept': 'Q2235308'}, 'P137', 'Q17']
SELECT DISTINCT ?h WHERE { ?h property:P137 resource:Q17 . ?h rdf:type ontology:Q2235308 }
Takao class cruiser
Takao class cruiser can be described as service operator of Japan
Takao class cruiser
action filter_type
action find_reverse
entity Japan
relation operator
type ship type
[{'concept': 'ship type'}, 'operator', 'Japan']
SELECT DISTINCT ?h WHERE { ?h property:operator resource:Japan . ?h rdf:type ontology:ship_type }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1785303
P138
Q2235308
USER
Which ship type is namesake of that one ?
(Q1785303,P138,c(Q2235308))
action filter_type
action find
entity Q1785303
relation P138
type Q2235308
['Q1785303', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2235308 . resource:Q1785303 property:P138 ?b }
Takao class cruiser
action filter_type
action find
entity Takao class cruiser
relation named after
type ship type
['Takao class cruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:ship_type . resource:Takao_class_cruiser property:named_after ?b }
[]
ship type
Q1812747
SYSTEM
Japanese cruiser Takao
Q1812747
(Q1785303,P138,c(Q2235308))
action filter_type
action find
entity Q1785303
relation P138
type Q2235308
One [ANSWER] is namesake of that one
['Q1785303', 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q2235308 . resource:Q1785303 property:P138 ?b }
Japanese cruiser Takao
One Japanese cruiser Takao is namesake of that one
Japanese cruiser Takao
action filter_type
action find
entity Takao class cruiser
relation named after
type ship type
['Takao class cruiser', 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:ship_type . resource:Takao_class_cruiser property:named_after ?b }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4588885 Q17
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relationships with Japan or are Harald Victor Hove a civilian of ?
OR((Q17,P530,c(Q15617994)), (Q4588885,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q4588885
relation P27
type Q15617994
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q4588885', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q17 property:P530 ?f } UNION { resource:Q4588885 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Harald Victor Hove Japan
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Harald Victor Hove
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Harald Victor Hove', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Japan property:diplomatic_relation ?f } UNION { resource:Harald_Victor_Hove property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q142 Q20 Q711 Q801 Q145 Q38 Q884 Q155 Q869
SYSTEM
Some of them are United States of America, France, Norway, Mongolia, Israel, United Kingdom, Italy, South Korea, Brazil, Thailand
Q227 Q142 Q711 Q884 Q159 Q801 Q145 Q155 Q20 Q30 Q869 Q38
OR((Q17,P530,c(Q15617994)), (Q4588885,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q17
relation P530
action find
entity Q4588885
relation P27
type Q15617994
[ANSWERS] have diplomatic relationships with Japan or are Harald Victor Hove a civilian of
{'OR': [['Q17', 'P530', {'concept': 'Q15617994'}], ['Q4588885', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q17 property:P530 ?f } UNION { resource:Q4588885 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Azerbaijan France Mongolia South Korea Russia Israel United Kingdom Brazil Norway United States of America Thailand Italy
United States of America, France, Norway, Mongolia, Israel, United Kingdom, Italy, South Korea, Brazil and Thailand have diplomatic relationships with Japan or are Harald Victor Hove a civilian of
United States of America France Norway Mongolia Israel United Kingdom Italy South Korea Brazil Thailand
action filter_type
action union
action find
entity Japan
relation diplomatic relation
action find
entity Harald Victor Hove
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Japan', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Harald Victor Hove', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Japan property:diplomatic_relation ?f } UNION { resource:Harald_Victor_Hove property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relationships with that administrative territory ?
(Q801,P530,c(Q1048835))
['Q801', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q234180 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Israel property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Quantitative|Count|Single entity type|Clarification
Q801
SYSTEM
Did you mean Israel ?
(Q30,P530,c(Q1048835)) (Q142,P530,c(Q1048835)) (Q20,P530,c(Q1048835)) (Q711,P530,c(Q1048835)) (Q801,P530,c(Q1048835)) (Q145,P530,c(Q1048835)) (Q38,P530,c(Q1048835)) (Q884,P530,c(Q1048835)) (Q155,P530,c(Q1048835)) (Q869,P530,c(Q1048835))
[ANSWER]
['Q30', 'P530', {'concept': 'Q1048835'}] ['Q142', 'P530', {'concept': 'Q1048835'}] ['Q20', 'P530', {'concept': 'Q1048835'}] ['Q711', 'P530', {'concept': 'Q1048835'}] ['Q801', 'P530', {'concept': 'Q1048835'}] ['Q145', 'P530', {'concept': 'Q1048835'}] ['Q38', 'P530', {'concept': 'Q1048835'}] ['Q884', 'P530', {'concept': 'Q1048835'}] ['Q155', 'P530', {'concept': 'Q1048835'}] ['Q869', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q234180 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Did you mean Israel ?
Israel
['United States of America', 'diplomatic relation', {'concept': 'political territorial entity'}] ['France', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Norway', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mongolia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}] ['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Italy', 'diplomatic relation', {'concept': 'political territorial entity'}] ['South Korea', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Thailand', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Israel property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q801,P530,c(Q1048835))
['Q801', 'P530', {'concept': 'Q1048835'}]
['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}]
[]
SYSTEM
3
Q183 Q16 Q408
(Q801,P530,c(Q1048835))
[ANSWER]
['Q801', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q234180 property:P530 ?z . ?z rdf:type ontology:Q1048835 }
Germany Canada Australia
3
['Israel', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Israel property:diplomatic_relation ?z . ?z rdf:type ontology:political_territorial_entity }
[]