Simple Question (Direct)
Simple Question
Q3313219
P19
Q56061
USER
Where was Mike Biggar born ?
(Q3313219,P19,c(Q56061))
action filter_type
action find
entity Q3313219
relation P19
type Q56061
['Q3313219', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3313219 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Mike Biggar
action filter_type
action find
entity Mike Biggar
relation place of birth
type administrative territorial entity
['Mike Biggar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mike_Biggar property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q36405
SYSTEM
Aberdeen
Q36405
(Q3313219,P19,c(Q56061))
action filter_type
action find
entity Q3313219
relation P19
type Q56061
Mike Biggar was born in [ANSWER]
['Q3313219', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3313219 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Aberdeen
Mike Biggar was born in Aberdeen
Aberdeen
action filter_type
action find
entity Mike Biggar
relation place of birth
type administrative territorial entity
['Mike Biggar', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Mike_Biggar property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3313219
P21
Q290
USER
What is the sex of that person ?
(Q36405,P21,c(Q290))
action filter_type
action find
entity Q3313219
relation P21
type Q290
['Q36405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q3313219 property:P21 ?h }
Mike Biggar
action filter_type
action find
entity Mike Biggar
relation gender
type sex
['Aberdeen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Mike_Biggar property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q36405,P21,c(Q290))
action filter_type
action find
entity Q3313219
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q36405', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q3313219 property:P21 ?h }
male
The sex of that person is a male
male
action filter_type
action find
entity Mike Biggar
relation gender
type sex
['Aberdeen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Mike_Biggar property:gender ?h }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3313219
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3313219
relation P27
type Q15617994
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3313219 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Mike Biggar
action filter_type
action find
entity Mike Biggar
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mike_Biggar property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q6581097,P27,c(Q15617994))
action filter_type
action find
entity Q3313219
relation P27
type Q15617994
[ANSWER] is the country of citizenship of that person
['Q6581097', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q3313219 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the country of citizenship of that person
United Kingdom
action filter_type
action find
entity Mike Biggar
relation country of citizenship
type designation for an administrative territorial entity
['male', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Mike_Biggar property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4775878 Q3313219
P39 P106
Q12737077
USER
Which occupations have Mike Biggar as his/her as a career or were the positions for which Anton Larson were appointed ?
OR((Q3313219,P106,c(Q12737077)), (Q4775878,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3313219
relation P106
action find
entity Q4775878
relation P39
type Q12737077
{'OR': [['Q3313219', 'P106', {'concept': 'Q12737077'}], ['Q4775878', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3313219 property:P106 ?d } UNION { resource:Q4775878 property:P39 ?d } } . ?d rdf:type ontology:Q12737077 }
Anton Larson Mike Biggar
action filter_type
action union
action find
entity Mike Biggar
relation occupation
action find
entity Anton Larson
relation position held
type occupation
{'OR': [['Mike Biggar', 'occupation', {'concept': 'occupation'}], ['Anton Larson', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Mike_Biggar property:occupation ?d } UNION { resource:Anton_Larson property:position_held ?d } } . ?d rdf:type ontology:occupation }
[]
occupation
Q21366730 Q14089670 Q19360961
SYSTEM
member of the State Senate of North Dakota, rugby union player, Member of the North Dakota House of Representatives
Q21366730 Q14089670 Q19360961
OR((Q3313219,P106,c(Q12737077)), (Q4775878,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q3313219
relation P106
action find
entity Q4775878
relation P39
type Q12737077
[ANSWERS] have Mike Biggar as his/her as a career or were the positions for which Anton Larson were appointed
{'OR': [['Q3313219', 'P106', {'concept': 'Q12737077'}], ['Q4775878', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q3313219 property:P106 ?d } UNION { resource:Q4775878 property:P39 ?d } } . ?d rdf:type ontology:Q12737077 }
member of the State Senate of North Dakota rugby union player Member of the North Dakota House of Representatives
Member of the State Senate of North Dakota, rugby union player and Member of the North Dakota House of Representatives have Mike Biggar as his/her as a career or were the positions for which Anton Larson were appointed
member of the State Senate of North Dakota rugby union player Member of the North Dakota House of Representatives
action filter_type
action union
action find
entity Mike Biggar
relation occupation
action find
entity Anton Larson
relation position held
type occupation
{'OR': [['Mike Biggar', 'occupation', {'concept': 'occupation'}], ['Anton Larson', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Mike_Biggar property:occupation ?d } UNION { resource:Anton_Larson property:position_held ?d } } . ?d rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5225111 Q3313219
P54
Q12973014
USER
Which sports teams are Mike Biggar or Darren Reid a member of ?
OR((Q3313219,P54,c(Q12973014)), (Q5225111,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3313219
relation P54
action find
entity Q5225111
relation P54
type Q12973014
{'OR': [['Q3313219', 'P54', {'concept': 'Q12973014'}], ['Q5225111', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3313219 property:P54 ?l } UNION { resource:Q5225111 property:P54 ?l } } . ?l rdf:type ontology:Q12973014 }
Darren Reid Mike Biggar
action filter_type
action union
action find
entity Mike Biggar
relation member of sports team
action find
entity Darren Reid
relation member of sports team
type sports team
{'OR': [['Mike Biggar', 'member of sports team', {'concept': 'sports team'}], ['Darren Reid', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Mike_Biggar property:member_of_sports_team ?l } UNION { resource:Darren_Reid property:member_of_sports_team ?l } } . ?l rdf:type ontology:sports_team }
[]
sports team
Q192083 Q945016 Q201864
SYSTEM
Philadelphia Flyers, Scotland national rugby union team, Tampa Bay Lightning
Q192083 Q945016 Q201864
OR((Q3313219,P54,c(Q12973014)), (Q5225111,P54,c(Q12973014)))
action filter_type
action union
action find
entity Q3313219
relation P54
action find
entity Q5225111
relation P54
type Q12973014
The [ANSWERS] are Mike Biggar or Darren Reid a member of
{'OR': [['Q3313219', 'P54', {'concept': 'Q12973014'}], ['Q5225111', 'P54', {'concept': 'Q12973014'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q3313219 property:P54 ?l } UNION { resource:Q5225111 property:P54 ?l } } . ?l rdf:type ontology:Q12973014 }
Philadelphia Flyers Scotland national rugby union team Tampa Bay Lightning
The Philadelphia Flyers, Scotland national rugby union team and Tampa Bay Lightning are Mike Biggar or Darren Reid a member of
Philadelphia Flyers Scotland national rugby union team Tampa Bay Lightning
action filter_type
action union
action find
entity Mike Biggar
relation member of sports team
action find
entity Darren Reid
relation member of sports team
type sports team
{'OR': [['Mike Biggar', 'member of sports team', {'concept': 'sports team'}], ['Darren Reid', 'member of sports team', {'concept': 'sports team'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Mike_Biggar property:member_of_sports_team ?l } UNION { resource:Darren_Reid property:member_of_sports_team ?l } } . ?l rdf:type ontology:sports_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q201864
P641
Q349
USER
Which sport was that sports team a part of ?
(Q201864,P641,c(Q349))
action filter_type
action find
entity Q201864
relation P641
type Q349
['Q201864', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q201864 property:P641 ?m . ?m rdf:type ontology:Q349 }
Tampa Bay Lightning
action filter_type
action find
entity Tampa Bay Lightning
relation sport
type sport
['Tampa Bay Lightning', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Tampa_Bay_Lightning property:sport ?m . ?m rdf:type ontology:sport }
[]
sport
Clarification for simple ques.
Q192083
SYSTEM
Did you mean Philadelphia Flyers ?
Q192083 Q945016 Q201864
(Q192083,P641,c(Q349)) (Q945016,P641,c(Q349)) (Q201864,P641,c(Q349))
[ANSWER]
['Q192083', 'P641', {'concept': 'Q349'}] ['Q945016', 'P641', {'concept': 'Q349'}] ['Q201864', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q201864 property:P641 ?m . ?m rdf:type ontology:Q349 }
Philadelphia Flyers Scotland national rugby union team Tampa Bay Lightning
Did you mean Philadelphia Flyers ?
Philadelphia Flyers
['Philadelphia Flyers', 'sport', {'concept': 'sport'}] ['Scotland national rugby union team', 'sport', {'concept': 'sport'}] ['Tampa Bay Lightning', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Tampa_Bay_Lightning property:sport ?m . ?m rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
USER
No, I meant Tampa Bay Lightning. Could you tell me the answer for that?
(Q201864,P641,c(Q349))
Q201864
['Q201864', 'P641', {'concept': 'Q349'}]
['Tampa Bay Lightning', 'sport', {'concept': 'sport'}]
[]
Q41466
SYSTEM
ice hockey
Q41466
(Q201864,P641,c(Q349))
action filter_type
action find
entity Q201864
relation P641
type Q349
The [ANSWER] was that sports team a part of
['Q201864', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { resource:Q201864 property:P641 ?m . ?m rdf:type ontology:Q349 }
ice hockey
The ice hockey was that sports team a part of
ice hockey
action filter_type
action find
entity Tampa Bay Lightning
relation sport
type sport
['Tampa Bay Lightning', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { resource:Tampa_Bay_Lightning property:sport ?m . ?m rdf:type ontology:sport }
[]