Simple Question (Direct)
Simple Question
Q562629
P108
Q3918
USER
Which university is the employer of Mogens Herman Hansen ?
(Q562629,P108,c(Q3918))
action filter_type
action find
entity Q562629
relation P108
type Q3918
['Q562629', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q562629 property:P108 ?g . ?g rdf:type ontology:Q3918 }
Mogens Herman Hansen
action filter_type
action find
entity Mogens Herman Hansen
relation employer
type university
['Mogens Herman Hansen', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Mogens_Herman_Hansen property:employer ?g . ?g rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q562629,P108,c(Q3918))
action filter_type
action find
entity Q562629
relation P108
type Q3918
[ANSWER] is the employer of Mogens Herman Hansen
['Q562629', 'P108', {'concept': 'Q3918'}]
SELECT DISTINCT ?g WHERE { resource:Q562629 property:P108 ?g . ?g rdf:type ontology:Q3918 }
University of Copenhagen
University of Copenhagen is the employer of Mogens Herman Hansen
University of Copenhagen
action filter_type
action find
entity Mogens Herman Hansen
relation employer
type university
['Mogens Herman Hansen', 'employer', {'concept': 'university'}]
SELECT DISTINCT ?g WHERE { resource:Mogens_Herman_Hansen property:employer ?g . ?g rdf:type ontology:university }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q562629
P69
Q3918
USER
Which university was Mogens Herman Hansen educated at ?
(Q562629,P69,c(Q3918))
action filter_type
action find
entity Q562629
relation P69
type Q3918
['Q562629', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q562629 property:P69 ?z . ?z rdf:type ontology:Q3918 }
Mogens Herman Hansen
action filter_type
action find
entity Mogens Herman Hansen
relation educated at
type university
['Mogens Herman Hansen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Mogens_Herman_Hansen property:educated_at ?z . ?z rdf:type ontology:university }
[]
university
Q186285
SYSTEM
University of Copenhagen
Q186285
(Q562629,P69,c(Q3918))
action filter_type
action find
entity Q562629
relation P69
type Q3918
Mogens Herman Hansen was educated at [ANSWER]
['Q562629', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?z WHERE { resource:Q562629 property:P69 ?z . ?z rdf:type ontology:Q3918 }
University of Copenhagen
Mogens Herman Hansen was educated at University of Copenhagen
University of Copenhagen
action filter_type
action find
entity Mogens Herman Hansen
relation educated at
type university
['Mogens Herman Hansen', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?z WHERE { resource:Mogens_Herman_Hansen property:educated_at ?z . ?z rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q562629
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q186285,P27,c(Q1048835))
action filter_type
action find
entity Q562629
relation P27
type Q1048835
['Q186285', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q562629 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Mogens Herman Hansen
action filter_type
action find
entity Mogens Herman Hansen
relation country of citizenship
type political territorial entity
['University of Copenhagen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mogens_Herman_Hansen property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q186285,P27,c(Q1048835))
action filter_type
action find
entity Q562629
relation P27
type Q1048835
That person belongs to a [ANSWER]
['Q186285', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { resource:Q562629 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Denmark
That person belongs to a Denmark
Denmark
action filter_type
action find
entity Mogens Herman Hansen
relation country of citizenship
type political territorial entity
['University of Copenhagen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mogens_Herman_Hansen property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q35
P47
Q56061
USER
How many administrative territories share the border with Denmark ?
(Q35,P47,c(Q56061))
action count
action filter_type
action find
entity Q35
relation P47
type Q56061
['Q35', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q35 property:P47 ?q . ?q rdf:type ontology:Q56061 }
Denmark
action count
action filter_type
action find
entity Denmark
relation shares border with
type administrative territorial entity
['Denmark', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Denmark property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q458
(Q35,P47,c(Q56061))
action count
action filter_type
action find
entity Q35
relation P47
type Q56061
[ANSWER]
['Q35', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Q35 property:P47 ?q . ?q rdf:type ontology:Q56061 }
European Union
1
action count
action filter_type
action find
entity Denmark
relation shares border with
type administrative territorial entity
['Denmark', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { resource:Denmark property:shares_border_with ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P276
Q1190554
USER
What is located at that political territory ?
action filter_type
action find_reverse
entity Q35
relation P276
type Q1190554
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q35 . ?b rdf:type ontology:Q1190554 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation location
type event
SELECT DISTINCT ?b WHERE { ?b property:location resource:Denmark . ?b rdf:type ontology:event }
[]
event
Q2308186
SYSTEM
German invasion of Denmark
Q2308186
action filter_type
action find_reverse
entity Q35
relation P276
type Q1190554
[ANSWER] is located at that political territory
SELECT DISTINCT ?b WHERE { ?b property:P276 resource:Q35 . ?b rdf:type ontology:Q1190554 }
German invasion of Denmark
German invasion of Denmark is located at that political territory
German invasion of Denmark
action filter_type
action find_reverse
entity Denmark
relation location
type event
SELECT DISTINCT ?b WHERE { ?b property:location resource:Denmark . ?b rdf:type ontology:event }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q46625 Q35
P276
Q1190554
USER
Or Caldiero?
OR((c(Q1190554),P276,Q35), (c(Q1190554),P276,Q46625))
action filter_type
action union
action find_reverse
entity Q35
relation P276
action find_reverse
entity Q46625
relation P276
type Q1190554
{'OR': [[{'concept': 'Q1190554'}, 'P276', 'Q35'], [{'concept': 'Q1190554'}, 'P276', 'Q46625']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P276 resource:Q46625 } UNION { ?g property:P276 resource:Q35 } } . ?g rdf:type ontology:Q1190554 }
Caldiero Denmark
action filter_type
action union
action find_reverse
entity Denmark
relation location
action find_reverse
entity Caldiero
relation location
type event
{'OR': [[{'concept': 'event'}, 'location', 'Denmark'], [{'concept': 'event'}, 'location', 'Caldiero']]}
SELECT DISTINCT ?g WHERE { { { ?g property:location resource:Caldiero } UNION { ?g property:location resource:Denmark } } . ?g rdf:type ontology:event }
[]
event
Q4870610 Q2308186 Q857434
SYSTEM
Battle of Caldiero, German invasion of Denmark, Battle of Caldiero
Q4870610 Q2308186 Q857434
OR((c(Q1190554),P276,Q35), (c(Q1190554),P276,Q46625))
action filter_type
action union
action find_reverse
entity Q35
relation P276
action find_reverse
entity Q46625
relation P276
type Q1190554
[ANSWERS]
{'OR': [[{'concept': 'Q1190554'}, 'P276', 'Q35'], [{'concept': 'Q1190554'}, 'P276', 'Q46625']]}
SELECT DISTINCT ?g WHERE { { { ?g property:P276 resource:Q46625 } UNION { ?g property:P276 resource:Q35 } } . ?g rdf:type ontology:Q1190554 }
Battle of Caldiero German invasion of Denmark Battle of Caldiero
Battle of Caldiero German invasion of Denmark Battle of Caldiero
action filter_type
action union
action find_reverse
entity Denmark
relation location
action find_reverse
entity Caldiero
relation location
type event
{'OR': [[{'concept': 'event'}, 'location', 'Denmark'], [{'concept': 'event'}, 'location', 'Caldiero']]}
SELECT DISTINCT ?g WHERE { { { ?g property:location resource:Caldiero } UNION { ?g property:location resource:Denmark } } . ?g rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q857434
P607
Q502895
USER
Which person did Battle of Caldiero engage in ?
(c(Q502895),P607,Q857434)
action filter_type
action find_reverse
entity Q857434
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q857434']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P607 resource:Q857434 }
Battle of Caldiero
action filter_type
action find_reverse
entity Battle of Caldiero
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Caldiero']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:conflict resource:Battle_of_Caldiero }
[]
common name
Q4734264
SYSTEM
Alois von Gavasini
Q4734264
(c(Q502895),P607,Q857434)
action filter_type
action find_reverse
entity Q857434
relation P607
type Q502895
Battle of Caldiero engaged in the [ANSWER]
[{'concept': 'Q502895'}, 'P607', 'Q857434']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . ?a property:P607 resource:Q857434 }
Alois von Gavasini
Battle of Caldiero engaged in the Alois von Gavasini
Alois von Gavasini
action filter_type
action find_reverse
entity Battle of Caldiero
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Caldiero']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . ?a property:conflict resource:Battle_of_Caldiero }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P495
Q82799
USER
Which name has Denmark as its place of origin ?
(c(Q82799),P495,Q35)
action filter_type
action find_reverse
entity Q35
relation P495
type Q82799
[{'concept': 'Q82799'}, 'P495', 'Q35']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . ?a property:P495 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation country of origin
type name
[{'concept': 'name'}, 'country of origin', 'Denmark']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . ?a property:country_of_origin resource:Denmark }
[]
name
Q7626039
SYSTEM
Ström
Q7626039
(c(Q82799),P495,Q35)
action filter_type
action find_reverse
entity Q35
relation P495
type Q82799
[ANSWER] has Denmark as its place of origin
[{'concept': 'Q82799'}, 'P495', 'Q35']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . ?a property:P495 resource:Q35 }
Ström
Ström has Denmark as its place of origin
Ström
action filter_type
action find_reverse
entity Denmark
relation country of origin
type name
[{'concept': 'name'}, 'country of origin', 'Denmark']
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . ?a property:country_of_origin resource:Denmark }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P1001
Q820655
USER
Which statute presides the jurisdiction over Denmark ?
(c(Q820655),P1001,Q35)
action filter_type
action find_reverse
entity Q35
relation P1001
type Q820655
[{'concept': 'Q820655'}, 'P1001', 'Q35']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q35 . ?f rdf:type ontology:Q820655 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type statute
[{'concept': 'statute'}, 'applies to jurisdiction', 'Denmark']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Denmark . ?f rdf:type ontology:statute }
[]
statute
Q3436245
SYSTEM
Danish Penal Code
Q3436245
(c(Q820655),P1001,Q35)
action filter_type
action find_reverse
entity Q35
relation P1001
type Q820655
Denmark [ANSWER] presides the jurisdiction over Denmark
[{'concept': 'Q820655'}, 'P1001', 'Q35']
SELECT DISTINCT ?f WHERE { ?f property:P1001 resource:Q35 . ?f rdf:type ontology:Q820655 }
Danish Penal Code
Denmark Danish Penal Code presides the jurisdiction over Denmark
Danish Penal Code
action filter_type
action find_reverse
entity Denmark
relation applies to jurisdiction
type statute
[{'concept': 'statute'}, 'applies to jurisdiction', 'Denmark']
SELECT DISTINCT ?f WHERE { ?f property:applies_to_jurisdiction resource:Denmark . ?f rdf:type ontology:statute }
[]