Simple Question (Direct)
Simple Question
Q1456152
P21
Q290
USER
What is the sex of Kurt Kötzsch ?
(Q1456152,P21,c(Q290))
action filter_type
action find
entity Q1456152
relation P21
type Q290
['Q1456152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1456152 property:P21 ?m . ?m rdf:type ontology:Q290 }
Kurt Kötzsch
action filter_type
action find
entity Kurt Kötzsch
relation gender
type sex
['Kurt Kötzsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Kurt_Kötzsch property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1456152,P21,c(Q290))
action filter_type
action find
entity Q1456152
relation P21
type Q290
The sex of Kurt Kötzsch is the [ANSWER]
['Q1456152', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q1456152 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
The sex of Kurt Kötzsch is the male
male
action filter_type
action find
entity Kurt Kötzsch
relation gender
type sex
['Kurt Kötzsch', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Kurt_Kötzsch property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1456152
P937
Q56061
USER
What is the work location of Kurt Kötzsch ?
(Q1456152,P937,c(Q56061))
action filter_type
action find
entity Q1456152
relation P937
type Q56061
['Q1456152', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1456152 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Kurt Kötzsch
action filter_type
action find
entity Kurt Kötzsch
relation work location
type administrative territorial entity
['Kurt Kötzsch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Kurt_Kötzsch property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
(Q1456152,P937,c(Q56061))
action filter_type
action find
entity Q1456152
relation P937
type Q56061
The work location of Kurt Kötzsch is in [ANSWER]
['Q1456152', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q1456152 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Düsseldorf
The work location of Kurt Kötzsch is in Düsseldorf
Düsseldorf
action filter_type
action find
entity Kurt Kötzsch
relation work location
type administrative territorial entity
['Kurt Kötzsch', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Kurt_Kötzsch property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1718 Q21033799
P937
Q502895
USER
Do André Bodemann have that administrative territory as their work location ?
(Q21033799,P937,Q1718)
action is_in
entity Q21033799
action find
entity Q1718
relation P937
['Q21033799', 'P937', 'Q1718']
ASK WHERE { resource:Q1718 property:P937 resource:Q21033799 }
Düsseldorf André Bodemann
action is_in
entity André Bodemann
action find
entity Düsseldorf
relation work location
['André Bodemann', 'work location', 'Düsseldorf']
ASK WHERE { resource:Düsseldorf property:work_location resource:André_Bodemann }
[]
common name
SYSTEM
NO
(Q21033799,P937,Q1718)
action is_in
entity Q21033799
action find
entity Q1718
relation P937
[ANSWER]
['Q21033799', 'P937', 'Q1718']
ASK WHERE { resource:Q1718 property:P937 resource:Q21033799 }
No
action is_in
entity André Bodemann
action find
entity Düsseldorf
relation work location
['André Bodemann', 'work location', 'Düsseldorf']
ASK WHERE { resource:Düsseldorf property:work_location resource:André_Bodemann }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1718 Q21
P1001
Q17335294
USER
How many coats of arms have jurisdiction over Düsseldorf or England ?
(c(Q17335294),P1001,Q1718) (c(Q17335294),P1001,Q21)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q21
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q1718'] [{'concept': 'Q17335294'}, 'P1001', 'Q21']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P1001 ?d . VALUES ( ?d ) { ( resource:Q21 ) ( resource:Q1718 ) } }
Düsseldorf England
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Düsseldorf'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:applies_to_jurisdiction ?d . VALUES ( ?d ) { ( resource:England ) ( resource:Düsseldorf ) } }
[]
flag or coat of arms
SYSTEM
2
Q4487873 Q2467806
(c(Q17335294),P1001,Q1718) (c(Q17335294),P1001,Q21)
action count
action union
action filter_type
action find_reverse
entity Q1718
relation P1001
type Q17335294
action filter_type
action find_reverse
entity Q21
relation P1001
type Q17335294
[ANSWER]
[{'concept': 'Q17335294'}, 'P1001', 'Q1718'] [{'concept': 'Q17335294'}, 'P1001', 'Q21']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:P1001 ?d . VALUES ( ?d ) { ( resource:Q21 ) ( resource:Q1718 ) } }
flag of the Commonwealth Flags of the Commonwealth of England
2
action count
action union
action filter_type
action find_reverse
entity Düsseldorf
relation applies to jurisdiction
type flag or coat of arms
action filter_type
action find_reverse
entity England
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Düsseldorf'] [{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'England']
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { ?j property:applies_to_jurisdiction ?d . VALUES ( ?d ) { ( resource:England ) ( resource:Düsseldorf ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P1376
Q183366
USER
Which territory has Düsseldorf has its center of administration ?
(Q1718,P1376,c(Q183366))
action filter_type
action find
entity Q1718
relation P1376
type Q183366
['Q1718', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ?c WHERE { resource:Q1718 property:P1376 ?c . ?c rdf:type ontology:Q183366 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation capital of
type territory
['Düsseldorf', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ?c WHERE { resource:Düsseldorf property:capital_of ?c . ?c rdf:type ontology:territory }
[]
territory
Q151095
SYSTEM
Duchy of Berg
Q151095
(Q1718,P1376,c(Q183366))
action filter_type
action find
entity Q1718
relation P1376
type Q183366
The [ANSWER] has Düsseldorf has its center of administration
['Q1718', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ?c WHERE { resource:Q1718 property:P1376 ?c . ?c rdf:type ontology:Q183366 }
Duchy of Berg
The Duchy of Berg has Düsseldorf has its center of administration
Duchy of Berg
action filter_type
action find
entity Düsseldorf
relation capital of
type territory
['Düsseldorf', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ?c WHERE { resource:Düsseldorf property:capital_of ?c . ?c rdf:type ontology:territory }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3861
Q183366
USER
And what about Doha?
(Q3861,P1376,c(Q183366))
action filter_type
action find
entity Q3861
relation P1376
type Q183366
['Q3861', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ?g WHERE { resource:Q3861 property:P1376 ?g . ?g rdf:type ontology:Q183366 }
Doha
action filter_type
action find
entity Doha
relation capital of
type territory
['Doha', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ?g WHERE { resource:Doha property:capital_of ?g . ?g rdf:type ontology:territory }
[]
territory
Q846
SYSTEM
Qatar
Q846
(Q3861,P1376,c(Q183366))
action filter_type
action find
entity Q3861
relation P1376
type Q183366
[ANSWER]
['Q3861', 'P1376', {'concept': 'Q183366'}]
SELECT DISTINCT ?g WHERE { resource:Q3861 property:P1376 ?g . ?g rdf:type ontology:Q183366 }
Qatar
Qatar
action filter_type
action find
entity Doha
relation capital of
type territory
['Doha', 'capital of', {'concept': 'territory'}]
SELECT DISTINCT ?g WHERE { resource:Doha property:capital_of ?g . ?g rdf:type ontology:territory }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q846
P530
Q1048835
USER
How many political territories have a diplomatic relationship with Qatar ?
(Q846,P530,c(Q1048835))
action count
action filter_type
action find
entity Q846
relation P530
type Q1048835
['Q846', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q846 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Qatar
action count
action filter_type
action find
entity Qatar
relation diplomatic relation
type political territorial entity
['Qatar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Qatar property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
Q408 Q16
(Q846,P530,c(Q1048835))
action count
action filter_type
action find
entity Q846
relation P530
type Q1048835
[ANSWER]
['Q846', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Q846 property:P530 ?m . ?m rdf:type ontology:Q1048835 }
Australia Canada
2
action count
action filter_type
action find
entity Qatar
relation diplomatic relation
type political territorial entity
['Qatar', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { resource:Qatar property:diplomatic_relation ?m . ?m rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q846
P17
Q874405
USER
Which social groups are situated in Qatar ?
(c(Q874405),P17,Q846)
action filter_type
action find_reverse
entity Q846
relation P17
type Q874405
[{'concept': 'Q874405'}, 'P17', 'Q846']
SELECT DISTINCT ?i WHERE { ?i property:P17 resource:Q846 . ?i rdf:type ontology:Q874405 }
Qatar
action filter_type
action find_reverse
entity Qatar
relation country
type social group
[{'concept': 'social group'}, 'country', 'Qatar']
SELECT DISTINCT ?i WHERE { ?i property:country resource:Qatar . ?i rdf:type ontology:social_group }
[]
social group
Q23978267 Q12233279
SYSTEM
beIN CONNECT, Qatar charity
Q23978267 Q12233279
(c(Q874405),P17,Q846)
action filter_type
action find_reverse
entity Q846
relation P17
type Q874405
[ANSWERS] are situated in Qatar
[{'concept': 'Q874405'}, 'P17', 'Q846']
SELECT DISTINCT ?i WHERE { ?i property:P17 resource:Q846 . ?i rdf:type ontology:Q874405 }
beIN CONNECT Qatar charity
BeIN CONNECT and Qatar charity are situated in Qatar
beIN CONNECT Qatar charity
action filter_type
action find_reverse
entity Qatar
relation country
type social group
[{'concept': 'social group'}, 'country', 'Qatar']
SELECT DISTINCT ?i WHERE { ?i property:country resource:Qatar . ?i rdf:type ontology:social_group }
[]