Simple Question (Direct)
Simple Question
Q5931769
P102
Q7210356
USER
Which party does Hugh McDonald belong to ?
(Q5931769,P102,c(Q7210356))
action filter_type
action find
entity Q5931769
relation P102
type Q7210356
['Q5931769', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q5931769 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Hugh McDonald
action filter_type
action find
entity Hugh McDonald
relation member of political party
type political organization
['Hugh McDonald', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Hugh_McDonald property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
political organization
Q574591
SYSTEM
Anti-Confederation Party
Q574591
(Q5931769,P102,c(Q7210356))
action filter_type
action find
entity Q5931769
relation P102
type Q7210356
Hugh McDonald belongs to [ANSWER]
['Q5931769', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?y WHERE { resource:Q5931769 property:P102 ?y . ?y rdf:type ontology:Q7210356 }
Anti-Confederation Party
Hugh McDonald belongs to Anti-Confederation Party
Anti-Confederation Party
action filter_type
action find
entity Hugh McDonald
relation member of political party
type political organization
['Hugh McDonald', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?y WHERE { resource:Hugh_McDonald property:member_of_political_party ?y . ?y rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5931769
P20
Q56061
USER
Where did the demise of Hugh McDonald occur ?
(Q5931769,P20,c(Q56061))
action filter_type
action find
entity Q5931769
relation P20
type Q56061
['Q5931769', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5931769 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Hugh McDonald
action filter_type
action find
entity Hugh McDonald
relation place of death
type administrative territorial entity
['Hugh McDonald', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hugh_McDonald property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q575483
SYSTEM
Antigonish
Q575483
(Q5931769,P20,c(Q56061))
action filter_type
action find
entity Q5931769
relation P20
type Q56061
The demise of Hugh McDonald occurred in [ANSWER]
['Q5931769', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q5931769 property:P20 ?j . ?j rdf:type ontology:Q56061 }
Antigonish
The demise of Hugh McDonald occurred in Antigonish
Antigonish
action filter_type
action find
entity Hugh McDonald
relation place of death
type administrative territorial entity
['Hugh McDonald', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hugh_McDonald property:place_of_death ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q575483
P47
Q56061
USER
Which administrative territories are next to the border of that one ?
(c(Q56061),P47,Q575483)
action filter_type
action find_reverse
entity Q575483
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q575483']
SELECT DISTINCT ?v WHERE { ?v property:P47 resource:Q575483 . ?v rdf:type ontology:Q56061 }
Antigonish
action filter_type
action find_reverse
entity Antigonish
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Antigonish']
SELECT DISTINCT ?v WHERE { ?v property:shares_border_with resource:Antigonish . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4428480 Q3498168 Q7649947
SYSTEM
Salt Springs, Antigonish County, Stellarton, Sutherland's River, Nova Scotia
Q4428480 Q3498168 Q7649947
(c(Q56061),P47,Q575483)
action filter_type
action find_reverse
entity Q575483
relation P47
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P47', 'Q575483']
SELECT DISTINCT ?v WHERE { ?v property:P47 resource:Q575483 . ?v rdf:type ontology:Q56061 }
Salt Springs, Antigonish County Stellarton Sutherland's River, Nova Scotia
Salt Springs, Antigonish County, Stellarton and Sutherland's River, Nova Scotia are next to the border of that one
Salt Springs, Antigonish County Stellarton Sutherland's River, Nova Scotia
action filter_type
action find_reverse
entity Antigonish
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Antigonish']
SELECT DISTINCT ?v WHERE { ?v property:shares_border_with resource:Antigonish . ?v rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q4428480 Q3498168 Q7649947
P47
Q56061
USER
Which administrative territories are bordered by those ones ?
(Q4428480,P47,c(Q56061)) (Q3498168,P47,c(Q56061)) (Q7649947,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
['Q4428480', 'P47', {'concept': 'Q56061'}] ['Q3498168', 'P47', {'concept': 'Q56061'}] ['Q7649947', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?h property:P47 ?b . VALUES ( ?h ) { ( resource:Q4428480 ) ( resource:Q3498168 ) ( resource:Q7649947 ) } . ?b rdf:type ontology:Q56061 }
Salt Springs, Antigonish County Stellarton Sutherland's River, Nova Scotia
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['Salt Springs, Antigonish County', 'shares border with', {'concept': 'administrative territorial entity'}] ['Stellarton', 'shares border with', {'concept': 'administrative territorial entity'}] ["Sutherland's River, Nova Scotia", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?h property:shares_border_with ?b . VALUES ( ?h ) { ( resource:Salt_Springs,_Antigonish_County ) ( resource:Stellarton ) ( resource:Sutherland's_River,_Nova_Scotia ) } . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q575483 Q575483 Q575483
SYSTEM
Antigonish
Q575483 Q575483 Q575483
(Q4428480,P47,c(Q56061)) (Q3498168,P47,c(Q56061)) (Q7649947,P47,c(Q56061))
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWER], [ANSWER] and [ANSWER] are bordered by those ones
['Q4428480', 'P47', {'concept': 'Q56061'}] ['Q3498168', 'P47', {'concept': 'Q56061'}] ['Q7649947', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { ?h property:P47 ?b . VALUES ( ?h ) { ( resource:Q4428480 ) ( resource:Q3498168 ) ( resource:Q7649947 ) } . ?b rdf:type ontology:Q56061 }
Antigonish Antigonish Antigonish
Antigonish, Antigonish and Antigonish are bordered by those ones
Antigonish Antigonish Antigonish
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
['Salt Springs, Antigonish County', 'shares border with', {'concept': 'administrative territorial entity'}] ['Stellarton', 'shares border with', {'concept': 'administrative territorial entity'}] ["Sutherland's River, Nova Scotia", 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { ?h property:shares_border_with ?b . VALUES ( ?h ) { ( resource:Salt_Springs,_Antigonish_County ) ( resource:Stellarton ) ( resource:Sutherland's_River,_Nova_Scotia ) } . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q575483
P19
Q502895
USER
Which people have place of birth as Antigonish ?
(c(Q502895),P19,Q575483)
action filter_type
action find_reverse
entity Q575483
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q575483']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q575483 }
Antigonish
action filter_type
action find_reverse
entity Antigonish
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Antigonish']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:Antigonish }
[]
common name
Q21777839 Q1138585 Q767870
SYSTEM
Robyn Meagher, Craig MacDonald, Dean Melanson
Q16194177 Q6115411 Q1138585 Q19559884 Q4717459 Q2372533 Q20006840 Q5386582 Q21777839 Q93818 Q1108386 Q2832956 Q1321265 Q1841565 Q5220393 Q16014386 Q8015640 Q5145303 Q2165694 Q16203867 Q20737958 Q5920549 Q1743477 Q6792708 Q767870
(c(Q502895),P19,Q575483)
action filter_type
action find_reverse
entity Q575483
relation P19
type Q502895
[ANSWERS] have place of birth as Antigonish
[{'concept': 'Q502895'}, 'P19', 'Q575483']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . ?n property:P19 resource:Q575483 }
Bruce MacKinnon Jack Syperek Craig MacDonald August Ames Alex McDonald Amy Cotton William F. MacKinnon Eric Gillis Robyn Meagher Shauna MacDonald Colin Campbell Alex Grant Stephen McHattie Sandy Silver Danny Graham Hugh Hanrahan William Miller Colin MacDonald Ronald MacDonald Mark Day Billy Joe MacLean Howard P. Whidden Kirk Furey Maureen MacDonald Dean Melanson
Robyn Meagher, Craig MacDonald and Dean Melanson have place of birth as Antigonish
Robyn Meagher Craig MacDonald Dean Melanson
action filter_type
action find_reverse
entity Antigonish
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Antigonish']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . ?n property:place_of_birth resource:Antigonish }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q575483
P17
Q1048835
USER
Which political territory is that administrative territory a part of ?
(Q21777839,P17,c(Q1048835)) (Q1138585,P17,c(Q1048835)) (Q767870,P17,c(Q1048835))
action filter_type
action find
entity Q575483
relation P17
type Q1048835
['Q21777839', 'P17', {'concept': 'Q1048835'}] ['Q1138585', 'P17', {'concept': 'Q1048835'}] ['Q767870', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q575483 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Antigonish
action filter_type
action find
entity Antigonish
relation country
type political territorial entity
['Robyn Meagher', 'country', {'concept': 'political territorial entity'}] ['Craig MacDonald', 'country', {'concept': 'political territorial entity'}] ['Dean Melanson', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Antigonish property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q21777839,P17,c(Q1048835)) (Q1138585,P17,c(Q1048835)) (Q767870,P17,c(Q1048835))
action filter_type
action find
entity Q575483
relation P17
type Q1048835
[ANSWER] is that administrative territory a part of
['Q21777839', 'P17', {'concept': 'Q1048835'}] ['Q1138585', 'P17', {'concept': 'Q1048835'}] ['Q767870', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q575483 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Canada
Canada is that administrative territory a part of
Canada
action filter_type
action find
entity Antigonish
relation country
type political territorial entity
['Robyn Meagher', 'country', {'concept': 'political territorial entity'}] ['Craig MacDonald', 'country', {'concept': 'political territorial entity'}] ['Dean Melanson', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Antigonish property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q538493 Q1979
P47
Q15617994
USER
Does that political territory have an adjacent border with Seekirch and Prince Edward Island ?
(Q16,P47,Q538493) (Q16,P47,Q1979)
action is_in
entity Q16
action intersection
action find_reverse
entity Q538493
relation P47
action find_reverse
entity Q1979
relation P47
['Q16', 'P47', 'Q538493'] ['Q16', 'P47', 'Q1979']
ASK WHERE { resource:Q16 property:P47 resource:Q538493 . resource:Q16 property:P47 resource:Q1979 }
Canada Seekirch Prince Edward Island
action is_in
entity Canada
action intersection
action find_reverse
entity Seekirch
relation shares border with
action find_reverse
entity Prince Edward Island
relation shares border with
['Canada', 'shares border with', 'Seekirch'] ['Canada', 'shares border with', 'Prince Edward Island']
ASK WHERE { resource:Canada property:shares_border_with resource:Seekirch . resource:Canada property:shares_border_with resource:Prince_Edward_Island }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q16,P47,Q538493) (Q16,P47,Q1979)
action is_in
entity Q16
action intersection
action find_reverse
entity Q538493
relation P47
action find_reverse
entity Q1979
relation P47
[ANSWER]
['Q16', 'P47', 'Q538493'] ['Q16', 'P47', 'Q1979']
ASK WHERE { resource:Q16 property:P47 resource:Q538493 . resource:Q16 property:P47 resource:Q1979 }
NO and YES respectively
action is_in
entity Canada
action intersection
action find_reverse
entity Seekirch
relation shares border with
action find_reverse
entity Prince Edward Island
relation shares border with
['Canada', 'shares border with', 'Seekirch'] ['Canada', 'shares border with', 'Prince Edward Island']
ASK WHERE { resource:Canada property:shares_border_with resource:Seekirch . resource:Canada property:shares_border_with resource:Prince_Edward_Island }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1733825 Q21777839
P27
Q1048835
USER
Which political territories are Robyn Meagher or Karlheinz Rost an inhabitant of ?
OR((Q21777839,P27,c(Q1048835)), (Q1733825,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q21777839
relation P27
action find
entity Q1733825
relation P27
type Q1048835
{'OR': [['Q21777839', 'P27', {'concept': 'Q1048835'}], ['Q1733825', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21777839 property:P27 ?r } UNION { resource:Q1733825 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Karlheinz Rost Robyn Meagher
action filter_type
action union
action find
entity Robyn Meagher
relation country of citizenship
action find
entity Karlheinz Rost
relation country of citizenship
type political territorial entity
{'OR': [['Robyn Meagher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karlheinz Rost', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Robyn_Meagher property:country_of_citizenship ?r } UNION { resource:Karlheinz_Rost property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
OR((Q21777839,P27,c(Q1048835)), (Q1733825,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q21777839
relation P27
action find
entity Q1733825
relation P27
type Q1048835
[ANSWERS] are Robyn Meagher or Karlheinz Rost an inhabitant of
{'OR': [['Q21777839', 'P27', {'concept': 'Q1048835'}], ['Q1733825', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21777839 property:P27 ?r } UNION { resource:Q1733825 property:P27 ?r } } . ?r rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany are Robyn Meagher or Karlheinz Rost an inhabitant of
Canada Germany
action filter_type
action union
action find
entity Robyn Meagher
relation country of citizenship
action find
entity Karlheinz Rost
relation country of citizenship
type political territorial entity
{'OR': [['Robyn Meagher', 'country of citizenship', {'concept': 'political territorial entity'}], ['Karlheinz Rost', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Robyn_Meagher property:country_of_citizenship ?r } UNION { resource:Karlheinz_Rost property:country_of_citizenship ?r } } . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P122
Q1307214
USER
What best describes the type of government of Canada ?
(Q16,P122,c(Q1307214))
action filter_type
action find
entity Q16
relation P122
type Q1307214
['Q16', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?l WHERE { resource:Q16 property:P122 ?l . ?l rdf:type ontology:Q1307214 }
Canada
action filter_type
action find
entity Canada
relation basic form of government
type form of government
['Canada', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?l WHERE { resource:Canada property:basic_form_of_government ?l . ?l rdf:type ontology:form_of_government }
[]
form of government
Q43702
SYSTEM
federation
Q43702
(Q16,P122,c(Q1307214))
action filter_type
action find
entity Q16
relation P122
type Q1307214
The [ANSWER] best describes the type of government of Canada
['Q16', 'P122', {'concept': 'Q1307214'}]
SELECT DISTINCT ?l WHERE { resource:Q16 property:P122 ?l . ?l rdf:type ontology:Q1307214 }
federation
The federation best describes the type of government of Canada
federation
action filter_type
action find
entity Canada
relation basic form of government
type form of government
['Canada', 'basic form of government', {'concept': 'form of government'}]
SELECT DISTINCT ?l WHERE { resource:Canada property:basic_form_of_government ?l . ?l rdf:type ontology:form_of_government }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P108
Q502895
USER
What are the name of people who works for Germany ?
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q183 . ?s rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Germany . ?s rdf:type ontology:common_name }
[]
common name
Q2514 Q57855 Q1492424
SYSTEM
Willy Brandt, Georg Friedrich Grotefend, Marieluise Deißmann-Merten
Q2514 Q57855 Q1492424
(c(Q502895),P108,Q183)
action filter_type
action find_reverse
entity Q183
relation P108
type Q502895
The name of people works for Germany are [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P108 resource:Q183 . ?s rdf:type ontology:Q502895 }
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
The name of people works for Germany are Willy Brandt, Georg Friedrich Grotefend and Marieluise Deißmann-Merten
Willy Brandt Georg Friedrich Grotefend Marieluise Deißmann-Merten
action filter_type
action find_reverse
entity Germany
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:employer resource:Germany . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P291
Q2342494
USER
Which collectables have Germany as their publication location ?
(c(Q2342494),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q2342494
[{'concept': 'Q2342494'}, 'P291', 'Q183']
SELECT DISTINCT ?w WHERE { ?w property:P291 resource:Q183 . ?w rdf:type ontology:Q2342494 }
Germany
action filter_type
action find_reverse
entity Germany
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Germany']
SELECT DISTINCT ?w WHERE { ?w property:place_of_publication resource:Germany . ?w rdf:type ontology:collectable }
[]
collectable
Q786908 Q1167344 Q1962934
SYSTEM
The 13½ Lives of Captain Bluebear, Das Boot, Night Train to Lisbon
Q786908 Q1167344 Q1962934
(c(Q2342494),P291,Q183)
action filter_type
action find_reverse
entity Q183
relation P291
type Q2342494
[ANSWERS] have Germany as their publication location
[{'concept': 'Q2342494'}, 'P291', 'Q183']
SELECT DISTINCT ?w WHERE { ?w property:P291 resource:Q183 . ?w rdf:type ontology:Q2342494 }
The 13½ Lives of Captain Bluebear Das Boot Night Train to Lisbon
The 13½ Lives of Captain Bluebear, Das Boot and Night Train to Lisbon have Germany as their publication location
The 13½ Lives of Captain Bluebear Das Boot Night Train to Lisbon
action filter_type
action find_reverse
entity Germany
relation place of publication
type collectable
[{'concept': 'collectable'}, 'place of publication', 'Germany']
SELECT DISTINCT ?w WHERE { ?w property:place_of_publication resource:Germany . ?w rdf:type ontology:collectable }
[]