Simple Question (Direct)
Simple Question
Q1692386
P140
Q879146
USER
Which Christian denomination does Johann Anton Friedrich Baudri correspond to ?
(Q1692386,P140,c(Q879146))
action filter_type
action find
entity Q1692386
relation P140
type Q879146
['Q1692386', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?e WHERE { resource:Q1692386 property:P140 ?e . ?e rdf:type ontology:Q879146 }
Johann Anton Friedrich Baudri
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation religion
type Christian denomination
['Johann Anton Friedrich Baudri', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?e WHERE { resource:Johann_Anton_Friedrich_Baudri property:religion ?e . ?e rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q1692386,P140,c(Q879146))
action filter_type
action find
entity Q1692386
relation P140
type Q879146
Johann Anton Friedrich Baudri corresponds to [ANSWER]
['Q1692386', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?e WHERE { resource:Q1692386 property:P140 ?e . ?e rdf:type ontology:Q879146 }
Roman Catholic Church
Johann Anton Friedrich Baudri corresponds to Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation religion
type Christian denomination
['Johann Anton Friedrich Baudri', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?e WHERE { resource:Johann_Anton_Friedrich_Baudri property:religion ?e . ?e rdf:type ontology:Christian_denomination }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1692386
P21
Q290
USER
Which sex does Johann Anton Friedrich Baudri possess ?
(Q1692386,P21,c(Q290))
action filter_type
action find
entity Q1692386
relation P21
type Q290
['Q1692386', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1692386 property:P21 ?c . ?c rdf:type ontology:Q290 }
Johann Anton Friedrich Baudri
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation gender
type sex
['Johann Anton Friedrich Baudri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Johann_Anton_Friedrich_Baudri property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1692386,P21,c(Q290))
action filter_type
action find
entity Q1692386
relation P21
type Q290
Johann Anton Friedrich Baudri possesses un [ANSWER]
['Q1692386', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q1692386 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
Johann Anton Friedrich Baudri possesses un male
male
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation gender
type sex
['Johann Anton Friedrich Baudri', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Johann_Anton_Friedrich_Baudri property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1692386
P20
Q56061
USER
Where did that person expire ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1692386
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1692386 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Johann Anton Friedrich Baudri
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Anton_Friedrich_Baudri property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q1692386
relation P20
type Q56061
That person expired in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q1692386 property:P20 ?z . ?z rdf:type ontology:Q56061 }
Cologne
That person expired in Cologne
Cologne
action filter_type
action find
entity Johann Anton Friedrich Baudri
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Johann_Anton_Friedrich_Baudri property:place_of_death ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365
P108
Q502895
USER
Which person works for that administrative territory ?
(c(Q502895),P108,Q365)
action filter_type
action find_reverse
entity Q365
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q365']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q365 . ?p rdf:type ontology:Q502895 }
Cologne
action filter_type
action find_reverse
entity Cologne
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cologne']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Cologne . ?p rdf:type ontology:common_name }
[]
common name
Q19285371
SYSTEM
Henriette Reker
Q19285371
(c(Q502895),P108,Q365)
action filter_type
action find_reverse
entity Q365
relation P108
type Q502895
[ANSWER] works for that administrative territory
[{'concept': 'Q502895'}, 'P108', 'Q365']
SELECT DISTINCT ?p WHERE { ?p property:P108 resource:Q365 . ?p rdf:type ontology:Q502895 }
Henriette Reker
Henriette Reker works for that administrative territory
Henriette Reker
action filter_type
action find_reverse
entity Cologne
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Cologne']
SELECT DISTINCT ?p WHERE { ?p property:employer resource:Cologne . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P108
Q15617994 Q56061
USER
How many administrative territories or administrative territories are the employers of that person ?
(Q19285371,P108,c(Q15617994)) (Q19285371,P108,c(Q56061)) (Q19285371,P108,c(Q15617994)) (Q19285371,P108,c(Q56061))
action count
action union
action filter_type
action find
entity Q19285371
relation P108
type Q15617994
action filter_type
action find
entity Q19285371
relation P108
type Q56061
['Q19285371', 'P108', {'concept': 'Q15617994'}] ['Q19285371', 'P108', {'concept': 'Q56061'}] ['Q19285371', 'P108', {'concept': 'Q15617994'}] ['Q19285371', 'P108', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Q19285371 property:P108 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q19285371 property:P108 ?q . ?q rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find
entity Henriette Reker
relation employer
type designation for an administrative territorial entity
action filter_type
action find
entity Henriette Reker
relation employer
type administrative territorial entity
['Henriette Reker', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Henriette_Reker property:employer ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Henriette_Reker property:employer ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
2
Q365 Q2765
(Q19285371,P108,c(Q15617994)) (Q19285371,P108,c(Q56061)) (Q19285371,P108,c(Q15617994)) (Q19285371,P108,c(Q56061))
action count
action union
action filter_type
action find
entity Q19285371
relation P108
type Q15617994
action filter_type
action find
entity Q19285371
relation P108
type Q56061
[ANSWER]
['Q19285371', 'P108', {'concept': 'Q15617994'}] ['Q19285371', 'P108', {'concept': 'Q56061'}] ['Q19285371', 'P108', {'concept': 'Q15617994'}] ['Q19285371', 'P108', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Q19285371 property:P108 ?q . ?q rdf:type ontology:Q15617994 } UNION { resource:Q19285371 property:P108 ?q . ?q rdf:type ontology:Q56061 } }
Cologne Gelsenkirchen
2
action count
action union
action filter_type
action find
entity Henriette Reker
relation employer
type designation for an administrative territorial entity
action filter_type
action find
entity Henriette Reker
relation employer
type administrative territorial entity
['Henriette Reker', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'designation for an administrative territorial entity'}] ['Henriette Reker', 'employer', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Henriette_Reker property:employer ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Henriette_Reker property:employer ?q . ?q rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19285371
P39
Q618779
USER
Which award was a position held by Henriette Reker ?
(Q19285371,P39,c(Q618779))
action filter_type
action find
entity Q19285371
relation P39
type Q618779
['Q19285371', 'P39', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q19285371 property:P39 ?r . ?r rdf:type ontology:Q618779 }
Henriette Reker
action filter_type
action find
entity Henriette Reker
relation position held
type award
['Henriette Reker', 'position held', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Henriette_Reker property:position_held ?r . ?r rdf:type ontology:award }
[]
award
Q11902879
SYSTEM
Lord Mayor
Q11902879
(Q19285371,P39,c(Q618779))
action filter_type
action find
entity Q19285371
relation P39
type Q618779
[ANSWER] was a position held by Henriette Reker
['Q19285371', 'P39', {'concept': 'Q618779'}]
SELECT DISTINCT ?r WHERE { resource:Q19285371 property:P39 ?r . ?r rdf:type ontology:Q618779 }
Lord Mayor
Lord Mayor was a position held by Henriette Reker
Lord Mayor
action filter_type
action find
entity Henriette Reker
relation position held
type award
['Henriette Reker', 'position held', {'concept': 'award'}]
SELECT DISTINCT ?r WHERE { resource:Henriette_Reker property:position_held ?r . ?r rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19285371
P27
Q1048835
USER
Which political territory is Henriette Reker a civilian of ?
(Q19285371,P27,c(Q1048835))
action filter_type
action find
entity Q19285371
relation P27
type Q1048835
['Q19285371', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q19285371 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Henriette Reker
action filter_type
action find
entity Henriette Reker
relation country of citizenship
type political territorial entity
['Henriette Reker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henriette_Reker property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q19285371,P27,c(Q1048835))
action filter_type
action find
entity Q19285371
relation P27
type Q1048835
[ANSWER] is Henriette Reker a civilian of
['Q19285371', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q19285371 property:P27 ?l . ?l rdf:type ontology:Q1048835 }
Germany
Germany is Henriette Reker a civilian of
Germany
action filter_type
action find
entity Henriette Reker
relation country of citizenship
type political territorial entity
['Henriette Reker', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Henriette_Reker property:country_of_citizenship ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P291
Q482994
USER
What was published in that political territory ?
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q183 . ?y rdf:type ontology:Q482994 }
Germany
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Germany . ?y rdf:type ontology:album }
[]
album
Q16323236
SYSTEM
Bloodlines
Q16323236
(c(Q482994),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q482994
[ANSWER] was published in that political territory
[{'concept': 'Q482994'}, 'P291', 'Q183']
SELECT DISTINCT ?y WHERE { ?y property:P291 resource:Q183 . ?y rdf:type ontology:Q482994 }
Bloodlines
Bloodlines was published in that political territory
Bloodlines
action filter_type
action find_reverse
entity Germany
relation place of publication
type album
[{'concept': 'album'}, 'place of publication', 'Germany']
SELECT DISTINCT ?y WHERE { ?y property:place_of_publication resource:Germany . ?y rdf:type ontology:album }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16323236
P175
Q215380
USER
Which band was performed by that album ?
(Q16323236,P175,c(Q215380))
action filter_type
action find
entity Q16323236
relation P175
type Q215380
['Q16323236', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?h WHERE { resource:Q16323236 property:P175 ?h . ?h rdf:type ontology:Q215380 }
Bloodlines
action filter_type
action find
entity Bloodlines
relation performer
type band
['Bloodlines', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?h WHERE { resource:Bloodlines property:performer ?h . ?h rdf:type ontology:band }
[]
band
Q200000
SYSTEM
Dúné
Q200000
(Q16323236,P175,c(Q215380))
action filter_type
action find
entity Q16323236
relation P175
type Q215380
[ANSWER] was performed by that album
['Q16323236', 'P175', {'concept': 'Q215380'}]
SELECT DISTINCT ?h WHERE { resource:Q16323236 property:P175 ?h . ?h rdf:type ontology:Q215380 }
Dúné
Dúné was performed by that album
Dúné
action filter_type
action find
entity Bloodlines
relation performer
type band
['Bloodlines', 'performer', {'concept': 'band'}]
SELECT DISTINCT ?h WHERE { resource:Bloodlines property:performer ?h . ?h rdf:type ontology:band }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q200000
P86
Q2031291
USER
Which release is that band a composer of ?
(c(Q2031291),P86,Q200000)
action filter_type
action find_reverse
entity Q200000
relation P86
type Q2031291
[{'concept': 'Q2031291'}, 'P86', 'Q200000']
SELECT DISTINCT ?o WHERE { ?o property:P86 resource:Q200000 . ?o rdf:type ontology:Q2031291 }
Dúné
action filter_type
action find_reverse
entity Dúné
relation composer
type release
[{'concept': 'release'}, 'composer', 'Dúné']
SELECT DISTINCT ?o WHERE { ?o property:composer resource:Dúné . ?o rdf:type ontology:release }
[]
release
Q16323167
SYSTEM
All That I Have
Q16323167
(c(Q2031291),P86,Q200000)
action filter_type
action find_reverse
entity Q200000
relation P86
type Q2031291
Which release is that band a composer of
[{'concept': 'Q2031291'}, 'P86', 'Q200000']
SELECT DISTINCT ?o WHERE { ?o property:P86 resource:Q200000 . ?o rdf:type ontology:Q2031291 }
All That I Have
Which release is that band a composer of
All That I Have
action filter_type
action find_reverse
entity Dúné
relation composer
type release
[{'concept': 'release'}, 'composer', 'Dúné']
SELECT DISTINCT ?o WHERE { ?o property:composer resource:Dúné . ?o rdf:type ontology:release }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q2031291
USER
Which languages are the languages of work for exactly 4 releases ?
(c(Q2031291),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 4
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?b . ?b rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2031291 } GROUP BY ?b } . FILTER ( ?i = 4 ) }
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 4
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?v rdf:type ontology:release } GROUP BY ?b } . FILTER ( ?i = 4 ) }
[]
language release
Q8785 Q397
SYSTEM
Armenian, Latin
Q8785 Q397
(c(Q2031291),P407,c(Q34770))
action equal
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 4
The languages of work for exactly 4 releases are [ANSWERS]
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:P407 ?b . ?b rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2031291 } GROUP BY ?b } . FILTER ( ?i = 4 ) }
Armenian Latin
The languages of work for exactly 4 releases are Armenian and Latin
Armenian Latin
action equal
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 4
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?i ) WHERE { ?v property:language_of_work_or_name ?b . ?b rdf:type ontology:language . ?v rdf:type ontology:release } GROUP BY ?b } . FILTER ( ?i = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P37
Q34770 Q56061
USER
Which administrative territories are known to have max number of languages as their official language ?
(c(Q56061),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q56061
type Q34770
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:P37 ?c . ?c rdf:type ontology:Q34770 . ?y rdf:type ontology:Q56061 } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P37 ?u . ?g rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?g } . FILTER ( ?l = ?w ) }
action argmax
action find_tuple_counts
relation official language
type administrative territorial entity
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:official_language ?c . ?c rdf:type ontology:language . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:official_language ?u . ?g rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?g } . FILTER ( ?l = ?w ) }
[]
language administrative territorial entity
Q458
SYSTEM
European Union
Q458
(c(Q56061),P37,c(Q34770))
action argmax
action find_tuple_counts
relation P37
type Q56061
type Q34770
[ANSWER] is known to have max number of languages as their official language
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:P37 ?c . ?c rdf:type ontology:Q34770 . ?y rdf:type ontology:Q56061 } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:P37 ?u . ?g rdf:type ontology:Q56061 . ?u rdf:type ontology:Q34770 } GROUP BY ?g } . FILTER ( ?l = ?w ) }
European Union
European Union is known to have max number of languages as their official language
European Union
action argmax
action find_tuple_counts
relation official language
type administrative territorial entity
type language
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?n ) AS ?w ) { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:official_language ?c . ?c rdf:type ontology:language . ?y rdf:type ontology:administrative_territorial_entity } GROUP BY ?y } } . { SELECT DISTINCT ?g ( COUNT ( ?u ) AS ?l ) WHERE { ?g property:official_language ?u . ?g rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:language } GROUP BY ?g } . FILTER ( ?l = ?w ) }
[]