Simple Question (Direct)
Simple Question
Q5904511
P1412
Q34770
USER
Which language is spoken by Hugo Hiriart ?
(Q5904511,P1412,c(Q34770))
action filter_type
action find
entity Q5904511
relation P1412
type Q34770
['Q5904511', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q5904511 property:P1412 ?y }
Hugo Hiriart
action filter_type
action find
entity Hugo Hiriart
relation languages spoken, written or signed
type language
['Hugo Hiriart', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Hugo_Hiriart property:languages_spoken,_written_or_signed ?y }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5904511,P1412,c(Q34770))
action filter_type
action find
entity Q5904511
relation P1412
type Q34770
Is [ANSWER] is spoken by Hugo Hiriart
['Q5904511', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q34770 . resource:Q5904511 property:P1412 ?y }
Spanish
Is Spanish is spoken by Hugo Hiriart
Spanish
action filter_type
action find
entity Hugo Hiriart
relation languages spoken, written or signed
type language
['Hugo Hiriart', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:language . resource:Hugo_Hiriart property:languages_spoken,_written_or_signed ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5904511
P27
Q15617994
USER
Which administrative territory is the native country of Hugo Hiriart ?
(Q5904511,P27,c(Q15617994))
action filter_type
action find
entity Q5904511
relation P27
type Q15617994
['Q5904511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5904511 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Hugo Hiriart
action filter_type
action find
entity Hugo Hiriart
relation country of citizenship
type designation for an administrative territorial entity
['Hugo Hiriart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Hugo_Hiriart property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q5904511,P27,c(Q15617994))
action filter_type
action find
entity Q5904511
relation P27
type Q15617994
[ANSWER] is the native country of Hugo Hiriart
['Q5904511', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q5904511 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Mexico
Mexico is the native country of Hugo Hiriart
Mexico
action filter_type
action find
entity Hugo Hiriart
relation country of citizenship
type designation for an administrative territorial entity
['Hugo Hiriart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Hugo_Hiriart property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6423941
Q15617994
USER
And also tell me about Knut Kleve?
(Q6423941,P27,c(Q15617994))
action filter_type
action find
entity Q6423941
relation P27
type Q15617994
['Q6423941', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6423941 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Knut Kleve
action filter_type
action find
entity Knut Kleve
relation country of citizenship
type designation for an administrative territorial entity
['Knut Kleve', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Knut_Kleve property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q20
SYSTEM
Norway
Q20
(Q6423941,P27,c(Q15617994))
action filter_type
action find
entity Q6423941
relation P27
type Q15617994
[ANSWER]
['Q6423941', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q6423941 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Norway
Norway
action filter_type
action find
entity Knut Kleve
relation country of citizenship
type designation for an administrative territorial entity
['Knut Kleve', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Knut_Kleve property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6423941
P106
Q12737077
USER
What is the job of that person ?
(Q20,P106,c(Q12737077))
action filter_type
action find
entity Q6423941
relation P106
type Q12737077
['Q20', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6423941 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Knut Kleve
action filter_type
action find
entity Knut Kleve
relation occupation
type occupation
['Norway', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Knut_Kleve property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q14467526
SYSTEM
linguist
Q14467526
(Q20,P106,c(Q12737077))
action filter_type
action find
entity Q6423941
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q20', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q6423941 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
linguist
The job of that person is a linguist
linguist
action filter_type
action find
entity Knut Kleve
relation occupation
type occupation
['Norway', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Knut_Kleve property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20
P137
Q3084961
USER
Which product lining can be described as service operator of Norway ?
(c(Q3084961),P137,Q20)
action filter_type
action find_reverse
entity Q20
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q20']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q20 . ?k rdf:type ontology:Q3084961 }
Norway
action filter_type
action find_reverse
entity Norway
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Norway']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:Norway . ?k rdf:type ontology:product_lining }
[]
product lining
Q933767
SYSTEM
Hawk 75
Q933767
(c(Q3084961),P137,Q20)
action filter_type
action find_reverse
entity Q20
relation P137
type Q3084961
[ANSWER] can be described as service operator of Norway
[{'concept': 'Q3084961'}, 'P137', 'Q20']
SELECT DISTINCT ?k WHERE { ?k property:P137 resource:Q20 . ?k rdf:type ontology:Q3084961 }
Hawk 75
Hawk 75 can be described as service operator of Norway
Hawk 75
action filter_type
action find_reverse
entity Norway
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Norway']
SELECT DISTINCT ?k WHERE { ?k property:operator resource:Norway . ?k rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q933767
P516
Q12757
USER
What powers that product lining ?
(Q933767,P516,c(Q12757))
action filter_type
action find
entity Q933767
relation P516
type Q12757
['Q933767', 'P516', {'concept': 'Q12757'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12757 . resource:Q933767 property:P516 ?n }
Hawk 75
action filter_type
action find
entity Hawk 75
relation powerplant
type internal combustion engine
['Hawk 75', 'powerplant', {'concept': 'internal combustion engine'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:internal_combustion_engine . resource:Hawk_75 property:powerplant ?n }
[]
internal combustion engine
Q1078024
SYSTEM
R-1820 Cyclone 9
Q1078024
(Q933767,P516,c(Q12757))
action filter_type
action find
entity Q933767
relation P516
type Q12757
[ANSWER] powers that product lining
['Q933767', 'P516', {'concept': 'Q12757'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12757 . resource:Q933767 property:P516 ?n }
R-1820 Cyclone 9
R-1820 Cyclone 9 powers that product lining
R-1820 Cyclone 9
action filter_type
action find
entity Hawk 75
relation powerplant
type internal combustion engine
['Hawk 75', 'powerplant', {'concept': 'internal combustion engine'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:internal_combustion_engine . resource:Hawk_75 property:powerplant ?n }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1078024 Q21031077
P516
Q3084961
USER
Does SM-1 Detroiter have that internal combustion engine as the source of power ?
(Q21031077,P516,Q1078024)
action is_in
entity Q21031077
action find
entity Q1078024
relation P516
['Q21031077', 'P516', 'Q1078024']
ASK WHERE { resource:Q1078024 property:P516 resource:Q21031077 }
R-1820 Cyclone 9 SM-1 Detroiter
action is_in
entity SM-1 Detroiter
action find
entity R-1820 Cyclone 9
relation powerplant
['SM-1 Detroiter', 'powerplant', 'R-1820 Cyclone 9']
ASK WHERE { resource:R-1820_Cyclone_9 property:powerplant resource:SM-1_Detroiter }
[]
product lining
SYSTEM
NO
(Q21031077,P516,Q1078024)
action is_in
entity Q21031077
action find
entity Q1078024
relation P516
[ANSWER]
['Q21031077', 'P516', 'Q1078024']
ASK WHERE { resource:Q1078024 property:P516 resource:Q21031077 }
No
action is_in
entity SM-1 Detroiter
action find
entity R-1820 Cyclone 9
relation powerplant
['SM-1 Detroiter', 'powerplant', 'R-1820 Cyclone 9']
ASK WHERE { resource:R-1820_Cyclone_9 property:powerplant resource:SM-1_Detroiter }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18158371 Q5904511
P140 P463
Q874405
USER
Which social groups were Hugo Hiriart a member of or are the religion of St. Francis of Assisi Catholic Church ?
OR((Q5904511,P463,c(Q874405)), (Q18158371,P140,c(Q874405)))
action filter_type
action union
action find
entity Q5904511
relation P463
action find
entity Q18158371
relation P140
type Q874405
{'OR': [['Q5904511', 'P463', {'concept': 'Q874405'}], ['Q18158371', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5904511 property:P463 ?p } UNION { resource:Q18158371 property:P140 ?p } } . ?p rdf:type ontology:Q874405 }
St. Francis of Assisi Catholic Church Hugo Hiriart
action filter_type
action union
action find
entity Hugo Hiriart
relation member of
action find
entity St. Francis of Assisi Catholic Church
relation religion
type social group
{'OR': [['Hugo Hiriart', 'member of', {'concept': 'social group'}], ['St. Francis of Assisi Catholic Church', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Hugo_Hiriart property:member_of ?p } UNION { resource:St._Francis_of_Assisi_Catholic_Church property:religion ?p } } . ?p rdf:type ontology:social_group }
[]
social group
Q2749618 Q1841
SYSTEM
Academia Mexicana de la Lengua, Catholicism
Q2749618 Q1841
OR((Q5904511,P463,c(Q874405)), (Q18158371,P140,c(Q874405)))
action filter_type
action union
action find
entity Q5904511
relation P463
action find
entity Q18158371
relation P140
type Q874405
[ANSWERS] were Hugo Hiriart a member of or are the religion of St. Francis of Assisi Catholic Church
{'OR': [['Q5904511', 'P463', {'concept': 'Q874405'}], ['Q18158371', 'P140', {'concept': 'Q874405'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q5904511 property:P463 ?p } UNION { resource:Q18158371 property:P140 ?p } } . ?p rdf:type ontology:Q874405 }
Academia Mexicana de la Lengua Catholicism
Academia Mexicana de la Lengua and Catholicism were Hugo Hiriart a member of or are the religion of St. Francis of Assisi Catholic Church
Academia Mexicana de la Lengua Catholicism
action filter_type
action union
action find
entity Hugo Hiriart
relation member of
action find
entity St. Francis of Assisi Catholic Church
relation religion
type social group
{'OR': [['Hugo Hiriart', 'member of', {'concept': 'social group'}], ['St. Francis of Assisi Catholic Church', 'religion', {'concept': 'social group'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Hugo_Hiriart property:member_of ?p } UNION { resource:St._Francis_of_Assisi_Catholic_Church property:religion ?p } } . ?p rdf:type ontology:social_group }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P941
Q874405 Q15709879
USER
How many social groups inspired approximately the same number of artwork series as that social group ?
(c(Q15709879),P941,c(Q874405))
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q874405 }
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:artwork_series . ?y rdf:type ontology:social_group }
[]
social group artwork series
Comparative|Count over More/Less|Single entity type|Clarification
Q1841
SYSTEM
Did you mean Catholicism ?
(c(Q15709879),P941,c(Q874405))
[ANSWER]
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q874405 }
Did you mean Catholicism ?
Catholicism
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:artwork_series . ?y rdf:type ontology:social_group }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q15709879),P941,c(Q874405))
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
[]
SYSTEM
1
Q1841
(c(Q15709879),P941,c(Q874405))
[ANSWER]
[{'concept': 'Q15709879'}, 'P941', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P941 ?y . ?z rdf:type ontology:Q15709879 . ?y rdf:type ontology:Q874405 }
Catholicism
1
[{'concept': 'artwork series'}, 'inspired by', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:inspired_by ?y . ?z rdf:type ontology:artwork_series . ?y rdf:type ontology:social_group }
[]