Simple Question (Direct)
Simple Question
Q378583
P21
Q290
USER
Which sex does Pierluigi Casiraghi possess ?
(Q378583,P21,c(Q290))
action filter_type
action find
entity Q378583
relation P21
type Q290
['Q378583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q378583 property:P21 ?t . ?t rdf:type ontology:Q290 }
Pierluigi Casiraghi
action filter_type
action find
entity Pierluigi Casiraghi
relation gender
type sex
['Pierluigi Casiraghi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pierluigi_Casiraghi property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q378583,P21,c(Q290))
action filter_type
action find
entity Q378583
relation P21
type Q290
Pierluigi Casiraghi possesses un [ANSWER]
['Q378583', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q378583 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Pierluigi Casiraghi possesses un male
male
action filter_type
action find
entity Pierluigi Casiraghi
relation gender
type sex
['Pierluigi Casiraghi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Pierluigi_Casiraghi property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378583
P54
Q43229
USER
Which organization is Pierluigi Casiraghi a member of ?
(Q378583,P54,c(Q43229))
action filter_type
action find
entity Q378583
relation P54
type Q43229
['Q378583', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q378583 property:P54 ?n }
Pierluigi Casiraghi
action filter_type
action find
entity Pierluigi Casiraghi
relation member of sports team
type organization
['Pierluigi Casiraghi', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:Pierluigi_Casiraghi property:member_of_sports_team ?n }
[]
organization
Q1422
SYSTEM
Juventus F.C.
Q1422
(Q378583,P54,c(Q43229))
action filter_type
action find
entity Q378583
relation P54
type Q43229
[ANSWER] is Pierluigi Casiraghi a member of
['Q378583', 'P54', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q378583 property:P54 ?n }
Juventus F.C.
Juventus F.C. is Pierluigi Casiraghi a member of
Juventus F.C.
action filter_type
action find
entity Pierluigi Casiraghi
relation member of sports team
type organization
['Pierluigi Casiraghi', 'member of sports team', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:Pierluigi_Casiraghi property:member_of_sports_team ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378583
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Pierluigi Casiraghi ?
(Q378583,P27,c(Q15617994))
action filter_type
action find
entity Q378583
relation P27
type Q15617994
['Q378583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q378583 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Pierluigi Casiraghi
action filter_type
action find
entity Pierluigi Casiraghi
relation country of citizenship
type designation for an administrative territorial entity
['Pierluigi Casiraghi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Pierluigi_Casiraghi property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q378583,P27,c(Q15617994))
action filter_type
action find
entity Q378583
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Pierluigi Casiraghi
['Q378583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q378583 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Italy
Of Italy is the country of citizenship of Pierluigi Casiraghi
Italy
action filter_type
action find
entity Pierluigi Casiraghi
relation country of citizenship
type designation for an administrative territorial entity
['Pierluigi Casiraghi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Pierluigi_Casiraghi property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q781719
Q15617994
USER
And how about Charles Alfred Payton?
(Q781719,P27,c(Q15617994))
action filter_type
action find
entity Q781719
relation P27
type Q15617994
['Q781719', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q781719 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Charles Alfred Payton
action filter_type
action find
entity Charles Alfred Payton
relation country of citizenship
type designation for an administrative territorial entity
['Charles Alfred Payton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Alfred_Payton property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q781719,P27,c(Q15617994))
action filter_type
action find
entity Q781719
relation P27
type Q15617994
[ANSWER]
['Q781719', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q781719 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Charles Alfred Payton
relation country of citizenship
type designation for an administrative territorial entity
['Charles Alfred Payton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Charles_Alfred_Payton property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q145 Q264766 Q8075528
P6
Q502895
USER
Does that administrative territory have Theresa May and Zvi Brenner as its administrative leader ?
(Q145,P6,Q264766) (Q145,P6,Q8075528)
action is_in
entity Q145
action intersection
action find_reverse
entity Q264766
relation P6
action find_reverse
entity Q8075528
relation P6
['Q145', 'P6', 'Q264766'] ['Q145', 'P6', 'Q8075528']
ASK WHERE { resource:Q145 property:P6 resource:Q264766 . resource:Q145 property:P6 resource:Q8075528 }
United Kingdom Theresa May Zvi Brenner
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Theresa May
relation head of government
action find_reverse
entity Zvi Brenner
relation head of government
['United Kingdom', 'head of government', 'Theresa May'] ['United Kingdom', 'head of government', 'Zvi Brenner']
ASK WHERE { resource:United_Kingdom property:head_of_government resource:Theresa_May . resource:United_Kingdom property:head_of_government resource:Zvi_Brenner }
[]
common name
SYSTEM
YES and NO respectively
(Q145,P6,Q264766) (Q145,P6,Q8075528)
action is_in
entity Q145
action intersection
action find_reverse
entity Q264766
relation P6
action find_reverse
entity Q8075528
relation P6
[ANSWER]
['Q145', 'P6', 'Q264766'] ['Q145', 'P6', 'Q8075528']
ASK WHERE { resource:Q145 property:P6 resource:Q264766 . resource:Q145 property:P6 resource:Q8075528 }
YES and NO respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Theresa May
relation head of government
action find_reverse
entity Zvi Brenner
relation head of government
['United Kingdom', 'head of government', 'Theresa May'] ['United Kingdom', 'head of government', 'Zvi Brenner']
ASK WHERE { resource:United_Kingdom property:head_of_government resource:Theresa_May . resource:United_Kingdom property:head_of_government resource:Zvi_Brenner }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378583
P641
Q349
USER
What was the sport that Pierluigi Casiraghi was a part of ?
(Q378583,P641,c(Q349))
action filter_type
action find
entity Q378583
relation P641
type Q349
['Q378583', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q378583 property:P641 ?r . ?r rdf:type ontology:Q349 }
Pierluigi Casiraghi
action filter_type
action find
entity Pierluigi Casiraghi
relation sport
type sport
['Pierluigi Casiraghi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Pierluigi_Casiraghi property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q378583,P641,c(Q349))
action filter_type
action find
entity Q378583
relation P641
type Q349
The sport that Pierluigi Casiraghi was a part of was the [ANSWER]
['Q378583', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q378583 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
The sport that Pierluigi Casiraghi was a part of was the association football
association football
action filter_type
action find
entity Pierluigi Casiraghi
relation sport
type sport
['Pierluigi Casiraghi', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Pierluigi_Casiraghi property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q378583
P1344
Q1375427
USER
Which European Championship did Pierluigi Casiraghi participate in ?
(Q378583,P1344,c(Q1375427))
action filter_type
action find
entity Q378583
relation P1344
type Q1375427
['Q378583', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?g WHERE { resource:Q378583 property:P1344 ?g . ?g rdf:type ontology:Q1375427 }
Pierluigi Casiraghi
action filter_type
action find
entity Pierluigi Casiraghi
relation participant of
type European Championship
['Pierluigi Casiraghi', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?g WHERE { resource:Pierluigi_Casiraghi property:participant_of ?g . ?g rdf:type ontology:European_Championship }
[]
European Championship
Q180563
SYSTEM
UEFA Euro 1996
Q180563
(Q378583,P1344,c(Q1375427))
action filter_type
action find
entity Q378583
relation P1344
type Q1375427
Pierluigi Casiraghi participated in [ANSWER]
['Q378583', 'P1344', {'concept': 'Q1375427'}]
SELECT DISTINCT ?g WHERE { resource:Q378583 property:P1344 ?g . ?g rdf:type ontology:Q1375427 }
UEFA Euro 1996
Pierluigi Casiraghi participated in UEFA Euro 1996
UEFA Euro 1996
action filter_type
action find
entity Pierluigi Casiraghi
relation participant of
type European Championship
['Pierluigi Casiraghi', 'participant of', {'concept': 'European Championship'}]
SELECT DISTINCT ?g WHERE { resource:Pierluigi_Casiraghi property:participant_of ?g . ?g rdf:type ontology:European_Championship }
[]