Simple Question (Direct)
Simple Question
Q11713621
P937
Q515
USER
Where did Ioan Lucian Hămbăşan work ?
(Q11713621,P937,c(Q515))
action filter_type
action find
entity Q11713621
relation P937
type Q515
['Q11713621', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q11713621 property:P937 ?u . ?u rdf:type ontology:Q515 }
Ioan Lucian Hămbăşan
action filter_type
action find
entity Ioan Lucian Hămbăşan
relation work location
type city
['Ioan Lucian Hămbăşan', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ioan_Lucian_Hămbăşan property:work_location ?u . ?u rdf:type ontology:city }
[]
city
Q6602
SYSTEM
Strasbourg
Q6602
(Q11713621,P937,c(Q515))
action filter_type
action find
entity Q11713621
relation P937
type Q515
Ioan Lucian Hămbăşan worked in [ANSWER]
['Q11713621', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?u WHERE { resource:Q11713621 property:P937 ?u . ?u rdf:type ontology:Q515 }
Strasbourg
Ioan Lucian Hămbăşan worked in Strasbourg
Strasbourg
action filter_type
action find
entity Ioan Lucian Hămbăşan
relation work location
type city
['Ioan Lucian Hămbăşan', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?u WHERE { resource:Ioan_Lucian_Hămbăşan property:work_location ?u . ?u rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11713621
P21
Q290
USER
What is the sex of that person ?
(Q6602,P21,c(Q290))
action filter_type
action find
entity Q11713621
relation P21
type Q290
['Q6602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q11713621 property:P21 ?r . ?r rdf:type ontology:Q290 }
Ioan Lucian Hămbăşan
action filter_type
action find
entity Ioan Lucian Hămbăşan
relation gender
type sex
['Strasbourg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ioan_Lucian_Hămbăşan property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6602,P21,c(Q290))
action filter_type
action find
entity Q11713621
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q6602', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q11713621 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Ioan Lucian Hămbăşan
relation gender
type sex
['Strasbourg', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Ioan_Lucian_Hămbăşan property:gender ?r . ?r rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q21064018
P21
Q502895
USER
Does Milan Pavkov have that sex as the sex ?
(Q21064018,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21064018
relation P21
['Q21064018', 'P21', 'Q6581097']
ASK WHERE { resource:Q21064018 property:P21 resource:Q6581097 }
male Milan Pavkov
action is_in
entity male
action find
entity Milan Pavkov
relation gender
['Milan Pavkov', 'gender', 'male']
ASK WHERE { resource:Milan_Pavkov property:gender resource:male }
[]
common name
SYSTEM
YES
(Q21064018,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q21064018
relation P21
[ANSWER]
['Q21064018', 'P21', 'Q6581097']
ASK WHERE { resource:Q21064018 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Milan Pavkov
relation gender
['Milan Pavkov', 'gender', 'male']
ASK WHERE { resource:Milan_Pavkov property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q11713621 Q600978
P27
Q15617994
USER
Is Seibersdorf the country of citizenship of Ioan Lucian Hămbăşan ?
(Q11713621,P27,Q600978)
action is_in
entity Q600978
action find
entity Q11713621
relation P27
['Q11713621', 'P27', 'Q600978']
ASK WHERE { resource:Q11713621 property:P27 resource:Q600978 }
Ioan Lucian Hămbăşan Seibersdorf
action is_in
entity Seibersdorf
action find
entity Ioan Lucian Hămbăşan
relation country of citizenship
['Ioan Lucian Hămbăşan', 'country of citizenship', 'Seibersdorf']
ASK WHERE { resource:Ioan_Lucian_Hămbăşan property:country_of_citizenship resource:Seibersdorf }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q11713621,P27,Q600978)
action is_in
entity Q600978
action find
entity Q11713621
relation P27
[ANSWER]
['Q11713621', 'P27', 'Q600978']
ASK WHERE { resource:Q11713621 property:P27 resource:Q600978 }
No
action is_in
entity Seibersdorf
action find
entity Ioan Lucian Hămbăşan
relation country of citizenship
['Ioan Lucian Hămbăşan', 'country of citizenship', 'Seibersdorf']
ASK WHERE { resource:Ioan_Lucian_Hămbăşan property:country_of_citizenship resource:Seibersdorf }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1398461 Q11713621
P937
Q56061
USER
Which administrative territories are the locations where Ioan Lucian Hămbăşan or Joseph J. Maraziti worked ?
OR((Q11713621,P937,c(Q56061)), (Q1398461,P937,c(Q56061)))
action filter_type
action union
action find
entity Q11713621
relation P937
action find
entity Q1398461
relation P937
type Q56061
{'OR': [['Q11713621', 'P937', {'concept': 'Q56061'}], ['Q1398461', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Q11713621 ) ( resource:Q1398461 ) } . ?n property:P937 ?k } . ?k rdf:type ontology:Q56061 }
Joseph J. Maraziti Ioan Lucian Hămbăşan
action filter_type
action union
action find
entity Ioan Lucian Hămbăşan
relation work location
action find
entity Joseph J. Maraziti
relation work location
type administrative territorial entity
{'OR': [['Ioan Lucian Hămbăşan', 'work location', {'concept': 'administrative territorial entity'}], ['Joseph J. Maraziti', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Ioan_Lucian_Hămbăşan ) ( resource:Joseph_J._Maraziti ) } . ?n property:work_location ?k } . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q239 Q25330
SYSTEM
Brussels, Trenton
Q239 Q25330
OR((Q11713621,P937,c(Q56061)), (Q1398461,P937,c(Q56061)))
action filter_type
action union
action find
entity Q11713621
relation P937
action find
entity Q1398461
relation P937
type Q56061
[ANSWERS] are the locations where Ioan Lucian Hămbăşan or Joseph J. Maraziti worked
{'OR': [['Q11713621', 'P937', {'concept': 'Q56061'}], ['Q1398461', 'P937', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Q11713621 ) ( resource:Q1398461 ) } . ?n property:P937 ?k } . ?k rdf:type ontology:Q56061 }
Brussels Trenton
Brussels and Trenton are the locations where Ioan Lucian Hămbăşan or Joseph J. Maraziti worked
Brussels Trenton
action filter_type
action union
action find
entity Ioan Lucian Hămbăşan
relation work location
action find
entity Joseph J. Maraziti
relation work location
type administrative territorial entity
{'OR': [['Ioan Lucian Hămbăşan', 'work location', {'concept': 'administrative territorial entity'}], ['Joseph J. Maraziti', 'work location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { { VALUES ( ?n ) { ( resource:Ioan_Lucian_Hămbăşan ) ( resource:Joseph_J._Maraziti ) } . ?n property:work_location ?k } . ?k rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9833 Q239
P47 P190
Q13220204
USER
Which administrative country subdivisions are twin towns of Brussels or share the border with Etten-Leur ?
OR((Q239,P190,c(Q13220204)), (Q9833,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q239
relation P190
action find
entity Q9833
relation P47
type Q13220204
{'OR': [['Q239', 'P190', {'concept': 'Q13220204'}], ['Q9833', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q239 property:P190 ?y } UNION { resource:Q9833 property:P47 ?y } } . ?y rdf:type ontology:Q13220204 }
Etten-Leur Brussels
action filter_type
action union
action find
entity Brussels
relation sister city
action find
entity Etten-Leur
relation shares border with
type second-level administrative country subdivision
{'OR': [['Brussels', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Etten-Leur', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Brussels property:sister_city ?y } UNION { resource:Etten-Leur property:shares_border_with ?y } } . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q9854 Q9841 Q9883 Q9822 Q9862 Q9899
SYSTEM
Moerdijk, Halderberge, Zundert, Breda, Rucphen, Amsterdam
Q9854 Q9841 Q9883 Q9822 Q9862 Q9899
OR((Q239,P190,c(Q13220204)), (Q9833,P47,c(Q13220204)))
action filter_type
action union
action find
entity Q239
relation P190
action find
entity Q9833
relation P47
type Q13220204
[ANSWERS] are twin towns of Brussels or share the border with Etten-Leur
{'OR': [['Q239', 'P190', {'concept': 'Q13220204'}], ['Q9833', 'P47', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q239 property:P190 ?y } UNION { resource:Q9833 property:P47 ?y } } . ?y rdf:type ontology:Q13220204 }
Moerdijk Halderberge Zundert Breda Rucphen Amsterdam
Moerdijk, Halderberge, Zundert, Breda, Rucphen and Amsterdam are twin towns of Brussels or share the border with Etten-Leur
Moerdijk Halderberge Zundert Breda Rucphen Amsterdam
action filter_type
action union
action find
entity Brussels
relation sister city
action find
entity Etten-Leur
relation shares border with
type second-level administrative country subdivision
{'OR': [['Brussels', 'sister city', {'concept': 'second-level administrative country subdivision'}], ['Etten-Leur', 'shares border with', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Brussels property:sister_city ?y } UNION { resource:Etten-Leur property:shares_border_with ?y } } . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q7815126 Q1398461
P102
Q7210356
USER
Which political organizations are Joseph J. Maraziti and Tom Bunn a member of ?
AND((Q1398461,P102,c(Q7210356)), (Q7815126,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q1398461
relation P102
action find
entity Q7815126
relation P102
type Q7210356
{'AND': [['Q1398461', 'P102', {'concept': 'Q7210356'}], ['Q7815126', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1398461 property:P102 ?k . resource:Q7815126 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Tom Bunn Joseph J. Maraziti
action filter_type
action intersection
action find
entity Joseph J. Maraziti
relation member of political party
action find
entity Tom Bunn
relation member of political party
type political organization
{'AND': [['Joseph J. Maraziti', 'member of political party', {'concept': 'political organization'}], ['Tom Bunn', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?k WHERE { resource:Joseph_J._Maraziti property:member_of_political_party ?k . resource:Tom_Bunn property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
AND((Q1398461,P102,c(Q7210356)), (Q7815126,P102,c(Q7210356)))
action filter_type
action intersection
action find
entity Q1398461
relation P102
action find
entity Q7815126
relation P102
type Q7210356
Of [ANSWER] is Joseph J. Maraziti and Tom Bunn a member of
{'AND': [['Q1398461', 'P102', {'concept': 'Q7210356'}], ['Q7815126', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?k WHERE { resource:Q1398461 property:P102 ?k . resource:Q7815126 property:P102 ?k . ?k rdf:type ontology:Q7210356 }
Republican Party
Of Republican Party is Joseph J. Maraziti and Tom Bunn a member of
Republican Party
action filter_type
action intersection
action find
entity Joseph J. Maraziti
relation member of political party
action find
entity Tom Bunn
relation member of political party
type political organization
{'AND': [['Joseph J. Maraziti', 'member of political party', {'concept': 'political organization'}], ['Tom Bunn', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?k WHERE { resource:Joseph_J._Maraziti property:member_of_political_party ?k . resource:Tom_Bunn property:member_of_political_party ?k . ?k rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q253119
P20
Q502895
USER
Which people have Traunstein as the location of death ?
(c(Q502895),P20,Q253119)
action filter_type
action find_reverse
entity Q253119
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q253119']
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q253119 . ?t rdf:type ontology:Q502895 }
Traunstein
action filter_type
action find_reverse
entity Traunstein
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Traunstein']
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Traunstein . ?t rdf:type ontology:common_name }
[]
common name
Q57092 Q119419 Q97260
SYSTEM
Johannes Stark, Rupert Berger, Friedrich Ulmer
Q1715513 Q119419 Q75638 Q1582008 Q1708262 Q2637214 Q1898026 Q97260 Q114873 Q16466734 Q1369899 Q1449309 Q1036950 Q2262746 Q2582874 Q1708940 Q1336009 Q1459628 Q1680071 Q57092 Q1679289 Q4419898 Q1291763 Q2040305 Q1673609 Q2149911 Q86642 Q1580701
(c(Q502895),P20,Q253119)
action filter_type
action find_reverse
entity Q253119
relation P20
type Q502895
[ANSWERS] have Traunstein as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q253119']
SELECT DISTINCT ?t WHERE { ?t property:P20 resource:Q253119 . ?t rdf:type ontology:Q502895 }
Jörg Schreyögg Rupert Berger Theodor Endres Hans Rhotert Joseph Wispauer Hans Alban Dobeneck Marietheres Angerpointner Friedrich Ulmer Anton Endrős Donata Countess of Castell-Rüdenhausen Johannes Zellinger Franz Unterforsthuber Carl von Manteuffel Sebastian Gleißner Konrad Barde Wolfgang Lohmeyer Emil Ehrensberger Friedrich Heinrichsen Theodor von Kramer Johannes Stark Jakob Prandtner Joseph Ratzinger, Sr. Fritz Harnest Otto Rieder Isabella Nadolny Richard Kalkhof Walther von Axthelm Hans Kaufmann
Johannes Stark, Rupert Berger and Friedrich Ulmer have Traunstein as the location of death
Johannes Stark Rupert Berger Friedrich Ulmer
action filter_type
action find_reverse
entity Traunstein
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Traunstein']
SELECT DISTINCT ?t WHERE { ?t property:place_of_death resource:Traunstein . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9899
P6
Q502895
USER
Which person has Amsterdam as its head of government ?
(Q9899,P6,c(Q502895))
action filter_type
action find
entity Q9899
relation P6
type Q502895
['Q9899', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q9899 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Amsterdam
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Amsterdam property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]
common name
Q1279554
SYSTEM
Eberhard van der Laan
Q1279554
(Q9899,P6,c(Q502895))
action filter_type
action find
entity Q9899
relation P6
type Q502895
[ANSWER] has Amsterdam as its head of government
['Q9899', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q9899 property:P6 ?w . ?w rdf:type ontology:Q502895 }
Eberhard van der Laan
Eberhard van der Laan has Amsterdam as its head of government
Eberhard van der Laan
action filter_type
action find
entity Amsterdam
relation head of government
type common name
['Amsterdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Amsterdam property:head_of_government ?w . ?w rdf:type ontology:common_name }
[]