Simple Question (Direct)
Simple Question
Q1098045
P937
Q56061
USER
Which is the work location of Claudio Jupe ?
(Q1098045,P937,c(Q56061))
action filter_type
action find
entity Q1098045
relation P937
type Q56061
['Q1098045', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1098045 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Claudio Jupe
action filter_type
action find
entity Claudio Jupe
relation work location
type administrative territorial entity
['Claudio Jupe', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Claudio_Jupe property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q1098045,P937,c(Q56061))
action filter_type
action find
entity Q1098045
relation P937
type Q56061
[ANSWER] is the work location of Claudio Jupe
['Q1098045', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1098045 property:P937 ?n . ?n rdf:type ontology:Q56061 }
Berlin
Berlin is the work location of Claudio Jupe
Berlin
action filter_type
action find
entity Claudio Jupe
relation work location
type administrative territorial entity
['Claudio Jupe', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Claudio_Jupe property:work_location ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1098045
P21
Q290
USER
Which sex does that person possess ?
(Q64,P21,c(Q290))
action filter_type
action find
entity Q1098045
relation P21
type Q290
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1098045 property:P21 ?s }
Claudio Jupe
action filter_type
action find
entity Claudio Jupe
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Claudio_Jupe property:gender ?s }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q64,P21,c(Q290))
action filter_type
action find
entity Q1098045
relation P21
type Q290
That person possesses a [ANSWER]
['Q64', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q290 . resource:Q1098045 property:P21 ?s }
male
That person possesses a male
male
action filter_type
action find
entity Claudio Jupe
relation gender
type sex
['Berlin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sex . resource:Claudio_Jupe property:gender ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P361
Q515
USER
Which city is Berlin a part of ?
(Q64,P361,c(Q515))
action filter_type
action find
entity Q64
relation P361
type Q515
['Q64', 'P361', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q64 property:P361 ?z . ?z rdf:type ontology:Q515 }
Berlin
action filter_type
action find
entity Berlin
relation part of
type city
['Berlin', 'part of', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Berlin property:part_of ?z . ?z rdf:type ontology:city }
[]
city
Q15781847
SYSTEM
agglomeration of Berlin
Q15781847
(Q64,P361,c(Q515))
action filter_type
action find
entity Q64
relation P361
type Q515
Which city is Berlin a part of
['Q64', 'P361', {'concept': 'Q515'}]
SELECT DISTINCT ?z WHERE { resource:Q64 property:P361 ?z . ?z rdf:type ontology:Q515 }
agglomeration of Berlin
Which city is Berlin a part of
agglomeration of Berlin
action filter_type
action find
entity Berlin
relation part of
type city
['Berlin', 'part of', {'concept': 'city'}]
SELECT DISTINCT ?z WHERE { resource:Berlin property:part_of ?z . ?z rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P710
Q1914636
USER
Which activity did that administrative territory participate in ?
(c(Q1914636),P710,Q15781847)
action filter_type
action find_reverse
entity Q64
relation P710
type Q1914636
[{'concept': 'Q1914636'}, 'P710', 'Q15781847']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q64 . ?e rdf:type ontology:Q1914636 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'agglomeration of Berlin']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Berlin . ?e rdf:type ontology:activity }
[]
activity
Q1024103
SYSTEM
COOPERS
Q1024103
(c(Q1914636),P710,Q15781847)
action filter_type
action find_reverse
entity Q64
relation P710
type Q1914636
That administrative territory participated in [ANSWER]
[{'concept': 'Q1914636'}, 'P710', 'Q15781847']
SELECT DISTINCT ?e WHERE { ?e property:P710 resource:Q64 . ?e rdf:type ontology:Q1914636 }
COOPERS
That administrative territory participated in COOPERS
COOPERS
action filter_type
action find_reverse
entity Berlin
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'agglomeration of Berlin']
SELECT DISTINCT ?e WHERE { ?e property:participant resource:Berlin . ?e rdf:type ontology:activity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q895526 Q1656682 Q1914636
USER
Which activities are a component of exactly 1 authority organs or events ?
(c(Q1914636),P361,c(Q895526)|c(Q1656682))
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action find_tuple_counts
relation P361
type Q1914636
type Q1656682
value 1
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?u ) WHERE { { ?r property:P361 ?i . ?r rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q895526 } UNION { ?r rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q1656682 . ?r property:P361 ?i } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type activity
type authority organ
action find_tuple_counts
relation part of
type activity
type event
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?u ) WHERE { { ?r property:part_of ?i . ?r rdf:type ontology:activity . ?i rdf:type ontology:authority_organ } UNION { ?r rdf:type ontology:activity . ?i rdf:type ontology:event . ?r property:part_of ?i } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
authority organ event activity
Q8074593 Q18156118
SYSTEM
Zoti, Hong Kong Civil Service
Q8074593 Q18156118
(c(Q1914636),P361,c(Q895526)|c(Q1656682))
action equal
action union
action find_tuple_counts
relation P361
type Q1914636
type Q895526
action find_tuple_counts
relation P361
type Q1914636
type Q1656682
value 1
[ANSWERS] are a component of exactly 1 authority organs or events
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q895526'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?u ) WHERE { { ?r property:P361 ?i . ?r rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q895526 } UNION { ?r rdf:type ontology:Q1914636 . ?i rdf:type ontology:Q1656682 . ?r property:P361 ?i } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
Zoti Hong Kong Civil Service
Zoti and Hong Kong Civil Service are a component of exactly 1 authority organs or events
Zoti Hong Kong Civil Service
action equal
action union
action find_tuple_counts
relation part of
type activity
type authority organ
action find_tuple_counts
relation part of
type activity
type event
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'authority organ'}, {'concept': 'event'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?i ) AS ?u ) WHERE { { ?r property:part_of ?i . ?r rdf:type ontology:activity . ?i rdf:type ontology:authority_organ } UNION { ?r rdf:type ontology:activity . ?i rdf:type ontology:event . ?r property:part_of ?i } } GROUP BY ?r } . FILTER ( ?u = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q64
P1001
Q17335294
USER
Which coats of arms preside the jurisdiction over Berlin ?
(c(Q17335294),P1001,Q64)
action filter_type
action find_reverse
entity Q64
relation P1001
type Q17335294
[{'concept': 'Q17335294'}, 'P1001', 'Q64']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q17335294 . ?t property:P1001 resource:Q64 }
Berlin
action filter_type
action find_reverse
entity Berlin
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Berlin']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:flag_or_coat_of_arms . ?t property:applies_to_jurisdiction resource:Berlin }
[]
flag or coat of arms
Q819691 Q819737
SYSTEM
flag of Berlin, coat of arms of Berlin
Q819691 Q819737
(c(Q17335294),P1001,Q64)
action filter_type
action find_reverse
entity Q64
relation P1001
type Q17335294
The [ANSWERS] preside the jurisdiction over Berlin
[{'concept': 'Q17335294'}, 'P1001', 'Q64']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q17335294 . ?t property:P1001 resource:Q64 }
flag of Berlin coat of arms of Berlin
The flag of Berlin and coat of arms of Berlin preside the jurisdiction over Berlin
flag of Berlin coat of arms of Berlin
action filter_type
action find_reverse
entity Berlin
relation applies to jurisdiction
type flag or coat of arms
[{'concept': 'flag or coat of arms'}, 'applies to jurisdiction', 'Berlin']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:flag_or_coat_of_arms . ?t property:applies_to_jurisdiction resource:Berlin }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q819691 Q819737
P1001
Q56061
USER
Which administrative territories come under the supervision of those coats of arms ?
(Q819691,P1001,c(Q56061)) (Q819737,P1001,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1001
type Q56061
['Q819691', 'P1001', {'concept': 'Q56061'}] ['Q819737', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?v ) { ( resource:Q819691 ) ( resource:Q819737 ) } . ?v property:P1001 ?k . ?k rdf:type ontology:Q56061 }
flag of Berlin coat of arms of Berlin
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type administrative territorial entity
['flag of Berlin', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}] ['coat of arms of Berlin', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?v ) { ( resource:flag_of_Berlin ) ( resource:coat_of_arms_of_Berlin ) } . ?v property:applies_to_jurisdiction ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64 Q64
SYSTEM
Berlin
Q64 Q64
(Q819691,P1001,c(Q56061)) (Q819737,P1001,c(Q56061))
action filter_type
action find
entity prev_answer
relation P1001
type Q56061
[ANSWER] and [ANSWER] come under the supervision of those coats of arms
['Q819691', 'P1001', {'concept': 'Q56061'}] ['Q819737', 'P1001', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?v ) { ( resource:Q819691 ) ( resource:Q819737 ) } . ?v property:P1001 ?k . ?k rdf:type ontology:Q56061 }
Berlin Berlin
Berlin and Berlin come under the supervision of those coats of arms
Berlin Berlin
action filter_type
action find
entity prev_answer
relation applies to jurisdiction
type administrative territorial entity
['flag of Berlin', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}] ['coat of arms of Berlin', 'applies to jurisdiction', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { VALUES ( ?v ) { ( resource:flag_of_Berlin ) ( resource:coat_of_arms_of_Berlin ) } . ?v property:applies_to_jurisdiction ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]