Simple Question (Direct)
Simple Question
Q152302
P140
Q879146
USER
Which Christian denomination does Norberto Rivera Carrera relate to ?
(Q152302,P140,c(Q879146))
action filter_type
action find
entity Q152302
relation P140
type Q879146
['Q152302', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q152302 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Norberto Rivera Carrera
action filter_type
action find
entity Norberto Rivera Carrera
relation religion
type Christian denomination
['Norberto Rivera Carrera', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Norberto_Rivera_Carrera property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q152302,P140,c(Q879146))
action filter_type
action find
entity Q152302
relation P140
type Q879146
Norberto Rivera Carrera relates the [ANSWER]
['Q152302', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?k WHERE { resource:Q152302 property:P140 ?k . ?k rdf:type ontology:Q879146 }
Roman Catholic Church
Norberto Rivera Carrera relates the Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Norberto Rivera Carrera
relation religion
type Christian denomination
['Norberto Rivera Carrera', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?k WHERE { resource:Norberto_Rivera_Carrera property:religion ?k . ?k rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152302
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q152302
relation P27
type Q15617994
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q152302 property:P27 ?g }
Norberto Rivera Carrera
action filter_type
action find
entity Norberto Rivera Carrera
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norberto_Rivera_Carrera property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q9592,P27,c(Q15617994))
action filter_type
action find
entity Q152302
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q9592', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q152302 property:P27 ?g }
Mexico
Mexico is that person a civilian of
Mexico
action filter_type
action find
entity Norberto Rivera Carrera
relation country of citizenship
type designation for an administrative territorial entity
['Roman Catholic Church', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Norberto_Rivera_Carrera property:country_of_citizenship ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q152302
P1412
Q34770
USER
Which language can Norberto Rivera Carrera read ?
(Q152302,P1412,c(Q34770))
action filter_type
action find
entity Q152302
relation P1412
type Q34770
['Q152302', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q152302 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Norberto Rivera Carrera
action filter_type
action find
entity Norberto Rivera Carrera
relation languages spoken, written or signed
type language
['Norberto Rivera Carrera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Norberto_Rivera_Carrera property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q152302,P1412,c(Q34770))
action filter_type
action find
entity Q152302
relation P1412
type Q34770
Norberto Rivera Carrera can read in [ANSWER]
['Q152302', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q152302 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Norberto Rivera Carrera can read in Spanish
Spanish
action filter_type
action find
entity Norberto Rivera Carrera
relation languages spoken, written or signed
type language
['Norberto Rivera Carrera', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Norberto_Rivera_Carrera property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1321 Q4892469
P1412
Q502895
USER
Does Mario Fernández Pelaz used that language ?
(Q4892469,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q4892469
relation P1412
['Q4892469', 'P1412', 'Q1321']
ASK WHERE { resource:Q4892469 property:P1412 resource:Q1321 }
Spanish Mario Fernández Pelaz
action is_in
entity Spanish
action find
entity Mario Fernández Pelaz
relation languages spoken, written or signed
['Mario Fernández Pelaz', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Mario_Fernández_Pelaz property:languages_spoken,_written_or_signed resource:Spanish }
[]
common name
SYSTEM
YES
(Q4892469,P1412,Q1321)
action is_in
entity Q1321
action find
entity Q4892469
relation P1412
[ANSWER]
['Q4892469', 'P1412', 'Q1321']
ASK WHERE { resource:Q4892469 property:P1412 resource:Q1321 }
Yes
action is_in
entity Spanish
action find
entity Mario Fernández Pelaz
relation languages spoken, written or signed
['Mario Fernández Pelaz', 'languages spoken, written or signed', 'Spanish']
ASK WHERE { resource:Mario_Fernández_Pelaz property:languages_spoken,_written_or_signed resource:Spanish }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have diplomatic relationships with Mexico ?
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { resource:Q96 property:P530 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q96 property:P530 ?j . ?j rdf:type ontology:Q1048835 } }
Mexico
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { resource:Mexico property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Mexico property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2 political territories and 2 administrative territories
Q155 Q408 Q38 Q183
(Q96,P530,c(Q1048835)) (Q96,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q96
relation P530
type Q1048835
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWER]
['Q96', 'P530', {'concept': 'Q1048835'}] ['Q96', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { resource:Q96 property:P530 ?j . ?j rdf:type ontology:Q15617994 } UNION { resource:Q96 property:P530 ?j . ?j rdf:type ontology:Q1048835 } }
Brazil Australia Italy Germany
2 political territories and 2 administrative territories
action count
action union
action filter_type
action find
entity Mexico
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['Mexico', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Mexico', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?o ) WHERE { { resource:Mexico property:diplomatic_relation ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Mexico property:diplomatic_relation ?j . ?j rdf:type ontology:political_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q96
P291
Q571
USER
What was published in Mexico ?
(c(Q571),P291,Q96)
action filter_type
action find_reverse
entity Q96
relation P291
type Q571
[{'concept': 'Q571'}, 'P291', 'Q96']
SELECT DISTINCT ?a WHERE { ?a property:P291 resource:Q96 . ?a rdf:type ontology:Q571 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Mexico']
SELECT DISTINCT ?a WHERE { ?a property:place_of_publication resource:Mexico . ?a rdf:type ontology:book }
[]
book
Q17417565
SYSTEM
The Concept of Nature in Marx (Spanish edition, 1976)
Q17417565
(c(Q571),P291,Q96)
action filter_type
action find_reverse
entity Q96
relation P291
type Q571
[ANSWER] was published in Mexico
[{'concept': 'Q571'}, 'P291', 'Q96']
SELECT DISTINCT ?a WHERE { ?a property:P291 resource:Q96 . ?a rdf:type ontology:Q571 }
The Concept of Nature in Marx (Spanish edition, 1976)
The Concept of Nature in Marx (Spanish edition, 1976) was published in Mexico
The Concept of Nature in Marx (Spanish edition, 1976)
action filter_type
action find_reverse
entity Mexico
relation place of publication
type book
[{'concept': 'book'}, 'place of publication', 'Mexico']
SELECT DISTINCT ?a WHERE { ?a property:place_of_publication resource:Mexico . ?a rdf:type ontology:book }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17417565
P629
Q2342494
USER
What is that book an edition or translation of ?
(Q17417565,P629,c(Q2342494))
action filter_type
action find
entity Q17417565
relation P629
type Q2342494
['Q17417565', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q17417565 property:P629 ?b . ?b rdf:type ontology:Q2342494 }
The Concept of Nature in Marx (Spanish edition, 1976)
action filter_type
action find
entity The Concept of Nature in Marx (Spanish edition, 1976)
relation edition or translation of
type collectable
['The Concept of Nature in Marx (Spanish edition, 1976)', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:The_Concept_of_Nature_in_Marx_(Spanish_edition,_1976) property:edition_or_translation_of ?b . ?b rdf:type ontology:collectable }
[]
collectable
Q7727273
SYSTEM
The Concept of Nature in Marx
Q7727273
(Q17417565,P629,c(Q2342494))
action filter_type
action find
entity Q17417565
relation P629
type Q2342494
That book an edition or translation of is [ANSWER]
['Q17417565', 'P629', {'concept': 'Q2342494'}]
SELECT DISTINCT ?b WHERE { resource:Q17417565 property:P629 ?b . ?b rdf:type ontology:Q2342494 }
The Concept of Nature in Marx
That book an edition or translation of is The Concept of Nature in Marx
The Concept of Nature in Marx
action filter_type
action find
entity The Concept of Nature in Marx (Spanish edition, 1976)
relation edition or translation of
type collectable
['The Concept of Nature in Marx (Spanish edition, 1976)', 'edition or translation of', {'concept': 'collectable'}]
SELECT DISTINCT ?b WHERE { resource:The_Concept_of_Nature_in_Marx_(Spanish_edition,_1976) property:edition_or_translation_of ?b . ?b rdf:type ontology:collectable }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7727273 Q9061 Q18986141
P921
Q502895
USER
Was The Concept of Nature in Marx primarily based on Karl Marx and Rocha Lima ?
(Q7727273,P921,Q9061) (Q7727273,P921,Q18986141)
action is_in
entity Q7727273
action intersection
action find_reverse
entity Q9061
relation P921
action find_reverse
entity Q18986141
relation P921
['Q7727273', 'P921', 'Q9061'] ['Q7727273', 'P921', 'Q18986141']
ASK WHERE { resource:Q7727273 property:P921 resource:Q9061 . resource:Q7727273 property:P921 resource:Q18986141 }
The Concept of Nature in Marx Karl Marx Rocha Lima
action is_in
entity The Concept of Nature in Marx
action intersection
action find_reverse
entity Karl Marx
relation main subject
action find_reverse
entity Rocha Lima
relation main subject
['The Concept of Nature in Marx', 'main subject', 'Karl Marx'] ['The Concept of Nature in Marx', 'main subject', 'Rocha Lima']
ASK WHERE { resource:The_Concept_of_Nature_in_Marx property:main_subject resource:Karl_Marx . resource:The_Concept_of_Nature_in_Marx property:main_subject resource:Rocha_Lima }
[]
common name
SYSTEM
YES and NO respectively
(Q7727273,P921,Q9061) (Q7727273,P921,Q18986141)
action is_in
entity Q7727273
action intersection
action find_reverse
entity Q9061
relation P921
action find_reverse
entity Q18986141
relation P921
[ANSWER]
['Q7727273', 'P921', 'Q9061'] ['Q7727273', 'P921', 'Q18986141']
ASK WHERE { resource:Q7727273 property:P921 resource:Q9061 . resource:Q7727273 property:P921 resource:Q18986141 }
YES and NO respectively
action is_in
entity The Concept of Nature in Marx
action intersection
action find_reverse
entity Karl Marx
relation main subject
action find_reverse
entity Rocha Lima
relation main subject
['The Concept of Nature in Marx', 'main subject', 'Karl Marx'] ['The Concept of Nature in Marx', 'main subject', 'Rocha Lima']
ASK WHERE { resource:The_Concept_of_Nature_in_Marx property:main_subject resource:Karl_Marx . resource:The_Concept_of_Nature_in_Marx property:main_subject resource:Rocha_Lima }
[]