Simple Question (Direct)
Simple Question
Q1243909
P512
Q3412758
USER
What is the degree held by Rudolph Walther ?
(Q1243909,P512,c(Q3412758))
action filter_type
action find
entity Q1243909
relation P512
type Q3412758
['Q1243909', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?y WHERE { resource:Q1243909 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
Rudolph Walther
action filter_type
action find
entity Rudolph Walther
relation academic degree
type qualification
['Rudolph Walther', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?y WHERE { resource:Rudolph_Walther property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q1243909,P512,c(Q3412758))
action filter_type
action find
entity Q1243909
relation P512
type Q3412758
The degree held by Rudolph Walther is a [ANSWER]
['Q1243909', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?y WHERE { resource:Q1243909 property:P512 ?y . ?y rdf:type ontology:Q3412758 }
doctoral degree
The degree held by Rudolph Walther is a doctoral degree
doctoral degree
action filter_type
action find
entity Rudolph Walther
relation academic degree
type qualification
['Rudolph Walther', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?y WHERE { resource:Rudolph_Walther property:academic_degree ?y . ?y rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1243909
P106
Q12737077
USER
Which occupations have Rudolph Walther as his/her 's career ?
(Q1243909,P106,c(Q12737077))
action filter_type
action find
entity Q1243909
relation P106
type Q12737077
['Q1243909', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1243909 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
Rudolph Walther
action filter_type
action find
entity Rudolph Walther
relation occupation
type occupation
['Rudolph Walther', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rudolph_Walther property:occupation ?w . ?w rdf:type ontology:occupation }
[]
occupation
Q82955 Q2004963
SYSTEM
politician, numismatist
Q82955 Q2004963
(Q1243909,P106,c(Q12737077))
action filter_type
action find
entity Q1243909
relation P106
type Q12737077
[ANSWERS] have Rudolph Walther as his/her 's career
['Q1243909', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { resource:Q1243909 property:P106 ?w . ?w rdf:type ontology:Q12737077 }
politician numismatist
Politician and numismatist have Rudolph Walther as his/her 's career
politician numismatist
action filter_type
action find
entity Rudolph Walther
relation occupation
type occupation
['Rudolph Walther', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { resource:Rudolph_Walther property:occupation ?w . ?w rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2417283
Q12737077
USER
And how about Harold Charles d'Aspremont Lynden?
(Q2417283,P106,c(Q12737077))
action filter_type
action find
entity Q2417283
relation P106
type Q12737077
['Q2417283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2417283 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Harold Charles d'Aspremont Lynden
action filter_type
action find
entity Harold Charles d'Aspremont Lynden
relation occupation
type occupation
["Harold Charles d'Aspremont Lynden", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Harold_Charles_d'Aspremont_Lynden property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q806798 Q82955
SYSTEM
banker, politician
Q806798 Q82955
(Q2417283,P106,c(Q12737077))
action filter_type
action find
entity Q2417283
relation P106
type Q12737077
[ANSWERS]
['Q2417283', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q2417283 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
banker politician
banker politician
action filter_type
action find
entity Harold Charles d'Aspremont Lynden
relation occupation
type occupation
["Harold Charles d'Aspremont Lynden", 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Harold_Charles_d'Aspremont_Lynden property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q806798 Q22687
P106
Q502895
USER
How many people have the profession as banker and bank ?
(c(Q502895),P106,Q806798) (c(Q502895),P106,Q22687)
action count
action intersection
action filter_type
action find_reverse
entity Q806798
relation P106
type Q502895
action filter_type
action find_reverse
entity Q22687
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q806798'] [{'concept': 'Q502895'}, 'P106', 'Q22687']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P106 resource:Q806798 . ?j rdf:type ontology:Q502895 . ?j property:P106 resource:Q22687 . ?j rdf:type ontology:Q502895 }
banker bank
action count
action intersection
action filter_type
action find_reverse
entity banker
relation occupation
type common name
action filter_type
action find_reverse
entity bank
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'banker'] [{'concept': 'common name'}, 'occupation', 'bank']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:occupation resource:banker . ?j rdf:type ontology:common_name . ?j property:occupation resource:bank . ?j rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q18154061 Q2892298
(c(Q502895),P106,Q806798) (c(Q502895),P106,Q22687)
action count
action intersection
action filter_type
action find_reverse
entity Q806798
relation P106
type Q502895
action filter_type
action find_reverse
entity Q22687
relation P106
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q806798'] [{'concept': 'Q502895'}, 'P106', 'Q22687']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:P106 resource:Q806798 . ?j rdf:type ontology:Q502895 . ?j property:P106 resource:Q22687 . ?j rdf:type ontology:Q502895 }
Stephen Simpson Isaias W. Hellman
2
action count
action intersection
action filter_type
action find_reverse
entity banker
relation occupation
type common name
action filter_type
action find_reverse
entity bank
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'banker'] [{'concept': 'common name'}, 'occupation', 'bank']
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { ?j property:occupation resource:banker . ?j rdf:type ontology:common_name . ?j property:occupation resource:bank . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q806798
P39
Q502895
USER
Which people held the position of banker ?
(c(Q502895),P39,Q806798)
action filter_type
action find_reverse
entity Q806798
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q806798']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q806798 . ?e rdf:type ontology:Q502895 }
banker
action filter_type
action find_reverse
entity banker
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'banker']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:banker . ?e rdf:type ontology:common_name }
[]
common name
Q3588320 Q450628
SYSTEM
Émile Balisaux, Safra A. Catz
Q3588320 Q450628
(c(Q502895),P39,Q806798)
action filter_type
action find_reverse
entity Q806798
relation P39
type Q502895
[ANSWERS] held the position of banker
[{'concept': 'Q502895'}, 'P39', 'Q806798']
SELECT DISTINCT ?e WHERE { ?e property:P39 resource:Q806798 . ?e rdf:type ontology:Q502895 }
Émile Balisaux Safra A. Catz
Émile Balisaux and Safra A. Catz held the position of banker
Émile Balisaux Safra A. Catz
action filter_type
action find_reverse
entity banker
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'banker']
SELECT DISTINCT ?e WHERE { ?e property:position_held resource:banker . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3588320 Q450628
P39
Q12737077
USER
What were the positions for which Émile Balisaux and Safra A. Catz were appointed ?
(Q3588320,P39,c(Q12737077)) (Q450628,P39,c(Q12737077))
action union
action filter_type
action find
entity Q3588320
relation P39
type Q12737077
action filter_type
action find
entity Q450628
relation P39
type Q12737077
['Q3588320', 'P39', {'concept': 'Q12737077'}] ['Q450628', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?u property:P39 ?w . VALUES ( ?u ) { ( resource:Q3588320 ) ( resource:Q450628 ) } }
Émile Balisaux Safra A. Catz
action union
action filter_type
action find
entity Émile Balisaux
relation position held
type occupation
action filter_type
action find
entity Safra A. Catz
relation position held
type occupation
['Émile Balisaux', 'position held', {'concept': 'occupation'}] ['Safra A. Catz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?u property:position_held ?w . VALUES ( ?u ) { ( resource:Émile_Balisaux ) ( resource:Safra_A._Catz ) } }
[]
occupation
Q15705021 Q17619252 Q806798
SYSTEM
member of the Chamber of Representatives of Belgium, Senator of Belgium, banker
Q806798 Q15705021 Q15637082 Q17619252 Q30461 Q806798 Q1569495
(Q3588320,P39,c(Q12737077)) (Q450628,P39,c(Q12737077))
action union
action filter_type
action find
entity Q3588320
relation P39
type Q12737077
action filter_type
action find
entity Q450628
relation P39
type Q12737077
[ANSWERS]
['Q3588320', 'P39', {'concept': 'Q12737077'}] ['Q450628', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?u property:P39 ?w . VALUES ( ?u ) { ( resource:Q3588320 ) ( resource:Q450628 ) } }
banker member of the Chamber of Representatives of Belgium industrialist Senator of Belgium president banker lecturer
Member of the Chamber of Representatives of Belgium, Senator of Belgium and banker
member of the Chamber of Representatives of Belgium Senator of Belgium banker
action union
action filter_type
action find
entity Émile Balisaux
relation position held
type occupation
action filter_type
action find
entity Safra A. Catz
relation position held
type occupation
['Émile Balisaux', 'position held', {'concept': 'occupation'}] ['Safra A. Catz', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?u property:position_held ?w . VALUES ( ?u ) { ( resource:Émile_Balisaux ) ( resource:Safra_A._Catz ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17619252
P1001
Q15617994
USER
Which administrative territory is linked to Senator of Belgium ?
(Q17619252,P1001,c(Q15617994))
action filter_type
action find
entity Q17619252
relation P1001
type Q15617994
['Q17619252', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q17619252 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Senator of Belgium
action filter_type
action find
entity Senator of Belgium
relation applies to jurisdiction
type designation for an administrative territorial entity
['Senator of Belgium', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Senator_of_Belgium property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q17619252,P1001,c(Q15617994))
action filter_type
action find
entity Q17619252
relation P1001
type Q15617994
[ANSWER] is linked to Senator of [ANSWER]
['Q17619252', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q17619252 property:P1001 ?s . ?s rdf:type ontology:Q15617994 }
Belgium
Belgium is linked to Senator of Belgium
Belgium
action filter_type
action find
entity Senator of Belgium
relation applies to jurisdiction
type designation for an administrative territorial entity
['Senator of Belgium', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Senator_of_Belgium property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1594626 Q3588320
P27
Q15617994
USER
Which administrative territories are the native countriesof Émile Balisaux or Heikki Suhonen ?
OR((Q3588320,P27,c(Q15617994)), (Q1594626,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3588320
relation P27
action find
entity Q1594626
relation P27
type Q15617994
{'OR': [['Q3588320', 'P27', {'concept': 'Q15617994'}], ['Q1594626', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3588320 property:P27 ?s } UNION { resource:Q1594626 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Heikki Suhonen Émile Balisaux
action filter_type
action union
action find
entity Émile Balisaux
relation country of citizenship
action find
entity Heikki Suhonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Émile Balisaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Heikki Suhonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Émile_Balisaux property:country_of_citizenship ?s } UNION { resource:Heikki_Suhonen property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q31
SYSTEM
Finland, Belgium
Q33 Q31
OR((Q3588320,P27,c(Q15617994)), (Q1594626,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3588320
relation P27
action find
entity Q1594626
relation P27
type Q15617994
[ANSWERS] are the native countriesof Émile Balisaux or Heikki Suhonen
{'OR': [['Q3588320', 'P27', {'concept': 'Q15617994'}], ['Q1594626', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q3588320 property:P27 ?s } UNION { resource:Q1594626 property:P27 ?s } } . ?s rdf:type ontology:Q15617994 }
Finland Belgium
Finland and Belgium are the native countriesof Émile Balisaux or Heikki Suhonen
Finland Belgium
action filter_type
action union
action find
entity Émile Balisaux
relation country of citizenship
action find
entity Heikki Suhonen
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Émile Balisaux', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Heikki Suhonen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Émile_Balisaux property:country_of_citizenship ?s } UNION { resource:Heikki_Suhonen property:country_of_citizenship ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33 Q31
P47
Q15617994
USER
Which administrative territories are next to the border of Finland and Belgium ?
(c(Q15617994),P47,Q33) (c(Q15617994),P47,Q31)
action union
action filter_type
action find_reverse
entity Q33
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q31
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q33'] [{'concept': 'Q15617994'}, 'P47', 'Q31']
SELECT DISTINCT ?x WHERE { { ?x property:P47 resource:Q33 . ?x rdf:type ontology:Q15617994 } UNION { ?x property:P47 resource:Q31 . ?x rdf:type ontology:Q15617994 } }
Finland Belgium
action union
action filter_type
action find_reverse
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Belgium
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Belgium']
SELECT DISTINCT ?x WHERE { { ?x property:shares_border_with resource:Finland . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:shares_border_with resource:Belgium . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q159 Q55 Q142
SYSTEM
Russia, Netherlands, France
Q34 Q159 Q20 Q32 Q29999 Q142 Q55
(c(Q15617994),P47,Q33) (c(Q15617994),P47,Q31)
action union
action filter_type
action find_reverse
entity Q33
relation P47
type Q15617994
action filter_type
action find_reverse
entity Q31
relation P47
type Q15617994
[ANSWERS] are next to the border of Finland and Belgium
[{'concept': 'Q15617994'}, 'P47', 'Q33'] [{'concept': 'Q15617994'}, 'P47', 'Q31']
SELECT DISTINCT ?x WHERE { { ?x property:P47 resource:Q33 . ?x rdf:type ontology:Q15617994 } UNION { ?x property:P47 resource:Q31 . ?x rdf:type ontology:Q15617994 } }
Sweden Russia Norway Luxembourg Kingdom of the Netherlands France Netherlands
Russia, Netherlands and France are next to the border of Finland and Belgium
Russia Netherlands France
action union
action filter_type
action find_reverse
entity Finland
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity Belgium
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Finland'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Belgium']
SELECT DISTINCT ?x WHERE { { ?x property:shares_border_with resource:Finland . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?x property:shares_border_with resource:Belgium . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P1376
Q56061
USER
Which administrative territory is center of administration for Finland ?
(c(Q56061),P1376,Q33)
action filter_type
action find_reverse
entity Q33
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q33']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q33 . ?w rdf:type ontology:Q56061 }
Finland
action filter_type
action find_reverse
entity Finland
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Finland']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Finland . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(c(Q56061),P1376,Q33)
action filter_type
action find_reverse
entity Q33
relation P1376
type Q56061
[ANSWER] is center of administration for Finland
[{'concept': 'Q56061'}, 'P1376', 'Q33']
SELECT DISTINCT ?w WHERE { ?w property:P1376 resource:Q33 . ?w rdf:type ontology:Q56061 }
Helsinki
Helsinki is center of administration for Finland
Helsinki
action filter_type
action find_reverse
entity Finland
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Finland']
SELECT DISTINCT ?w WHERE { ?w property:capital_of resource:Finland . ?w rdf:type ontology:administrative_territorial_entity }
[]