Simple Question (Direct)
Simple Question
Q1771362
P21
Q290
USER
What is the sex of Arvid Hanssen ?
(Q1771362,P21,c(Q290))
action filter_type
action find
entity Q1771362
relation P21
type Q290
['Q1771362', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1771362 property:P21 ?w . ?w rdf:type ontology:Q290 }
Arvid Hanssen
action filter_type
action find
entity Arvid Hanssen
relation gender
type sex
['Arvid Hanssen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Arvid_Hanssen property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1771362,P21,c(Q290))
action filter_type
action find
entity Q1771362
relation P21
type Q290
The sex of Arvid Hanssen is the [ANSWER]
['Q1771362', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q1771362 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
The sex of Arvid Hanssen is the male
male
action filter_type
action find
entity Arvid Hanssen
relation gender
type sex
['Arvid Hanssen', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Arvid_Hanssen property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1771362
P22
Q502895
USER
How many people are the offspring of Arvid Hanssen ?
(c(Q502895),P22,Q1771362)
action count
action filter_type
action find_reverse
entity Q1771362
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1771362']
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P22 resource:Q1771362 . ?g rdf:type ontology:Q502895 }
Arvid Hanssen
action count
action filter_type
action find_reverse
entity Arvid Hanssen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arvid Hanssen']
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:father resource:Arvid_Hanssen . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q21698132
(c(Q502895),P22,Q1771362)
action count
action filter_type
action find_reverse
entity Q1771362
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q1771362']
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:P22 resource:Q1771362 . ?g rdf:type ontology:Q502895 }
Arne Ivar Hanssen
1
action count
action filter_type
action find_reverse
entity Arvid Hanssen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arvid Hanssen']
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { ?g property:father resource:Arvid_Hanssen . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1771362
P22
Q502895
USER
Which person has Arvid Hanssen as dad ?
(c(Q502895),P22,Q1771362)
action filter_type
action find_reverse
entity Q1771362
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1771362']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1771362 . ?t rdf:type ontology:Q502895 }
Arvid Hanssen
action filter_type
action find_reverse
entity Arvid Hanssen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arvid Hanssen']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Arvid_Hanssen . ?t rdf:type ontology:common_name }
[]
common name
Q21698132
SYSTEM
Arne Ivar Hanssen
Q21698132
(c(Q502895),P22,Q1771362)
action filter_type
action find_reverse
entity Q1771362
relation P22
type Q502895
[ANSWER] has Arvid Hanssen as dad
[{'concept': 'Q502895'}, 'P22', 'Q1771362']
SELECT DISTINCT ?t WHERE { ?t property:P22 resource:Q1771362 . ?t rdf:type ontology:Q502895 }
Arne Ivar Hanssen
Arne Ivar Hanssen has Arvid Hanssen as dad
Arne Ivar Hanssen
action filter_type
action find_reverse
entity Arvid Hanssen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Arvid Hanssen']
SELECT DISTINCT ?t WHERE { ?t property:father resource:Arvid_Hanssen . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21698132
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q21698132,P27,c(Q15617994))
action filter_type
action find
entity Q21698132
relation P27
type Q15617994
['Q21698132', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q21698132 property:P27 ?d }
Arne Ivar Hanssen
action filter_type
action find
entity Arne Ivar Hanssen
relation country of citizenship
type designation for an administrative territorial entity
['Arne Ivar Hanssen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arne_Ivar_Hanssen property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q21698132,P27,c(Q15617994))
action filter_type
action find
entity Q21698132
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q21698132', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q21698132 property:P27 ?d }
Norway
Norway is that person an inhabitant of
Norway
action filter_type
action find
entity Arne Ivar Hanssen
relation country of citizenship
type designation for an administrative territorial entity
['Arne Ivar Hanssen', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Arne_Ivar_Hanssen property:country_of_citizenship ?d }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q20 Q789769
P463
Q484652
USER
Was that administrative territory a member of Council of the Baltic Sea States ?
(Q20,P463,Q789769)
action is_in
entity Q789769
action find
entity Q20
relation P463
['Q20', 'P463', 'Q789769']
ASK WHERE { resource:Q20 property:P463 resource:Q789769 }
Norway Council of the Baltic Sea States
action is_in
entity Council of the Baltic Sea States
action find
entity Norway
relation member of
['Norway', 'member of', 'Council of the Baltic Sea States']
ASK WHERE { resource:Norway property:member_of resource:Council_of_the_Baltic_Sea_States }
[]
international organization
SYSTEM
YES
(Q20,P463,Q789769)
action is_in
entity Q789769
action find
entity Q20
relation P463
[ANSWER]
['Q20', 'P463', 'Q789769']
ASK WHERE { resource:Q20 property:P463 resource:Q789769 }
Yes
action is_in
entity Council of the Baltic Sea States
action find
entity Norway
relation member of
['Norway', 'member of', 'Council of the Baltic Sea States']
ASK WHERE { resource:Norway property:member_of resource:Council_of_the_Baltic_Sea_States }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1501372 Q21698132
P106
Q12737077
USER
Which occupations are the job of Arne Ivar Hanssen or Gendün Chöphel ?
OR((Q21698132,P106,c(Q12737077)), (Q1501372,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21698132
relation P106
action find
entity Q1501372
relation P106
type Q12737077
{'OR': [['Q21698132', 'P106', {'concept': 'Q12737077'}], ['Q1501372', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q21698132 property:P106 ?y } UNION { resource:Q1501372 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
Gendün Chöphel Arne Ivar Hanssen
action filter_type
action union
action find
entity Arne Ivar Hanssen
relation occupation
action find
entity Gendün Chöphel
relation occupation
type occupation
{'OR': [['Arne Ivar Hanssen', 'occupation', {'concept': 'occupation'}], ['Gendün Chöphel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Arne_Ivar_Hanssen property:occupation ?y } UNION { resource:Gendün_Chöphel property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
occupation
Q201788 Q1028181 Q36180
SYSTEM
historian, painter, writer
Q201788 Q1028181 Q36180
OR((Q21698132,P106,c(Q12737077)), (Q1501372,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q21698132
relation P106
action find
entity Q1501372
relation P106
type Q12737077
The [ANSWERS] are the job of Arne Ivar Hanssen or Gendün Chöphel
{'OR': [['Q21698132', 'P106', {'concept': 'Q12737077'}], ['Q1501372', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q21698132 property:P106 ?y } UNION { resource:Q1501372 property:P106 ?y } } . ?y rdf:type ontology:Q12737077 }
historian painter writer
The historian, painter and writer are the job of Arne Ivar Hanssen or Gendün Chöphel
historian painter writer
action filter_type
action union
action find
entity Arne Ivar Hanssen
relation occupation
action find
entity Gendün Chöphel
relation occupation
type occupation
{'OR': [['Arne Ivar Hanssen', 'occupation', {'concept': 'occupation'}], ['Gendün Chöphel', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Arne_Ivar_Hanssen property:occupation ?y } UNION { resource:Gendün_Chöphel property:occupation ?y } } . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1501372
P50
Q11028
USER
What is the information written by Gendün Chöphel ?
(c(Q11028),P50,Q201788) (c(Q11028),P50,Q1028181) (c(Q11028),P50,Q36180)
action filter_type
action find_reverse
entity Q1501372
relation P50
type Q11028
[{'concept': 'Q11028'}, 'P50', 'Q201788'] [{'concept': 'Q11028'}, 'P50', 'Q1028181'] [{'concept': 'Q11028'}, 'P50', 'Q36180']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q1501372 . ?k rdf:type ontology:Q11028 }
Gendün Chöphel
action filter_type
action find_reverse
entity Gendün Chöphel
relation author
type information
[{'concept': 'information'}, 'author', 'historian'] [{'concept': 'information'}, 'author', 'painter'] [{'concept': 'information'}, 'author', 'writer']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Gendün_Chöphel . ?k rdf:type ontology:information }
[]
information
Q2249861
SYSTEM
White Annals
Q2249861
(c(Q11028),P50,Q201788) (c(Q11028),P50,Q1028181) (c(Q11028),P50,Q36180)
action filter_type
action find_reverse
entity Q1501372
relation P50
type Q11028
The information written by Gendün Chöphel is in [ANSWER]
[{'concept': 'Q11028'}, 'P50', 'Q201788'] [{'concept': 'Q11028'}, 'P50', 'Q1028181'] [{'concept': 'Q11028'}, 'P50', 'Q36180']
SELECT DISTINCT ?k WHERE { ?k property:P50 resource:Q1501372 . ?k rdf:type ontology:Q11028 }
White Annals
The information written by Gendün Chöphel is in White Annals
White Annals
action filter_type
action find_reverse
entity Gendün Chöphel
relation author
type information
[{'concept': 'information'}, 'author', 'historian'] [{'concept': 'information'}, 'author', 'painter'] [{'concept': 'information'}, 'author', 'writer']
SELECT DISTINCT ?k WHERE { ?k property:author resource:Gendün_Chöphel . ?k rdf:type ontology:information }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2249861
P495
Q7275
USER
Which state is the origin of that information ?
(Q2249861,P495,c(Q7275))
action filter_type
action find
entity Q2249861
relation P495
type Q7275
['Q2249861', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q2249861 property:P495 ?s . ?s rdf:type ontology:Q7275 }
White Annals
action filter_type
action find
entity White Annals
relation country of origin
type state
['White Annals', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:White_Annals property:country_of_origin ?s . ?s rdf:type ontology:state }
[]
state
Q2444884
SYSTEM
Tibet
Q2444884
(Q2249861,P495,c(Q7275))
action filter_type
action find
entity Q2249861
relation P495
type Q7275
[ANSWER] is the origin of that information
['Q2249861', 'P495', {'concept': 'Q7275'}]
SELECT DISTINCT ?s WHERE { resource:Q2249861 property:P495 ?s . ?s rdf:type ontology:Q7275 }
Tibet
Tibet is the origin of that information
Tibet
action filter_type
action find
entity White Annals
relation country of origin
type state
['White Annals', 'country of origin', {'concept': 'state'}]
SELECT DISTINCT ?s WHERE { resource:White_Annals property:country_of_origin ?s . ?s rdf:type ontology:state }
[]