Simple Question (Direct)
Simple Question
Q3591032
P54
Q12973014
USER
Which sports teams are Éric Castonguay a member of ?
(Q3591032,P54,c(Q12973014))
action filter_type
action find
entity Q3591032
relation P54
type Q12973014
['Q3591032', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q3591032 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Éric Castonguay
action filter_type
action find
entity Éric Castonguay
relation member of sports team
type sports team
['Éric Castonguay', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Éric_Castonguay property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
sports team
Q1170911 Q367921
SYSTEM
Dragons de Rouen, Diables Rouges de Briançon
Q1170911 Q367921
(Q3591032,P54,c(Q12973014))
action filter_type
action find
entity Q3591032
relation P54
type Q12973014
[ANSWERS] are Éric Castonguay a member of
['Q3591032', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q3591032 property:P54 ?s . ?s rdf:type ontology:Q12973014 }
Dragons de Rouen Diables Rouges de Briançon
Dragons de Rouen and Diables Rouges de Briançon are Éric Castonguay a member of
Dragons de Rouen Diables Rouges de Briançon
action filter_type
action find
entity Éric Castonguay
relation member of sports team
type sports team
['Éric Castonguay', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:Éric_Castonguay property:member_of_sports_team ?s . ?s rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3591032
P641
Q349
USER
What was the sport that Éric Castonguay was a part of ?
(Q3591032,P641,c(Q349))
action filter_type
action find
entity Q3591032
relation P641
type Q349
['Q3591032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q3591032 property:P641 ?u . ?u rdf:type ontology:Q349 }
Éric Castonguay
action filter_type
action find
entity Éric Castonguay
relation sport
type sport
['Éric Castonguay', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Éric_Castonguay property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q3591032,P641,c(Q349))
action filter_type
action find
entity Q3591032
relation P641
type Q349
The sport that Éric Castonguay was a part of was h [ANSWER]
['Q3591032', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q3591032 property:P641 ?u . ?u rdf:type ontology:Q349 }
ice hockey
The sport that Éric Castonguay was a part of was h ice hockey
ice hockey
action filter_type
action find
entity Éric Castonguay
relation sport
type sport
['Éric Castonguay', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Éric_Castonguay property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1059322
Q349
USER
And also tell me about Chakib Benzoukane?
(Q1059322,P641,c(Q349))
action filter_type
action find
entity Q1059322
relation P641
type Q349
['Q1059322', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1059322 property:P641 ?m . ?m rdf:type ontology:Q349 }
Chakib Benzoukane
action filter_type
action find
entity Chakib Benzoukane
relation sport
type sport
['Chakib Benzoukane', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Chakib_Benzoukane property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1059322,P641,c(Q349))
action filter_type
action find
entity Q1059322
relation P641
type Q349
[ANSWER]
['Q1059322', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q1059322 property:P641 ?m . ?m rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Chakib Benzoukane
relation sport
type sport
['Chakib Benzoukane', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Chakib_Benzoukane property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1059322
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q1059322
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1059322 property:P27 ?c }
Chakib Benzoukane
action filter_type
action find
entity Chakib Benzoukane
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chakib_Benzoukane property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q1028
SYSTEM
Morocco
Q1028
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q1059322
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q1059322 property:P27 ?c }
Morocco
Morocco is the country of citizenship of that person
Morocco
action filter_type
action find
entity Chakib Benzoukane
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chakib_Benzoukane property:country_of_citizenship ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1028
P530
Q1048835
USER
Who holds diplomatic relationship with that administrative territory ?
(Q1028,P530,c(Q1048835))
action filter_type
action find
entity Q1028
relation P530
type Q1048835
['Q1028', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1028 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Morocco
action filter_type
action find
entity Morocco
relation diplomatic relation
type political territorial entity
['Morocco', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Morocco property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
(Q1028,P530,c(Q1048835))
action filter_type
action find
entity Q1028
relation P530
type Q1048835
[ANSWERS] hold diplomatic relationship with that administrative territory
['Q1028', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1028 property:P530 ?k . ?k rdf:type ontology:Q1048835 }
Canada Germany
Canada and Germany hold diplomatic relationship with that administrative territory
Canada Germany
action filter_type
action find
entity Morocco
relation diplomatic relation
type political territorial entity
['Morocco', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Morocco property:diplomatic_relation ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16 Q183
P194
Q1752346
USER
Which assemblies are the representative bodies for Canada and Germany ?
(Q16,P194,c(Q1752346)) (Q183,P194,c(Q1752346))
action union
action filter_type
action find
entity Q16
relation P194
type Q1752346
action filter_type
action find
entity Q183
relation P194
type Q1752346
['Q16', 'P194', {'concept': 'Q1752346'}] ['Q183', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?j WHERE { ?a property:P194 ?j . VALUES ( ?a ) { ( resource:Q16 ) ( resource:Q183 ) } }
Canada Germany
action union
action filter_type
action find
entity Canada
relation legislative body
type assembly
action filter_type
action find
entity Germany
relation legislative body
type assembly
['Canada', 'legislative body', {'concept': 'assembly'}] ['Germany', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?j WHERE { ?a property:legislative_body ?j . VALUES ( ?a ) { ( resource:Canada ) ( resource:Germany ) } }
[]
assembly
Q475689 Q154797
SYSTEM
Parliament of Canada, Bundestag of Germany
Q475689 Q154797
(Q16,P194,c(Q1752346)) (Q183,P194,c(Q1752346))
action union
action filter_type
action find
entity Q16
relation P194
type Q1752346
action filter_type
action find
entity Q183
relation P194
type Q1752346
[ANSWERS] are the representative bodies for Canada and Germany
['Q16', 'P194', {'concept': 'Q1752346'}] ['Q183', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?j WHERE { ?a property:P194 ?j . VALUES ( ?a ) { ( resource:Q16 ) ( resource:Q183 ) } }
Parliament of Canada Bundestag of Germany
Parliament of Canada and Bundestag of Germany are the representative bodies for Canada and Germany
Parliament of Canada Bundestag of Germany
action union
action filter_type
action find
entity Canada
relation legislative body
type assembly
action filter_type
action find
entity Germany
relation legislative body
type assembly
['Canada', 'legislative body', {'concept': 'assembly'}] ['Germany', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?j WHERE { ?a property:legislative_body ?j . VALUES ( ?a ) { ( resource:Canada ) ( resource:Germany ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q475689 Q154797
P17
Q1048835
USER
Which political territories do those assemblies belong to ?
(Q475689,P17,c(Q1048835)) (Q154797,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
['Q475689', 'P17', {'concept': 'Q1048835'}] ['Q154797', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . ?q property:P17 ?j . VALUES ( ?q ) { ( resource:Q475689 ) ( resource:Q154797 ) } }
Parliament of Canada Bundestag of Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Parliament of Canada', 'country', {'concept': 'political territorial entity'}] ['Bundestag of Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . ?q property:country ?j . VALUES ( ?q ) { ( resource:Parliament_of_Canada ) ( resource:Bundestag_of_Germany ) } }
[]
political territorial entity
Q16 Q183
SYSTEM
Canada, Germany
Q16 Q183
(Q475689,P17,c(Q1048835)) (Q154797,P17,c(Q1048835))
action filter_type
action find
entity prev_answer
relation P17
type Q1048835
Those assemblies belong to the [ANSWERS]
['Q475689', 'P17', {'concept': 'Q1048835'}] ['Q154797', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . ?q property:P17 ?j . VALUES ( ?q ) { ( resource:Q475689 ) ( resource:Q154797 ) } }
Canada Germany
Those assemblies belong to the Canada and Germany
Canada Germany
action filter_type
action find
entity prev_answer
relation country
type political territorial entity
['Parliament of Canada', 'country', {'concept': 'political territorial entity'}] ['Bundestag of Germany', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . ?q property:country ?j . VALUES ( ?q ) { ( resource:Parliament_of_Canada ) ( resource:Bundestag_of_Germany ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q16
P47
Q15617994
USER
Which administrative territories share border with that political territory ?
(c(Q15617994),P47,Q16)
action filter_type
action find
entity Q16
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q16']
SELECT DISTINCT ?p WHERE { resource:Q16 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Canada
action filter_type
action find
entity Canada
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada']
SELECT DISTINCT ?p WHERE { resource:Canada property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q16
SYSTEM
Did you mean Canada ?
Q16 Q183
(c(Q15617994),P47,Q16) (c(Q15617994),P47,Q183)
[ANSWER]
[{'concept': 'Q15617994'}, 'P47', 'Q16'] [{'concept': 'Q15617994'}, 'P47', 'Q183']
SELECT DISTINCT ?p WHERE { resource:Q16 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Canada Germany
Did you mean Canada ?
Canada
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada'] [{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Germany']
SELECT DISTINCT ?p WHERE { resource:Canada property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q15617994),P47,Q16)
[{'concept': 'Q15617994'}, 'P47', 'Q16']
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada']
[]
Q1979 Q30 Q223
SYSTEM
Prince Edward Island, United States of America, Greenland
Q1979 Q30 Q223
(c(Q15617994),P47,Q16)
action filter_type
action find
entity Q16
relation P47
type Q15617994
[ANSWERS] share border with that political territory
[{'concept': 'Q15617994'}, 'P47', 'Q16']
SELECT DISTINCT ?p WHERE { resource:Q16 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Prince Edward Island United States of America Greenland
Prince Edward Island, United States of America and Greenland share border with that political territory
Prince Edward Island United States of America Greenland
action filter_type
action find
entity Canada
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'Canada']
SELECT DISTINCT ?p WHERE { resource:Canada property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]