Simple Question (Direct)
Simple Question
Q121230
P39
Q12737077
USER
Which occupations were the positions occupied by Rüdiger Kruse ?
(Q121230,P39,c(Q12737077))
action filter_type
action find
entity Q121230
relation P39
type Q12737077
['Q121230', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q121230 property:P39 ?v }
Rüdiger Kruse
action filter_type
action find
entity Rüdiger Kruse
relation position held
type occupation
['Rüdiger Kruse', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Rüdiger_Kruse property:position_held ?v }
[]
occupation
Q19360355 Q1939555
SYSTEM
Member of the Hamburg Parliament, member of the German Bundestag
Q19360355 Q1939555
(Q121230,P39,c(Q12737077))
action filter_type
action find
entity Q121230
relation P39
type Q12737077
[ANSWERS] were the positions occupied by Rüdiger Kruse
['Q121230', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q121230 property:P39 ?v }
Member of the Hamburg Parliament member of the German Bundestag
Member of the Hamburg Parliament and member of the German Bundestag were the positions occupied by Rüdiger Kruse
Member of the Hamburg Parliament member of the German Bundestag
action filter_type
action find
entity Rüdiger Kruse
relation position held
type occupation
['Rüdiger Kruse', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Rüdiger_Kruse property:position_held ?v }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19360355 Q1939555
P361
Q1752346
USER
Which assemblies are Member of the Hamburg Parliament and member of the German Bundestag a component of ?
(Q19360355,P361,c(Q1752346)) (Q1939555,P361,c(Q1752346))
action union
action filter_type
action find
entity Q19360355
relation P361
type Q1752346
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
['Q19360355', 'P361', {'concept': 'Q1752346'}] ['Q1939555', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q1939555 ) ( resource:Q19360355 ) } . ?j property:P361 ?m }
Member of the Hamburg Parliament member of the German Bundestag
action union
action filter_type
action find
entity Member of the Hamburg Parliament
relation part of
type assembly
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
['Member of the Hamburg Parliament', 'part of', {'concept': 'assembly'}] ['member of the German Bundestag', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:member_of_the_German_Bundestag ) ( resource:Member_of_the_Hamburg_Parliament ) } . ?j property:part_of ?m }
[]
assembly
Q636377 Q154797
SYSTEM
Hamburg Parliament, Bundestag of Germany
Q636377 Q154797
(Q19360355,P361,c(Q1752346)) (Q1939555,P361,c(Q1752346))
action union
action filter_type
action find
entity Q19360355
relation P361
type Q1752346
action filter_type
action find
entity Q1939555
relation P361
type Q1752346
The [ANSWERS] are Member of the Hamburg Parliament and member of the German Bundestag a component of
['Q19360355', 'P361', {'concept': 'Q1752346'}] ['Q1939555', 'P361', {'concept': 'Q1752346'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:Q1939555 ) ( resource:Q19360355 ) } . ?j property:P361 ?m }
Hamburg Parliament Bundestag of Germany
The Hamburg Parliament and Bundestag of Germany are Member of the Hamburg Parliament and member of the German Bundestag a component of
Hamburg Parliament Bundestag of Germany
action union
action filter_type
action find
entity Member of the Hamburg Parliament
relation part of
type assembly
action filter_type
action find
entity member of the German Bundestag
relation part of
type assembly
['Member of the Hamburg Parliament', 'part of', {'concept': 'assembly'}] ['member of the German Bundestag', 'part of', {'concept': 'assembly'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?j ) { ( resource:member_of_the_German_Bundestag ) ( resource:Member_of_the_Hamburg_Parliament ) } . ?j property:part_of ?m }
[]
Clarification
Simple Question|Single Entity|Indirect
Q636377
P1001
Q486972
USER
Which human settlement comes under the jurisdiction of that assembly ?
(Q636377,P1001,c(Q486972))
action filter_type
action find
entity Q636377
relation P1001
type Q486972
['Q636377', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q636377 property:P1001 ?r . ?r rdf:type ontology:Q486972 }
Hamburg Parliament
action filter_type
action find
entity Hamburg Parliament
relation applies to jurisdiction
type human settlement
['Hamburg Parliament', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Hamburg_Parliament property:applies_to_jurisdiction ?r . ?r rdf:type ontology:human_settlement }
[]
human settlement
Clarification for simple ques.
Q636377
SYSTEM
Did you mean Hamburg Parliament ?
Q636377 Q154797
(Q636377,P1001,c(Q486972)) (Q154797,P1001,c(Q486972))
[ANSWER]
['Q636377', 'P1001', {'concept': 'Q486972'}] ['Q154797', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q636377 property:P1001 ?r . ?r rdf:type ontology:Q486972 }
Hamburg Parliament Bundestag of Germany
Did you mean Hamburg Parliament ?
Hamburg Parliament
['Hamburg Parliament', 'applies to jurisdiction', {'concept': 'human settlement'}] ['Bundestag of Germany', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Hamburg_Parliament property:applies_to_jurisdiction ?r . ?r rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
USER
Yes
(Q636377,P1001,c(Q486972))
['Q636377', 'P1001', {'concept': 'Q486972'}]
['Hamburg Parliament', 'applies to jurisdiction', {'concept': 'human settlement'}]
[]
Q1055
SYSTEM
Hamburg
Q1055
(Q636377,P1001,c(Q486972))
action filter_type
action find
entity Q636377
relation P1001
type Q486972
[ANSWER] comes under the jurisdiction of that assembly
['Q636377', 'P1001', {'concept': 'Q486972'}]
SELECT DISTINCT ?r WHERE { resource:Q636377 property:P1001 ?r . ?r rdf:type ontology:Q486972 }
Hamburg
Hamburg comes under the jurisdiction of that assembly
Hamburg
action filter_type
action find
entity Hamburg Parliament
relation applies to jurisdiction
type human settlement
['Hamburg Parliament', 'applies to jurisdiction', {'concept': 'human settlement'}]
SELECT DISTINCT ?r WHERE { resource:Hamburg_Parliament property:applies_to_jurisdiction ?r . ?r rdf:type ontology:human_settlement }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q12302289 Q636377
P27 P17
Q1048835
USER
Which political territories are Hamburg Parliament located in or are the countries of citizenship of Asger Gjessing ?
OR((Q636377,P17,c(Q1048835)), (Q12302289,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q636377
relation P17
action find
entity Q12302289
relation P27
type Q1048835
{'OR': [['Q636377', 'P17', {'concept': 'Q1048835'}], ['Q12302289', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q636377 property:P17 ?w } UNION { resource:Q12302289 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Asger Gjessing Hamburg Parliament
action filter_type
action union
action find
entity Hamburg Parliament
relation country
action find
entity Asger Gjessing
relation country of citizenship
type political territorial entity
{'OR': [['Hamburg Parliament', 'country', {'concept': 'political territorial entity'}], ['Asger Gjessing', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hamburg_Parliament property:country ?w } UNION { resource:Asger_Gjessing property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q35
SYSTEM
Germany, Denmark
Q183 Q35
OR((Q636377,P17,c(Q1048835)), (Q12302289,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q636377
relation P17
action find
entity Q12302289
relation P27
type Q1048835
[ANSWERS] are Hamburg Parliament located in or are the countries of citizenship of Asger Gjessing
{'OR': [['Q636377', 'P17', {'concept': 'Q1048835'}], ['Q12302289', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q636377 property:P17 ?w } UNION { resource:Q12302289 property:P27 ?w } } . ?w rdf:type ontology:Q1048835 }
Germany Denmark
Germany and Denmark are Hamburg Parliament located in or are the countries of citizenship of Asger Gjessing
Germany Denmark
action filter_type
action union
action find
entity Hamburg Parliament
relation country
action find
entity Asger Gjessing
relation country of citizenship
type political territorial entity
{'OR': [['Hamburg Parliament', 'country', {'concept': 'political territorial entity'}], ['Asger Gjessing', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Hamburg_Parliament property:country ?w } UNION { resource:Asger_Gjessing property:country_of_citizenship ?w } } . ?w rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2273883 Q1055
P6 P344
Q502895
USER
Which people have Hamburg as their heads of government or are the cinematographers of Treasure Island ?
OR((Q1055,P6,c(Q502895)), (Q2273883,P344,c(Q502895)))
action filter_type
action union
action find
entity Q1055
relation P6
action find
entity Q2273883
relation P344
type Q502895
{'OR': [['Q1055', 'P6', {'concept': 'Q502895'}], ['Q2273883', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q1055 property:P6 ?t } UNION { resource:Q2273883 property:P344 ?t } } }
Treasure Island Hamburg
action filter_type
action union
action find
entity Hamburg
relation head of government
action find
entity Treasure Island
relation director of photography
type common name
{'OR': [['Hamburg', 'head of government', {'concept': 'common name'}], ['Treasure Island', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:Hamburg property:head_of_government ?t } UNION { resource:Treasure_Island property:director_of_photography ?t } } }
[]
common name
Q60426 Q74266 Q71371 Q447940 Q6999530 Q62673 Q68114 Q84380 Q85910 Q87670
SYSTEM
Some of them are Ole von Beust, Carl Vincent Krogmann, Henning Voscherau, Hans-Ulrich Klose, Acácio de Almeida, Klaus von Dohnanyi, Herbert Weichmann, Kurt Sieveking, Paul Nevermann, Rudolf Petersen
Q63421 Q84380 Q60426 Q6999530 Q71371 Q447940 Q62673 Q77390 Q85910 Q61053 Q68114 Q87670 Q74266 Q70051 Q85791
OR((Q1055,P6,c(Q502895)), (Q2273883,P344,c(Q502895)))
action filter_type
action union
action find
entity Q1055
relation P6
action find
entity Q2273883
relation P344
type Q502895
[ANSWERS] have Hamburg as their heads of government or are the cinematographers of Treasure Island
{'OR': [['Q1055', 'P6', {'concept': 'Q502895'}], ['Q2273883', 'P344', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . { { resource:Q1055 property:P6 ?t } UNION { resource:Q2273883 property:P344 ?t } } }
Max Brauer Kurt Sieveking Ole von Beust Acácio de Almeida Henning Voscherau Hans-Ulrich Klose Klaus von Dohnanyi Christoph Ahlhaus Paul Nevermann Olaf Scholz Herbert Weichmann Rudolf Petersen Carl Vincent Krogmann Ortwin Runde Peter Schulz
Ole von Beust, Carl Vincent Krogmann, Henning Voscherau, Hans-Ulrich Klose, Acácio de Almeida, Klaus von Dohnanyi, Herbert Weichmann, Kurt Sieveking, Paul Nevermann and Rudolf Petersen have Hamburg as their heads of government or are the cinematographers of Treasure Island
Ole von Beust Carl Vincent Krogmann Henning Voscherau Hans-Ulrich Klose Acácio de Almeida Klaus von Dohnanyi Herbert Weichmann Kurt Sieveking Paul Nevermann Rudolf Petersen
action filter_type
action union
action find
entity Hamburg
relation head of government
action find
entity Treasure Island
relation director of photography
type common name
{'OR': [['Hamburg', 'head of government', {'concept': 'common name'}], ['Treasure Island', 'director of photography', {'concept': 'common name'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . { { resource:Hamburg property:head_of_government ?t } UNION { resource:Treasure_Island property:director_of_photography ?t } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids had max number of people as the dubbing artist ?
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?i ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } } . { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 . ?v property:P725 ?q } GROUP BY ?v } . FILTER ( ?e = ?o ) }
action argmax
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?i ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name } GROUP BY ?z } } . { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid . ?v property:voice_actor ?q } GROUP BY ?v } . FILTER ( ?e = ?o ) }
[]
common name fictional humanoid
Q15711517
SYSTEM
Granny Smith
Q15711517
(c(Q6619679),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q6619679
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?i ) WHERE { ?z property:P725 ?y . ?z rdf:type ontology:Q6619679 . ?y rdf:type ontology:Q502895 } GROUP BY ?z } } . { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:Q502895 . ?v rdf:type ontology:Q6619679 . ?v property:P725 ?q } GROUP BY ?v } . FILTER ( ?e = ?o ) }
Granny Smith
Granny Smith had max number of people as the dubbing artist
Granny Smith
action argmax
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?o ) { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?i ) WHERE { ?z property:voice_actor ?y . ?z rdf:type ontology:fictional_humanoid . ?y rdf:type ontology:common_name } GROUP BY ?z } } . { SELECT DISTINCT ?v ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ontology:common_name . ?v rdf:type ontology:fictional_humanoid . ?v property:voice_actor ?q } GROUP BY ?v } . FILTER ( ?e = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P172
Q502895
USER
Who have Germany as his/her race ?
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P172 resource:Q183 }
Germany
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:ethnic_group resource:Germany }
[]
common name
Q63997 Q429919 Q30865
SYSTEM
Ken Adam, Philotheus Boehner, Eike Batista
Q26838019 Q63997 Q429919 Q16058601 Q6286878 Q30865
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[ANSWERS] have Germany as his/her race
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P172 resource:Q183 }
Konrad Baumgarten Ken Adam Philotheus Boehner Wolf Traut Joseph Schipfer Eike Batista
Ken Adam, Philotheus Boehner and Eike Batista have Germany as his/her race
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:ethnic_group resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q63997 Q429919 Q30865
P106
Q12737077
USER
Which occupations have those people as his/her 's career ?
(Q63997,P106,c(Q12737077)) (Q429919,P106,c(Q12737077)) (Q30865,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q63997', 'P106', {'concept': 'Q12737077'}] ['Q429919', 'P106', {'concept': 'Q12737077'}] ['Q30865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?t property:P106 ?c . VALUES ( ?t ) { ( resource:Q26838019 ) ( resource:Q63997 ) ( resource:Q429919 ) } }
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Ken Adam', 'occupation', {'concept': 'occupation'}] ['Philotheus Boehner', 'occupation', {'concept': 'occupation'}] ['Eike Batista', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?t property:occupation ?c . VALUES ( ?t ) { ( resource:Konrad_Baumgarten ) ( resource:Ken_Adam ) ( resource:Philotheus_Boehner ) } }
[]
occupation
Q2707485 Q1231865 Q43845
SYSTEM
scenographer, educationist, businessperson
Q2707485 Q1231865 Q43845
(Q63997,P106,c(Q12737077)) (Q429919,P106,c(Q12737077)) (Q30865,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS] have those people as his/her 's career
['Q63997', 'P106', {'concept': 'Q12737077'}] ['Q429919', 'P106', {'concept': 'Q12737077'}] ['Q30865', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . ?t property:P106 ?c . VALUES ( ?t ) { ( resource:Q26838019 ) ( resource:Q63997 ) ( resource:Q429919 ) } }
scenographer educationist businessperson
Scenographer, educationist and businessperson have those people as his/her 's career
scenographer educationist businessperson
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Ken Adam', 'occupation', {'concept': 'occupation'}] ['Philotheus Boehner', 'occupation', {'concept': 'occupation'}] ['Eike Batista', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . ?t property:occupation ?c . VALUES ( ?t ) { ( resource:Konrad_Baumgarten ) ( resource:Ken_Adam ) ( resource:Philotheus_Boehner ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P706
Q2221906
USER
Which geographic location is located in Germany ?
(c(Q2221906),P706,Q183)
action filter_type
action find_reverse
entity Q183
relation P706
type Q2221906
[{'concept': 'Q2221906'}, 'P706', 'Q183']
SELECT DISTINCT ?u WHERE { ?u property:P706 resource:Q183 . ?u rdf:type ontology:Q2221906 }
Germany
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Germany']
SELECT DISTINCT ?u WHERE { ?u property:located_on_terrain_feature resource:Germany . ?u rdf:type ontology:geographic_location }
[]
geographic location
Q32530
SYSTEM
Lusatia
Q32530
(c(Q2221906),P706,Q183)
action filter_type
action find_reverse
entity Q183
relation P706
type Q2221906
[ANSWER] is located in Germany
[{'concept': 'Q2221906'}, 'P706', 'Q183']
SELECT DISTINCT ?u WHERE { ?u property:P706 resource:Q183 . ?u rdf:type ontology:Q2221906 }
Lusatia
Lusatia is located in Germany
Lusatia
action filter_type
action find_reverse
entity Germany
relation located on terrain feature
type geographic location
[{'concept': 'geographic location'}, 'located on terrain feature', 'Germany']
SELECT DISTINCT ?u WHERE { ?u property:located_on_terrain_feature resource:Germany . ?u rdf:type ontology:geographic_location }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P138
Q7275
USER
Which states are the etymology of Germany ?
(Q183,P138,c(Q7275))
action filter_type
action find
entity Q183
relation P138
type Q7275
['Q183', 'P138', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { resource:Q183 property:P138 ?o . ?o rdf:type ontology:Q7275 }
Germany
action filter_type
action find
entity Germany
relation named after
type state
['Germany', 'named after', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { resource:Germany property:named_after ?o . ?o rdf:type ontology:state }
[]
state
Q38872 Q980
SYSTEM
Prussia, Bavaria
Q38872 Q980
(Q183,P138,c(Q7275))
action filter_type
action find
entity Q183
relation P138
type Q7275
Germany [ANSWERS] are the etymology of Germany
['Q183', 'P138', {'concept': 'Q7275'}]
SELECT DISTINCT ?o WHERE { resource:Q183 property:P138 ?o . ?o rdf:type ontology:Q7275 }
Prussia Bavaria
Germany Prussia and Bavaria are the etymology of Germany
Prussia Bavaria
action filter_type
action find
entity Germany
relation named after
type state
['Germany', 'named after', {'concept': 'state'}]
SELECT DISTINCT ?o WHERE { resource:Germany property:named_after ?o . ?o rdf:type ontology:state }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q183
Q2472587
USER
And which people?
(Q183,P138,c(Q2472587))
action filter_type
action find
entity Q183
relation P138
type Q2472587
['Q183', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P138 ?f . ?f rdf:type ontology:Q2472587 }
Germany
action filter_type
action find
entity Germany
relation named after
type people
['Germany', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:named_after ?f . ?f rdf:type ontology:people }
[]
people
Q101985
SYSTEM
Saxons
Q101985
(Q183,P138,c(Q2472587))
action filter_type
action find
entity Q183
relation P138
type Q2472587
[ANSWER]
['Q183', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?f WHERE { resource:Q183 property:P138 ?f . ?f rdf:type ontology:Q2472587 }
Saxons
Saxons
action filter_type
action find
entity Germany
relation named after
type people
['Germany', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?f WHERE { resource:Germany property:named_after ?f . ?f rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980
P47
Q1048835
USER
Which political territories share border with Bavaria ?
(c(Q1048835),P47,Q980)
action filter_type
action find
entity Q980
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q980']
SELECT DISTINCT ?p WHERE { resource:Q980 property:P47 ?p . ?p rdf:type ontology:Q1048835 }
Bavaria
action filter_type
action find
entity Bavaria
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bavaria']
SELECT DISTINCT ?p WHERE { resource:Bavaria property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q7899 Q6337
SYSTEM
Fulda, Vogtlandkreis
Q7899 Q6337
(c(Q1048835),P47,Q980)
action filter_type
action find
entity Q980
relation P47
type Q1048835
[ANSWERS] share border with Bavaria
[{'concept': 'Q1048835'}, 'P47', 'Q980']
SELECT DISTINCT ?p WHERE { resource:Q980 property:P47 ?p . ?p rdf:type ontology:Q1048835 }
Fulda Vogtlandkreis
Fulda and Vogtlandkreis share border with Bavaria
Fulda Vogtlandkreis
action filter_type
action find
entity Bavaria
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Bavaria']
SELECT DISTINCT ?p WHERE { resource:Bavaria property:shares_border_with ?p . ?p rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q980
P163
Q17335294
USER
Which coat of arms has Bavaria as its flag ?
(Q980,P163,c(Q17335294))
action filter_type
action find
entity Q980
relation P163
type Q17335294
['Q980', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { resource:Q980 property:P163 ?l . ?l rdf:type ontology:Q17335294 }
Bavaria
action filter_type
action find
entity Bavaria
relation flag
type flag or coat of arms
['Bavaria', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { resource:Bavaria property:flag ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q707471
SYSTEM
Flag of Bavaria
Q707471
(Q980,P163,c(Q17335294))
action filter_type
action find
entity Q980
relation P163
type Q17335294
Bavaria [ANSWER] has Bavaria as its flag
['Q980', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { resource:Q980 property:P163 ?l . ?l rdf:type ontology:Q17335294 }
Flag of Bavaria
Bavaria Flag of Bavaria has Bavaria as its flag
Flag of Bavaria
action filter_type
action find
entity Bavaria
relation flag
type flag or coat of arms
['Bavaria', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { resource:Bavaria property:flag ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]