Simple Question (Direct)
Simple Question
Q1678936
P20
Q15617994
USER
Where did Jakob Brunner die ?
(Q1678936,P20,c(Q15617994))
action filter_type
action find
entity Q1678936
relation P20
type Q15617994
['Q1678936', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1678936 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Jakob Brunner
action filter_type
action find
entity Jakob Brunner
relation place of death
type designation for an administrative territorial entity
['Jakob Brunner', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jakob_Brunner property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2350701
SYSTEM
Stockheim
Q2350701
(Q1678936,P20,c(Q15617994))
action filter_type
action find
entity Q1678936
relation P20
type Q15617994
Jakob Brunner died in [ANSWER]
['Q1678936', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1678936 property:P20 ?h . ?h rdf:type ontology:Q15617994 }
Stockheim
Jakob Brunner died in Stockheim
Stockheim
action filter_type
action find
entity Jakob Brunner
relation place of death
type designation for an administrative territorial entity
['Jakob Brunner', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Jakob_Brunner property:place_of_death ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1678936
P21
Q290
USER
Which sex does Jakob Brunner have ?
(Q1678936,P21,c(Q290))
action filter_type
action find
entity Q1678936
relation P21
type Q290
['Q1678936', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1678936 property:P21 ?n . ?n rdf:type ontology:Q290 }
Jakob Brunner
action filter_type
action find
entity Jakob Brunner
relation gender
type sex
['Jakob Brunner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jakob_Brunner property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1678936,P21,c(Q290))
action filter_type
action find
entity Q1678936
relation P21
type Q290
Jakob Brunner has 1 [ANSWER]
['Q1678936', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q1678936 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Jakob Brunner has 1 male
male
action filter_type
action find
entity Jakob Brunner
relation gender
type sex
['Jakob Brunner', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Jakob_Brunner property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4754828
Q290
USER
And what about Andre Martenot de Cordou?
(Q4754828,P21,c(Q290))
action filter_type
action find
entity Q4754828
relation P21
type Q290
['Q4754828', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4754828 property:P21 ?k . ?k rdf:type ontology:Q290 }
Andre Martenot de Cordou
action filter_type
action find
entity Andre Martenot de Cordou
relation gender
type sex
['Andre Martenot de Cordou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Andre_Martenot_de_Cordou property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4754828,P21,c(Q290))
action filter_type
action find
entity Q4754828
relation P21
type Q290
[ANSWER]
['Q4754828', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q4754828 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Andre Martenot de Cordou
relation gender
type sex
['Andre Martenot de Cordou', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Andre_Martenot_de_Cordou property:gender ?k . ?k rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6581097 Q80726
P138
Q2088357
USER
How many musical ensembles have male or allele as their toponym ?
(c(Q2088357),P138,Q6581097) (c(Q2088357),P138,Q80726)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q80726
relation P138
type Q2088357
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q80726']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P138 ?l . VALUES ( ?l ) { ( resource:Q6581097 ) ( resource:Q80726 ) } }
male allele
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity allele
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'allele']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:named_after ?l . VALUES ( ?l ) { ( resource:male ) ( resource:allele ) } }
[]
musical ensemble
SYSTEM
2
Q15181127 Q1754475
(c(Q2088357),P138,Q6581097) (c(Q2088357),P138,Q80726)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q80726
relation P138
type Q2088357
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q80726']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:P138 ?l . VALUES ( ?l ) { ( resource:Q6581097 ) ( resource:Q80726 ) } }
Ausekarane Allele
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity allele
relation named after
type musical ensemble
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'allele']
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { ?t property:named_after ?l . VALUES ( ?l ) { ( resource:male ) ( resource:allele ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q786 Q1678936
P530 P27
Q1048835
USER
Which political territories are Jakob Brunner an inhabitant of and holds diplomatic relationship with Dominican Republic ?
AND((Q1678936,P27,c(Q1048835)), (Q786,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1678936
relation P27
action find
entity Q786
relation P530
type Q1048835
{'AND': [['Q1678936', 'P27', {'concept': 'Q1048835'}], ['Q786', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1678936 property:P27 ?u . resource:Q786 property:P530 ?u }
Dominican Republic Jakob Brunner
action filter_type
action intersection
action find
entity Jakob Brunner
relation country of citizenship
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
{'AND': [['Jakob Brunner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Jakob_Brunner property:country_of_citizenship ?u . resource:Dominican_Republic property:diplomatic_relation ?u }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q1678936,P27,c(Q1048835)), (Q786,P530,c(Q1048835)))
action filter_type
action intersection
action find
entity Q1678936
relation P27
action find
entity Q786
relation P530
type Q1048835
[ANSWER] is Jakob Brunner an inhabitant of and holds diplomatic relationship with Dominican Republic
{'AND': [['Q1678936', 'P27', {'concept': 'Q1048835'}], ['Q786', 'P530', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q1048835 . resource:Q1678936 property:P27 ?u . resource:Q786 property:P530 ?u }
Germany
Germany is Jakob Brunner an inhabitant of and holds diplomatic relationship with Dominican Republic
Germany
action filter_type
action intersection
action find
entity Jakob Brunner
relation country of citizenship
action find
entity Dominican Republic
relation diplomatic relation
type political territorial entity
{'AND': [['Jakob Brunner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Dominican Republic', 'diplomatic relation', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:political_territorial_entity . resource:Jakob_Brunner property:country_of_citizenship ?u . resource:Dominican_Republic property:diplomatic_relation ?u }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories have a shared border with that political territory ?
(Q183,P47,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P47
type Q15617994
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q183 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Germany property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
8
Q142 Q213 Q55 Q29999 Q32 Q31 Q36 Q39
(Q183,P47,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P47
type Q15617994
[ANSWER]
['Q183', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q183 property:P47 ?s . ?s rdf:type ontology:Q15617994 }
France Czech Republic Netherlands Kingdom of the Netherlands Luxembourg Belgium Poland Switzerland
8
action count
action filter_type
action find
entity Germany
relation shares border with
type designation for an administrative territorial entity
['Germany', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Germany property:shares_border_with ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1678936
P19
Q15617994
USER
Where was Jakob Brunner born ?
(Q1678936,P19,c(Q15617994))
action filter_type
action find
entity Q1678936
relation P19
type Q15617994
['Q1678936', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1678936 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
Jakob Brunner
action filter_type
action find
entity Jakob Brunner
relation place of birth
type designation for an administrative territorial entity
['Jakob Brunner', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jakob_Brunner property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2350701
SYSTEM
Stockheim
Q2350701
(Q1678936,P19,c(Q15617994))
action filter_type
action find
entity Q1678936
relation P19
type Q15617994
Jakob Brunner was born in [ANSWER]
['Q1678936', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q1678936 property:P19 ?f . ?f rdf:type ontology:Q15617994 }
Stockheim
Jakob Brunner was born in Stockheim
Stockheim
action filter_type
action find
entity Jakob Brunner
relation place of birth
type designation for an administrative territorial entity
['Jakob Brunner', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Jakob_Brunner property:place_of_birth ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]