Simple Question (Direct)
Simple Question
Q714653
P20
Q15617994
USER
Where did the expiration of Georg Artur Meistermann occur ?
(Q714653,P20,c(Q15617994))
action filter_type
action find
entity Q714653
relation P20
type Q15617994
['Q714653', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q714653 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Georg Artur Meistermann
action filter_type
action find
entity Georg Artur Meistermann
relation place of death
type designation for an administrative territorial entity
['Georg Artur Meistermann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Georg_Artur_Meistermann property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2942
SYSTEM
Solingen
Q2942
(Q714653,P20,c(Q15617994))
action filter_type
action find
entity Q714653
relation P20
type Q15617994
The expiration of Georg Artur Meistermann occurred in [ANSWER]
['Q714653', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q714653 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Solingen
The expiration of Georg Artur Meistermann occurred in Solingen
Solingen
action filter_type
action find
entity Georg Artur Meistermann
relation place of death
type designation for an administrative territorial entity
['Georg Artur Meistermann', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Georg_Artur_Meistermann property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q714653
P102
Q7210356
USER
Which party does Georg Artur Meistermann belong to ?
(Q714653,P102,c(Q7210356))
action filter_type
action find
entity Q714653
relation P102
type Q7210356
['Q714653', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q714653 property:P102 ?f }
Georg Artur Meistermann
action filter_type
action find
entity Georg Artur Meistermann
relation member of political party
type political organization
['Georg Artur Meistermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Georg_Artur_Meistermann property:member_of_political_party ?f }
[]
political organization
Q157537
SYSTEM
Centre Party
Q157537
(Q714653,P102,c(Q7210356))
action filter_type
action find
entity Q714653
relation P102
type Q7210356
Georg Artur Meistermann belongs to [ANSWER]
['Q714653', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q7210356 . resource:Q714653 property:P102 ?f }
Centre Party
Georg Artur Meistermann belongs to Centre Party
Centre Party
action filter_type
action find
entity Georg Artur Meistermann
relation member of political party
type political organization
['Georg Artur Meistermann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_organization . resource:Georg_Artur_Meistermann property:member_of_political_party ?f }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q714653
Q7278
USER
And which political party?
(Q714653,P102,c(Q7278))
action filter_type
action find
entity Q714653
relation P102
type Q7278
['Q714653', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q714653 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Georg Artur Meistermann
action filter_type
action find
entity Georg Artur Meistermann
relation member of political party
type political party
['Georg Artur Meistermann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Georg_Artur_Meistermann property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
political party
Q49762
SYSTEM
Christian Democratic Union
Q49762
(Q714653,P102,c(Q7278))
action filter_type
action find
entity Q714653
relation P102
type Q7278
[ANSWER]
['Q714653', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?t WHERE { resource:Q714653 property:P102 ?t . ?t rdf:type ontology:Q7278 }
Christian Democratic Union
Christian Democratic Union
action filter_type
action find
entity Georg Artur Meistermann
relation member of political party
type political party
['Georg Artur Meistermann', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?t WHERE { resource:Georg_Artur_Meistermann property:member_of_political_party ?t . ?t rdf:type ontology:political_party }
[]
Logical Reasoning (All)
Logical|Difference|Single_Relation
Q2149364 Q714653
P937
Q56061
USER
Which administrative territories did Georg Artur Meistermann but not Richard Duschek work ?
AND((Q714653,P937,c(Q56061)), NOT((Q2149364,P937,c(Q56061))))
action filter_type
action difference
action find
entity Q714653
relation P937
action find
entity Q2149364
relation P937
type Q56061
{'AND': [['Q714653', 'P937', {'concept': 'Q56061'}], {'NOT': [['Q2149364', 'P937', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q714653 property:P937 ?n . FILTER NOT EXISTS { resource:Q2149364 property:P937 ?n } }
Richard Duschek Georg Artur Meistermann
action filter_type
action difference
action find
entity Georg Artur Meistermann
relation work location
action find
entity Richard Duschek
relation work location
type administrative territorial entity
{'AND': [['Georg Artur Meistermann', 'work location', {'concept': 'administrative territorial entity'}], {'NOT': [['Richard Duschek', 'work location', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Georg_Artur_Meistermann property:work_location ?n . FILTER NOT EXISTS { resource:Richard_Duschek property:work_location ?n } }
[]
administrative territorial entity
Q1718
SYSTEM
Düsseldorf
Q1718
AND((Q714653,P937,c(Q56061)), NOT((Q2149364,P937,c(Q56061))))
action filter_type
action difference
action find
entity Q714653
relation P937
action find
entity Q2149364
relation P937
type Q56061
Georg Artur Meistermann but not Richard Duschek worked in [ANSWER]
{'AND': [['Q714653', 'P937', {'concept': 'Q56061'}], {'NOT': [['Q2149364', 'P937', {'concept': 'Q56061'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q714653 property:P937 ?n . FILTER NOT EXISTS { resource:Q2149364 property:P937 ?n } }
Düsseldorf
Georg Artur Meistermann but not Richard Duschek worked in Düsseldorf
Düsseldorf
action filter_type
action difference
action find
entity Georg Artur Meistermann
relation work location
action find
entity Richard Duschek
relation work location
type administrative territorial entity
{'AND': [['Georg Artur Meistermann', 'work location', {'concept': 'administrative territorial entity'}], {'NOT': [['Richard Duschek', 'work location', {'concept': 'administrative territorial entity'}]]}]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Georg_Artur_Meistermann property:work_location ?n . FILTER NOT EXISTS { resource:Richard_Duschek property:work_location ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are the sister cities of that administrative territory ?
(Q1718,P190,c(Q56061))
action count
action filter_type
action find
entity Q1718
relation P190
type Q56061
['Q1718', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q56061 . resource:Q1718 property:P190 ?f }
action count
action filter_type
action find
entity Düsseldorf
relation sister city
type administrative territorial entity
['Düsseldorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Düsseldorf property:sister_city ?f }
[]
administrative territorial entity
SYSTEM
9
Q41621 Q270 Q3805 Q8717 Q649 Q3711 Q8826 Q7880 Q1297
(Q1718,P190,c(Q56061))
action count
action filter_type
action find
entity Q1718
relation P190
type Q56061
[ANSWER]
['Q1718', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:Q56061 . resource:Q1718 property:P190 ?f }
Haifa Warsaw Amman Seville Moscow Belgrade Palma Toulouse Chicago
9
action count
action filter_type
action find
entity Düsseldorf
relation sister city
type administrative territorial entity
['Düsseldorf', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:Düsseldorf property:sister_city ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P291
Q223393
USER
Which literary genre was published in Düsseldorf ?
(c(Q223393),P291,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P291
type Q223393
[{'concept': 'Q223393'}, 'P291', 'Q1718']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q1718 . ?s rdf:type ontology:Q223393 }
Düsseldorf
action filter_type
action find_reverse
entity Düsseldorf
relation place of publication
type literary genre
[{'concept': 'literary genre'}, 'place of publication', 'Düsseldorf']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Düsseldorf . ?s rdf:type ontology:literary_genre }
[]
literary genre
Q25936361
SYSTEM
Lexikon der Pharaonen
Q25936361
(c(Q223393),P291,Q1718)
action filter_type
action find_reverse
entity Q1718
relation P291
type Q223393
[ANSWER] was published in Düsseldorf
[{'concept': 'Q223393'}, 'P291', 'Q1718']
SELECT DISTINCT ?s WHERE { ?s property:P291 resource:Q1718 . ?s rdf:type ontology:Q223393 }
Lexikon der Pharaonen
Lexikon der Pharaonen was published in Düsseldorf
Lexikon der Pharaonen
action filter_type
action find_reverse
entity Düsseldorf
relation place of publication
type literary genre
[{'concept': 'literary genre'}, 'place of publication', 'Düsseldorf']
SELECT DISTINCT ?s WHERE { ?s property:place_of_publication resource:Düsseldorf . ?s rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1718
P6
Q502895
USER
Which people do Düsseldorf serve as the head of government for ?
(Q1718,P6,c(Q502895))
action filter_type
action find
entity Q1718
relation P6
type Q502895
['Q1718', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1718 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Düsseldorf
action filter_type
action find
entity Düsseldorf
relation head of government
type common name
['Düsseldorf', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Düsseldorf property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q99603 Q1705093 Q1744941
SYSTEM
Joachim Erwin, Josef Kürten, Klaus Bungert
Q1596475 Q1705093 Q1336422 Q86019 Q1744941 Q17198510 Q99603
(Q1718,P6,c(Q502895))
action filter_type
action find
entity Q1718
relation P6
type Q502895
[ANSWERS] Düsseldorf serve as the head of government
['Q1718', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1718 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Marlies Smeets Josef Kürten Emil Köttgen Dirk Elbers Klaus Bungert Thomas Geisel Joachim Erwin
Joachim Erwin, Josef Kürten and Klaus Bungert Düsseldorf serve as the head of government
Joachim Erwin Josef Kürten Klaus Bungert
action filter_type
action find
entity Düsseldorf
relation head of government
type common name
['Düsseldorf', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Düsseldorf property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1650744
Q502895
USER
And also tell me about Castejón de las Armas?
(Q1650744,P6,c(Q502895))
action filter_type
action find
entity Q1650744
relation P6
type Q502895
['Q1650744', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1650744 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Castejón de las Armas
action filter_type
action find
entity Castejón de las Armas
relation head of government
type common name
['Castejón de las Armas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Castejón_de_las_Armas property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
common name
Q14110631
SYSTEM
Arturo Juan Martinez Bastaros
Q14110631
(Q1650744,P6,c(Q502895))
action filter_type
action find
entity Q1650744
relation P6
type Q502895
[ANSWER]
['Q1650744', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1650744 property:P6 ?k . ?k rdf:type ontology:Q502895 }
Arturo Juan Martinez Bastaros
Arturo Juan Martinez Bastaros
action filter_type
action find
entity Castejón de las Armas
relation head of government
type common name
['Castejón de las Armas', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Castejón_de_las_Armas property:head_of_government ?k . ?k rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q14110631 Q2283318 Q29
P27
Q15617994
USER
Is Arturo Juan Martinez Bastaros a citizen of Eldikan and Spain ?
(Q14110631,P27,Q2283318) (Q14110631,P27,Q29)
action is_in
entity Q14110631
action intersection
action find_reverse
entity Q2283318
relation P27
action find_reverse
entity Q29
relation P27
['Q14110631', 'P27', 'Q2283318'] ['Q14110631', 'P27', 'Q29']
ASK WHERE { resource:Q14110631 property:P27 resource:Q2283318 . resource:Q14110631 property:P27 resource:Q29 }
Arturo Juan Martinez Bastaros Eldikan Spain
action is_in
entity Arturo Juan Martinez Bastaros
action intersection
action find_reverse
entity Eldikan
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
['Arturo Juan Martinez Bastaros', 'country of citizenship', 'Eldikan'] ['Arturo Juan Martinez Bastaros', 'country of citizenship', 'Spain']
ASK WHERE { resource:Arturo_Juan_Martinez_Bastaros property:country_of_citizenship resource:Eldikan . resource:Arturo_Juan_Martinez_Bastaros property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q14110631,P27,Q2283318) (Q14110631,P27,Q29)
action is_in
entity Q14110631
action intersection
action find_reverse
entity Q2283318
relation P27
action find_reverse
entity Q29
relation P27
[ANSWER]
['Q14110631', 'P27', 'Q2283318'] ['Q14110631', 'P27', 'Q29']
ASK WHERE { resource:Q14110631 property:P27 resource:Q2283318 . resource:Q14110631 property:P27 resource:Q29 }
NO and YES respectively
action is_in
entity Arturo Juan Martinez Bastaros
action intersection
action find_reverse
entity Eldikan
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
['Arturo Juan Martinez Bastaros', 'country of citizenship', 'Eldikan'] ['Arturo Juan Martinez Bastaros', 'country of citizenship', 'Spain']
ASK WHERE { resource:Arturo_Juan_Martinez_Bastaros property:country_of_citizenship resource:Eldikan . resource:Arturo_Juan_Martinez_Bastaros property:country_of_citizenship resource:Spain }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1718 Q5202694 Q79730
P190
Q56061
USER
Is Düsseldorf partner town of Cóguil and Kiana ?
(Q1718,P190,Q5202694) (Q1718,P190,Q79730)
action is_in
entity Q1718
action intersection
action find_reverse
entity Q5202694
relation P190
action find_reverse
entity Q79730
relation P190
['Q1718', 'P190', 'Q5202694'] ['Q1718', 'P190', 'Q79730']
ASK WHERE { resource:Q1718 property:P190 resource:Q5202694 . resource:Q1718 property:P190 resource:Q79730 }
Düsseldorf Cóguil Kiana
action is_in
entity Düsseldorf
action intersection
action find_reverse
entity Cóguil
relation sister city
action find_reverse
entity Kiana
relation sister city
['Düsseldorf', 'sister city', 'Cóguil'] ['Düsseldorf', 'sister city', 'Kiana']
ASK WHERE { resource:Düsseldorf property:sister_city resource:Cóguil . resource:Düsseldorf property:sister_city resource:Kiana }
[]
administrative territorial entity
SYSTEM
NO
(Q1718,P190,Q5202694) (Q1718,P190,Q79730)
action is_in
entity Q1718
action intersection
action find_reverse
entity Q5202694
relation P190
action find_reverse
entity Q79730
relation P190
[ANSWER]
['Q1718', 'P190', 'Q5202694'] ['Q1718', 'P190', 'Q79730']
ASK WHERE { resource:Q1718 property:P190 resource:Q5202694 . resource:Q1718 property:P190 resource:Q79730 }
No
action is_in
entity Düsseldorf
action intersection
action find_reverse
entity Cóguil
relation sister city
action find_reverse
entity Kiana
relation sister city
['Düsseldorf', 'sister city', 'Cóguil'] ['Düsseldorf', 'sister city', 'Kiana']
ASK WHERE { resource:Düsseldorf property:sister_city resource:Cóguil . resource:Düsseldorf property:sister_city resource:Kiana }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q49762 Q49758
P102
Q502895
USER
How many people are members of Christian Democratic Union and National Democratic Party of Germany ?
(c(Q502895),P102,Q49762) (c(Q502895),P102,Q49758)
action count
action intersection
action filter_type
action find_reverse
entity Q49762
relation P102
type Q502895
action filter_type
action find_reverse
entity Q49758
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q49762'] [{'concept': 'Q502895'}, 'P102', 'Q49758']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P102 resource:Q49758 . ?e rdf:type ontology:Q502895 . ?e property:P102 resource:Q49762 . ?e rdf:type ontology:Q502895 }
Christian Democratic Union National Democratic Party of Germany
action count
action intersection
action filter_type
action find_reverse
entity Christian Democratic Union
relation member of political party
type common name
action filter_type
action find_reverse
entity National Democratic Party of Germany
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Christian Democratic Union'] [{'concept': 'common name'}, 'member of political party', 'National Democratic Party of Germany']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:member_of_political_party resource:National_Democratic_Party_of_Germany . ?e rdf:type ontology:common_name . ?e property:member_of_political_party resource:Christian_Democratic_Union . ?e rdf:type ontology:common_name }
[]
common name
SYSTEM
3
Q916006 Q1890106 Q1512322
(c(Q502895),P102,Q49762) (c(Q502895),P102,Q49758)
action count
action intersection
action filter_type
action find_reverse
entity Q49762
relation P102
type Q502895
action filter_type
action find_reverse
entity Q49758
relation P102
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q49762'] [{'concept': 'Q502895'}, 'P102', 'Q49758']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P102 resource:Q49758 . ?e rdf:type ontology:Q502895 . ?e property:P102 resource:Q49762 . ?e rdf:type ontology:Q502895 }
Brigitta Kögler Manfred Wulfert Gerhard Reinfeld
3
action count
action intersection
action filter_type
action find_reverse
entity Christian Democratic Union
relation member of political party
type common name
action filter_type
action find_reverse
entity National Democratic Party of Germany
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Christian Democratic Union'] [{'concept': 'common name'}, 'member of political party', 'National Democratic Party of Germany']
SELECT DISTINCT ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:member_of_political_party resource:National_Democratic_Party_of_Germany . ?e rdf:type ontology:common_name . ?e property:member_of_political_party resource:Christian_Democratic_Union . ?e rdf:type ontology:common_name }
[]