Simple Question (Direct)
Simple Question
Q5415923
P39
Q12737077
USER
What was the position held by Evans John Price ?
(Q5415923,P39,c(Q12737077))
action filter_type
action find
entity Q5415923
relation P39
type Q12737077
['Q5415923', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5415923 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Evans John Price
action filter_type
action find
entity Evans John Price
relation position held
type occupation
['Evans John Price', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Evans_John_Price property:position_held ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q18524027
SYSTEM
Member of the Senate of Canada
Q18524027
(Q5415923,P39,c(Q12737077))
action filter_type
action find
entity Q5415923
relation P39
type Q12737077
The position held by Evans John Price was a [ANSWER]
['Q5415923', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q5415923 property:P39 ?o . ?o rdf:type ontology:Q12737077 }
Member of the Senate of Canada
The position held by Evans John Price was a Member of the Senate of Canada
Member of the Senate of Canada
action filter_type
action find
entity Evans John Price
relation position held
type occupation
['Evans John Price', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Evans_John_Price property:position_held ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18524027
P17
Q1048835
USER
Which political territory does that occupation belong to ?
(Q18524027,P17,c(Q1048835))
action filter_type
action find
entity Q18524027
relation P17
type Q1048835
['Q18524027', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q18524027 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Member of the Senate of Canada
action filter_type
action find
entity Member of the Senate of Canada
relation country
type political territorial entity
['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Member_of_the_Senate_of_Canada property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q18524027,P17,c(Q1048835))
action filter_type
action find
entity Q18524027
relation P17
type Q1048835
That occupation belongs to the [ANSWER]
['Q18524027', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q18524027 property:P17 ?c . ?c rdf:type ontology:Q1048835 }
Canada
That occupation belongs to the Canada
Canada
action filter_type
action find
entity Member of the Senate of Canada
relation country
type political territorial entity
['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Member_of_the_Senate_of_Canada property:country ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q7190565 Q18524027
P17
Q1048835
USER
Or Piccadilly Slant-Abraham's Cove?
OR((Q18524027,P17,c(Q1048835)), (Q7190565,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18524027
relation P17
action find
entity Q7190565
relation P17
type Q1048835
{'OR': [['Q18524027', 'P17', {'concept': 'Q1048835'}], ['Q7190565', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q18524027 property:P17 ?n } UNION { resource:Q7190565 property:P17 ?n } } }
Piccadilly Slant-Abraham's Cove Member of the Senate of Canada
action filter_type
action union
action find
entity Member of the Senate of Canada
relation country
action find
entity Piccadilly Slant-Abraham's Cove
relation country
type political territorial entity
{'OR': [['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}], ["Piccadilly Slant-Abraham's Cove", 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Member_of_the_Senate_of_Canada property:country ?n } UNION { resource:Piccadilly_Slant-Abraham's_Cove property:country ?n } } }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
OR((Q18524027,P17,c(Q1048835)), (Q7190565,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q18524027
relation P17
action find
entity Q7190565
relation P17
type Q1048835
[ANSWER]
{'OR': [['Q18524027', 'P17', {'concept': 'Q1048835'}], ['Q7190565', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q1048835 . { { resource:Q18524027 property:P17 ?n } UNION { resource:Q7190565 property:P17 ?n } } }
Canada
Canada
action filter_type
action union
action find
entity Member of the Senate of Canada
relation country
action find
entity Piccadilly Slant-Abraham's Cove
relation country
type political territorial entity
{'OR': [['Member of the Senate of Canada', 'country', {'concept': 'political territorial entity'}], ["Piccadilly Slant-Abraham's Cove", 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:political_territorial_entity . { { resource:Member_of_the_Senate_of_Canada property:country ?n } UNION { resource:Piccadilly_Slant-Abraham's_Cove property:country ?n } } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q16 Q7984292
P530
Q15617994
USER
Does West Allegheny School District have diplomatic relations with Canada ?
(Q16,P530,Q7984292)
action is_in
entity Q7984292
action find
entity Q16
relation P530
['Q16', 'P530', 'Q7984292']
ASK WHERE { resource:Q16 property:P530 resource:Q7984292 }
Canada West Allegheny School District
action is_in
entity West Allegheny School District
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'West Allegheny School District']
ASK WHERE { resource:Canada property:diplomatic_relation resource:West_Allegheny_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q16,P530,Q7984292)
action is_in
entity Q7984292
action find
entity Q16
relation P530
[ANSWER]
['Q16', 'P530', 'Q7984292']
ASK WHERE { resource:Q16 property:P530 resource:Q7984292 }
No
action is_in
entity West Allegheny School District
action find
entity Canada
relation diplomatic relation
['Canada', 'diplomatic relation', 'West Allegheny School District']
ASK WHERE { resource:Canada property:diplomatic_relation resource:West_Allegheny_School_District }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16
P138
Q811979
USER
Which architectural structure has that political territory as its toponym ?
action filter_type
action find_reverse
entity Q16
relation P138
type Q811979
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q16 . ?h rdf:type ontology:Q811979 }
Canada
action filter_type
action find_reverse
entity Canada
relation named after
type architectural structure
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Canada . ?h rdf:type ontology:architectural_structure }
[]
architectural structure
Q3390574
SYSTEM
place du Canada
Q3390574
action filter_type
action find_reverse
entity Q16
relation P138
type Q811979
[ANSWER] has that political territory as its toponym
SELECT DISTINCT ?h WHERE { ?h property:P138 resource:Q16 . ?h rdf:type ontology:Q811979 }
place du Canada
Place du Canada has that political territory as its toponym
place du Canada
action filter_type
action find_reverse
entity Canada
relation named after
type architectural structure
SELECT DISTINCT ?h WHERE { ?h property:named_after resource:Canada . ?h rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P276
Q838948
USER
How many works of art are located at that architectural structure ?
(c(Q838948),P276,Q3390574)
action count
action filter_type
action find_reverse
entity Q3390574
relation P276
type Q838948
[{'concept': 'Q838948'}, 'P276', 'Q3390574']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q rdf:type ontology:Q838948 . ?q property:P276 resource:Q3390574 }
action count
action filter_type
action find_reverse
entity place du Canada
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'place du Canada']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q rdf:type ontology:work_of_art . ?q property:location resource:place_du_Canada }
[]
work of art
SYSTEM
2
Q23641901 Q23641902
(c(Q838948),P276,Q3390574)
action count
action filter_type
action find_reverse
entity Q3390574
relation P276
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P276', 'Q3390574']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q rdf:type ontology:Q838948 . ?q property:P276 resource:Q3390574 }
Bust of Jacques Cartier Bust of Samuel Champlain
2
action count
action filter_type
action find_reverse
entity place du Canada
relation location
type work of art
[{'concept': 'work of art'}, 'location', 'place du Canada']
SELECT DISTINCT ( COUNT ( ?q ) AS ?s ) WHERE { ?q rdf:type ontology:work_of_art . ?q property:location resource:place_du_Canada }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1932456 Q16
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Canada and are the native countriesof Cees Kornelis ?
AND((Q16,P530,c(Q15617994)), (Q1932456,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q1932456
relation P27
type Q15617994
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q1932456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?s . resource:Q1932456 property:P27 ?s }
Cees Kornelis Canada
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Cees Kornelis
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cees Kornelis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?s . resource:Cees_Kornelis property:country_of_citizenship ?s }
[]
designation for an administrative territorial entity
Q29999
SYSTEM
Kingdom of the Netherlands
Q29999
AND((Q16,P530,c(Q15617994)), (Q1932456,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q16
relation P530
action find
entity Q1932456
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Canada and are the native countriesof Cees Kornelis
{'AND': [['Q16', 'P530', {'concept': 'Q15617994'}], ['Q1932456', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . resource:Q16 property:P530 ?s . resource:Q1932456 property:P27 ?s }
Kingdom of the Netherlands
Kingdom of the Netherlands holds diplomatic relationship with Canada and are the native countriesof Cees Kornelis
Kingdom of the Netherlands
action filter_type
action intersection
action find
entity Canada
relation diplomatic relation
action find
entity Cees Kornelis
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Cees Kornelis', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Canada property:diplomatic_relation ?s . resource:Cees_Kornelis property:country_of_citizenship ?s }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3659985
P20
Q15617994
USER
Where did the expiration of Carlo del Balzo occur ?
(Q3659985,P20,c(Q15617994))
action filter_type
action find
entity Q3659985
relation P20
type Q15617994
['Q3659985', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3659985 property:P20 ?n . ?n rdf:type ontology:Q15617994 }
Carlo del Balzo
action filter_type
action find
entity Carlo del Balzo
relation place of death
type designation for an administrative territorial entity
['Carlo del Balzo', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Carlo_del_Balzo property:place_of_death ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55092
SYSTEM
San Martino Valle Caudina
Q55092
(Q3659985,P20,c(Q15617994))
action filter_type
action find
entity Q3659985
relation P20
type Q15617994
The expiration of Carlo del Balzo occurred [ANSWER]
['Q3659985', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q3659985 property:P20 ?n . ?n rdf:type ontology:Q15617994 }
San Martino Valle Caudina
The expiration of Carlo del Balzo occurred San Martino Valle Caudina
San Martino Valle Caudina
action filter_type
action find
entity Carlo del Balzo
relation place of death
type designation for an administrative territorial entity
['Carlo del Balzo', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Carlo_del_Balzo property:place_of_death ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3659985
P19
Q15617994
USER
Which administrative territory is the birthplace of that person ?
(Q55092,P19,c(Q15617994))
action filter_type
action find
entity Q3659985
relation P19
type Q15617994
['Q55092', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3659985 property:P19 ?c . ?c rdf:type ontology:Q15617994 }
Carlo del Balzo
action filter_type
action find
entity Carlo del Balzo
relation place of birth
type designation for an administrative territorial entity
['San Martino Valle Caudina', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carlo_del_Balzo property:place_of_birth ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55092
SYSTEM
San Martino Valle Caudina
Q55092
(Q55092,P19,c(Q15617994))
action filter_type
action find
entity Q3659985
relation P19
type Q15617994
[ANSWER] is the birthplace of that person
['Q55092', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q3659985 property:P19 ?c . ?c rdf:type ontology:Q15617994 }
San Martino Valle Caudina
San Martino Valle Caudina is the birthplace of that person
San Martino Valle Caudina
action filter_type
action find
entity Carlo del Balzo
relation place of birth
type designation for an administrative territorial entity
['San Martino Valle Caudina', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Carlo_del_Balzo property:place_of_birth ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]