Simple Question (Direct)
Simple Question
Q78730
P27
Q15617994
USER
Which administrative territory is Herbert Graf a civilian of ?
(Q78730,P27,c(Q15617994))
action filter_type
action find
entity Q78730
relation P27
type Q15617994
['Q78730', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q78730 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Herbert Graf
action filter_type
action find
entity Herbert Graf
relation country of citizenship
type designation for an administrative territorial entity
['Herbert Graf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Herbert_Graf property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q78730,P27,c(Q15617994))
action filter_type
action find
entity Q78730
relation P27
type Q15617994
Which administrative territory is Herbert Graf a civilian of
['Q78730', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q78730 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
Which administrative territory is Herbert Graf a civilian of
United States of America
action filter_type
action find
entity Herbert Graf
relation country of citizenship
type designation for an administrative territorial entity
['Herbert Graf', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Herbert_Graf property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78730
P1412
Q34770
USER
Which language can Herbert Graf read ?
(Q78730,P1412,c(Q34770))
action filter_type
action find
entity Q78730
relation P1412
type Q34770
['Q78730', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q78730 property:P1412 ?t }
Herbert Graf
action filter_type
action find
entity Herbert Graf
relation languages spoken, written or signed
type language
['Herbert Graf', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Herbert_Graf property:languages_spoken,_written_or_signed ?t }
[]
language
Q1860
SYSTEM
English
Q1860
(Q78730,P1412,c(Q34770))
action filter_type
action find
entity Q78730
relation P1412
type Q34770
Herbert Graf can read [ANSWER]
['Q78730', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q78730 property:P1412 ?t }
English
Herbert Graf can read English
English
action filter_type
action find
entity Herbert Graf
relation languages spoken, written or signed
type language
['Herbert Graf', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Herbert_Graf property:languages_spoken,_written_or_signed ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78730
P21
Q290
USER
What is the sex of Herbert Graf ?
(Q78730,P21,c(Q290))
action filter_type
action find
entity Q78730
relation P21
type Q290
['Q78730', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q78730 property:P21 ?a . ?a rdf:type ontology:Q290 }
Herbert Graf
action filter_type
action find
entity Herbert Graf
relation gender
type sex
['Herbert Graf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Herbert_Graf property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q78730,P21,c(Q290))
action filter_type
action find
entity Q78730
relation P21
type Q290
The sex of Herbert Graf is the [ANSWER]
['Q78730', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q78730 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
The sex of Herbert Graf is the male
male
action filter_type
action find
entity Herbert Graf
relation gender
type sex
['Herbert Graf', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Herbert_Graf property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q78730
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q78730
relation P20
type Q56061
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q78730 property:P20 ?r }
Herbert Graf
action filter_type
action find
entity Herbert Graf
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Herbert_Graf property:place_of_death ?r }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
(Q6581097,P20,c(Q56061))
action filter_type
action find
entity Q78730
relation P20
type Q56061
The expiration of that person occurred in [ANSWER]
['Q6581097', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q78730 property:P20 ?r }
Geneva
The expiration of that person occurred in Geneva
Geneva
action filter_type
action find
entity Herbert Graf
relation place of death
type administrative territorial entity
['male', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Herbert_Graf property:place_of_death ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q78730
P937
Q56061
USER
Where did Herbert Graf work ?
(Q78730,P937,c(Q56061))
action filter_type
action find
entity Q78730
relation P937
type Q56061
['Q78730', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q78730 property:P937 ?r . ?r rdf:type ontology:Q56061 }
Herbert Graf
action filter_type
action find
entity Herbert Graf
relation work location
type administrative territorial entity
['Herbert Graf', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Graf property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q78730,P937,c(Q56061))
action filter_type
action find
entity Q78730
relation P937
type Q56061
Herbert Graf worked in [ANSWER]
['Q78730', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q78730 property:P937 ?r . ?r rdf:type ontology:Q56061 }
New York City
Herbert Graf worked in New York City
New York City
action filter_type
action find
entity Herbert Graf
relation work location
type administrative territorial entity
['Herbert Graf', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Herbert_Graf property:work_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q60 Q312502
P6
Q502895
USER
Is Fiorello H. La Guardia the head of government of New York City ?
(Q60,P6,Q312502)
action is_in
entity Q312502
action find
entity Q60
relation P6
['Q60', 'P6', 'Q312502']
ASK WHERE { resource:Q60 property:P6 resource:Q312502 }
New York City Fiorello H. La Guardia
action is_in
entity Fiorello H. La Guardia
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Fiorello H. La Guardia']
ASK WHERE { resource:New_York_City property:head_of_government resource:Fiorello_H._La_Guardia }
[]
common name
SYSTEM
YES
(Q60,P6,Q312502)
action is_in
entity Q312502
action find
entity Q60
relation P6
[ANSWER]
['Q60', 'P6', 'Q312502']
ASK WHERE { resource:Q60 property:P6 resource:Q312502 }
Yes
action is_in
entity Fiorello H. La Guardia
action find
entity New York City
relation head of government
['New York City', 'head of government', 'Fiorello H. La Guardia']
ASK WHERE { resource:New_York_City property:head_of_government resource:Fiorello_H._La_Guardia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages have writing system as around 1 alphabets or writing systems ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?b ) WHERE { { ?i property:P282 ?n . ?i rdf:type ontology:Q34770 . ?n rdf:type ontology:Q9779 } UNION { ?i property:P282 ?n . ?i rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?i } . FILTER ( ?b = 1 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?b ) WHERE { { ?i property:writing_system ?n . ?i rdf:type ontology:language . ?n rdf:type ontology:alphabet } UNION { ?i property:writing_system ?n . ?i rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?i } . FILTER ( ?b = 1 ) }
[]
alphabet writing system language
Q35499 Q1669994 Q33251
SYSTEM
Old Church Slavonic, Minoan language, Church Slavonic
Q13211 Q35499 Q1669994 Q33251 Q21161942 Q1639124 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] have writing system as around 1 alphabets or writing systems
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?b ) WHERE { { ?i property:P282 ?n . ?i rdf:type ontology:Q34770 . ?n rdf:type ontology:Q9779 } UNION { ?i property:P282 ?n . ?i rdf:type ontology:Q34770 . ?n rdf:type ontology:Q8192 } } GROUP BY ?i } . FILTER ( ?b = 1 ) }
Ruthenian Old Church Slavonic Minoan language Church Slavonic Serbian written in Cyrillic Slavoserbian Nivkh language Italian
Old Church Slavonic, Minoan language and Church Slavonic have writing system as around 1 alphabets or writing systems
Old Church Slavonic Minoan language Church Slavonic
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?b ) WHERE { { ?i property:writing_system ?n . ?i rdf:type ontology:language . ?n rdf:type ontology:alphabet } UNION { ?i property:writing_system ?n . ?i rdf:type ontology:language . ?n rdf:type ontology:writing_system } } GROUP BY ?i } . FILTER ( ?b = 1 ) }
[]