Simple Question (Direct)
Simple Question
Q1684374
P735
Q82799
USER
What the name that Jay W. Johnson is known by ?
(Q1684374,P735,c(Q82799))
action filter_type
action find
entity Q1684374
relation P735
type Q82799
['Q1684374', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q1684374 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Jay W. Johnson
action filter_type
action find
entity Jay W. Johnson
relation given name
type name
['Jay W. Johnson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Jay_W._Johnson property:given_name ?l . ?l rdf:type ontology:name }
[]
name
Q19817029
SYSTEM
Jay
Q19817029
(Q1684374,P735,c(Q82799))
action filter_type
action find
entity Q1684374
relation P735
type Q82799
Known [ANSWER]
['Q1684374', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q1684374 property:P735 ?l . ?l rdf:type ontology:Q82799 }
Jay
Known Jay
Jay
action filter_type
action find
entity Jay W. Johnson
relation given name
type name
['Jay W. Johnson', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:Jay_W._Johnson property:given_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19817029
P407
Q34770
USER
Which language is that name in ?
(Q19817029,P407,c(Q34770))
action filter_type
action find
entity Q19817029
relation P407
type Q34770
['Q19817029', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q19817029 property:P407 ?y . ?y rdf:type ontology:Q34770 }
Jay
action filter_type
action find
entity Jay
relation language of work or name
type language
['Jay', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Jay property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q19817029,P407,c(Q34770))
action filter_type
action find
entity Q19817029
relation P407
type Q34770
That is name in [ANSWER]
['Q19817029', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q19817029 property:P407 ?y . ?y rdf:type ontology:Q34770 }
English
That is name in English
English
action filter_type
action find
entity Jay
relation language of work or name
type language
['Jay', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Jay property:language_of_work_or_name ?y . ?y rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1346342 Q1781084
P361
Q5962346
USER
Is that language a portion of Anglic languages and Koman languages ?
(Q1860,P361,Q1346342) (Q1860,P361,Q1781084)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q1781084
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q1781084']
ASK WHERE { resource:Q1860 property:P361 resource:Q1781084 . resource:Q1860 property:P361 resource:Q1346342 }
English Anglic languages Koman languages
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Koman languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Koman languages']
ASK WHERE { resource:English property:part_of resource:Koman_languages . resource:English property:part_of resource:Anglic_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q1781084)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q1781084
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q1781084']
ASK WHERE { resource:Q1860 property:P361 resource:Q1781084 . resource:Q1860 property:P361 resource:Q1346342 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Koman languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Koman languages']
ASK WHERE { resource:English property:part_of resource:Koman_languages . resource:English property:part_of resource:Anglic_languages }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1684374 Q30
P27
Q15617994
USER
Is United States of America the country of citizenship of Jay W. Johnson ?
(Q1684374,P27,Q30)
action is_in
entity Q30
action find
entity Q1684374
relation P27
['Q1684374', 'P27', 'Q30']
ASK WHERE { resource:Q1684374 property:P27 resource:Q30 }
Jay W. Johnson United States of America
action is_in
entity United States of America
action find
entity Jay W. Johnson
relation country of citizenship
['Jay W. Johnson', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Jay_W._Johnson property:country_of_citizenship resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q1684374,P27,Q30)
action is_in
entity Q30
action find
entity Q1684374
relation P27
[ANSWER]
['Q1684374', 'P27', 'Q30']
ASK WHERE { resource:Q1684374 property:P27 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Jay W. Johnson
relation country of citizenship
['Jay W. Johnson', 'country of citizenship', 'United States of America']
ASK WHERE { resource:Jay_W._Johnson property:country_of_citizenship resource:United_States_of_America }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q1346342 Q15478590
P361
Q5962346
USER
Is English a component of Anglic languages and Kainantu languages ?
(Q1860,P361,Q1346342) (Q1860,P361,Q15478590)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q15478590
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q15478590']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q15478590 }
English Anglic languages Kainantu languages
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Kainantu languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Kainantu languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Kainantu_languages }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q15478590)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q15478590
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q15478590']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q15478590 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Kainantu languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Kainantu languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Kainantu_languages }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q56061
USER
How many administrative territories are known to have exactly 4 languages as their official language ?
(c(Q56061),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?t ) WHERE { ?x property:P37 ?q . ?x rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?t = 4 ) }
action count
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?t ) WHERE { ?x property:official_language ?q . ?x rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?t = 4 ) }
[]
language administrative territorial entity
SYSTEM
1
Q458
(c(Q56061),P37,c(Q34770))
action count
action equal
action find_tuple_counts
relation P37
type Q56061
type Q34770
value 4
[ANSWER]
[{'concept': 'Q56061'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?t ) WHERE { ?x property:P37 ?q . ?x rdf:type ontology:Q56061 . ?q rdf:type ontology:Q34770 } GROUP BY ?x } . FILTER ( ?t = 4 ) }
European Union
1
action count
action equal
action find_tuple_counts
relation official language
type administrative territorial entity
type language
value 4
[{'concept': 'administrative territorial entity'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?q ) AS ?t ) WHERE { ?x property:official_language ?q . ?x rdf:type ontology:administrative_territorial_entity . ?q rdf:type ontology:language } GROUP BY ?x } . FILTER ( ?t = 4 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are the writing systems of atmost 1 language known as ?
(c(Q34770),P282,c(Q8192))
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P282 ?f . ?f rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:writing_system ?f . ?f rdf:type ontology:writing_system . ?m rdf:type ontology:language } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q82946 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q30972 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q48332 Q26803
(c(Q34770),P282,c(Q8192))
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are the writing systems of atmost 1 language known as
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:P282 ?f . ?f rdf:type ontology:Q8192 . ?m rdf:type ontology:Q34770 } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
Burmese alphabet Gurmukhī alphabet katakana Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Linear A Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform hiragana Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are the writing systems of atmost 1 language known as
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?m ) AS ?s ) WHERE { ?m property:writing_system ?f . ?f rdf:type ontology:writing_system . ?m rdf:type ontology:language } GROUP BY ?f } . FILTER ( ?s <= 1 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P282
Q5962346
USER
How many classification schemes are that writing system the writing system of ?
(c(Q5962346),P282,Q2613755)
[{'concept': 'Q5962346'}, 'P282', 'Q2613755']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q2613755 . ?z rdf:type ontology:Q5962346 }
[{'concept': 'classification scheme'}, 'writing system', 'Tocharian alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tocharian_alphabet . ?z rdf:type ontology:classification_scheme }
[]
classification scheme
Quantitative|Count|Single entity type|Clarification
Q26549
SYSTEM
Did you mean Cherokee syllabary ?
(c(Q5962346),P282,Q1314503) (c(Q5962346),P282,Q26549) (c(Q5962346),P282,Q2613755)
[ANSWER]
[{'concept': 'Q5962346'}, 'P282', 'Q1314503'] [{'concept': 'Q5962346'}, 'P282', 'Q26549'] [{'concept': 'Q5962346'}, 'P282', 'Q2613755']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q2613755 . ?z rdf:type ontology:Q5962346 }
Did you mean Cherokee syllabary ?
Cherokee syllabary
[{'concept': 'classification scheme'}, 'writing system', 'Tai Tham alphabet'] [{'concept': 'classification scheme'}, 'writing system', 'Cherokee syllabary'] [{'concept': 'classification scheme'}, 'writing system', 'Tocharian alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tocharian_alphabet . ?z rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tocharian alphabet. Could you tell me the answer for that?
(c(Q5962346),P282,Q2613755)
Q2613755
[{'concept': 'Q5962346'}, 'P282', 'Q2613755']
[{'concept': 'classification scheme'}, 'writing system', 'Tocharian alphabet']
[]
SYSTEM
1
Q37029
(c(Q5962346),P282,Q2613755)
[ANSWER]
[{'concept': 'Q5962346'}, 'P282', 'Q2613755']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q2613755 . ?z rdf:type ontology:Q5962346 }
Tocharian languages
1
[{'concept': 'classification scheme'}, 'writing system', 'Tocharian alphabet']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tocharian_alphabet . ?z rdf:type ontology:classification_scheme }
[]