Simple Question (Direct)
Simple Question
Q3368557
P735
Q82799
USER
What is forename of Pat Martin ?
(Q3368557,P735,c(Q82799))
action filter_type
action find
entity Q3368557
relation P735
type Q82799
['Q3368557', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3368557 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Pat Martin
action filter_type
action find
entity Pat Martin
relation given name
type name
['Pat Martin', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Pat_Martin property:given_name ?o . ?o rdf:type ontology:name }
[]
name
Q19801119
SYSTEM
Pat
Q19801119
(Q3368557,P735,c(Q82799))
action filter_type
action find
entity Q3368557
relation P735
type Q82799
Forename of [ANSWER] Martin is of [ANSWER]
['Q3368557', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q3368557 property:P735 ?o . ?o rdf:type ontology:Q82799 }
Pat
Forename of Pat Martin is of Pat
Pat
action filter_type
action find
entity Pat Martin
relation given name
type name
['Pat Martin', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Pat_Martin property:given_name ?o . ?o rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3368557
P19
Q515
USER
Which city was Pat Martin born at ?
(Q3368557,P19,c(Q515))
action filter_type
action find
entity Q3368557
relation P19
type Q515
['Q3368557', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . resource:Q3368557 property:P19 ?g }
Pat Martin
action filter_type
action find
entity Pat Martin
relation place of birth
type city
['Pat Martin', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . resource:Pat_Martin property:place_of_birth ?g }
[]
city
Q2135
SYSTEM
Winnipeg
Q2135
(Q3368557,P19,c(Q515))
action filter_type
action find
entity Q3368557
relation P19
type Q515
Pat Martin was born in [ANSWER]
['Q3368557', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q515 . resource:Q3368557 property:P19 ?g }
Winnipeg
Pat Martin was born in Winnipeg
Winnipeg
action filter_type
action find
entity Pat Martin
relation place of birth
type city
['Pat Martin', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:city . resource:Pat_Martin property:place_of_birth ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3368557
P39
Q12737077
USER
Which occupation was a position for which Pat Martin was appointed ?
(Q3368557,P39,c(Q12737077))
action filter_type
action find
entity Q3368557
relation P39
type Q12737077
['Q3368557', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3368557 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Pat Martin
action filter_type
action find
entity Pat Martin
relation position held
type occupation
['Pat Martin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Pat_Martin property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q15964890
SYSTEM
member of the House of Commons of Canada
Q15964890
(Q3368557,P39,c(Q12737077))
action filter_type
action find
entity Q3368557
relation P39
type Q12737077
A [ANSWER] was a position for which Pat Martin was appointed
['Q3368557', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3368557 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the House of Commons of Canada
A member of the House of Commons of Canada was a position for which Pat Martin was appointed
member of the House of Commons of Canada
action filter_type
action find
entity Pat Martin
relation position held
type occupation
['Pat Martin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Pat_Martin property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3368557
P106
Q12737077
USER
Which occupation has Pat Martin as his/her 's career ?
(Q3368557,P106,c(Q12737077))
action filter_type
action find
entity Q3368557
relation P106
type Q12737077
['Q3368557', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3368557 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Pat Martin
action filter_type
action find
entity Pat Martin
relation occupation
type occupation
['Pat Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Martin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3368557,P106,c(Q12737077))
action filter_type
action find
entity Q3368557
relation P106
type Q12737077
As [ANSWER] has Pat Martin as his/her 's career
['Q3368557', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q3368557 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
politician
As politician has Pat Martin as his/her 's career
politician
action filter_type
action find
entity Pat Martin
relation occupation
type occupation
['Pat Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Pat_Martin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q3368557
Q151885
USER
And which concept?
(Q3368557,P106,c(Q151885))
action filter_type
action find
entity Q3368557
relation P106
type Q151885
['Q3368557', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q3368557 property:P106 ?t . ?t rdf:type ontology:Q151885 }
Pat Martin
action filter_type
action find
entity Pat Martin
relation occupation
type concept
['Pat Martin', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Pat_Martin property:occupation ?t . ?t rdf:type ontology:concept }
[]
concept
Q15627169
SYSTEM
trade unionist
Q15627169
(Q3368557,P106,c(Q151885))
action filter_type
action find
entity Q3368557
relation P106
type Q151885
[ANSWER]
['Q3368557', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?t WHERE { resource:Q3368557 property:P106 ?t . ?t rdf:type ontology:Q151885 }
trade unionist
trade unionist
action filter_type
action find
entity Pat Martin
relation occupation
type concept
['Pat Martin', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?t WHERE { resource:Pat_Martin property:occupation ?t . ?t rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2135
P6
Q502895
USER
Which person has Winnipeg as its head of government ?
(Q2135,P6,c(Q502895))
action filter_type
action find
entity Q2135
relation P6
type Q502895
['Q2135', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2135 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Winnipeg
action filter_type
action find
entity Winnipeg
relation head of government
type common name
['Winnipeg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Winnipeg property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
common name
Q16107228
SYSTEM
Brian Bowman
Q16107228
(Q2135,P6,c(Q502895))
action filter_type
action find
entity Q2135
relation P6
type Q502895
[ANSWER] has Winnipeg as its head of government
['Q2135', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { resource:Q2135 property:P6 ?h . ?h rdf:type ontology:Q502895 }
Brian Bowman
Brian Bowman has Winnipeg as its head of government
Brian Bowman
action filter_type
action find
entity Winnipeg
relation head of government
type common name
['Winnipeg', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { resource:Winnipeg property:head_of_government ?h . ?h rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q98050 Q2135
P47 P20
Q56061
USER
Which administrative territories share border with Winnipeg or are the places of death of Heinrich Schäfer ?
OR((Q2135,P47,c(Q56061)), (Q98050,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2135
relation P47
action find
entity Q98050
relation P20
type Q56061
{'OR': [['Q2135', 'P47', {'concept': 'Q56061'}], ['Q98050', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2135 property:P47 ?p } UNION { resource:Q98050 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Heinrich Schäfer Winnipeg
action filter_type
action union
action find
entity Winnipeg
relation shares border with
action find
entity Heinrich Schäfer
relation place of death
type administrative territorial entity
{'OR': [['Winnipeg', 'shares border with', {'concept': 'administrative territorial entity'}], ['Heinrich Schäfer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Winnipeg property:shares_border_with ?p } UNION { resource:Heinrich_Schäfer property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q393324 Q558563
SYSTEM
Stonewall, Hessisch Lichtenau
Q393324 Q558563
OR((Q2135,P47,c(Q56061)), (Q98050,P20,c(Q56061)))
action filter_type
action union
action find
entity Q2135
relation P47
action find
entity Q98050
relation P20
type Q56061
[ANSWERS] share border with Winnipeg or are the places of death of Heinrich Schäfer
{'OR': [['Q2135', 'P47', {'concept': 'Q56061'}], ['Q98050', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q2135 property:P47 ?p } UNION { resource:Q98050 property:P20 ?p } } . ?p rdf:type ontology:Q56061 }
Stonewall Hessisch Lichtenau
Stonewall and Hessisch Lichtenau share border with Winnipeg or are the places of death of Heinrich Schäfer
Stonewall Hessisch Lichtenau
action filter_type
action union
action find
entity Winnipeg
relation shares border with
action find
entity Heinrich Schäfer
relation place of death
type administrative territorial entity
{'OR': [['Winnipeg', 'shares border with', {'concept': 'administrative territorial entity'}], ['Heinrich Schäfer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Winnipeg property:shares_border_with ?p } UNION { resource:Heinrich_Schäfer property:place_of_death ?p } } . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q393324
P17
Q1048835
USER
Which political territory is Stonewall a part of ?
(Q393324,P17,c(Q1048835))
action filter_type
action find
entity Q393324
relation P17
type Q1048835
['Q393324', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q393324 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Stonewall
action filter_type
action find
entity Stonewall
relation country
type political territorial entity
['Stonewall', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Stonewall property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q393324,P17,c(Q1048835))
action filter_type
action find
entity Q393324
relation P17
type Q1048835
The [ANSWER] is Stonewall a part of
['Q393324', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q393324 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Canada
The Canada is Stonewall a part of
Canada
action filter_type
action find
entity Stonewall
relation country
type political territorial entity
['Stonewall', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Stonewall property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21889276
Q1048835
USER
And what about Looa Creek?
(Q21889276,P17,c(Q1048835))
action filter_type
action find
entity Q21889276
relation P17
type Q1048835
['Q21889276', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q21889276 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Looa Creek
action filter_type
action find
entity Looa Creek
relation country
type political territorial entity
['Looa Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Looa_Creek property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q21889276,P17,c(Q1048835))
action filter_type
action find
entity Q21889276
relation P17
type Q1048835
[ANSWER]
['Q21889276', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q21889276 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Australia
Australia
action filter_type
action find
entity Looa Creek
relation country
type political territorial entity
['Looa Creek', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Looa_Creek property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q408 Q21891049
P17
Q355304
USER
Is Gargoonyah Waterhole present in that political territory ?
(Q21891049,P17,Q408)
action is_in
entity Q408
action find
entity Q21891049
relation P17
['Q21891049', 'P17', 'Q408']
ASK WHERE { resource:Q21891049 property:P17 resource:Q408 }
Australia Gargoonyah Waterhole
action is_in
entity Australia
action find
entity Gargoonyah Waterhole
relation country
['Gargoonyah Waterhole', 'country', 'Australia']
ASK WHERE { resource:Gargoonyah_Waterhole property:country resource:Australia }
[]
watercourse
SYSTEM
YES
(Q21891049,P17,Q408)
action is_in
entity Q408
action find
entity Q21891049
relation P17
[ANSWER]
['Q21891049', 'P17', 'Q408']
ASK WHERE { resource:Q21891049 property:P17 resource:Q408 }
Yes
action is_in
entity Australia
action find
entity Gargoonyah Waterhole
relation country
['Gargoonyah Waterhole', 'country', 'Australia']
ASK WHERE { resource:Gargoonyah_Waterhole property:country resource:Australia }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16066434
P21
Q290
USER
Which sex does Agnes Catherine Maitland belong to ?
(Q16066434,P21,c(Q290))
action filter_type
action find
entity Q16066434
relation P21
type Q290
['Q16066434', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q16066434 property:P21 ?r . ?r rdf:type ontology:Q290 }
Agnes Catherine Maitland
action filter_type
action find
entity Agnes Catherine Maitland
relation gender
type sex
['Agnes Catherine Maitland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Agnes_Catherine_Maitland property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q16066434,P21,c(Q290))
action filter_type
action find
entity Q16066434
relation P21
type Q290
Agnes Catherine Maitland belongs to [ANSWER]
['Q16066434', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q16066434 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Agnes Catherine Maitland belongs to female
female
action filter_type
action find
entity Agnes Catherine Maitland
relation gender
type sex
['Agnes Catherine Maitland', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Agnes_Catherine_Maitland property:gender ?r . ?r rdf:type ontology:sex }
[]