Simple Question (Direct)
Simple Question
Q8009795
P1412
Q34770
USER
Which language can William George Howard Gritten read ?
(Q8009795,P1412,c(Q34770))
action filter_type
action find
entity Q8009795
relation P1412
type Q34770
['Q8009795', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q8009795 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
William George Howard Gritten
action filter_type
action find
entity William George Howard Gritten
relation languages spoken, written or signed
type language
['William George Howard Gritten', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:William_George_Howard_Gritten property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q8009795,P1412,c(Q34770))
action filter_type
action find
entity Q8009795
relation P1412
type Q34770
William George Howard Gritten can read in [ANSWER]
['Q8009795', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q8009795 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
William George Howard Gritten can read in English
English
action filter_type
action find
entity William George Howard Gritten
relation languages spoken, written or signed
type language
['William George Howard Gritten', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:William_George_Howard_Gritten property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8009795
P21
Q290
USER
Which sex does that person possess ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q8009795
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q8009795 property:P21 ?p . ?p rdf:type ontology:Q290 }
William George Howard Gritten
action filter_type
action find
entity William George Howard Gritten
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:William_George_Howard_Gritten property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q8009795
relation P21
type Q290
That person possesses a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q8009795 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity William George Howard Gritten
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:William_George_Howard_Gritten property:gender ?p . ?p rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q3823665 Q8009795
P21
Q290
USER
And also Antonio Moreno
AND((Q8009795,P21,c(Q290)), (Q3823665,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q8009795
relation P21
action find
entity Q3823665
relation P21
type Q290
{'AND': [['Q8009795', 'P21', {'concept': 'Q290'}], ['Q3823665', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q8009795 property:P21 ?c . resource:Q3823665 property:P21 ?c . ?c rdf:type ontology:Q290 }
Antonio Moreno William George Howard Gritten
action filter_type
action intersection
action find
entity William George Howard Gritten
relation gender
action find
entity Antonio Moreno
relation gender
type sex
{'AND': [['William George Howard Gritten', 'gender', {'concept': 'sex'}], ['Antonio Moreno', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:William_George_Howard_Gritten property:gender ?c . resource:Antonio_Moreno property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
AND((Q8009795,P21,c(Q290)), (Q3823665,P21,c(Q290)))
action filter_type
action intersection
action find
entity Q8009795
relation P21
action find
entity Q3823665
relation P21
type Q290
[ANSWER]
{'AND': [['Q8009795', 'P21', {'concept': 'Q290'}], ['Q3823665', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?c WHERE { resource:Q8009795 property:P21 ?c . resource:Q3823665 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
male
action filter_type
action intersection
action find
entity William George Howard Gritten
relation gender
action find
entity Antonio Moreno
relation gender
type sex
{'AND': [['William George Howard Gritten', 'gender', {'concept': 'sex'}], ['Antonio Moreno', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?c WHERE { resource:William_George_Howard_Gritten property:gender ?c . resource:Antonio_Moreno property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3823665
P19
Q1048835
USER
Which political territory is the birthplace of Antonio Moreno ?
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q3823665
relation P19
type Q1048835
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q3823665 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Antonio Moreno
action filter_type
action find
entity Antonio Moreno
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Moreno property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q846159
SYSTEM
Puerto Real
Q846159
(Q6581097,P19,c(Q1048835))
action filter_type
action find
entity Q3823665
relation P19
type Q1048835
De [ANSWER] is the birthplace of Antonio Moreno
['Q6581097', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { resource:Q3823665 property:P19 ?d . ?d rdf:type ontology:Q1048835 }
Puerto Real
De Puerto Real is the birthplace of Antonio Moreno
Puerto Real
action filter_type
action find
entity Antonio Moreno
relation place of birth
type political territorial entity
['male', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Antonio_Moreno property:place_of_birth ?d . ?d rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3823665
P106
Q12737077
USER
What does that person do for a living ?
(Q846159,P106,c(Q12737077))
action filter_type
action find
entity Q3823665
relation P106
type Q12737077
['Q846159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q3823665 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Antonio Moreno
action filter_type
action find
entity Antonio Moreno
relation occupation
type occupation
['Puerto Real', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Moreno property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q846159,P106,c(Q12737077))
action filter_type
action find
entity Q3823665
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q846159', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q3823665 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Antonio Moreno
relation occupation
type occupation
['Puerto Real', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Antonio_Moreno property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7037531 Q8009795
P27
Q15617994
USER
Which administrative territories are William George Howard Gritten or Nima Elbagir a civilian of ?
OR((Q8009795,P27,c(Q15617994)), (Q7037531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8009795
relation P27
action find
entity Q7037531
relation P27
type Q15617994
{'OR': [['Q8009795', 'P27', {'concept': 'Q15617994'}], ['Q7037531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P27 ?z . VALUES ( ?s ) { ( resource:Q8009795 ) ( resource:Q7037531 ) } } . ?z rdf:type ontology:Q15617994 }
Nima Elbagir William George Howard Gritten
action filter_type
action union
action find
entity William George Howard Gritten
relation country of citizenship
action find
entity Nima Elbagir
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William George Howard Gritten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nima Elbagir', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:country_of_citizenship ?z . VALUES ( ?s ) { ( resource:William_George_Howard_Gritten ) ( resource:Nima_Elbagir ) } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
OR((Q8009795,P27,c(Q15617994)), (Q7037531,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q8009795
relation P27
action find
entity Q7037531
relation P27
type Q15617994
[ANSWER] is William George Howard Gritten or Nima Elbagir a civilian of
{'OR': [['Q8009795', 'P27', {'concept': 'Q15617994'}], ['Q7037531', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:P27 ?z . VALUES ( ?s ) { ( resource:Q8009795 ) ( resource:Q7037531 ) } } . ?z rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is William George Howard Gritten or Nima Elbagir a civilian of
United Kingdom
action filter_type
action union
action find
entity William George Howard Gritten
relation country of citizenship
action find
entity Nima Elbagir
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['William George Howard Gritten', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Nima Elbagir', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { ?s property:country_of_citizenship ?z . VALUES ( ?s ) { ( resource:William_George_Howard_Gritten ) ( resource:Nima_Elbagir ) } } . ?z 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 Q805 Q654183
P530
Q15617994
USER
Does that administrative territory have diplomatic relations with Yemen and Burtscheid ?
(Q145,P530,Q805) (Q145,P530,Q654183)
action is_in
entity Q145
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q654183
relation P530
['Q145', 'P530', 'Q805'] ['Q145', 'P530', 'Q654183']
ASK WHERE { resource:Q145 property:P530 resource:Q805 . resource:Q145 property:P530 resource:Q654183 }
United Kingdom Yemen Burtscheid
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Burtscheid
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Yemen'] ['United Kingdom', 'diplomatic relation', 'Burtscheid']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Yemen . resource:United_Kingdom property:diplomatic_relation resource:Burtscheid }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q145,P530,Q805) (Q145,P530,Q654183)
action is_in
entity Q145
action intersection
action find_reverse
entity Q805
relation P530
action find_reverse
entity Q654183
relation P530
[ANSWER]
['Q145', 'P530', 'Q805'] ['Q145', 'P530', 'Q654183']
ASK WHERE { resource:Q145 property:P530 resource:Q805 . resource:Q145 property:P530 resource:Q654183 }
YES and NO respectively
action is_in
entity United Kingdom
action intersection
action find_reverse
entity Yemen
relation diplomatic relation
action find_reverse
entity Burtscheid
relation diplomatic relation
['United Kingdom', 'diplomatic relation', 'Yemen'] ['United Kingdom', 'diplomatic relation', 'Burtscheid']
ASK WHERE { resource:United_Kingdom property:diplomatic_relation resource:Yemen . resource:United_Kingdom property:diplomatic_relation resource:Burtscheid }
[]