Simple Question (Direct)
Simple Question
Q3069319
P27
Q1048835
USER
Which political territory is Fernand Robichaud an inhabitant of ?
(Q3069319,P27,c(Q1048835))
action filter_type
action find
entity Q3069319
relation P27
type Q1048835
['Q3069319', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q3069319 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation country of citizenship
type political territorial entity
['Fernand Robichaud', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fernand_Robichaud property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q3069319,P27,c(Q1048835))
action filter_type
action find
entity Q3069319
relation P27
type Q1048835
[ANSWER] is Fernand Robichaud an inhabitant of
['Q3069319', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?v WHERE { resource:Q3069319 property:P27 ?v . ?v rdf:type ontology:Q1048835 }
Canada
Canada is Fernand Robichaud an inhabitant of
Canada
action filter_type
action find
entity Fernand Robichaud
relation country of citizenship
type political territorial entity
['Fernand Robichaud', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Fernand_Robichaud property:country_of_citizenship ?v . ?v rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3069319
P21
Q290
USER
Which sex does that person belong to ?
(Q16,P21,c(Q290))
action filter_type
action find
entity Q3069319
relation P21
type Q290
['Q16', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3069319 property:P21 ?e . ?e rdf:type ontology:Q290 }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation gender
type sex
['Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Fernand_Robichaud property:gender ?e . ?e rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16,P21,c(Q290))
action filter_type
action find
entity Q3069319
relation P21
type Q290
That person belongs to [ANSWER]
['Q16', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?e WHERE { resource:Q3069319 property:P21 ?e . ?e rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Fernand Robichaud
relation gender
type sex
['Canada', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?e WHERE { resource:Fernand_Robichaud property:gender ?e . ?e rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16
P530
Q183366 Q15617994
USER
How many territories and administrative territories have diplomatic relationships with Canada ?
(Q16,P530,c(Q183366)) (Q16,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q183366
action filter_type
action find
entity Q16
relation P530
type Q15617994
['Q16', 'P530', {'concept': 'Q183366'}] ['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?p . VALUES ( ?p ) { ( ontology:Q183366 ) ( ontology:Q15617994 ) } }
Canada
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type territory
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'territory'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?p . VALUES ( ?p ) { ( ontology:territory ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
territory designation for an administrative territorial entity
SYSTEM
1 territories and 34 administrative territories
Q804 Q801 Q843 Q1029 Q846 Q145 Q229 Q33 Q30 Q36 Q79 Q34 Q77 Q39 Q38 Q878 Q739 Q833 Q711 Q1030 Q851 Q29999 Q1028 Q928 Q115 Q258 Q212 Q159 Q43 Q155 Q218 Q20 Q423 Q252 Q884
(Q16,P530,c(Q183366)) (Q16,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q16
relation P530
type Q183366
action filter_type
action find
entity Q16
relation P530
type Q15617994
[ANSWER]
['Q16', 'P530', {'concept': 'Q183366'}] ['Q16', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?p . VALUES ( ?p ) { ( ontology:Q183366 ) ( ontology:Q15617994 ) } }
Panama Israel Pakistan Mozambique Qatar United Kingdom Cyprus Finland United States of America Poland Egypt Sweden Uruguay Switzerland Italy United Arab Emirates Colombia Malaysia Mongolia Namibia Saudi Arabia Kingdom of the Netherlands Morocco Philippines Ethiopia South Africa Ukraine Russia Turkey Brazil Romania Norway North Korea Indonesia South Korea
1 territories and 34 administrative territories
action count
action union
action filter_type
action find
entity Canada
relation diplomatic relation
type territory
action filter_type
action find
entity Canada
relation diplomatic relation
type designation for an administrative territorial entity
['Canada', 'diplomatic relation', {'concept': 'territory'}] ['Canada', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?p . VALUES ( ?p ) { ( ontology:territory ) ( ontology:designation_for_an_administrative_territorial_entity ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3069319
P39
Q12737077
USER
What were the positions for which Fernand Robichaud were appointed ?
(Q3069319,P39,c(Q12737077))
action filter_type
action find
entity Q3069319
relation P39
type Q12737077
['Q3069319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3069319 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation position held
type occupation
['Fernand Robichaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Fernand_Robichaud property:position_held ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q15964890 Q18524027
SYSTEM
member of the House of Commons of Canada, Member of the Senate of Canada
Q15964890 Q18524027
(Q3069319,P39,c(Q12737077))
action filter_type
action find
entity Q3069319
relation P39
type Q12737077
And [ANSWERS]
['Q3069319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3069319 property:P39 ?b . ?b rdf:type ontology:Q12737077 }
member of the House of Commons of Canada Member of the Senate of Canada
And member of the House of Commons of Canada and Member of the Senate of Canada
member of the House of Commons of Canada Member of the Senate of Canada
action filter_type
action find
entity Fernand Robichaud
relation position held
type occupation
['Fernand Robichaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Fernand_Robichaud property:position_held ?b . ?b rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3069319
P102
Q7210356
USER
Which political organization is that person a member of ?
(Q15964890,P102,c(Q7210356)) (Q18524027,P102,c(Q7210356))
action filter_type
action find
entity Q3069319
relation P102
type Q7210356
['Q15964890', 'P102', {'concept': 'Q7210356'}] ['Q18524027', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q3069319 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation member of political party
type political organization
['member of the House of Commons of Canada', 'member of political party', {'concept': 'political organization'}] ['Member of the Senate of Canada', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Fernand_Robichaud property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q138345
SYSTEM
Liberal Party of Canada
Q138345
(Q15964890,P102,c(Q7210356)) (Q18524027,P102,c(Q7210356))
action filter_type
action find
entity Q3069319
relation P102
type Q7210356
Canada [ANSWER] is that person a member of
['Q15964890', 'P102', {'concept': 'Q7210356'}] ['Q18524027', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q3069319 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Liberal Party of Canada
Canada Liberal Party of Canada is that person a member of
Liberal Party of Canada
action filter_type
action find
entity Fernand Robichaud
relation member of political party
type political organization
['member of the House of Commons of Canada', 'member of political party', {'concept': 'political organization'}] ['Member of the Senate of Canada', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Fernand_Robichaud property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]