Simple Question (Direct)
Simple Question
Q1894218
P39
Q12737077
USER
What was the position for which Marcus Klein was appointed ?
(Q1894218,P39,c(Q12737077))
action filter_type
action find
entity Q1894218
relation P39
type Q12737077
['Q1894218', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1894218 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Marcus Klein
action filter_type
action find
entity Marcus Klein
relation position held
type occupation
['Marcus Klein', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Marcus_Klein property:position_held ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q18618563
SYSTEM
Member of Landtag of Rhineland-Palatinate
Q18618563
(Q1894218,P39,c(Q12737077))
action filter_type
action find
entity Q1894218
relation P39
type Q12737077
The [ANSWER]
['Q1894218', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1894218 property:P39 ?m . ?m rdf:type ontology:Q12737077 }
Member of Landtag of Rhineland-Palatinate
The Member of Landtag of Rhineland-Palatinate
Member of Landtag of Rhineland-Palatinate
action filter_type
action find
entity Marcus Klein
relation position held
type occupation
['Marcus Klein', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Marcus_Klein property:position_held ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1894218
P937
Q515
USER
Which city is the work location of Marcus Klein ?
(Q1894218,P937,c(Q515))
action filter_type
action find
entity Q1894218
relation P937
type Q515
['Q1894218', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q1894218 property:P937 ?a }
Marcus Klein
action filter_type
action find
entity Marcus Klein
relation work location
type city
['Marcus Klein', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Marcus_Klein property:work_location ?a }
[]
city
Q1720
SYSTEM
Mainz
Q1720
(Q1894218,P937,c(Q515))
action filter_type
action find
entity Q1894218
relation P937
type Q515
[ANSWER] is the work location of Marcus Klein
['Q1894218', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q515 . resource:Q1894218 property:P937 ?a }
Mainz
Mainz is the work location of Marcus Klein
Mainz
action filter_type
action find
entity Marcus Klein
relation work location
type city
['Marcus Klein', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:city . resource:Marcus_Klein property:work_location ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18618563
P361
Q1752346
USER
Which assembly is Member of Landtag of Rhineland-Palatinate a component of ?
(Q18618563,P361,c(Q1752346))
action filter_type
action find
entity Q18618563
relation P361
type Q1752346
['Q18618563', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q18618563 property:P361 ?g . ?g rdf:type ontology:Q1752346 }
Member of Landtag of Rhineland-Palatinate
action filter_type
action find
entity Member of Landtag of Rhineland-Palatinate
relation part of
type assembly
['Member of Landtag of Rhineland-Palatinate', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_Landtag_of_Rhineland-Palatinate property:part_of ?g . ?g rdf:type ontology:assembly }
[]
assembly
Q314690
SYSTEM
Landtag of Rhineland-Palatinate
Q314690
(Q18618563,P361,c(Q1752346))
action filter_type
action find
entity Q18618563
relation P361
type Q1752346
The [ANSWER] is Member of [ANSWER] a component of
['Q18618563', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?g WHERE { resource:Q18618563 property:P361 ?g . ?g rdf:type ontology:Q1752346 }
Landtag of Rhineland-Palatinate
The Landtag of Rhineland-Palatinate is Member of Landtag of Rhineland-Palatinate a component of
Landtag of Rhineland-Palatinate
action filter_type
action find
entity Member of Landtag of Rhineland-Palatinate
relation part of
type assembly
['Member of Landtag of Rhineland-Palatinate', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?g WHERE { resource:Member_of_Landtag_of_Rhineland-Palatinate property:part_of ?g . ?g rdf:type ontology:assembly }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q18643511 Q18618563
P361
Q1752346
USER
Or representative in the Croatian Parliament?
OR((Q18618563,P361,c(Q1752346)), (Q18643511,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q18618563
relation P361
action find
entity Q18643511
relation P361
type Q1752346
{'OR': [['Q18618563', 'P361', {'concept': 'Q1752346'}], ['Q18643511', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18618563 property:P361 ?m } UNION { resource:Q18643511 property:P361 ?m } } . ?m rdf:type ontology:Q1752346 }
representative in the Croatian Parliament Member of Landtag of Rhineland-Palatinate
action filter_type
action union
action find
entity Member of Landtag of Rhineland-Palatinate
relation part of
action find
entity representative in the Croatian Parliament
relation part of
type assembly
{'OR': [['Member of Landtag of Rhineland-Palatinate', 'part of', {'concept': 'assembly'}], ['representative in the Croatian Parliament', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Member_of_Landtag_of_Rhineland-Palatinate property:part_of ?m } UNION { resource:representative_in_the_Croatian_Parliament property:part_of ?m } } . ?m rdf:type ontology:assembly }
[]
assembly
Q371576 Q314690
SYSTEM
Parliament of Croatia, Landtag of Rhineland-Palatinate
Q371576 Q314690
OR((Q18618563,P361,c(Q1752346)), (Q18643511,P361,c(Q1752346)))
action filter_type
action union
action find
entity Q18618563
relation P361
action find
entity Q18643511
relation P361
type Q1752346
[ANSWERS]
{'OR': [['Q18618563', 'P361', {'concept': 'Q1752346'}], ['Q18643511', 'P361', {'concept': 'Q1752346'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18618563 property:P361 ?m } UNION { resource:Q18643511 property:P361 ?m } } . ?m rdf:type ontology:Q1752346 }
Parliament of Croatia Landtag of Rhineland-Palatinate
Parliament of Croatia Landtag of Rhineland-Palatinate
action filter_type
action union
action find
entity Member of Landtag of Rhineland-Palatinate
relation part of
action find
entity representative in the Croatian Parliament
relation part of
type assembly
{'OR': [['Member of Landtag of Rhineland-Palatinate', 'part of', {'concept': 'assembly'}], ['representative in the Croatian Parliament', 'part of', {'concept': 'assembly'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Member_of_Landtag_of_Rhineland-Palatinate property:part_of ?m } UNION { resource:representative_in_the_Croatian_Parliament property:part_of ?m } } . ?m rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q18643511
P39
Q502895
USER
How many people were responsible for occupying the position of representative in the Croatian Parliament ?
(c(Q502895),P39,Q18643511)
action count
action filter_type
action find_reverse
entity Q18643511
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q18643511']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P39 resource:Q18643511 . ?p rdf:type ontology:Q502895 }
representative in the Croatian Parliament
action count
action filter_type
action find_reverse
entity representative in the Croatian Parliament
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'representative in the Croatian Parliament']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:position_held resource:representative_in_the_Croatian_Parliament . ?p rdf:type ontology:common_name }
[]
common name
SYSTEM
122
Q585042 Q1257026 Q57687 Q7286273 Q1271742 Q572658 Q378316 Q1252537 Q1560823 Q7155920 Q982371 Q6290956 Q3511784 Q1256067 Q6874063 Q6314835 Q12956737 Q898543 Q8068008 Q57611 Q6763316 Q2481114 Q1287389 Q1274758 Q12960651 Q1260118 Q2618434 Q2704430 Q933740 Q4953084 Q4953087 Q7918021 Q603685 Q3510768 Q1158559 Q1394238 Q1252018 Q5924047 Q2501717 Q3513267 Q727158 Q6932304 Q965504 Q6099247 Q6436937 Q3441723 Q1271876 Q1254068 Q7003822 Q2986845 Q7169421 Q1564326 Q391615 Q965495 Q7938758 Q2328723 Q2620544 Q199890 Q1393117 Q1254617 Q3449649 Q3510862 Q2590916 Q2590916 Q2590916 Q2590916 Q666662 Q267808 Q1378526 Q640589 Q6154861 Q7539458 Q4945290 Q57258 Q511448 Q7930225 Q231480 Q1278802 Q342153 Q100205 Q1256837 Q3443168 Q5584431 Q1937813 Q11685764 Q1609113 Q1265518 Q58191 Q18446 Q5223754 Q3109021 Q1564277 Q4846291 Q1675624 Q571574 Q354790 Q1279988 Q5242086 Q353950 Q2456974 Q6786347 Q1675612 Q5484755 Q1288809 Q5212596 Q5218824 Q2618680 Q356210 Q7171729 Q146496 Q6099043 Q56220 Q1279435 Q1337804 Q723199 Q4373705 Q6290924 Q5924044 Q299667 Q723176 Q6983437 Q8083670
(c(Q502895),P39,Q18643511)
action count
action filter_type
action find_reverse
entity Q18643511
relation P39
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q18643511']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:P39 resource:Q18643511 . ?p rdf:type ontology:Q502895 }
Anto Đapić Antun Vrdoljak Zoran Milanović Rajko Ostojić Luka Bebić Ivić Pašalić Perica Bukić Marina Matulović-Dropulić Božidar Kalmeta Pavle Kalinić Franjo Gregurić Josip Torbar Antun Vujić Dražen Budiša Miroslav Rožić Juraj Njavro Davor Ivo Stier Branimir Glavaš Zdravko Tomac Jadranka Kosor Marija Lugarić Danira Bilić Zlatko Tomčić Vladimir Šeks Zdravka Bušić Ruža Tomašić Josip Friščić Ivan Aralica Tomislav Karamarko Božo Biškupić Božo Kovačević Vedran Rožić Relja Bašić Žarko Domljan Damir Škaro Miroslav Škoro Ljubo Jurčić Hrvoje Kačić Željka Antunović Pavao Miljavac Nikica Valentić Muhamed Zulić Dobroslav Paraga Ivo Šlaus Krešimir Ćosić Jozo Radoš Ivan Grubišić Damir Kajin Neven Jurica Milanka Opačić Pero Kovačević Andro Vlahušić Šime Đodan Vice Vukov Vladimir Štengl Anto Kovačević Dražen Bošnjaković Slaven Letica Ivo Banac Dragan Primorac Ante Prkačin Ivan Milas Milorad Pupovac Milorad Pupovac Milorad Pupovac Milorad Pupovac Janko Bobetko Savka Dabčević-Kučar Luciano Sušanj Miko Tripalo Janko Vranyczany-Dobrinović Slavko Vukšić Boris Klemenić Ivo Josipović Andrija Hebrang Vilim Herman Zvonimir Červenko Vlatko Pavletić Đurđa Adlešič Jakob Graf zu Eltz Dragutin Lesar Neven Mimica Goran Granić Miomir Žužul Andrej Plenković Marko Veselica Ana Lovrin Vesna Pusić Dalibor Brozović Darko Milinović Ivan Jakovčić Ivo Škrabalo Željko Reiner Ivan Vekić Ante Kotromanović Mirko Filipović Vesna Škare-Ožbolt Davor Bernardić Ivan Čehok Franjo Arapović Mate Meštrović Ivan Rabuzin Frane Vinko Golem Berislav Rončević Damir Rilje Daniel Srb Ranko Ostojić Milan Đukić Petar Mlinarić Stjepan Mesić Ivo Andrić-Lužanski Ivo Sanader Boris Buzančić Gordan Jandroković Vlado Gotovac Zlatko Kramarić Josip Pankretić Hrvoje Hitrec Dubravka Šuica Lino Červar Nazif Memedi Željko Turk
122
action count
action filter_type
action find_reverse
entity representative in the Croatian Parliament
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'representative in the Croatian Parliament']
SELECT DISTINCT ( COUNT ( ?p ) AS ?q ) WHERE { ?p property:position_held resource:representative_in_the_Croatian_Parliament . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q371576
P1001
Q15617994
USER
Which administrative territory is linked to Parliament of Croatia ?
(Q371576,P1001,c(Q15617994))
action filter_type
action find
entity Q371576
relation P1001
type Q15617994
['Q371576', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q371576 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
Parliament of Croatia
action filter_type
action find
entity Parliament of Croatia
relation applies to jurisdiction
type designation for an administrative territorial entity
['Parliament of Croatia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Parliament_of_Croatia property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q371576,P1001,c(Q15617994))
action filter_type
action find
entity Q371576
relation P1001
type Q15617994
In [ANSWER] is linked to Parliament of [ANSWER]
['Q371576', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q371576 property:P1001 ?h . ?h rdf:type ontology:Q15617994 }
Croatia
In Croatia is linked to Parliament of Croatia
Croatia
action filter_type
action find
entity Parliament of Croatia
relation applies to jurisdiction
type designation for an administrative territorial entity
['Parliament of Croatia', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Parliament_of_Croatia property:applies_to_jurisdiction ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q224
P206
Q15324
USER
Which body of water is located in the neighbourhood of that administrative territory ?
(Q224,P206,c(Q15324))
action filter_type
action find
entity Q224
relation P206
type Q15324
['Q224', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15324 . resource:Q224 property:P206 ?g }
Croatia
action filter_type
action find
entity Croatia
relation located next to body of water
type body of water
['Croatia', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:body_of_water . resource:Croatia property:located_next_to_body_of_water ?g }
[]
body of water
Q13924
SYSTEM
Adriatic Sea
Q13924
(Q224,P206,c(Q15324))
action filter_type
action find
entity Q224
relation P206
type Q15324
[ANSWER] is located in the neighbourhood of that administrative territory
['Q224', 'P206', {'concept': 'Q15324'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15324 . resource:Q224 property:P206 ?g }
Adriatic Sea
Adriatic Sea is located in the neighbourhood of that administrative territory
Adriatic Sea
action filter_type
action find
entity Croatia
relation located next to body of water
type body of water
['Croatia', 'located next to body of water', {'concept': 'body of water'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:body_of_water . resource:Croatia property:located_next_to_body_of_water ?g }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7850236 Q224
P206
Q15324
USER
Or Tsunoshima?
OR((Q224,P206,c(Q15324)), (Q7850236,P206,c(Q15324)))
action filter_type
action union
action find
entity Q224
relation P206
action find
entity Q7850236
relation P206
type Q15324
{'OR': [['Q224', 'P206', {'concept': 'Q15324'}], ['Q7850236', 'P206', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q224 property:P206 ?i } UNION { resource:Q7850236 property:P206 ?i } } . ?i rdf:type ontology:Q15324 }
Tsunoshima Croatia
action filter_type
action union
action find
entity Croatia
relation located next to body of water
action find
entity Tsunoshima
relation located next to body of water
type body of water
{'OR': [['Croatia', 'located next to body of water', {'concept': 'body of water'}], ['Tsunoshima', 'located next to body of water', {'concept': 'body of water'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Croatia property:located_next_to_body_of_water ?i } UNION { resource:Tsunoshima property:located_next_to_body_of_water ?i } } . ?i rdf:type ontology:body_of_water }
[]
body of water
Q13924 Q27092
SYSTEM
Adriatic Sea, Sea of Japan
Q13924 Q27092
OR((Q224,P206,c(Q15324)), (Q7850236,P206,c(Q15324)))
action filter_type
action union
action find
entity Q224
relation P206
action find
entity Q7850236
relation P206
type Q15324
[ANSWERS]
{'OR': [['Q224', 'P206', {'concept': 'Q15324'}], ['Q7850236', 'P206', {'concept': 'Q15324'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q224 property:P206 ?i } UNION { resource:Q7850236 property:P206 ?i } } . ?i rdf:type ontology:Q15324 }
Adriatic Sea Sea of Japan
Adriatic Sea Sea of Japan
action filter_type
action union
action find
entity Croatia
relation located next to body of water
action find
entity Tsunoshima
relation located next to body of water
type body of water
{'OR': [['Croatia', 'located next to body of water', {'concept': 'body of water'}], ['Tsunoshima', 'located next to body of water', {'concept': 'body of water'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Croatia property:located_next_to_body_of_water ?i } UNION { resource:Tsunoshima property:located_next_to_body_of_water ?i } } . ?i rdf:type ontology:body_of_water }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P403
Q4022 Q355304
USER
How many rivers or watercourses drain into that body of water ?
(c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q27092) (c(Q355304),P403,Q27092)
[{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q27092'] [{'concept': 'Q355304'}, 'P403', 'Q27092']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q27092 } UNION { ?y property:P403 resource:Q27092 } } . ?z rdf:type ontology:Q1523437 . ?y rdf:type ontology:Q355304 }
[{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Sea of Japan'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Sea_of_Japan } UNION { ?y property:mouth_of_the_watercourse resource:Sea_of_Japan } } . ?z rdf:type ontology:river . ?y rdf:type ontology:watercourse }
[]
river watercourse
Quantitative|Count|Mult. entity type|Clarification
Q27092
SYSTEM
Did you mean Sea of Japan ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q27092 } UNION { ?y property:P403 resource:Q27092 } } . ?z rdf:type ontology:Q1523437 . ?y rdf:type ontology:Q355304 }
Did you mean Sea of Japan ?
Sea of Japan
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Sea_of_Japan } UNION { ?y property:mouth_of_the_watercourse resource:Sea_of_Japan } } . ?z rdf:type ontology:river . ?y rdf:type ontology:watercourse }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Adriatic Sea. Could you tell me the answer for that?
(c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q27092) (c(Q355304),P403,Q27092)
Q13924
[{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q27092'] [{'concept': 'Q355304'}, 'P403', 'Q27092']
[{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Sea of Japan'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
[]
SYSTEM
61
Q664362 Q643 Q3858967 Q1244834 Q1055115 Q674636 Q591224 Q71654 Q60492 Q2249944 Q522100 Q1236208 Q3328852 Q3073093 Q747929 Q969496 Q116808 Q658594 Q71530 Q214551 Q970873 Q672208 Q1086646 Q584680 Q727618 Q519866 Q657147 Q1218460 Q213462 Q71686 Q788452 Q653678 Q1682047 Q81503 Q372490 Q202760 Q647364 Q841550 Q3983464 Q1242228 Q3905437 Q81632 Q2589967 Q71768 Q18391188 Q190777 Q647489 Q658214 Q1464330 Q71621 Q736668 Q1255172 Q71743 Q172572 Q213975 Q14087 Q71703 Q13696 Q680667 Q1801631 Q266116
(c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q13924) (c(Q355304),P403,Q13924) (c(Q4022),P403,Q27092) (c(Q355304),P403,Q27092)
[ANSWER]
[{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q13924'] [{'concept': 'Q355304'}, 'P403', 'Q13924'] [{'concept': 'Q4022'}, 'P403', 'Q27092'] [{'concept': 'Q355304'}, 'P403', 'Q27092']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q13924 } UNION { ?y property:P403 resource:Q13924 } UNION { ?z property:P403 resource:Q27092 } UNION { ?y property:P403 resource:Q27092 } } . ?z rdf:type ontology:Q1523437 . ?y rdf:type ontology:Q355304 }
Foglia Po Misa Livenza Potenza Marano Krka Alento (Abruzzo) Erzen Savio Cetina Marecchia Musone Uniti Tagliamento Esino Ishëm Reno Aterno-Pescara Brenta Conca Tordino Rječina Cesano Biferno Mat Aso Tesino Piave Feltrino Dragonja Metauro Reka River Vjosë Bojana Soča Salinello Ofanto Tenna Tartaro-Canalbianco-Po di Levante Piomba Seman Ausa River Trigno Moro Neretva Chienti Carapelle Trebišnjica Sangro Shkumbin Saline Sinello Rubicon Drin Tronto Foro Adige Fortore Lamone Vomano
61
[{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Adriatic Sea'] [{'concept': 'river'}, 'mouth of the watercourse', 'Sea of Japan'] [{'concept': 'watercourse'}, 'mouth of the watercourse', 'Sea of Japan']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?y property:mouth_of_the_watercourse resource:Adriatic_Sea } UNION { ?z property:mouth_of_the_watercourse resource:Sea_of_Japan } UNION { ?y property:mouth_of_the_watercourse resource:Sea_of_Japan } } . ?z rdf:type ontology:river . ?y rdf:type ontology:watercourse }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q371576
P194
Q7275
USER
Which states have Parliament of Croatia as their representative body ?
(c(Q7275),P194,Q371576)
action filter_type
action find_reverse
entity Q371576
relation P194
type Q7275
[{'concept': 'Q7275'}, 'P194', 'Q371576']
SELECT DISTINCT ?v WHERE { ?v property:P194 resource:Q371576 . ?v rdf:type ontology:Q7275 }
Parliament of Croatia
action filter_type
action find_reverse
entity Parliament of Croatia
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', 'Parliament of Croatia']
SELECT DISTINCT ?v WHERE { ?v property:legislative_body resource:Parliament_of_Croatia . ?v rdf:type ontology:state }
[]
state
Q533558 Q1789596
SYSTEM
Kingdom of Croatia-Slavonia, Croatia in personal union with Hungary
Q533558 Q1789596
(c(Q7275),P194,Q371576)
action filter_type
action find_reverse
entity Q371576
relation P194
type Q7275
[ANSWERS] have Parliament of Croatia as their representative body
[{'concept': 'Q7275'}, 'P194', 'Q371576']
SELECT DISTINCT ?v WHERE { ?v property:P194 resource:Q371576 . ?v rdf:type ontology:Q7275 }
Kingdom of Croatia-Slavonia Croatia in personal union with Hungary
Kingdom of Croatia-Slavonia and Croatia in personal union with Hungary have Parliament of Croatia as their representative body
Kingdom of Croatia-Slavonia Croatia in personal union with Hungary
action filter_type
action find_reverse
entity Parliament of Croatia
relation legislative body
type state
[{'concept': 'state'}, 'legislative body', 'Parliament of Croatia']
SELECT DISTINCT ?v WHERE { ?v property:legislative_body resource:Parliament_of_Croatia . ?v rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q533558 Q1789596
P194
Q1752346
USER
Which assemblies represent Kingdom of Croatia-Slavonia and Croatia in personal union with Hungary ?
(Q533558,P194,c(Q1752346)) (Q1789596,P194,c(Q1752346))
action union
action filter_type
action find
entity Q533558
relation P194
type Q1752346
action filter_type
action find
entity Q1789596
relation P194
type Q1752346
['Q533558', 'P194', {'concept': 'Q1752346'}] ['Q1789596', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { { resource:Q533558 property:P194 ?u . ?u rdf:type ontology:Q1752346 } UNION { ?u rdf:type ontology:Q1752346 . resource:Q1789596 property:P194 ?u } }
Kingdom of Croatia-Slavonia Croatia in personal union with Hungary
action union
action filter_type
action find
entity Kingdom of Croatia-Slavonia
relation legislative body
type assembly
action filter_type
action find
entity Croatia in personal union with Hungary
relation legislative body
type assembly
['Kingdom of Croatia-Slavonia', 'legislative body', {'concept': 'assembly'}] ['Croatia in personal union with Hungary', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { { resource:Kingdom_of_Croatia-Slavonia property:legislative_body ?u . ?u rdf:type ontology:assembly } UNION { ?u rdf:type ontology:assembly . resource:Croatia_in_personal_union_with_Hungary property:legislative_body ?u } }
[]
assembly
Q371576 Q371576
SYSTEM
Parliament of Croatia
Q371576 Q371576
(Q533558,P194,c(Q1752346)) (Q1789596,P194,c(Q1752346))
action union
action filter_type
action find
entity Q533558
relation P194
type Q1752346
action filter_type
action find
entity Q1789596
relation P194
type Q1752346
[ANSWER] and [ANSWER] represent Kingdom of Croatia-Slavonia and Croatia in personal union with Hungary
['Q533558', 'P194', {'concept': 'Q1752346'}] ['Q1789596', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?u WHERE { { resource:Q533558 property:P194 ?u . ?u rdf:type ontology:Q1752346 } UNION { ?u rdf:type ontology:Q1752346 . resource:Q1789596 property:P194 ?u } }
Parliament of Croatia Parliament of Croatia
Parliament of Croatia and Parliament of Croatia represent Kingdom of Croatia-Slavonia and Croatia in personal union with Hungary
Parliament of Croatia Parliament of Croatia
action union
action filter_type
action find
entity Kingdom of Croatia-Slavonia
relation legislative body
type assembly
action filter_type
action find
entity Croatia in personal union with Hungary
relation legislative body
type assembly
['Kingdom of Croatia-Slavonia', 'legislative body', {'concept': 'assembly'}] ['Croatia in personal union with Hungary', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?u WHERE { { resource:Kingdom_of_Croatia-Slavonia property:legislative_body ?u . ?u rdf:type ontology:assembly } UNION { ?u rdf:type ontology:assembly . resource:Croatia_in_personal_union_with_Hungary property:legislative_body ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q371576
P17
Q15617994
USER
Which administrative territory is Parliament of Croatia located in ?
(Q371576,P17,c(Q15617994))
action filter_type
action find
entity Q371576
relation P17
type Q15617994
['Q371576', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q371576 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Parliament of Croatia
action filter_type
action find
entity Parliament of Croatia
relation country
type designation for an administrative territorial entity
['Parliament of Croatia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Parliament_of_Croatia property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q224
SYSTEM
Croatia
Q224
(Q371576,P17,c(Q15617994))
action filter_type
action find
entity Q371576
relation P17
type Q15617994
Parliament of [ANSWER] is located in [ANSWER]
['Q371576', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q371576 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Croatia
Parliament of Croatia is located in Croatia
Croatia
action filter_type
action find
entity Parliament of Croatia
relation country
type designation for an administrative territorial entity
['Parliament of Croatia', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Parliament_of_Croatia property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]