Simple Question (Direct)
Simple Question
Q97430
P20
Q56061
USER
Where did Otto Gruppe expire ?
(Q97430,P20,c(Q56061))
action filter_type
action find
entity Q97430
relation P20
type Q56061
['Q97430', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q97430 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Otto Gruppe
action filter_type
action find
entity Otto Gruppe
relation place of death
type administrative territorial entity
['Otto Gruppe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Otto_Gruppe property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q97430,P20,c(Q56061))
action filter_type
action find
entity Q97430
relation P20
type Q56061
Otto Gruppe expired [ANSWER]
['Q97430', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { resource:Q97430 property:P20 ?v . ?v rdf:type ontology:Q56061 }
Berlin
Otto Gruppe expired Berlin
Berlin
action filter_type
action find
entity Otto Gruppe
relation place of death
type administrative territorial entity
['Otto Gruppe', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Otto_Gruppe property:place_of_death ?v . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q97430
P106
Q12737077
USER
What are the job of that person ?
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q97430
relation P106
type Q12737077
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q97430 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Otto Gruppe
action filter_type
action find
entity Otto Gruppe
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Otto_Gruppe property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q37226 Q16267607
SYSTEM
teacher, classical philologist
Q37226 Q16267607
(Q64,P106,c(Q12737077))
action filter_type
action find
entity Q97430
relation P106
type Q12737077
The job of that person are a [ANSWERS]
['Q64', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q97430 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
teacher classical philologist
The job of that person are a teacher and classical philologist
teacher classical philologist
action filter_type
action find
entity Otto Gruppe
relation occupation
type occupation
['Berlin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Otto_Gruppe property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q12305853 Q97430
P27
Q1048835
USER
Which political territories are the native countriesof Otto Gruppe and Christian Campradt ?
AND((Q97430,P27,c(Q1048835)), (Q12305853,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97430
relation P27
action find
entity Q12305853
relation P27
type Q1048835
{'AND': [['Q97430', 'P27', {'concept': 'Q1048835'}], ['Q12305853', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q97430 property:P27 ?y . resource:Q12305853 property:P27 ?y }
Christian Campradt Otto Gruppe
action filter_type
action intersection
action find
entity Otto Gruppe
relation country of citizenship
action find
entity Christian Campradt
relation country of citizenship
type political territorial entity
{'AND': [['Otto Gruppe', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Campradt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Otto_Gruppe property:country_of_citizenship ?y . resource:Christian_Campradt property:country_of_citizenship ?y }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q97430,P27,c(Q1048835)), (Q12305853,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q97430
relation P27
action find
entity Q12305853
relation P27
type Q1048835
[ANSWER] is the native countriesof Otto Gruppe and Christian Campradt
{'AND': [['Q97430', 'P27', {'concept': 'Q1048835'}], ['Q12305853', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q1048835 . resource:Q97430 property:P27 ?y . resource:Q12305853 property:P27 ?y }
Germany
Germany is the native countriesof Otto Gruppe and Christian Campradt
Germany
action filter_type
action intersection
action find
entity Otto Gruppe
relation country of citizenship
action find
entity Christian Campradt
relation country of citizenship
type political territorial entity
{'AND': [['Otto Gruppe', 'country of citizenship', {'concept': 'political territorial entity'}], ['Christian Campradt', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Otto_Gruppe property:country_of_citizenship ?y . resource:Christian_Campradt property:country_of_citizenship ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12305853
P21
Q290
USER
What is the sex of Christian Campradt ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q12305853
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q12305853 property:P21 ?p . ?p rdf:type ontology:Q290 }
Christian Campradt
action filter_type
action find
entity Christian Campradt
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Christian_Campradt property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q183,P21,c(Q290))
action filter_type
action find
entity Q12305853
relation P21
type Q290
The sex of Christian Campradt is the [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q12305853 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
The sex of Christian Campradt is the male
male
action filter_type
action find
entity Christian Campradt
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Christian_Campradt property:gender ?p . ?p rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q183
P793
Q350604 Q846882
USER
How many armed conflicts or sourcess of law are Germany associated with ?
(Q183,P793,c(Q350604)) (Q183,P793,c(Q846882))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q846882
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q846882'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q350604 ) ( ontology:Q846882 ) } }
Germany
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type sources of law
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'sources of law'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:armed_conflict ) ( ontology:sources_of_law ) } }
[]
armed conflict sources of law
SYSTEM
2
Q182865 Q56045
(Q183,P793,c(Q350604)) (Q183,P793,c(Q846882))
action count
action union
action filter_type
action find
entity Q183
relation P793
type Q350604
action filter_type
action find
entity Q183
relation P793
type Q846882
[ANSWER]
['Q183', 'P793', {'concept': 'Q350604'}] ['Q183', 'P793', {'concept': 'Q846882'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q350604 ) ( ontology:Q846882 ) } }
War in Afghanistan Basic Law for the Federal Republic of Germany
2
action count
action union
action filter_type
action find
entity Germany
relation significant event
type armed conflict
action filter_type
action find
entity Germany
relation significant event
type sources of law
['Germany', 'significant event', {'concept': 'armed conflict'}] ['Germany', 'significant event', {'concept': 'sources of law'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:armed_conflict ) ( ontology:sources_of_law ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q32
P463
Q874405
USER
How many social groups were Germany and Luxembourg a member of ?
(Q183,P463,c(Q874405)) (Q32,P463,c(Q874405))
action count
action intersection
action filter_type
action find
entity Q183
relation P463
type Q874405
action filter_type
action find
entity Q32
relation P463
type Q874405
['Q183', 'P463', {'concept': 'Q874405'}] ['Q32', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q874405 . resource:Q183 property:P463 ?y . resource:Q32 property:P463 ?y . ?y rdf:type ontology:Q874405 }
Germany Luxembourg
action count
action intersection
action filter_type
action find
entity Germany
relation member of
type social group
action filter_type
action find
entity Luxembourg
relation member of
type social group
['Germany', 'member of', {'concept': 'social group'}] ['Luxembourg', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:social_group . resource:Germany property:member_of ?y . resource:Luxembourg property:member_of ?y . ?y rdf:type ontology:social_group }
[]
social group
SYSTEM
2
Q782942 Q8908
(Q183,P463,c(Q874405)) (Q32,P463,c(Q874405))
action count
action intersection
action filter_type
action find
entity Q183
relation P463
type Q874405
action filter_type
action find
entity Q32
relation P463
type Q874405
[ANSWER]
['Q183', 'P463', {'concept': 'Q874405'}] ['Q32', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q874405 . resource:Q183 property:P463 ?y . resource:Q32 property:P463 ?y . ?y rdf:type ontology:Q874405 }
Australia Group Council of Europe
2
action count
action intersection
action filter_type
action find
entity Germany
relation member of
type social group
action filter_type
action find
entity Luxembourg
relation member of
type social group
['Germany', 'member of', {'concept': 'social group'}] ['Luxembourg', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:social_group . resource:Germany property:member_of ?y . resource:Luxembourg property:member_of ?y . ?y rdf:type ontology:social_group }
[]