Simple Question (Direct)
Simple Question
Q3341828
P1196
Q1931388
USER
What manner did Nikos Kachtitsis die ?
(Q3341828,P1196,c(Q1931388))
action filter_type
action find
entity Q3341828
relation P1196
type Q1931388
['Q3341828', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q3341828 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
Nikos Kachtitsis
action filter_type
action find
entity Nikos Kachtitsis
relation manner of death
type cause of death
['Nikos Kachtitsis', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Nikos_Kachtitsis property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q3341828,P1196,c(Q1931388))
action filter_type
action find
entity Q3341828
relation P1196
type Q1931388
[ANSWER]
['Q3341828', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?n WHERE { resource:Q3341828 property:P1196 ?n . ?n rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Nikos Kachtitsis
relation manner of death
type cause of death
['Nikos Kachtitsis', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?n WHERE { resource:Nikos_Kachtitsis property:manner_of_death ?n . ?n rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3341828
P1412
Q34770
USER
Which language is spoken by Nikos Kachtitsis ?
(Q3341828,P1412,c(Q34770))
action filter_type
action find
entity Q3341828
relation P1412
type Q34770
['Q3341828', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3341828 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Nikos Kachtitsis
action filter_type
action find
entity Nikos Kachtitsis
relation languages spoken, written or signed
type language
['Nikos Kachtitsis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Nikos_Kachtitsis property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3341828,P1412,c(Q34770))
action filter_type
action find
entity Q3341828
relation P1412
type Q34770
[ANSWER]
['Q3341828', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q3341828 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Nikos Kachtitsis
relation languages spoken, written or signed
type language
['Nikos Kachtitsis', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Nikos_Kachtitsis property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3341828
P172
Q2472587
USER
Which ethnic group does Nikos Kachtitsis belong ?
(Q3341828,P172,c(Q2472587))
action filter_type
action find
entity Q3341828
relation P172
type Q2472587
['Q3341828', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?u WHERE { resource:Q3341828 property:P172 ?u . ?u rdf:type ontology:Q2472587 }
Nikos Kachtitsis
action filter_type
action find
entity Nikos Kachtitsis
relation ethnic group
type people
['Nikos Kachtitsis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?u WHERE { resource:Nikos_Kachtitsis property:ethnic_group ?u . ?u rdf:type ontology:people }
[]
people
Q539051
SYSTEM
Greeks
Q539051
(Q3341828,P172,c(Q2472587))
action filter_type
action find
entity Q3341828
relation P172
type Q2472587
[ANSWER]
['Q3341828', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?u WHERE { resource:Q3341828 property:P172 ?u . ?u rdf:type ontology:Q2472587 }
Greeks
Greeks
action filter_type
action find
entity Nikos Kachtitsis
relation ethnic group
type people
['Nikos Kachtitsis', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?u WHERE { resource:Nikos_Kachtitsis property:ethnic_group ?u . ?u rdf:type ontology:people }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7160723
Q2472587
USER
And also tell me about Peggy Quince?
(Q7160723,P172,c(Q2472587))
action filter_type
action find
entity Q7160723
relation P172
type Q2472587
['Q7160723', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?n WHERE { resource:Q7160723 property:P172 ?n . ?n rdf:type ontology:Q2472587 }
Peggy Quince
action filter_type
action find
entity Peggy Quince
relation ethnic group
type people
['Peggy Quince', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?n WHERE { resource:Peggy_Quince property:ethnic_group ?n . ?n rdf:type ontology:people }
[]
people
Q49085
SYSTEM
African Americans
Q49085
(Q7160723,P172,c(Q2472587))
action filter_type
action find
entity Q7160723
relation P172
type Q2472587
[ANSWER]
['Q7160723', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?n WHERE { resource:Q7160723 property:P172 ?n . ?n rdf:type ontology:Q2472587 }
African Americans
African Americans
action filter_type
action find
entity Peggy Quince
relation ethnic group
type people
['Peggy Quince', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?n WHERE { resource:Peggy_Quince property:ethnic_group ?n . ?n rdf:type ontology:people }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1993027 Q3341828
P47 P27
Q1048835
USER
Which political territories are the native countriesof Nikos Kachtitsis or are adjacent to Turís ?
OR((Q3341828,P27,c(Q1048835)), (Q1993027,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3341828
relation P27
action find
entity Q1993027
relation P47
type Q1048835
{'OR': [['Q3341828', 'P27', {'concept': 'Q1048835'}], ['Q1993027', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3341828 property:P27 ?c } UNION { resource:Q1993027 property:P47 ?c } } . ?c rdf:type ontology:Q1048835 }
Turís Nikos Kachtitsis
action filter_type
action union
action find
entity Nikos Kachtitsis
relation country of citizenship
action find
entity Turís
relation shares border with
type political territorial entity
{'OR': [['Nikos Kachtitsis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Turís', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Nikos_Kachtitsis property:country_of_citizenship ?c } UNION { resource:Turís property:shares_border_with ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1917954 Q16 Q604539 Q680697 Q104483 Q161945 Q1989384
SYSTEM
Alborache, Canada, Montserrat, Dos Aguas, Godelleta, Torrent, Montroi
Q1917954 Q16 Q604539 Q680697 Q104483 Q161945 Q1989384
OR((Q3341828,P27,c(Q1048835)), (Q1993027,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q3341828
relation P27
action find
entity Q1993027
relation P47
type Q1048835
[ANSWERS]
{'OR': [['Q3341828', 'P27', {'concept': 'Q1048835'}], ['Q1993027', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q3341828 property:P27 ?c } UNION { resource:Q1993027 property:P47 ?c } } . ?c rdf:type ontology:Q1048835 }
Alborache Canada Montserrat Dos Aguas Godelleta Torrent Montroi
Alborache Canada Montserrat Dos Aguas Godelleta Torrent Montroi
action filter_type
action union
action find
entity Nikos Kachtitsis
relation country of citizenship
action find
entity Turís
relation shares border with
type political territorial entity
{'OR': [['Nikos Kachtitsis', 'country of citizenship', {'concept': 'political territorial entity'}], ['Turís', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Nikos_Kachtitsis property:country_of_citizenship ?c } UNION { resource:Turís property:shares_border_with ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1993027
P47
Q1048835
USER
How many political territories do Turís share a border with ?
(c(Q1048835),P47,Q1993027)
action count
action filter_type
action find_reverse
entity Q1993027
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q1993027']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P47 resource:Q1993027 . ?q rdf:type ontology:Q1048835 }
Turís
action count
action filter_type
action find_reverse
entity Turís
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Turís']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:shares_border_with resource:Turís . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
Q104483 Q1917954 Q604539 Q161945 Q680697 Q1989384
(c(Q1048835),P47,Q1993027)
action count
action filter_type
action find_reverse
entity Q1993027
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q1993027']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:P47 resource:Q1993027 . ?q rdf:type ontology:Q1048835 }
Godelleta Alborache Montserrat Torrent Dos Aguas Montroi
6
action count
action filter_type
action find_reverse
entity Turís
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Turís']
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { ?q property:shares_border_with resource:Turís . ?q rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3341828
P509
Q2057971
USER
What lead to the death of Nikos Kachtitsis ?
(Q3341828,P509,c(Q2057971))
action filter_type
action find
entity Q3341828
relation P509
type Q2057971
['Q3341828', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q3341828 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
Nikos Kachtitsis
action filter_type
action find
entity Nikos Kachtitsis
relation cause of death
type health problem
['Nikos Kachtitsis', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Nikos_Kachtitsis property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
health problem
Q29496
SYSTEM
leukemia
Q29496
(Q3341828,P509,c(Q2057971))
action filter_type
action find
entity Q3341828
relation P509
type Q2057971
[ANSWER]
['Q3341828', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?s WHERE { resource:Q3341828 property:P509 ?s . ?s rdf:type ontology:Q2057971 }
leukemia
leukemia
action filter_type
action find
entity Nikos Kachtitsis
relation cause of death
type health problem
['Nikos Kachtitsis', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?s WHERE { resource:Nikos_Kachtitsis property:cause_of_death ?s . ?s rdf:type ontology:health_problem }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P828
Q181394 Q2057971
USER
Which nutrients are the causes of atleast 1 health problem ?
(c(Q2057971),P828,c(Q181394))
action atleast
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
value 1
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q181394'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P828 ?x . ?r rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q181394 } GROUP BY ?x } . FILTER ( ?z >= 1 ) }
action atleast
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'nutrient'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:has_cause ?x . ?r rdf:type ontology:health_problem . ?x rdf:type ontology:nutrient } GROUP BY ?x } . FILTER ( ?z >= 1 ) }
[]
nutrient health problem
Q419507 Q412310 Q47051
SYSTEM
Microtubule-associated protein tau, von Willebrand factor, prion
Q412310 Q188251 Q47051 Q419507
(c(Q2057971),P828,c(Q181394))
action atleast
action find_reverse_tuple_counts
relation P828
type Q181394
type Q2057971
value 1
[ANSWERS]
[{'concept': 'Q2057971'}, 'P828', {'concept': 'Q181394'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:P828 ?x . ?r rdf:type ontology:Q2057971 . ?x rdf:type ontology:Q181394 } GROUP BY ?x } . FILTER ( ?z >= 1 ) }
von Willebrand factor gluten prion Microtubule-associated protein tau
Microtubule-associated protein tau von Willebrand factor prion
action atleast
action find_reverse_tuple_counts
relation has cause
type nutrient
type health problem
value 1
[{'concept': 'health problem'}, 'has cause', {'concept': 'nutrient'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?z ) WHERE { ?r property:has_cause ?x . ?r rdf:type ontology:health_problem . ?x rdf:type ontology:nutrient } GROUP BY ?x } . FILTER ( ?z >= 1 ) }
[]