Simple Question (Direct)
Simple Question
Q9306
P1376
Q1048835
USER
Which political territory has Eberswalde has its center of administration ?
(Q9306,P1376,c(Q1048835))
action filter_type
action find
entity Q9306
relation P1376
type Q1048835
['Q9306', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q9306 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Eberswalde
action filter_type
action find
entity Eberswalde
relation capital of
type political territorial entity
['Eberswalde', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eberswalde property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6115
SYSTEM
Barnim
Q6115
(Q9306,P1376,c(Q1048835))
action filter_type
action find
entity Q9306
relation P1376
type Q1048835
Had [ANSWER] has Eberswalde has its center of administration
['Q9306', 'P1376', {'concept': 'Q1048835'}]
SELECT DISTINCT ?z WHERE { resource:Q9306 property:P1376 ?z . ?z rdf:type ontology:Q1048835 }
Barnim
Had Barnim has Eberswalde has its center of administration
Barnim
action filter_type
action find
entity Eberswalde
relation capital of
type political territorial entity
['Eberswalde', 'capital of', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eberswalde property:capital_of ?z . ?z rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6115
P36
Q56061
USER
What is the capital of that political territory ?
(Q6115,P36,c(Q56061))
action filter_type
action find
entity Q6115
relation P36
type Q56061
['Q6115', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q6115 property:P36 ?w }
Barnim
action filter_type
action find
entity Barnim
relation capital
type administrative territorial entity
['Barnim', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Barnim property:capital ?w }
[]
administrative territorial entity
Q9306
SYSTEM
Eberswalde
Q9306
(Q6115,P36,c(Q56061))
action filter_type
action find
entity Q6115
relation P36
type Q56061
The capital of that political territory is of [ANSWER]
['Q6115', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q56061 . resource:Q6115 property:P36 ?w }
Eberswalde
The capital of that political territory is of Eberswalde
Eberswalde
action filter_type
action find
entity Barnim
relation capital
type administrative territorial entity
['Barnim', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:administrative_territorial_entity . resource:Barnim property:capital ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027389
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as their registry harbour than Triton ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027389
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?e ) WHERE { ?k property:P532 ?z . ?k rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?k } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q24027389 property:P532 ?f . ?f rdf:type ontology:Q2235308 } } }
Triton
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Triton
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?e ) WHERE { ?k property:port_of_registry ?z . ?k rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Triton property:port_of_registry ?f . ?f rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027389
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?e ) WHERE { ?k property:P532 ?z . ?k rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?k } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q24027389 property:P532 ?f . ?f rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Triton
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?z ) AS ?e ) WHERE { ?k property:port_of_registry ?z . ?k rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?e > ?g ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Triton property:port_of_registry ?f . ?f rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q23579589
P532
Q56061 Q2235308
USER
And what about MV Christinaki?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23579589
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?u property:P532 ?q . ?u rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ontology:Q2235308 . resource:Q23579589 property:P532 ?m } } . FILTER ( ?s > ?d ) }
MV Christinaki
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MV Christinaki
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?u property:port_of_registry ?q . ?u rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ontology:ship_type . resource:MV_Christinaki property:port_of_registry ?m } } . FILTER ( ?s > ?d ) }
[]
administrative territorial entity ship type
SYSTEM
5
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q23579589
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?u property:P532 ?q . ?u rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ontology:Q2235308 . resource:Q23579589 property:P532 ?m } } . FILTER ( ?s > ?d ) }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
5
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MV Christinaki
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?s ) WHERE { ?u property:port_of_registry ?q . ?u rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { ?m rdf:type ontology:ship_type . resource:MV_Christinaki property:port_of_registry ?m } } . FILTER ( ?s > ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9306
P19
Q502895
USER
How many people have location of birth at Eberswalde ?
(c(Q502895),P19,Q9306)
action count
action filter_type
action find_reverse
entity Q9306
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q9306']
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:Q502895 . ?r property:P19 resource:Q9306 }
Eberswalde
action count
action filter_type
action find_reverse
entity Eberswalde
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eberswalde']
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_birth resource:Eberswalde }
[]
common name
SYSTEM
60
Q2061404 Q1793932 Q1901696 Q2591822 Q1079472 Q96346 Q1611288 Q2571838 Q1532855 Q1515211 Q2475874 Q1353235 Q5504859 Q2073794 Q1359082 Q1223678 Q1278960 Q27049759 Q5110445 Q2034161 Q2477296 Q1320618 Q2473175 Q5392567 Q1897422 Q1157273 Q1279068 Q539369 Q1378098 Q1643272 Q22004137 Q1350896 Q98556 Q1600869 Q5621042 Q316829 Q1229324 Q5388078 Q16070968 Q105781 Q1690254 Q1605585 Q15437364 Q103760 Q450910 Q1234116 Q1418477 Q958698 Q97561 Q1582384 Q1224198 Q1510938 Q2041301 Q4296559 Q825717 Q2074985 Q15990478 Q1345066 Q1253157 Q18018966
(c(Q502895),P19,Q9306)
action count
action filter_type
action find_reverse
entity Q9306
relation P19
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q9306']
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:Q502895 . ?r property:P19 resource:Q9306 }
Paul Mueller-Walde Kurt Ohnesorge Markus Müller Wolfgang Zarnack Christian Ferber Eva Zeller Hermann Großmann Wilhelm Bartsch Hans-Jürgen Döscher Gert Heidenreich Ulrich Grunmach Erich Schuppan Fritz Below Peter Baronsky Ernst Krüger Dietrich Beyer Eberhard Erxleben Wan Yuan Christiane Nord Oskar von Reichenbach Ulrike Gruska Horst Kramer Udo Hartmann Erna Bürger Marie Luise Becker Dagmar Frederic Eberhard Hilf Ralf Hauptmann Paul Hager Max Willutzki Christian Düring Erhard Meier Karl Schulz Walter Hugo Gross Gustav-Adolf Bursche Paul Wunderlich Wolfgang Rutschke Erich Olboeter Jens-Jörg Rieck Georg Friedrich von Tempelhoff Joachim Krüger Henning Wagenbreth Hermann Hoepke Ursula Werner Candida Höfer Günther Ludwig Friedrich-Wilhelm Marquardt Mike Rietpietsch Ernst Meissel Hans Schrem Dietrich von Oppen Gerd von Koerber Otto Schjerning Friedrich Mieth Bernhard Panzram Peter Fürstenberg Vineta Bastian-Klinger Heinrich Beda Gerhard Siebholz Carl Gottlob Heinrich Arndt
60
action count
action filter_type
action find_reverse
entity Eberswalde
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Eberswalde']
SELECT DISTINCT ( COUNT ( ?r ) AS ?o ) WHERE { ?r rdf:type ontology:common_name . ?r property:place_of_birth resource:Eberswalde }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9306
P190
Q486972
USER
Which human settlement is twin town of that administrative territory ?
action filter_type
action find
entity Q9306
relation P190
type Q486972
SELECT DISTINCT ?d WHERE { resource:Q9306 property:P190 ?d . ?d rdf:type ontology:Q486972 }
Eberswalde
action filter_type
action find
entity Eberswalde
relation sister city
type human settlement
SELECT DISTINCT ?d WHERE { resource:Eberswalde property:sister_city ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q104731
SYSTEM
Gorzów Wielkopolski
Q104731
action filter_type
action find
entity Q9306
relation P190
type Q486972
[ANSWER] is twin town of that administrative territory
SELECT DISTINCT ?d WHERE { resource:Q9306 property:P190 ?d . ?d rdf:type ontology:Q486972 }
Gorzów Wielkopolski
Gorzów Wielkopolski is twin town of that administrative territory
Gorzów Wielkopolski
action filter_type
action find
entity Eberswalde
relation sister city
type human settlement
SELECT DISTINCT ?d WHERE { resource:Eberswalde property:sister_city ?d . ?d rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104731
P47
Q13220204
USER
Which administrative country subdivision is next to the border of that human settlement ?
(c(Q13220204),P47,Q104731)
action filter_type
action find_reverse
entity Q104731
relation P47
type Q13220204
[{'concept': 'Q13220204'}, 'P47', 'Q104731']
SELECT DISTINCT ?c WHERE { ?c property:P47 resource:Q104731 . ?c rdf:type ontology:Q13220204 }
Gorzów Wielkopolski
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Gorzów Wielkopolski']
SELECT DISTINCT ?c WHERE { ?c property:shares_border_with resource:Gorzów_Wielkopolski . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q317818
SYSTEM
Gorzów County
Q317818
(c(Q13220204),P47,Q104731)
action filter_type
action find_reverse
entity Q104731
relation P47
type Q13220204
[ANSWER] is next to the border of that human settlement
[{'concept': 'Q13220204'}, 'P47', 'Q104731']
SELECT DISTINCT ?c WHERE { ?c property:P47 resource:Q104731 . ?c rdf:type ontology:Q13220204 }
Gorzów County
Gorzów County is next to the border of that human settlement
Gorzów County
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation shares border with
type second-level administrative country subdivision
[{'concept': 'second-level administrative country subdivision'}, 'shares border with', 'Gorzów Wielkopolski']
SELECT DISTINCT ?c WHERE { ?c property:shares_border_with resource:Gorzów_Wielkopolski . ?c rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104731
P276
Q838948
USER
What is located at Gorzów Wielkopolski ?
(c(Q838948),P276,Q104731)
action filter_type
action find_reverse
entity Q104731
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q104731']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q104731 . ?q rdf:type ontology:Q838948 }
Gorzów Wielkopolski
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Gorzów Wielkopolski']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Gorzów_Wielkopolski . ?q rdf:type ontology:work_of_art }
[]
work of art
Q3915073
SYSTEM
Adam Mickiewicz Monument, Gorzów Wielkopolski
Q3915073
(c(Q838948),P276,Q104731)
action filter_type
action find_reverse
entity Q104731
relation P276
type Q838948
[ANSWER] is located at Gorzów Wielkopolski
[{'concept': 'Q838948'}, 'P276', 'Q104731']
SELECT DISTINCT ?q WHERE { ?q property:P276 resource:Q104731 . ?q rdf:type ontology:Q838948 }
Adam Mickiewicz Monument, Gorzów Wielkopolski
Adam Mickiewicz Monument, Gorzów Wielkopolski is located at Gorzów Wielkopolski
Adam Mickiewicz Monument, Gorzów Wielkopolski
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'Gorzów Wielkopolski']
SELECT DISTINCT ?q WHERE { ?q property:location resource:Gorzów_Wielkopolski . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104731
P937
Q502895
USER
Who are an people who works at that human settlement ?
(c(Q502895),P937,Q3915073)
action filter_type
action find_reverse
entity Q104731
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q3915073']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q104731 . ?q rdf:type ontology:Q502895 }
Gorzów Wielkopolski
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Adam Mickiewicz Monument, Gorzów Wielkopolski']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:Gorzów_Wielkopolski . ?q rdf:type ontology:common_name }
[]
common name
Q21224256 Q1038116 Q19284288
SYSTEM
Teresa Klimek, Carl Friedrich Wilhelm Müller, Gottfried Brunner
Q21224256 Q1225967 Q19284288 Q1696039 Q1241089 Q1038116
(c(Q502895),P937,Q3915073)
action filter_type
action find_reverse
entity Q104731
relation P937
type Q502895
An people works at that human settlement are [ANSWERS]
[{'concept': 'Q502895'}, 'P937', 'Q3915073']
SELECT DISTINCT ?q WHERE { ?q property:P937 resource:Q104731 . ?q rdf:type ontology:Q502895 }
Teresa Klimek Max Bahr Gottfried Brunner Werner Schleusener Johann Gotthilf Seliger Carl Friedrich Wilhelm Müller
An people works at that human settlement are Teresa Klimek, Carl Friedrich Wilhelm Müller and Gottfried Brunner
Teresa Klimek Carl Friedrich Wilhelm Müller Gottfried Brunner
action filter_type
action find_reverse
entity Gorzów Wielkopolski
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Adam Mickiewicz Monument, Gorzów Wielkopolski']
SELECT DISTINCT ?q WHERE { ?q property:work_location resource:Gorzów_Wielkopolski . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q21224256 Q1038116 Q19284288
P21
Q290
USER
Which sexes do those people belong to ?
(Q21224256,P21,c(Q290)) (Q1038116,P21,c(Q290)) (Q19284288,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q21224256', 'P21', {'concept': 'Q290'}] ['Q1038116', 'P21', {'concept': 'Q290'}] ['Q19284288', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . VALUES ( ?p ) { ( resource:Q21224256 ) ( resource:Q1225967 ) ( resource:Q19284288 ) } . ?p property:P21 ?f }
Teresa Klimek Carl Friedrich Wilhelm Müller Gottfried Brunner
action filter_type
action find
entity prev_answer
relation gender
type sex
['Teresa Klimek', 'gender', {'concept': 'sex'}] ['Carl Friedrich Wilhelm Müller', 'gender', {'concept': 'sex'}] ['Gottfried Brunner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . VALUES ( ?p ) { ( resource:Teresa_Klimek ) ( resource:Max_Bahr ) ( resource:Gottfried_Brunner ) } . ?p property:gender ?f }
[]
sex
Q6581072 Q6581097 Q6581097
SYSTEM
male for 2nd, 3rd, female for 1st
Q6581072 Q6581097 Q6581097
(Q21224256,P21,c(Q290)) (Q1038116,P21,c(Q290)) (Q19284288,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q21224256', 'P21', {'concept': 'Q290'}] ['Q1038116', 'P21', {'concept': 'Q290'}] ['Q19284288', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q290 . VALUES ( ?p ) { ( resource:Q21224256 ) ( resource:Q1225967 ) ( resource:Q19284288 ) } . ?p property:P21 ?f }
female male male
Those people belong to female, male and male
female male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Teresa Klimek', 'gender', {'concept': 'sex'}] ['Carl Friedrich Wilhelm Müller', 'gender', {'concept': 'sex'}] ['Gottfried Brunner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sex . VALUES ( ?p ) { ( resource:Teresa_Klimek ) ( resource:Max_Bahr ) ( resource:Gottfried_Brunner ) } . ?p property:gender ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9306
P159
Q43229
USER
Which organization has its HQ location at Eberswalde ?
(c(Q43229),P159,Q9306)
action filter_type
action find_reverse
entity Q9306
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q9306']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q9306 }
Eberswalde
action filter_type
action find_reverse
entity Eberswalde
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Eberswalde']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Eberswalde }
[]
organization
Q1729021
SYSTEM
Kirow Ardelt GmbH
Q1729021
(c(Q43229),P159,Q9306)
action filter_type
action find_reverse
entity Q9306
relation P159
type Q43229
[ANSWER] has its HQ location at Eberswalde
[{'concept': 'Q43229'}, 'P159', 'Q9306']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q43229 . ?a property:P159 resource:Q9306 }
Kirow Ardelt GmbH
Kirow Ardelt GmbH has its HQ location at Eberswalde
Kirow Ardelt GmbH
action filter_type
action find_reverse
entity Eberswalde
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'Eberswalde']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:organization . ?a property:headquarters_location resource:Eberswalde }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1729021
P17
Q1048835
USER
Which political territory is that organization a part of ?
(Q1729021,P17,c(Q1048835))
action filter_type
action find
entity Q1729021
relation P17
type Q1048835
['Q1729021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1729021 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Kirow Ardelt GmbH
action filter_type
action find
entity Kirow Ardelt GmbH
relation country
type political territorial entity
['Kirow Ardelt GmbH', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Kirow_Ardelt_GmbH property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1729021,P17,c(Q1048835))
action filter_type
action find
entity Q1729021
relation P17
type Q1048835
The [ANSWER] is that organization a part of
['Q1729021', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?n WHERE { resource:Q1729021 property:P17 ?n . ?n rdf:type ontology:Q1048835 }
Germany
The Germany is that organization a part of
Germany
action filter_type
action find
entity Kirow Ardelt GmbH
relation country
type political territorial entity
['Kirow Ardelt GmbH', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Kirow_Ardelt_GmbH property:country ?n . ?n rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q1048835 Q515
USER
How many political territories or cities have ambassadorial relations with that political territory ?
(c(Q1048835),P530,Q183) (c(Q515),P530,Q183) (c(Q1048835),P530,Q183) (c(Q515),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
[{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183'] [{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:Q1048835 . ?c property:P530 resource:Q183 } UNION { ?c property:P530 resource:Q183 . ?c rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation resource:Germany } UNION { ?c property:diplomatic_relation resource:Germany . ?c rdf:type ontology:city } }
[]
political territorial entity city
SYSTEM
7
Q235 Q408 Q1000 Q35 Q40 Q16 Q664
(c(Q1048835),P530,Q183) (c(Q515),P530,Q183) (c(Q1048835),P530,Q183) (c(Q515),P530,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q183
relation P530
type Q515
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183'] [{'concept': 'Q1048835'}, 'P530', 'Q183'] [{'concept': 'Q515'}, 'P530', 'Q183']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:Q1048835 . ?c property:P530 resource:Q183 } UNION { ?c property:P530 resource:Q183 . ?c rdf:type ontology:Q515 } }
Monaco Australia Gabon Denmark Austria Canada New Zealand
7
action count
action union
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Germany
relation diplomatic relation
type city
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Germany'] [{'concept': 'city'}, 'diplomatic relation', 'Germany']
SELECT DISTINCT ( COUNT ( ?c ) AS ?n ) WHERE { { ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation resource:Germany } UNION { ?c property:diplomatic_relation resource:Germany . ?c rdf:type ontology:city } }
[]