Simple Question (Direct)
Simple Question
Q2283446
P27
Q7275
USER
Which state does Siegfried Israel belong to ?
(Q2283446,P27,c(Q7275))
action filter_type
action find
entity Q2283446
relation P27
type Q7275
['Q2283446', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q2283446 property:P27 ?m . ?m rdf:type ontology:Q7275 }
Siegfried Israel
action filter_type
action find
entity Siegfried Israel
relation country of citizenship
type state
['Siegfried Israel', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Siegfried_Israel property:country_of_citizenship ?m . ?m rdf:type ontology:state }
[]
state
Q16957
SYSTEM
East Germany
Q16957
(Q2283446,P27,c(Q7275))
action filter_type
action find
entity Q2283446
relation P27
type Q7275
Siegfried Israel belongs to [ANSWER]
['Q2283446', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ?m WHERE { resource:Q2283446 property:P27 ?m . ?m rdf:type ontology:Q7275 }
East Germany
Siegfried Israel belongs to East Germany
East Germany
action filter_type
action find
entity Siegfried Israel
relation country of citizenship
type state
['Siegfried Israel', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ?m WHERE { resource:Siegfried_Israel property:country_of_citizenship ?m . ?m rdf:type ontology:state }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16957
P47
Q56061
USER
Which administrative territory shares border with that state ?
(Q16957,P47,c(Q56061))
action filter_type
action find
entity Q16957
relation P47
type Q56061
['Q16957', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16957 property:P47 ?u . ?u rdf:type ontology:Q56061 }
East Germany
action filter_type
action find
entity East Germany
relation shares border with
type administrative territorial entity
['East Germany', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:East_Germany property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q16957,P47,c(Q56061))
action filter_type
action find
entity Q16957
relation P47
type Q56061
[ANSWER] shares border with that state
['Q16957', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16957 property:P47 ?u . ?u rdf:type ontology:Q56061 }
European Union
European Union shares border with that state
European Union
action filter_type
action find
entity East Germany
relation shares border with
type administrative territorial entity
['East Germany', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:East_Germany property:shares_border_with ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16957
P36
Q486972
USER
Which human settlement is associated to that state as the capital ?
(Q458,P36,c(Q486972))
action filter_type
action find
entity Q16957
relation P36
type Q486972
['Q458', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q16957 property:P36 ?k . ?k rdf:type ontology:Q486972 }
East Germany
action filter_type
action find
entity East Germany
relation capital
type human settlement
['European Union', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:East_Germany property:capital ?k . ?k rdf:type ontology:human_settlement }
[]
human settlement
Q56037
SYSTEM
East Berlin
Q56037
(Q458,P36,c(Q486972))
action filter_type
action find
entity Q16957
relation P36
type Q486972
[ANSWER] is associated to that state as the capital
['Q458', 'P36', {'concept': 'Q486972'}]
SELECT DISTINCT ?k WHERE { resource:Q16957 property:P36 ?k . ?k rdf:type ontology:Q486972 }
East Berlin
East Berlin is associated to that state as the capital
East Berlin
action filter_type
action find
entity East Germany
relation capital
type human settlement
['European Union', 'capital', {'concept': 'human settlement'}]
SELECT DISTINCT ?k WHERE { resource:East_Germany property:capital ?k . ?k rdf:type ontology:human_settlement }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q56037 Q4287847
P47
Q1048835
USER
Does Midne have a shared border with that human settlement ?
(Q56037,P47,Q4287847)
action is_in
entity Q4287847
action find
entity Q56037
relation P47
['Q56037', 'P47', 'Q4287847']
ASK WHERE { resource:Q56037 property:P47 resource:Q4287847 }
East Berlin Midne
action is_in
entity Midne
action find
entity East Berlin
relation shares border with
['East Berlin', 'shares border with', 'Midne']
ASK WHERE { resource:East_Berlin property:shares_border_with resource:Midne }
[]
political territorial entity
SYSTEM
NO
(Q56037,P47,Q4287847)
action is_in
entity Q4287847
action find
entity Q56037
relation P47
[ANSWER]
['Q56037', 'P47', 'Q4287847']
ASK WHERE { resource:Q56037 property:P47 resource:Q4287847 }
No
action is_in
entity Midne
action find
entity East Berlin
relation shares border with
['East Berlin', 'shares border with', 'Midne']
ASK WHERE { resource:East_Berlin property:shares_border_with resource:Midne }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q458
P1376
Q56061 Q515
USER
How many administrative territories and cities are the county seat of European Union ?
(c(Q56061),P1376,Q458) (c(Q515),P1376,Q458)
action count
action union
action filter_type
action find_reverse
entity Q458
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
[{'concept': 'Q56061'}, 'P1376', 'Q458'] [{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P1376 resource:Q458 . ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q515 . ?z property:P1376 resource:Q458 } }
European Union
action count
action union
action filter_type
action find_reverse
entity European Union
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'administrative territorial entity'}, 'capital of', 'European Union'] [{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:capital_of resource:European_Union . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:city . ?z property:capital_of resource:European_Union } }
[]
administrative territorial entity city
SYSTEM
1 administrative territories and 1 cities
Q239 Q6602
(c(Q56061),P1376,Q458) (c(Q515),P1376,Q458)
action count
action union
action filter_type
action find_reverse
entity Q458
relation P1376
type Q56061
action filter_type
action find_reverse
entity Q458
relation P1376
type Q515
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q458'] [{'concept': 'Q515'}, 'P1376', 'Q458']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:P1376 resource:Q458 . ?z rdf:type ontology:Q56061 } UNION { ?z rdf:type ontology:Q515 . ?z property:P1376 resource:Q458 } }
Brussels Strasbourg
1 administrative territories and 1 cities
action count
action union
action filter_type
action find_reverse
entity European Union
relation capital of
type administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation capital of
type city
[{'concept': 'administrative territorial entity'}, 'capital of', 'European Union'] [{'concept': 'city'}, 'capital of', 'European Union']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { ?z property:capital_of resource:European_Union . ?z rdf:type ontology:administrative_territorial_entity } UNION { ?z rdf:type ontology:city . ?z property:capital_of resource:European_Union } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16957
P530
Q7275 Q1048835
USER
How many states and political territories holds diplomatic relationship with East Germany ?
(Q16957,P530,c(Q7275)) (Q16957,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16957
relation P530
type Q7275
action filter_type
action find
entity Q16957
relation P530
type Q1048835
['Q16957', 'P530', {'concept': 'Q7275'}] ['Q16957', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } }
East Germany
action count
action union
action filter_type
action find
entity East Germany
relation diplomatic relation
type state
action filter_type
action find
entity East Germany
relation diplomatic relation
type political territorial entity
['East Germany', 'diplomatic relation', {'concept': 'state'}] ['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:state ) ( ontology:political_territorial_entity ) } }
[]
state political territorial entity
SYSTEM
1 states and 1 political territories
Q713750 Q183
(Q16957,P530,c(Q7275)) (Q16957,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q16957
relation P530
type Q7275
action filter_type
action find
entity Q16957
relation P530
type Q1048835
[ANSWER]
['Q16957', 'P530', {'concept': 'Q7275'}] ['Q16957', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:Q7275 ) ( ontology:Q1048835 ) } }
West Germany Germany
1 states and 1 political territories
action count
action union
action filter_type
action find
entity East Germany
relation diplomatic relation
type state
action filter_type
action find
entity East Germany
relation diplomatic relation
type political territorial entity
['East Germany', 'diplomatic relation', {'concept': 'state'}] ['East Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { ?d rdf:type ?p . VALUES ( ?p ) { ( ontology:state ) ( ontology:political_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P163
Q17335294
USER
Which coat of arms is associated with European Union ?
(Q458,P163,c(Q17335294))
action filter_type
action find
entity Q458
relation P163
type Q17335294
['Q458', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q17335294 . resource:Q458 property:P163 ?r }
European Union
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag_or_coat_of_arms . resource:European_Union property:flag ?r }
[]
flag or coat of arms
Q122482
SYSTEM
flag of Europe
Q122482
(Q458,P163,c(Q17335294))
action filter_type
action find
entity Q458
relation P163
type Q17335294
The [ANSWER] is associated with European Union
['Q458', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q17335294 . resource:Q458 property:P163 ?r }
flag of Europe
The flag of Europe is associated with European Union
flag of Europe
action filter_type
action find
entity European Union
relation flag
type flag or coat of arms
['European Union', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:flag_or_coat_of_arms . resource:European_Union property:flag ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458
P159
Q43229
USER
Which organization has headquarters located at European Union ?
(c(Q43229),P159,Q458)
action filter_type
action find_reverse
entity Q458
relation P159
type Q43229
[{'concept': 'Q43229'}, 'P159', 'Q458']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q458 . ?i rdf:type ontology:Q43229 }
European Union
action filter_type
action find_reverse
entity European Union
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'European Union']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:European_Union . ?i rdf:type ontology:organization }
[]
organization
Q7161745
SYSTEM
Peltarion
Q7161745
(c(Q43229),P159,Q458)
action filter_type
action find_reverse
entity Q458
relation P159
type Q43229
[ANSWER] has headquarters located at European Union
[{'concept': 'Q43229'}, 'P159', 'Q458']
SELECT DISTINCT ?i WHERE { ?i property:P159 resource:Q458 . ?i rdf:type ontology:Q43229 }
Peltarion
Peltarion has headquarters located at European Union
Peltarion
action filter_type
action find_reverse
entity European Union
relation headquarters location
type organization
[{'concept': 'organization'}, 'headquarters location', 'European Union']
SELECT DISTINCT ?i WHERE { ?i property:headquarters_location resource:European_Union . ?i rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q458
P123
Q8513
USER
Which database was published by that administrative territory ?
(c(Q8513),P123,Q7161745)
action filter_type
action find_reverse
entity Q458
relation P123
type Q8513
[{'concept': 'Q8513'}, 'P123', 'Q7161745']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8513 . ?p property:P123 resource:Q458 }
European Union
action filter_type
action find_reverse
entity European Union
relation publisher
type database
[{'concept': 'database'}, 'publisher', 'Peltarion']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:database . ?p property:publisher resource:European_Union }
[]
database
Q1520860
SYSTEM
Inter-Active Terminology for Europe
Q1520860
(c(Q8513),P123,Q7161745)
action filter_type
action find_reverse
entity Q458
relation P123
type Q8513
[ANSWER] was published by that administrative territory
[{'concept': 'Q8513'}, 'P123', 'Q7161745']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q8513 . ?p property:P123 resource:Q458 }
Inter-Active Terminology for Europe
Inter-Active Terminology for Europe was published by that administrative territory
Inter-Active Terminology for Europe
action filter_type
action find_reverse
entity European Union
relation publisher
type database
[{'concept': 'database'}, 'publisher', 'Peltarion']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:database . ?p property:publisher resource:European_Union }
[]