Simple Question (Direct)
Simple Question
Q64907
P25
Q502895
USER
Who was the mom of Prince Georg Ludwig of Holstein-Gottorp ?
(Q64907,P25,c(Q502895))
action filter_type
action find
entity Q64907
relation P25
type Q502895
['Q64907', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q64907 property:P25 ?p . ?p rdf:type ontology:Q502895 }
Prince Georg Ludwig of Holstein-Gottorp
action filter_type
action find
entity Prince Georg Ludwig of Holstein-Gottorp
relation mother
type common name
['Prince Georg Ludwig of Holstein-Gottorp', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Prince_Georg_Ludwig_of_Holstein-Gottorp property:mother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q2670667
SYSTEM
Margravine Albertina Frederica of Baden-Durlach
Q2670667
(Q64907,P25,c(Q502895))
action filter_type
action find
entity Q64907
relation P25
type Q502895
The mom of Prince Georg Ludwig of Holstein-Gottorp was the [ANSWER]
['Q64907', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q64907 property:P25 ?p . ?p rdf:type ontology:Q502895 }
Margravine Albertina Frederica of Baden-Durlach
The mom of Prince Georg Ludwig of Holstein-Gottorp was the Margravine Albertina Frederica of Baden-Durlach
Margravine Albertina Frederica of Baden-Durlach
action filter_type
action find
entity Prince Georg Ludwig of Holstein-Gottorp
relation mother
type common name
['Prince Georg Ludwig of Holstein-Gottorp', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Prince_Georg_Ludwig_of_Holstein-Gottorp property:mother ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2670667
P40
Q502895
USER
Which people are a successors of that one ?
(Q2670667,P40,c(Q502895))
action filter_type
action find
entity Q2670667
relation P40
type Q502895
['Q2670667', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2670667 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Margravine Albertina Frederica of Baden-Durlach
action filter_type
action find
entity Margravine Albertina Frederica of Baden-Durlach
relation child
type common name
['Margravine Albertina Frederica of Baden-Durlach', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margravine_Albertina_Frederica_of_Baden-Durlach property:child ?p . ?p rdf:type ontology:common_name }
[]
common name
Q52931 Q62119 Q64907
SYSTEM
Adolf Frederick of Sweden, Frederick August I, Duke of Oldenburg, Prince Georg Ludwig of Holstein-Gottorp
Q64907 Q61826 Q62119 Q52931
(Q2670667,P40,c(Q502895))
action filter_type
action find
entity Q2670667
relation P40
type Q502895
[ANSWERS] are a successors of that one
['Q2670667', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2670667 property:P40 ?p . ?p rdf:type ontology:Q502895 }
Prince Georg Ludwig of Holstein-Gottorp Joanna Elisabeth of Holstein-Gottorp Frederick August I, Duke of Oldenburg Adolf Frederick of Sweden
Adolf Frederick of Sweden, Frederick August I, Duke of Oldenburg and Prince Georg Ludwig of Holstein-Gottorp are a successors of that one
Adolf Frederick of Sweden Frederick August I, Duke of Oldenburg Prince Georg Ludwig of Holstein-Gottorp
action filter_type
action find
entity Margravine Albertina Frederica of Baden-Durlach
relation child
type common name
['Margravine Albertina Frederica of Baden-Durlach', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Margravine_Albertina_Frederica_of_Baden-Durlach property:child ?p . ?p rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1115543 Q64907
P27
Q1048835
USER
Which political territories do Prince Georg Ludwig of Holstein-Gottorp or Commins Menapi belong to ?
OR((Q64907,P27,c(Q1048835)), (Q1115543,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q64907
relation P27
action find
entity Q1115543
relation P27
type Q1048835
{'OR': [['Q64907', 'P27', {'concept': 'Q1048835'}], ['Q1115543', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?o ) { ( resource:Q1115543 ) ( resource:Q64907 ) } . ?o property:P27 ?e } . ?e rdf:type ontology:Q1048835 }
Commins Menapi Prince Georg Ludwig of Holstein-Gottorp
action filter_type
action union
action find
entity Prince Georg Ludwig of Holstein-Gottorp
relation country of citizenship
action find
entity Commins Menapi
relation country of citizenship
type political territorial entity
{'OR': [['Prince Georg Ludwig of Holstein-Gottorp', 'country of citizenship', {'concept': 'political territorial entity'}], ['Commins Menapi', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?o ) { ( resource:Commins_Menapi ) ( resource:Prince_Georg_Ludwig_of_Holstein-Gottorp ) } . ?o property:country_of_citizenship ?e } . ?e rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q685 Q183
SYSTEM
Solomon Islands, Germany
Q685 Q183
OR((Q64907,P27,c(Q1048835)), (Q1115543,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q64907
relation P27
action find
entity Q1115543
relation P27
type Q1048835
[ANSWERS] Prince Georg Ludwig of Holstein-Gottorp or Commins Menapi belong to
{'OR': [['Q64907', 'P27', {'concept': 'Q1048835'}], ['Q1115543', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?o ) { ( resource:Q1115543 ) ( resource:Q64907 ) } . ?o property:P27 ?e } . ?e rdf:type ontology:Q1048835 }
Solomon Islands Germany
Solomon Islands and Germany Prince Georg Ludwig of Holstein-Gottorp or Commins Menapi belong to
Solomon Islands Germany
action filter_type
action union
action find
entity Prince Georg Ludwig of Holstein-Gottorp
relation country of citizenship
action find
entity Commins Menapi
relation country of citizenship
type political territorial entity
{'OR': [['Prince Georg Ludwig of Holstein-Gottorp', 'country of citizenship', {'concept': 'political territorial entity'}], ['Commins Menapi', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { VALUES ( ?o ) { ( resource:Commins_Menapi ) ( resource:Prince_Georg_Ludwig_of_Holstein-Gottorp ) } . ?o property:country_of_citizenship ?e } . ?e rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4239588
P530
Q1048835
USER
Do Krasnyi Pid have diplomatic associations with those ones ?
(Q4239588,P530,Q685) (Q4239588,P530,Q183)
action is_in
entity prev_answer
action find
entity Q4239588
relation P530
['Q4239588', 'P530', 'Q685'] ['Q4239588', 'P530', 'Q183']
ASK WHERE { VALUES ( ?d ) { ( resource:Q685 ) ( resource:Q183 ) } . resource:Q4239588 property:P530 ?d }
Krasnyi Pid
action is_in
entity prev_answer
action find
entity Krasnyi Pid
relation diplomatic relation
['Krasnyi Pid', 'diplomatic relation', 'Solomon Islands'] ['Krasnyi Pid', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?d ) { ( resource:Solomon_Islands ) ( resource:Germany ) } . resource:Krasnyi_Pid property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
NO
(Q4239588,P530,Q685) (Q4239588,P530,Q183)
action is_in
entity prev_answer
action find
entity Q4239588
relation P530
[ANSWER]
['Q4239588', 'P530', 'Q685'] ['Q4239588', 'P530', 'Q183']
ASK WHERE { VALUES ( ?d ) { ( resource:Q685 ) ( resource:Q183 ) } . resource:Q4239588 property:P530 ?d }
No
action is_in
entity prev_answer
action find
entity Krasnyi Pid
relation diplomatic relation
['Krasnyi Pid', 'diplomatic relation', 'Solomon Islands'] ['Krasnyi Pid', 'diplomatic relation', 'Germany']
ASK WHERE { VALUES ( ?d ) { ( resource:Solomon_Islands ) ( resource:Germany ) } . resource:Krasnyi_Pid property:diplomatic_relation ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q183 Q64
P36
Q56061
USER
Is Berlin called the capital of Germany ?
(Q183,P36,Q64)
action is_in
entity Q64
action find
entity Q183
relation P36
['Q183', 'P36', 'Q64']
ASK WHERE { resource:Q183 property:P36 resource:Q64 }
Germany Berlin
action is_in
entity Berlin
action find
entity Germany
relation capital
['Germany', 'capital', 'Berlin']
ASK WHERE { resource:Germany property:capital resource:Berlin }
[]
administrative territorial entity
SYSTEM
YES
(Q183,P36,Q64)
action is_in
entity Q64
action find
entity Q183
relation P36
[ANSWER]
['Q183', 'P36', 'Q64']
ASK WHERE { resource:Q183 property:P36 resource:Q64 }
Yes
action is_in
entity Berlin
action find
entity Germany
relation capital
['Germany', 'capital', 'Berlin']
ASK WHERE { resource:Germany property:capital resource:Berlin }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q17254361 Q4239588
P17
Q15617994
USER
Which administrative territories are Krasnyi Pid or Phon Phaeng a part of ?
OR((Q4239588,P17,c(Q15617994)), (Q17254361,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4239588
relation P17
action find
entity Q17254361
relation P17
type Q15617994
{'OR': [['Q4239588', 'P17', {'concept': 'Q15617994'}], ['Q17254361', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?c property:P17 ?i . VALUES ( ?c ) { ( resource:Q4239588 ) ( resource:Q17254361 ) } } . ?i rdf:type ontology:Q15617994 }
Phon Phaeng Krasnyi Pid
action filter_type
action union
action find
entity Krasnyi Pid
relation country
action find
entity Phon Phaeng
relation country
type designation for an administrative territorial entity
{'OR': [['Krasnyi Pid', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Phon Phaeng', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?c property:country ?i . VALUES ( ?c ) { ( resource:Krasnyi_Pid ) ( resource:Phon_Phaeng ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212 Q869
SYSTEM
Ukraine, Thailand
Q212 Q869
OR((Q4239588,P17,c(Q15617994)), (Q17254361,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4239588
relation P17
action find
entity Q17254361
relation P17
type Q15617994
[ANSWERS] are Krasnyi Pid or Phon Phaeng a part of
{'OR': [['Q4239588', 'P17', {'concept': 'Q15617994'}], ['Q17254361', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { ?c property:P17 ?i . VALUES ( ?c ) { ( resource:Q4239588 ) ( resource:Q17254361 ) } } . ?i rdf:type ontology:Q15617994 }
Ukraine Thailand
Ukraine and Thailand are Krasnyi Pid or Phon Phaeng a part of
Ukraine Thailand
action filter_type
action union
action find
entity Krasnyi Pid
relation country
action find
entity Phon Phaeng
relation country
type designation for an administrative territorial entity
{'OR': [['Krasnyi Pid', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Phon Phaeng', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { ?c property:country ?i . VALUES ( ?c ) { ( resource:Krasnyi_Pid ) ( resource:Phon_Phaeng ) } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have ambassadorial relations with those administrative territories ?
(Q408,P530,Q212) (Q408,P530,Q869)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q212'] ['Q408', 'P530', 'Q869']
ASK WHERE { VALUES ( ?d ) { ( resource:Q212 ) ( resource:Q869 ) } . resource:Q408 property:P530 ?d }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Ukraine'] ['Australia', 'diplomatic relation', 'Thailand']
ASK WHERE { VALUES ( ?d ) { ( resource:Ukraine ) ( resource:Thailand ) } . resource:Australia property:diplomatic_relation ?d }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q212) (Q408,P530,Q869)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q212'] ['Q408', 'P530', 'Q869']
ASK WHERE { VALUES ( ?d ) { ( resource:Q212 ) ( resource:Q869 ) } . resource:Q408 property:P530 ?d }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Ukraine'] ['Australia', 'diplomatic relation', 'Thailand']
ASK WHERE { VALUES ( ?d ) { ( resource:Ukraine ) ( resource:Thailand ) } . resource:Australia property:diplomatic_relation ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P1001
Q2712963 Q14660
USER
How many abstract nouns or flags have control over the jurisdiction of Germany ?
(c(Q2712963),P1001,Q183) (c(Q14660),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q2712963
action filter_type
action find_reverse
entity Q183
relation P1001
type Q14660
[{'concept': 'Q2712963'}, 'P1001', 'Q183'] [{'concept': 'Q14660'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:Q2712963 ) ( ontology:Q14660 ) } . ?y rdf:type ?g }
Germany
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type abstract noun
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type flag
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:abstract_noun ) ( ontology:flag ) } . ?y rdf:type ?g }
[]
abstract noun flag
SYSTEM
3
Q674827 Q19335303 Q48160
(c(Q2712963),P1001,Q183) (c(Q14660),P1001,Q183)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P1001
type Q2712963
action filter_type
action find_reverse
entity Q183
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q2712963'}, 'P1001', 'Q183'] [{'concept': 'Q14660'}, 'P1001', 'Q183']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:Q2712963 ) ( ontology:Q14660 ) } . ?y rdf:type ?g }
Strafgesetzbuch type of business entity in Germany flag of Germany
3
action count
action union
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type abstract noun
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type flag
[{'concept': 'abstract noun'}, 'applies to jurisdiction', 'Germany'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { VALUES ( ?g ) { ( ontology:abstract_noun ) ( ontology:flag ) } . ?y rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q869
P706
Q1530022
USER
What is located in Thailand ?
(c(Q1530022),P706,Q869)
action filter_type
action find_reverse
entity Q869
relation P706
type Q1530022
[{'concept': 'Q1530022'}, 'P706', 'Q869']
SELECT DISTINCT ?o WHERE { ?o property:P706 resource:Q869 . ?o rdf:type ontology:Q1530022 }
Thailand
action filter_type
action find_reverse
entity Thailand
relation located on terrain feature
type religious organization
[{'concept': 'religious organization'}, 'located on terrain feature', 'Thailand']
SELECT DISTINCT ?o WHERE { ?o property:located_on_terrain_feature resource:Thailand . ?o rdf:type ontology:religious_organization }
[]
religious organization
Q440677
SYSTEM
Dhammayuttika Nikaya
Q440677
(c(Q1530022),P706,Q869)
action filter_type
action find_reverse
entity Q869
relation P706
type Q1530022
[ANSWER] is located in Thailand
[{'concept': 'Q1530022'}, 'P706', 'Q869']
SELECT DISTINCT ?o WHERE { ?o property:P706 resource:Q869 . ?o rdf:type ontology:Q1530022 }
Dhammayuttika Nikaya
Dhammayuttika Nikaya is located in Thailand
Dhammayuttika Nikaya
action filter_type
action find_reverse
entity Thailand
relation located on terrain feature
type religious organization
[{'concept': 'religious organization'}, 'located on terrain feature', 'Thailand']
SELECT DISTINCT ?o WHERE { ?o property:located_on_terrain_feature resource:Thailand . ?o rdf:type ontology:religious_organization }
[]