Simple Question (Direct)
Simple Question
Q2036913
P27
Q15617994
USER
Which administrative territory is the native country of Othmar Keel ?
(Q2036913,P27,c(Q15617994))
action filter_type
action find
entity Q2036913
relation P27
type Q15617994
['Q2036913', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2036913 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Othmar Keel
action filter_type
action find
entity Othmar Keel
relation country of citizenship
type designation for an administrative territorial entity
['Othmar Keel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Othmar_Keel property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q2036913,P27,c(Q15617994))
action filter_type
action find
entity Q2036913
relation P27
type Q15617994
[ANSWER] is the native country of Othmar Keel
['Q2036913', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q2036913 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Switzerland
Switzerland is the native country of Othmar Keel
Switzerland
action filter_type
action find
entity Othmar Keel
relation country of citizenship
type designation for an administrative territorial entity
['Othmar Keel', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Othmar_Keel property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P291
Q1002697
USER
Which periodical literature was published in that administrative territory ?
(c(Q1002697),P291,Q39)
action filter_type
action find_reverse
entity Q39
relation P291
type Q1002697
[{'concept': 'Q1002697'}, 'P291', 'Q39']
SELECT DISTINCT ?f WHERE { ?f property:P291 resource:Q39 . ?f rdf:type ontology:Q1002697 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f property:place_of_publication resource:Switzerland . ?f rdf:type ontology:periodical_literature }
[]
periodical literature
Q20049185
SYSTEM
Stella Maris
Q20049185
(c(Q1002697),P291,Q39)
action filter_type
action find_reverse
entity Q39
relation P291
type Q1002697
[ANSWER] was published in that administrative territory
[{'concept': 'Q1002697'}, 'P291', 'Q39']
SELECT DISTINCT ?f WHERE { ?f property:P291 resource:Q39 . ?f rdf:type ontology:Q1002697 }
Stella Maris
Stella Maris was published in that administrative territory
Stella Maris
action filter_type
action find_reverse
entity Switzerland
relation place of publication
type periodical literature
[{'concept': 'periodical literature'}, 'place of publication', 'Switzerland']
SELECT DISTINCT ?f WHERE { ?f property:place_of_publication resource:Switzerland . ?f rdf:type ontology:periodical_literature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P1001
Q6545185
USER
Which unique identifier presides the jurisdiction over Switzerland ?
(c(Q6545185),P1001,Q39)
action filter_type
action find_reverse
entity Q39
relation P1001
type Q6545185
[{'concept': 'Q6545185'}, 'P1001', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q39 . ?a rdf:type ontology:Q6545185 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation applies to jurisdiction
type unique identifier
[{'concept': 'unique identifier'}, 'applies to jurisdiction', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Switzerland . ?a rdf:type ontology:unique_identifier }
[]
unique identifier
Q2498375
SYSTEM
UID
Q2498375
(c(Q6545185),P1001,Q39)
action filter_type
action find_reverse
entity Q39
relation P1001
type Q6545185
[ANSWER] presides the jurisdiction over Switzerland
[{'concept': 'Q6545185'}, 'P1001', 'Q39']
SELECT DISTINCT ?a WHERE { ?a property:P1001 resource:Q39 . ?a rdf:type ontology:Q6545185 }
UID
UID presides the jurisdiction over Switzerland
UID
action filter_type
action find_reverse
entity Switzerland
relation applies to jurisdiction
type unique identifier
[{'concept': 'unique identifier'}, 'applies to jurisdiction', 'Switzerland']
SELECT DISTINCT ?a WHERE { ?a property:applies_to_jurisdiction resource:Switzerland . ?a rdf:type ontology:unique_identifier }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2498375
P17
Q15617994
USER
Which administrative territory is that unique identifier situated in ?
(Q2498375,P17,c(Q15617994))
action filter_type
action find
entity Q2498375
relation P17
type Q15617994
['Q2498375', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q2498375 property:P17 ?j }
UID
action filter_type
action find
entity UID
relation country
type designation for an administrative territorial entity
['UID', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:UID property:country ?j }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q2498375,P17,c(Q15617994))
action filter_type
action find
entity Q2498375
relation P17
type Q15617994
That unique identifier is situated in [ANSWER]
['Q2498375', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q15617994 . resource:Q2498375 property:P17 ?j }
Switzerland
That unique identifier is situated in Switzerland
Switzerland
action filter_type
action find
entity UID
relation country
type designation for an administrative territorial entity
['UID', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:UID property:country ?j }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1001
Q15617994 Q11204 Q14660
USER
Which administrative territories are judicially linked to around 3 legislatures and flags ?
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 3
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?s WHERE { { ?x property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q11204 } UNION { ?x property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q14660 } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 3
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?s WHERE { { ?x property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:legislature } UNION { ?x property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:flag } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]
designation for an administrative territorial entity legislature flag
Q1965 Q176
SYSTEM
New Brunswick, Quebec
Q1965 Q176
(c(Q11204)|c(Q14660),P1001,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q14660
value 3
[ANSWERS] are judicially linked to around 3 legislatures and flags
[[{'concept': 'Q11204'}, {'concept': 'Q14660'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?s WHERE { { ?x property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q11204 } UNION { ?x property:P1001 ?s . ?s rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q14660 } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
New Brunswick Quebec
New Brunswick and Quebec are judicially linked to around 3 legislatures and flags
New Brunswick Quebec
action approx
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type flag
value 3
[[{'concept': 'legislature'}, {'concept': 'flag'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?i ) ?s WHERE { { ?x property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:legislature } UNION { ?x property:applies_to_jurisdiction ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:flag } } GROUP BY ?s } . FILTER ( ?i = 3 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1965 Q176
P1313
Q12737077
USER
Which occupations are fulfilled by New Brunswick and Quebec ?
(Q1965,P1313,c(Q12737077)) (Q176,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q1965
relation P1313
type Q12737077
action filter_type
action find
entity Q176
relation P1313
type Q12737077
['Q1965', 'P1313', {'concept': 'Q12737077'}] ['Q176', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?b property:P1313 ?j . VALUES ( ?b ) { ( resource:Q1965 ) ( resource:Q176 ) } }
New Brunswick Quebec
action union
action filter_type
action find
entity New Brunswick
relation office held by head of government
type occupation
action filter_type
action find
entity Quebec
relation office held by head of government
type occupation
['New Brunswick', 'office held by head of government', {'concept': 'occupation'}] ['Quebec', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?b property:office_held_by_head_of_government ?j . VALUES ( ?b ) { ( resource:New_Brunswick ) ( resource:Quebec ) } }
[]
occupation
Q12270252 Q2911019
SYSTEM
Premier of New Brunswick, Premier of Quebec
Q12270252 Q2911019
(Q1965,P1313,c(Q12737077)) (Q176,P1313,c(Q12737077))
action union
action filter_type
action find
entity Q1965
relation P1313
type Q12737077
action filter_type
action find
entity Q176
relation P1313
type Q12737077
Are [ANSWERS] are fulfilled by New Brunswick and Quebec
['Q1965', 'P1313', {'concept': 'Q12737077'}] ['Q176', 'P1313', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { ?b property:P1313 ?j . VALUES ( ?b ) { ( resource:Q1965 ) ( resource:Q176 ) } }
Premier of New Brunswick Premier of Quebec
Are Premier of New Brunswick and Premier of Quebec are fulfilled by New Brunswick and Quebec
Premier of New Brunswick Premier of Quebec
action union
action filter_type
action find
entity New Brunswick
relation office held by head of government
type occupation
action filter_type
action find
entity Quebec
relation office held by head of government
type occupation
['New Brunswick', 'office held by head of government', {'concept': 'occupation'}] ['Quebec', 'office held by head of government', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { ?b property:office_held_by_head_of_government ?j . VALUES ( ?b ) { ( resource:New_Brunswick ) ( resource:Quebec ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q12270252
P748
Q12737077
USER
Who appointed that one ?
(Q12270252,P748,c(Q12737077))
action filter_type
action find
entity Q12270252
relation P748
type Q12737077
['Q12270252', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q12270252 property:P748 ?o }
Premier of New Brunswick
action filter_type
action find
entity Premier of New Brunswick
relation appointed by
type occupation
['Premier of New Brunswick', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Premier_of_New_Brunswick property:appointed_by ?o }
[]
occupation
Clarification for simple ques.
Q12270252
SYSTEM
Did you mean Premier of New Brunswick ?
Q12270252 Q2911019
(Q12270252,P748,c(Q12737077)) (Q2911019,P748,c(Q12737077))
[ANSWER]
['Q12270252', 'P748', {'concept': 'Q12737077'}] ['Q2911019', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q12270252 property:P748 ?o }
Premier of New Brunswick Premier of Quebec
Did you mean Premier of New Brunswick ?
Premier of New Brunswick
['Premier of New Brunswick', 'appointed by', {'concept': 'occupation'}] ['Premier of Quebec', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Premier_of_New_Brunswick property:appointed_by ?o }
[]
Simple Question (Coreferenced)
USER
Yes
(Q12270252,P748,c(Q12737077))
['Q12270252', 'P748', {'concept': 'Q12737077'}]
['Premier of New Brunswick', 'appointed by', {'concept': 'occupation'}]
[]
Q4257536
SYSTEM
Lieutenant Governor of New Brunswick
Q4257536
(Q12270252,P748,c(Q12737077))
action filter_type
action find
entity Q12270252
relation P748
type Q12737077
Appointed [ANSWER] appointed that one
['Q12270252', 'P748', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q12270252 property:P748 ?o }
Lieutenant Governor of New Brunswick
Appointed Lieutenant Governor of New Brunswick appointed that one
Lieutenant Governor of New Brunswick
action filter_type
action find
entity Premier of New Brunswick
relation appointed by
type occupation
['Premier of New Brunswick', 'appointed by', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Premier_of_New_Brunswick property:appointed_by ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q4257536 Q1965
P1001
Q15617994
USER
Does New Brunswick come under the jurisdiction of that occupation ?
(Q4257536,P1001,Q1965)
action is_in
entity Q1965
action find
entity Q4257536
relation P1001
['Q4257536', 'P1001', 'Q1965']
ASK WHERE { resource:Q4257536 property:P1001 resource:Q1965 }
Lieutenant Governor of New Brunswick New Brunswick
action is_in
entity New Brunswick
action find
entity Lieutenant Governor of New Brunswick
relation applies to jurisdiction
['Lieutenant Governor of New Brunswick', 'applies to jurisdiction', 'New Brunswick']
ASK WHERE { resource:Lieutenant_Governor_of_New_Brunswick property:applies_to_jurisdiction resource:New_Brunswick }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q4257536,P1001,Q1965)
action is_in
entity Q1965
action find
entity Q4257536
relation P1001
[ANSWER]
['Q4257536', 'P1001', 'Q1965']
ASK WHERE { resource:Q4257536 property:P1001 resource:Q1965 }
Yes
action is_in
entity New Brunswick
action find
entity Lieutenant Governor of New Brunswick
relation applies to jurisdiction
['Lieutenant Governor of New Brunswick', 'applies to jurisdiction', 'New Brunswick']
ASK WHERE { resource:Lieutenant_Governor_of_New_Brunswick property:applies_to_jurisdiction resource:New_Brunswick }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4257536
P39
Q502895
USER
Which people were appointed for the position of that occupation ?
action filter_type
action find_reverse
entity Q4257536
relation P39
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q4257536 . ?q rdf:type ontology:Q502895 }
Lieutenant Governor of New Brunswick
action filter_type
action find_reverse
entity Lieutenant Governor of New Brunswick
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:Lieutenant_Governor_of_New_Brunswick . ?q rdf:type ontology:common_name }
[]
common name
Q516738 Q930987 Q2959325
SYSTEM
Howard Douglas, Herménégilde Chiasson, Charles Hastings Doyle
Q3568895 Q2959325 Q3105889 Q3185249 Q3328204 Q3157019 Q516738 Q3105706 Q3048452 Q3524973 Q3229400 Q3048146 Q3101941 Q3018270 Q3293093 Q3186049 Q3101928 Q3290515 Q3180971 Q3181822 Q1542244 Q930987 Q780032
action filter_type
action find_reverse
entity Q4257536
relation P39
type Q502895
[ANSWERS] were appointed for the position of that occupation
SELECT DISTINCT ?q WHERE { ?q property:P39 resource:Q4257536 . ?q rdf:type ontology:Q502895 }
William Pugsley Charles Hastings Doyle Gilbert Ganong Joseph Leonard O'Brien Murray MacLaren Jabez Bunting Snowball Howard Douglas Gilbert Finn Edward Barron Chandler Thomas Carleton Lemuel John Tweedie Sir Edmund Walker Head, 8th Baronet George Stracey Smyth David Laurence MacLaren Marilyn Trenholme Counsell Josiah Wood George Stanley Margaret McCain John B. McNair John James Fraser Robert Duncan Wilmot Herménégilde Chiasson Samuel Leonard Tilley
Howard Douglas, Herménégilde Chiasson and Charles Hastings Doyle were appointed for the position of that occupation
Howard Douglas Herménégilde Chiasson Charles Hastings Doyle
action filter_type
action find_reverse
entity Lieutenant Governor of New Brunswick
relation position held
type common name
SELECT DISTINCT ?q WHERE { ?q property:position_held resource:Lieutenant_Governor_of_New_Brunswick . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4257536
P748
Q12737077
USER
Which occupation is appointed by Lieutenant Governor of New Brunswick ?
(c(Q12737077),P748,Q4257536)
action filter_type
action find_reverse
entity Q4257536
relation P748
type Q12737077
[{'concept': 'Q12737077'}, 'P748', 'Q4257536']
SELECT DISTINCT ?s WHERE { ?s property:P748 resource:Q4257536 . ?s rdf:type ontology:Q12737077 }
Lieutenant Governor of New Brunswick
action filter_type
action find_reverse
entity Lieutenant Governor of New Brunswick
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Lieutenant Governor of New Brunswick']
SELECT DISTINCT ?s WHERE { ?s property:appointed_by resource:Lieutenant_Governor_of_New_Brunswick . ?s rdf:type ontology:occupation }
[]
occupation
Q12270252
SYSTEM
Premier of New Brunswick
Q12270252
(c(Q12737077),P748,Q4257536)
action filter_type
action find_reverse
entity Q4257536
relation P748
type Q12737077
The [ANSWER] is appointed by Lieutenant Governor of New Brunswick
[{'concept': 'Q12737077'}, 'P748', 'Q4257536']
SELECT DISTINCT ?s WHERE { ?s property:P748 resource:Q4257536 . ?s rdf:type ontology:Q12737077 }
Premier of New Brunswick
The Premier of New Brunswick is appointed by Lieutenant Governor of New Brunswick
Premier of New Brunswick
action filter_type
action find_reverse
entity Lieutenant Governor of New Brunswick
relation appointed by
type occupation
[{'concept': 'occupation'}, 'appointed by', 'Lieutenant Governor of New Brunswick']
SELECT DISTINCT ?s WHERE { ?s property:appointed_by resource:Lieutenant_Governor_of_New_Brunswick . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q176
P190
Q56061
USER
Which administrative territory is sister town of Quebec ?
(c(Q56061),P190,Q176)
action filter_type
action find
entity Q176
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q176']
SELECT DISTINCT ?t WHERE { resource:Q176 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Quebec
action filter_type
action find
entity Quebec
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Quebec']
SELECT DISTINCT ?t WHERE { resource:Quebec property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8686
SYSTEM
Shanghai
Q8686
(c(Q56061),P190,Q176)
action filter_type
action find
entity Q176
relation P190
type Q56061
[ANSWER] is sister town of Quebec
[{'concept': 'Q56061'}, 'P190', 'Q176']
SELECT DISTINCT ?t WHERE { resource:Q176 property:P190 ?t . ?t rdf:type ontology:Q56061 }
Shanghai
Shanghai is sister town of Quebec
Shanghai
action filter_type
action find
entity Quebec
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'Quebec']
SELECT DISTINCT ?t WHERE { resource:Quebec property:sister_city ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]