Simple Question (Direct)
Simple Question
Q12019372
P106
Q12737077
USER
Which occupations have Heinrich Kremser as his/her 's career ?
(Q12019372,P106,c(Q12737077))
action filter_type
action find
entity Q12019372
relation P106
type Q12737077
['Q12019372', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q12019372 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
Heinrich Kremser
action filter_type
action find
entity Heinrich Kremser
relation occupation
type occupation
['Heinrich Kremser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Heinrich_Kremser property:occupation ?l . ?l rdf:type ontology:occupation }
[]
occupation
Q486839 Q1930187 Q36180
SYSTEM
member of parliament, journalist, writer
Q486839 Q1930187 Q36180
(Q12019372,P106,c(Q12737077))
action filter_type
action find
entity Q12019372
relation P106
type Q12737077
[ANSWERS] have Heinrich Kremser as his/her 's career
['Q12019372', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?l WHERE { resource:Q12019372 property:P106 ?l . ?l rdf:type ontology:Q12737077 }
member of parliament journalist writer
Member of parliament, journalist and writer have Heinrich Kremser as his/her 's career
member of parliament journalist writer
action filter_type
action find
entity Heinrich Kremser
relation occupation
type occupation
['Heinrich Kremser', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?l WHERE { resource:Heinrich_Kremser property:occupation ?l . ?l rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q12019372
P20
Q56061
USER
Which administrative territory is the place of death of Heinrich Kremser ?
(Q12019372,P20,c(Q56061))
action filter_type
action find
entity Q12019372
relation P20
type Q56061
['Q12019372', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q12019372 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Heinrich Kremser
action filter_type
action find
entity Heinrich Kremser
relation place of death
type administrative territorial entity
['Heinrich Kremser', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Heinrich_Kremser property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q12019372,P20,c(Q56061))
action filter_type
action find
entity Q12019372
relation P20
type Q56061
[ANSWER] is the place of death of Heinrich Kremser
['Q12019372', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q12019372 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Vienna
Vienna is the place of death of Heinrich Kremser
Vienna
action filter_type
action find
entity Heinrich Kremser
relation place of death
type administrative territorial entity
['Heinrich Kremser', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Heinrich_Kremser property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12019372
P102
Q7210356
USER
Which party does that person belong to ?
(Q1741,P102,c(Q7210356))
action filter_type
action find
entity Q12019372
relation P102
type Q7210356
['Q1741', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q12019372 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Heinrich Kremser
action filter_type
action find
entity Heinrich Kremser
relation member of political party
type political organization
['Vienna', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Heinrich_Kremser property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q456307
SYSTEM
German Social Democratic Workers Party in the Czechoslovak Republic
Q456307
(Q1741,P102,c(Q7210356))
action filter_type
action find
entity Q12019372
relation P102
type Q7210356
That person belongs to [ANSWER]
['Q1741', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q12019372 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
German Social Democratic Workers Party in the Czechoslovak Republic
That person belongs to German Social Democratic Workers Party in the Czechoslovak Republic
German Social Democratic Workers Party in the Czechoslovak Republic
action filter_type
action find
entity Heinrich Kremser
relation member of political party
type political organization
['Vienna', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Heinrich_Kremser property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1741
P840
Q2342494 Q1914636
USER
How many collectables and activities have their setting located at Vienna ?
(c(Q2342494),P840,Q1741) (c(Q1914636),P840,Q1741)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q1741
relation P840
type Q1914636
[{'concept': 'Q2342494'}, 'P840', 'Q1741'] [{'concept': 'Q1914636'}, 'P840', 'Q1741']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q1914636 ) } . ?q rdf:type ?w }
Vienna
action count
action union
action filter_type
action find_reverse
entity Vienna
relation narrative location
type collectable
action filter_type
action find_reverse
entity Vienna
relation narrative location
type activity
[{'concept': 'collectable'}, 'narrative location', 'Vienna'] [{'concept': 'activity'}, 'narrative location', 'Vienna']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:activity ) } . ?q rdf:type ?w }
[]
collectable activity
SYSTEM
2 collectables and 1 activities
Q543790 Q7763420 Q5274326
(c(Q2342494),P840,Q1741) (c(Q1914636),P840,Q1741)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P840
type Q2342494
action filter_type
action find_reverse
entity Q1741
relation P840
type Q1914636
[ANSWER]
[{'concept': 'Q2342494'}, 'P840', 'Q1741'] [{'concept': 'Q1914636'}, 'P840', 'Q1741']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:Q2342494 ) ( ontology:Q1914636 ) } . ?q rdf:type ?w }
Thrilling Cities The Seven-Per-Cent Solution Die Blutgräfin
2 collectables and 1 activities
action count
action union
action filter_type
action find_reverse
entity Vienna
relation narrative location
type collectable
action filter_type
action find_reverse
entity Vienna
relation narrative location
type activity
[{'concept': 'collectable'}, 'narrative location', 'Vienna'] [{'concept': 'activity'}, 'narrative location', 'Vienna']
SELECT DISTINCT ( COUNT ( ?q ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:collectable ) ( ontology:activity ) } . ?q rdf:type ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P108
Q502895
USER
Which people have Vienna as their employer ?
(c(Q502895),P108,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q1741']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q1741 . ?j rdf:type ontology:Q502895 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Vienna']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Vienna . ?j rdf:type ontology:common_name }
[]
common name
Q19960113 Q1959294
SYSTEM
Gertraud Klemm, Carl Ludwig Sigmund
Q19960113 Q1959294
(c(Q502895),P108,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P108
type Q502895
[ANSWERS] have Vienna as their employer
[{'concept': 'Q502895'}, 'P108', 'Q1741']
SELECT DISTINCT ?j WHERE { ?j property:P108 resource:Q1741 . ?j rdf:type ontology:Q502895 }
Gertraud Klemm Carl Ludwig Sigmund
Gertraud Klemm and Carl Ludwig Sigmund have Vienna as their employer
Gertraud Klemm Carl Ludwig Sigmund
action filter_type
action find_reverse
entity Vienna
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Vienna']
SELECT DISTINCT ?j WHERE { ?j property:employer resource:Vienna . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1959294
P27
Q3024240
USER
Which former country does Carl Ludwig Sigmund belong to ?
(Q1959294,P27,c(Q3024240))
action filter_type
action find
entity Q1959294
relation P27
type Q3024240
['Q1959294', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q3024240 . resource:Q1959294 property:P27 ?x }
Carl Ludwig Sigmund
action filter_type
action find
entity Carl Ludwig Sigmund
relation country of citizenship
type former country
['Carl Ludwig Sigmund', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:former_country . resource:Carl_Ludwig_Sigmund property:country_of_citizenship ?x }
[]
former country
Q28513
SYSTEM
Austria-Hungary
Q28513
(Q1959294,P27,c(Q3024240))
action filter_type
action find
entity Q1959294
relation P27
type Q3024240
Carl Ludwig Sigmund belongs to the [ANSWER]
['Q1959294', 'P27', {'concept': 'Q3024240'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q3024240 . resource:Q1959294 property:P27 ?x }
Austria-Hungary
Carl Ludwig Sigmund belongs to the Austria-Hungary
Austria-Hungary
action filter_type
action find
entity Carl Ludwig Sigmund
relation country of citizenship
type former country
['Carl Ludwig Sigmund', 'country of citizenship', {'concept': 'former country'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:former_country . resource:Carl_Ludwig_Sigmund property:country_of_citizenship ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q28513
P30
Q2221906
USER
Which geographic location is that former country situated in ?
(Q28513,P30,c(Q2221906))
action filter_type
action find
entity Q28513
relation P30
type Q2221906
['Q28513', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q28513 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Austria-Hungary
action filter_type
action find
entity Austria-Hungary
relation continent
type geographic location
['Austria-Hungary', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Austria-Hungary property:continent ?y . ?y rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q28513,P30,c(Q2221906))
action filter_type
action find
entity Q28513
relation P30
type Q2221906
That former country is situated in [ANSWER]
['Q28513', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { resource:Q28513 property:P30 ?y . ?y rdf:type ontology:Q2221906 }
Europe
That former country is situated in Europe
Europe
action filter_type
action find
entity Austria-Hungary
relation continent
type geographic location
['Austria-Hungary', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { resource:Austria-Hungary property:continent ?y . ?y rdf:type ontology:geographic_location }
[]