Simple Question (Direct)
Simple Question
Q332746
P102
Q7210356
USER
Which party does Michael Hicks Beach, 1st Earl St Aldwyn belong to ?
(Q332746,P102,c(Q7210356))
action filter_type
action find
entity Q332746
relation P102
type Q7210356
['Q332746', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q332746 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Michael Hicks Beach, 1st Earl St Aldwyn
action filter_type
action find
entity Michael Hicks Beach, 1st Earl St Aldwyn
relation member of political party
type political organization
['Michael Hicks Beach, 1st Earl St Aldwyn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Michael_Hicks_Beach,_1st_Earl_St_Aldwyn property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q9626
SYSTEM
Conservative Party
Q9626
(Q332746,P102,c(Q7210356))
action filter_type
action find
entity Q332746
relation P102
type Q7210356
[ANSWER] Michael Hicks Beach, 1st Earl St Aldwyn belongs to
['Q332746', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q332746 property:P102 ?d . ?d rdf:type ontology:Q7210356 }
Conservative Party
Conservative Party Michael Hicks Beach, 1st Earl St Aldwyn belongs to
Conservative Party
action filter_type
action find
entity Michael Hicks Beach, 1st Earl St Aldwyn
relation member of political party
type political organization
['Michael Hicks Beach, 1st Earl St Aldwyn', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Michael_Hicks_Beach,_1st_Earl_St_Aldwyn property:member_of_political_party ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q332746
P937
Q56061
USER
What is the location where Michael Hicks Beach, 1st Earl St Aldwyn worked ?
(Q332746,P937,c(Q56061))
action filter_type
action find
entity Q332746
relation P937
type Q56061
['Q332746', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q332746 property:P937 ?b }
Michael Hicks Beach, 1st Earl St Aldwyn
action filter_type
action find
entity Michael Hicks Beach, 1st Earl St Aldwyn
relation work location
type administrative territorial entity
['Michael Hicks Beach, 1st Earl St Aldwyn', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Michael_Hicks_Beach,_1st_Earl_St_Aldwyn property:work_location ?b }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q332746,P937,c(Q56061))
action filter_type
action find
entity Q332746
relation P937
type Q56061
The location Michael Hicks Beach , 1st Earl St Aldwyn worked is in [ANSWER]
['Q332746', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q56061 . resource:Q332746 property:P937 ?b }
London
The location Michael Hicks Beach , 1st Earl St Aldwyn worked is in London
London
action filter_type
action find
entity Michael Hicks Beach, 1st Earl St Aldwyn
relation work location
type administrative territorial entity
['Michael Hicks Beach, 1st Earl St Aldwyn', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:administrative_territorial_entity . resource:Michael_Hicks_Beach,_1st_Earl_St_Aldwyn property:work_location ?b }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15807351
Q56061
USER
And how about Eduard Peschl?
(Q15807351,P937,c(Q56061))
action filter_type
action find
entity Q15807351
relation P937
type Q56061
['Q15807351', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q15807351 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Eduard Peschl
action filter_type
action find
entity Eduard Peschl
relation work location
type administrative territorial entity
['Eduard Peschl', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Eduard_Peschl property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4190
SYSTEM
Passau
Q4190
(Q15807351,P937,c(Q56061))
action filter_type
action find
entity Q15807351
relation P937
type Q56061
[ANSWER]
['Q15807351', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q15807351 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Passau
Passau
action filter_type
action find
entity Eduard Peschl
relation work location
type administrative territorial entity
['Eduard Peschl', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Eduard_Peschl property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q4190 Q16084178
P20
Q502895
USER
Does Elizabeth Colson have that administrative territory as the location of death ?
(Q16084178,P20,Q4190)
action is_in
entity Q16084178
action find
entity Q4190
relation P20
['Q16084178', 'P20', 'Q4190']
ASK WHERE { resource:Q4190 property:P20 resource:Q16084178 }
Passau Elizabeth Colson
action is_in
entity Elizabeth Colson
action find
entity Passau
relation place of death
['Elizabeth Colson', 'place of death', 'Passau']
ASK WHERE { resource:Passau property:place_of_death resource:Elizabeth_Colson }
[]
common name
SYSTEM
NO
(Q16084178,P20,Q4190)
action is_in
entity Q16084178
action find
entity Q4190
relation P20
[ANSWER]
['Q16084178', 'P20', 'Q4190']
ASK WHERE { resource:Q4190 property:P20 resource:Q16084178 }
No
action is_in
entity Elizabeth Colson
action find
entity Passau
relation place of death
['Elizabeth Colson', 'place of death', 'Passau']
ASK WHERE { resource:Passau property:place_of_death resource:Elizabeth_Colson }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4190
P206
Q355304
USER
Which watercourses are situated close to that administrative territory ?
action filter_type
action find
entity Q4190
relation P206
type Q355304
SELECT DISTINCT ?p WHERE { resource:Q4190 property:P206 ?p . ?p rdf:type ontology:Q355304 }
Passau
action filter_type
action find
entity Passau
relation located next to body of water
type watercourse
SELECT DISTINCT ?p WHERE { resource:Passau property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]
watercourse
Q267911 Q1653 Q14369
SYSTEM
Ilz, Danube, Inn
Q267911 Q1653 Q14369
action filter_type
action find
entity Q4190
relation P206
type Q355304
[ANSWERS] are situated close to that administrative territory
SELECT DISTINCT ?p WHERE { resource:Q4190 property:P206 ?p . ?p rdf:type ontology:Q355304 }
Ilz Danube Inn
Ilz, Danube and Inn are situated close to that administrative territory
Ilz Danube Inn
action filter_type
action find
entity Passau
relation located next to body of water
type watercourse
SELECT DISTINCT ?p WHERE { resource:Passau property:located_next_to_body_of_water ?p . ?p rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P177
Q12280 Q811979
USER
How many bridges or architectural structures are over/under that watercourse ?
(c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q267911) (c(Q811979),P177,Q267911) (c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q14369) (c(Q811979),P177,Q14369)
[{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q267911'] [{'concept': 'Q811979'}, 'P177', 'Q267911'] [{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q14369'] [{'concept': 'Q811979'}, 'P177', 'Q14369']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q267911 } UNION { ?y property:P177 resource:Q267911 } UNION { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q14369 } UNION { ?y property:P177 resource:Q14369 } } . ?z rdf:type ontology:Q996044 . ?y rdf:type ontology:Q811979 }
[{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Ilz'] [{'concept': 'architectural structure'}, 'crosses', 'Ilz'] [{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Inn'] [{'concept': 'architectural structure'}, 'crosses', 'Inn']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Ilz } UNION { ?y property:crosses resource:Ilz } UNION { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Inn } UNION { ?y property:crosses resource:Inn } } . ?z rdf:type ontology:bridge . ?y rdf:type ontology:architectural_structure }
[]
bridge architectural structure
Quantitative|Count|Mult. entity type|Clarification
Q14369
SYSTEM
Did you mean Inn ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q267911 } UNION { ?y property:P177 resource:Q267911 } UNION { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q14369 } UNION { ?y property:P177 resource:Q14369 } } . ?z rdf:type ontology:Q996044 . ?y rdf:type ontology:Q811979 }
Did you mean Inn ?
Inn
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Ilz } UNION { ?y property:crosses resource:Ilz } UNION { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Inn } UNION { ?y property:crosses resource:Inn } } . ?z rdf:type ontology:bridge . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Danube. Could you tell me the answer for that?
(c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q267911) (c(Q811979),P177,Q267911) (c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q14369) (c(Q811979),P177,Q14369)
Q1653
[{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q267911'] [{'concept': 'Q811979'}, 'P177', 'Q267911'] [{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q14369'] [{'concept': 'Q811979'}, 'P177', 'Q14369']
[{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Ilz'] [{'concept': 'architectural structure'}, 'crosses', 'Ilz'] [{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Inn'] [{'concept': 'architectural structure'}, 'crosses', 'Inn']
[]
SYSTEM
50
Q465534 Q1240840 Q435423 Q837291 Q637897 Q854655 Q1997659 Q393917 Q618937 Q16913705 Q807320 Q252452 Q787108 Q5064545 Q916120 Q1067603 Q548354 Q15228401 Q26847117 Q676315 Q699098 Q849786 Q427273 Q1147288 Q1286851 Q203004 Q1295350 Q1321041 Q695095 Q543863 Q781659 Q684821 Q1590195 Q7253026 Q777301 Q7107784 Q3063225 Q3657086 Q717792 Q915195 Q5565306 Q5427715 Q2107888 Q972668 Q7339704 Q15240173 Q3397334 Q7591302 Q1089516 Q916852
(c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q267911) (c(Q811979),P177,Q267911) (c(Q12280),P177,Q1653) (c(Q811979),P177,Q1653) (c(Q12280),P177,Q14369) (c(Q811979),P177,Q14369)
[ANSWER]
[{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q267911'] [{'concept': 'Q811979'}, 'P177', 'Q267911'] [{'concept': 'Q12280'}, 'P177', 'Q1653'] [{'concept': 'Q811979'}, 'P177', 'Q1653'] [{'concept': 'Q12280'}, 'P177', 'Q14369'] [{'concept': 'Q811979'}, 'P177', 'Q14369']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q267911 } UNION { ?y property:P177 resource:Q267911 } UNION { ?z property:P177 resource:Q2232293 } UNION { ?y property:P177 resource:Q2232293 } UNION { ?z property:P177 resource:Q14369 } UNION { ?y property:P177 resource:Q14369 } } . ?z rdf:type ontology:Q996044 . ?y rdf:type ontology:Q811979 }
Chain Bridge Deggenau Danube bridge Starý most Most Slovenského národného povstania Liberty Bridge, Novi Sad Beška Bridge Nordbrücke Žeželjev most Apollo Bridge Northern Railway Bridge Barbara bridge Árpád Bridge Rákóczi Bridge Cernavodă Bridge Margaret Bridge Lafranconi Bridge Connective Railway Bridge Ilok–Bačka Palanka Bridge Munderkinger Donaubrücke Triple Bridge Elisabeth Bridge Trajan's Bridge Kossuth Bridge Varadin Bridge Pančevo Bridge Danube Bridge Bogen railway bridge Tildy bridge Stone Bridge Prístavný most Petőfi Bridge Reichsbrücke Schanzlbrücke Prule Bridge Megyeri Bridge Ostrovul Mare Bridge Constantine's Bridge Anghel Saligny Bridge Pentele Bridge Liberty Bridge Giurgeni – Vadu Oii Bridge Fabiani Bridge Praterbrücke Elisabeth Bridge Road–Railway Bridge Kovin Bridge Pupin Bridge St. Peter's Bridge Mária Valéria Bridge Brigittenauer bridge
50
[{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Ilz'] [{'concept': 'architectural structure'}, 'crosses', 'Ilz'] [{'concept': 'bridge'}, 'crosses', 'Danube'] [{'concept': 'architectural structure'}, 'crosses', 'Danube'] [{'concept': 'bridge'}, 'crosses', 'Inn'] [{'concept': 'architectural structure'}, 'crosses', 'Inn']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Ilz } UNION { ?y property:crosses resource:Ilz } UNION { ?z property:crosses resource:Danube } UNION { ?y property:crosses resource:Danube } UNION { ?z property:crosses resource:Inn } UNION { ?y property:crosses resource:Inn } } . ?z rdf:type ontology:bridge . ?y rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q26611140 Q1653
P17
Q15617994
USER
Which administrative territories are Danube or Rosemary Cottage a part of ?
OR((Q1653,P17,c(Q15617994)), (Q26611140,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1653
relation P17
action find
entity Q26611140
relation P17
type Q15617994
{'OR': [['Q1653', 'P17', {'concept': 'Q15617994'}], ['Q26611140', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q26611140 property:P17 ?l } UNION { resource:Q1653 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Rosemary Cottage Danube
action filter_type
action union
action find
entity Danube
relation country
action find
entity Rosemary Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rosemary Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Rosemary_Cottage property:country ?l } UNION { resource:Danube property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q224 Q217 Q214 Q145 Q218 Q219 Q403 Q28
SYSTEM
Ukraine, Croatia, Republic of Moldova, Slovakia, United Kingdom, Romania, Bulgaria, Serbia, Hungary
Q212 Q224 Q217 Q214 Q145 Q218 Q219 Q403 Q28
OR((Q1653,P17,c(Q15617994)), (Q26611140,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1653
relation P17
action find
entity Q26611140
relation P17
type Q15617994
[ANSWERS] are Danube or Rosemary Cottage a part of
{'OR': [['Q1653', 'P17', {'concept': 'Q15617994'}], ['Q26611140', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q26611140 property:P17 ?l } UNION { resource:Q1653 property:P17 ?l } } . ?l rdf:type ontology:Q15617994 }
Ukraine Croatia Republic of Moldova Slovakia United Kingdom Romania Bulgaria Serbia Hungary
Ukraine, Croatia, Republic of Moldova, Slovakia, United Kingdom, Romania, Bulgaria, Serbia and Hungary are Danube or Rosemary Cottage a part of
Ukraine Croatia Republic of Moldova Slovakia United Kingdom Romania Bulgaria Serbia Hungary
action filter_type
action union
action find
entity Danube
relation country
action find
entity Rosemary Cottage
relation country
type designation for an administrative territorial entity
{'OR': [['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Rosemary Cottage', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Rosemary_Cottage property:country ?l } UNION { resource:Danube property:country ?l } } . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7770810 Q219
P463 P123
Q43229
USER
Which organizations were Bulgaria a member of or released The Twelve Kingdoms: The Vast Spread of the Seas ?
OR((Q219,P463,c(Q43229)), (Q7770810,P123,c(Q43229)))
action filter_type
action union
action find
entity Q219
relation P463
action find
entity Q7770810
relation P123
type Q43229
{'OR': [['Q219', 'P463', {'concept': 'Q43229'}], ['Q7770810', 'P123', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q219 property:P463 ?i } UNION { resource:Q7770810 property:P123 ?i } } . ?i rdf:type ontology:Q43229 }
The Twelve Kingdoms: The Vast Spread of the Seas Bulgaria
action filter_type
action union
action find
entity Bulgaria
relation member of
action find
entity The Twelve Kingdoms: The Vast Spread of the Seas
relation publisher
type organization
{'OR': [['Bulgaria', 'member of', {'concept': 'organization'}], ['The Twelve Kingdoms: The Vast Spread of the Seas', 'publisher', {'concept': 'organization'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Bulgaria property:member_of ?i } UNION { resource:The_Twelve_Kingdoms:_The_Vast_Spread_of_the_Seas property:publisher ?i } } . ?i rdf:type ontology:organization }
[]
organization
Q191384 Q899770 Q656801 Q380340 Q7825 Q726081
SYSTEM
International Bank for Reconstruction and Development, International Centre for Settlement of Investment Disputes, International Finance Corporation, Organization of the Black Sea Economic Cooperation, World Trade Organization, Kodansha
Q191384 Q899770 Q656801 Q380340 Q7825 Q726081
OR((Q219,P463,c(Q43229)), (Q7770810,P123,c(Q43229)))
action filter_type
action union
action find
entity Q219
relation P463
action find
entity Q7770810
relation P123
type Q43229
[ANSWERS] were Bulgaria a member of or released The Twelve Kingdoms: The Vast Spread of the Seas
{'OR': [['Q219', 'P463', {'concept': 'Q43229'}], ['Q7770810', 'P123', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q219 property:P463 ?i } UNION { resource:Q7770810 property:P123 ?i } } . ?i rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization Kodansha
International Bank for Reconstruction and Development, International Centre for Settlement of Investment Disputes, International Finance Corporation, Organization of the Black Sea Economic Cooperation, World Trade Organization and Kodansha were Bulgaria a member of or released The Twelve Kingdoms: The Vast Spread of the Seas
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization Kodansha
action filter_type
action union
action find
entity Bulgaria
relation member of
action find
entity The Twelve Kingdoms: The Vast Spread of the Seas
relation publisher
type organization
{'OR': [['Bulgaria', 'member of', {'concept': 'organization'}], ['The Twelve Kingdoms: The Vast Spread of the Seas', 'publisher', {'concept': 'organization'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Bulgaria property:member_of ?i } UNION { resource:The_Twelve_Kingdoms:_The_Vast_Spread_of_the_Seas property:publisher ?i } } . ?i rdf:type ontology:organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q726081
P749
Q334453
USER
Which division has that one as parent organization ?
(c(Q334453),P749,Q726081)
action filter_type
action find_reverse
entity Q726081
relation P749
type Q334453
[{'concept': 'Q334453'}, 'P749', 'Q726081']
SELECT DISTINCT ?w WHERE { ?w property:P749 resource:Q726081 . ?w rdf:type ontology:Q334453 }
Kodansha
action filter_type
action find_reverse
entity Kodansha
relation parent organization
type division
[{'concept': 'division'}, 'parent organization', 'Kodansha']
SELECT DISTINCT ?w WHERE { ?w property:parent_organization resource:Kodansha . ?w rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q7825
SYSTEM
Did you mean World Trade Organization ?
Q191384 Q899770 Q656801 Q380340 Q7825 Q726081
(c(Q334453),P749,Q191384) (c(Q334453),P749,Q899770) (c(Q334453),P749,Q656801) (c(Q334453),P749,Q380340) (c(Q334453),P749,Q7825) (c(Q334453),P749,Q726081)
[ANSWER]
[{'concept': 'Q334453'}, 'P749', 'Q191384'] [{'concept': 'Q334453'}, 'P749', 'Q899770'] [{'concept': 'Q334453'}, 'P749', 'Q656801'] [{'concept': 'Q334453'}, 'P749', 'Q380340'] [{'concept': 'Q334453'}, 'P749', 'Q7825'] [{'concept': 'Q334453'}, 'P749', 'Q726081']
SELECT DISTINCT ?w WHERE { ?w property:P749 resource:Q726081 . ?w rdf:type ontology:Q334453 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation Organization of the Black Sea Economic Cooperation World Trade Organization Kodansha
Did you mean World Trade Organization ?
World Trade Organization
[{'concept': 'division'}, 'parent organization', 'International Bank for Reconstruction and Development'] [{'concept': 'division'}, 'parent organization', 'International Centre for Settlement of Investment Disputes'] [{'concept': 'division'}, 'parent organization', 'International Finance Corporation'] [{'concept': 'division'}, 'parent organization', 'Organization of the Black Sea Economic Cooperation'] [{'concept': 'division'}, 'parent organization', 'World Trade Organization'] [{'concept': 'division'}, 'parent organization', 'Kodansha']
SELECT DISTINCT ?w WHERE { ?w property:parent_organization resource:Kodansha . ?w rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant Kodansha. Could you tell me the answer for that?
(c(Q334453),P749,Q726081)
Q726081
[{'concept': 'Q334453'}, 'P749', 'Q726081']
[{'concept': 'division'}, 'parent organization', 'Kodansha']
[]
Q1328605
SYSTEM
King Records
Q1328605
(c(Q334453),P749,Q726081)
action filter_type
action find_reverse
entity Q726081
relation P749
type Q334453
[ANSWER] has that one as parent organization
[{'concept': 'Q334453'}, 'P749', 'Q726081']
SELECT DISTINCT ?w WHERE { ?w property:P749 resource:Q726081 . ?w rdf:type ontology:Q334453 }
King Records
King Records has that one as parent organization
King Records
action filter_type
action find_reverse
entity Kodansha
relation parent organization
type division
[{'concept': 'division'}, 'parent organization', 'Kodansha']
SELECT DISTINCT ?w WHERE { ?w property:parent_organization resource:Kodansha . ?w rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1328605 Q60933
P264
Q502895
USER
Does Minami Takahashi have that division as its record brand ?
(Q60933,P264,Q1328605)
action is_in
entity Q1328605
action find
entity Q60933
relation P264
['Q60933', 'P264', 'Q1328605']
ASK WHERE { resource:Q60933 property:P264 resource:Q1328605 }
King Records Minami Takahashi
action is_in
entity King Records
action find
entity Minami Takahashi
relation record label
['Minami Takahashi', 'record label', 'King Records']
ASK WHERE { resource:Minami_Takahashi property:record_label resource:King_Records }
[]
common name
SYSTEM
YES
(Q60933,P264,Q1328605)
action is_in
entity Q1328605
action find
entity Q60933
relation P264
[ANSWER]
['Q60933', 'P264', 'Q1328605']
ASK WHERE { resource:Q60933 property:P264 resource:Q1328605 }
Yes
action is_in
entity King Records
action find
entity Minami Takahashi
relation record label
['Minami Takahashi', 'record label', 'King Records']
ASK WHERE { resource:Minami_Takahashi property:record_label resource:King_Records }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P355
Q334453 Q4830453
USER
Which business enterprises have atleast 1 division as their subsidiary ?
(c(Q4830453),P355,c(Q334453))
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?j ) WHERE { ?f rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q334453 . ?f property:P355 ?o } GROUP BY ?f } . FILTER ( ?j >= 1 ) }
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?j ) WHERE { ?f rdf:type ontology:business_enterprise . ?o rdf:type ontology:division . ?f property:subsidiary ?o } GROUP BY ?f } . FILTER ( ?j >= 1 ) }
[]
division business enterprise
Q10954015 Q23638508 Q43380
SYSTEM
Fuji Media Holdings, ArtPeople Holding, CBS
Q10954015 Q23638508 Q43380
(c(Q4830453),P355,c(Q334453))
action atleast
action find_tuple_counts
relation P355
type Q4830453
type Q334453
value 1
[ANSWERS] have atleast 1 division as their subsidiary
[{'concept': 'Q4830453'}, 'P355', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?j ) WHERE { ?f rdf:type ontology:Q4830453 . ?o rdf:type ontology:Q334453 . ?f property:P355 ?o } GROUP BY ?f } . FILTER ( ?j >= 1 ) }
Fuji Media Holdings ArtPeople Holding CBS
Fuji Media Holdings, ArtPeople Holding and CBS have atleast 1 division as their subsidiary
Fuji Media Holdings ArtPeople Holding CBS
action atleast
action find_tuple_counts
relation subsidiary
type business enterprise
type division
value 1
[{'concept': 'business enterprise'}, 'subsidiary', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?o ) AS ?j ) WHERE { ?f rdf:type ontology:business_enterprise . ?o rdf:type ontology:division . ?f property:subsidiary ?o } GROUP BY ?f } . FILTER ( ?j >= 1 ) }
[]