Simple Question (Direct)
Simple Question
Q7345299
P1412
Q34770
USER
Which language is spoken by Robert Harvey ?
(Q7345299,P1412,c(Q34770))
action filter_type
action find
entity Q7345299
relation P1412
type Q34770
['Q7345299', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q7345299 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Robert Harvey
action filter_type
action find
entity Robert Harvey
relation languages spoken, written or signed
type language
['Robert Harvey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Harvey property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7345299,P1412,c(Q34770))
action filter_type
action find
entity Q7345299
relation P1412
type Q34770
Is [ANSWER] is spoken by Robert Harvey
['Q7345299', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q7345299 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
English
Is English is spoken by Robert Harvey
English
action filter_type
action find
entity Robert Harvey
relation languages spoken, written or signed
type language
['Robert Harvey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Harvey property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a portion of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q1860 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:English property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a portion of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?b WHERE { resource:Q1860 property:P361 ?b . ?b rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a portion of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?b WHERE { resource:English property:part_of ?b . ?b rdf:type ontology:classification_scheme }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3110592
P361
Q34770
USER
Are written Chinese a part of those classification schemes ?
(Q3110592,P361,Q1346342) (Q3110592,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q3110592
relation P361
['Q3110592', 'P361', 'Q1346342'] ['Q3110592', 'P361', 'Q5329170']
ASK WHERE { resource:Q3110592 property:P361 ?l . VALUES ( ?l ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
written Chinese
action is_in
entity prev_answer
action find
entity written Chinese
relation part of
['written Chinese', 'part of', 'Anglic languages'] ['written Chinese', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:written_Chinese property:part_of ?l . VALUES ( ?l ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
language
SYSTEM
NO
(Q3110592,P361,Q1346342) (Q3110592,P361,Q5329170)
action is_in
entity prev_answer
action find
entity Q3110592
relation P361
[ANSWER]
['Q3110592', 'P361', 'Q1346342'] ['Q3110592', 'P361', 'Q5329170']
ASK WHERE { resource:Q3110592 property:P361 ?l . VALUES ( ?l ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } }
No
action is_in
entity prev_answer
action find
entity written Chinese
relation part of
['written Chinese', 'part of', 'Anglic languages'] ['written Chinese', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:written_Chinese property:part_of ?l . VALUES ( ?l ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5329170 Q3509556 Q26721
P361
Q5962346
USER
Is Anglo-Frisian languages a component of Pakanic languages and West Germanic languages ?
(Q5329170,P361,Q3509556) (Q5329170,P361,Q26721)
action is_in
entity Q5329170
action intersection
action find_reverse
entity Q3509556
relation P361
action find_reverse
entity Q26721
relation P361
['Q5329170', 'P361', 'Q3509556'] ['Q5329170', 'P361', 'Q26721']
ASK WHERE { resource:Q5329170 property:P361 resource:Q26721 . resource:Q5329170 property:P361 resource:Q3509556 }
Anglo-Frisian languages Pakanic languages West Germanic languages
action is_in
entity Anglo-Frisian languages
action intersection
action find_reverse
entity Pakanic languages
relation part of
action find_reverse
entity West Germanic languages
relation part of
['Anglo-Frisian languages', 'part of', 'Pakanic languages'] ['Anglo-Frisian languages', 'part of', 'West Germanic languages']
ASK WHERE { resource:Anglo-Frisian_languages property:part_of resource:West_Germanic_languages . resource:Anglo-Frisian_languages property:part_of resource:Pakanic_languages }
[]
classification scheme
SYSTEM
NO and YES respectively
(Q5329170,P361,Q3509556) (Q5329170,P361,Q26721)
action is_in
entity Q5329170
action intersection
action find_reverse
entity Q3509556
relation P361
action find_reverse
entity Q26721
relation P361
[ANSWER]
['Q5329170', 'P361', 'Q3509556'] ['Q5329170', 'P361', 'Q26721']
ASK WHERE { resource:Q5329170 property:P361 resource:Q26721 . resource:Q5329170 property:P361 resource:Q3509556 }
NO and YES respectively
action is_in
entity Anglo-Frisian languages
action intersection
action find_reverse
entity Pakanic languages
relation part of
action find_reverse
entity West Germanic languages
relation part of
['Anglo-Frisian languages', 'part of', 'Pakanic languages'] ['Anglo-Frisian languages', 'part of', 'West Germanic languages']
ASK WHERE { resource:Anglo-Frisian_languages property:part_of resource:West_Germanic_languages . resource:Anglo-Frisian_languages property:part_of resource:Pakanic_languages }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages adopt approximately 3 notations and writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?f rdf:type ?d } GROUP BY ?m } . FILTER ( ?b = 3 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:notation ) ( ontology:writing_system ) } . ?f rdf:type ?d } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]
notation writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 3
[ANSWER] adopt approximately 3 notations and writing systems as the writing system
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:Q2001982 ) ( ontology:Q8192 ) } . ?f rdf:type ?d } GROUP BY ?m } . FILTER ( ?b = 3 ) }
Late Old Japanese
Late Old Japanese adopt approximately 3 notations and writing systems as the writing system
Late Old Japanese
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 3
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?b ) WHERE { VALUES ( ?d ) { ( ontology:notation ) ( ontology:writing_system ) } . ?f rdf:type ?d } GROUP BY ?m } . FILTER ( ?b = 3 ) }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q182695 Q82772 Q1148965
P282
Q2001982
USER
Does that language have writing system as kanji and Phonogram ?
(Q182695,P282,Q82772) (Q182695,P282,Q1148965)
action is_in
entity Q182695
action intersection
action find_reverse
entity Q82772
relation P282
action find_reverse
entity Q1148965
relation P282
['Q182695', 'P282', 'Q82772'] ['Q182695', 'P282', 'Q1148965']
ASK WHERE { resource:Q182695 property:P282 resource:Q82772 . resource:Q182695 property:P282 resource:Q1148965 }
Late Old Japanese kanji Phonogram
action is_in
entity Late Old Japanese
action intersection
action find_reverse
entity kanji
relation writing system
action find_reverse
entity Phonogram
relation writing system
['Late Old Japanese', 'writing system', 'kanji'] ['Late Old Japanese', 'writing system', 'Phonogram']
ASK WHERE { resource:Late_Old_Japanese property:writing_system resource:kanji . resource:Late_Old_Japanese property:writing_system resource:Phonogram }
[]
notation
SYSTEM
YES and NO respectively
(Q182695,P282,Q82772) (Q182695,P282,Q1148965)
action is_in
entity Q182695
action intersection
action find_reverse
entity Q82772
relation P282
action find_reverse
entity Q1148965
relation P282
[ANSWER]
['Q182695', 'P282', 'Q82772'] ['Q182695', 'P282', 'Q1148965']
ASK WHERE { resource:Q182695 property:P282 resource:Q82772 . resource:Q182695 property:P282 resource:Q1148965 }
YES and NO respectively
action is_in
entity Late Old Japanese
action intersection
action find_reverse
entity kanji
relation writing system
action find_reverse
entity Phonogram
relation writing system
['Late Old Japanese', 'writing system', 'kanji'] ['Late Old Japanese', 'writing system', 'Phonogram']
ASK WHERE { resource:Late_Old_Japanese property:writing_system resource:kanji . resource:Late_Old_Japanese property:writing_system resource:Phonogram }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1471822
P282
Q8192 Q34770
USER
How many writing systems are the writing systems used for more number of languages than Old Persian cuneiform ?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1471822
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?m rdf:type ontology:Q8192 . ?l rdf:type ontology:Q34770 . ?l property:P282 ?m } GROUP BY ?m } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q1471822 property:P282 ?s . ?s rdf:type ontology:Q8192 } } }
Old Persian cuneiform
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Old Persian cuneiform
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?m rdf:type ontology:writing_system . ?l rdf:type ontology:language . ?l property:writing_system ?m } GROUP BY ?m } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Old_Persian_cuneiform property:writing_system ?s . ?s rdf:type ontology:writing_system } } }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1471822
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?m rdf:type ontology:Q8192 . ?l rdf:type ontology:Q34770 . ?l property:P282 ?m } GROUP BY ?m } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Q1471822 property:P282 ?s . ?s rdf:type ontology:Q8192 } } }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Old Persian cuneiform
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?l ) AS ?x ) WHERE { ?m rdf:type ontology:writing_system . ?l rdf:type ontology:language . ?l property:writing_system ?m } GROUP BY ?m } . FILTER ( ?x > ?q ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { resource:Old_Persian_cuneiform property:writing_system ?s . ?s rdf:type ontology:writing_system } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q38592
P282
Q8192 Q34770
USER
And what about Devanagari?
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q38592
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P282 ?g . ?s rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q38592 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?x > ?h ) }
Devanagari
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Devanagari
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:writing_system ?g . ?s rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Devanagari property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?x > ?h ) }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q38592
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:P282 ?g . ?s rdf:type ontology:Q34770 . ?g rdf:type ontology:Q8192 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Q38592 property:P282 ?c . ?c rdf:type ontology:Q8192 } } . FILTER ( ?x > ?h ) }
katakana Linear A hiragana
3
action count
action greater
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Devanagari
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?s ) AS ?x ) WHERE { ?s property:writing_system ?g . ?s rdf:type ontology:language . ?g rdf:type ontology:writing_system } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { resource:Devanagari property:writing_system ?c . ?c rdf:type ontology:writing_system } } . FILTER ( ?x > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P37
Q15617994
USER
Which administrative territories are known to have English as their official language ?
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1860 . ?g rdf:type ontology:Q15617994 }
English
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:English . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q953 Q145
SYSTEM
Netherlands, Zambia, United Kingdom
Q1036 Q1020 Q1005 Q1037 Q843 Q709 Q1009 Q668 Q2003 Q683 Q242 Q34020 Q244 Q1904 Q686 Q760 Q1974 Q754 Q55 Q1948 Q145 Q784 Q1050 Q1989 Q924 Q672 Q833 Q928 Q986 Q712 Q710 Q1033 Q1030 Q1014 Q27 Q734 Q963 Q695 Q678 Q114 Q117 Q1013 Q258 Q1979 Q233 Q1951 Q1952 Q954 Q1044 Q1042 Q953 Q2023 Q958 Q1049
(c(Q15617994),P37,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P37
type Q15617994
[ANSWERS] are known to have English as their official language
[{'concept': 'Q15617994'}, 'P37', 'Q1860']
SELECT DISTINCT ?g WHERE { ?g property:P37 resource:Q1860 . ?g rdf:type ontology:Q15617994 }
Uganda Malawi Gambia Rwanda Pakistan Marshall Islands Cameroon India Newfoundland and Labrador Samoa Belize Niue Barbados Ontario Vanuatu Saint Lucia British Columbia Trinidad and Tobago Netherlands Manitoba United Kingdom Dominica Swaziland Saskatchewan Tanzania Tuvalu Malaysia Philippines Eritrea Fiji Kiribati Nigeria Namibia Liberia Ireland Guyana Botswana Palau Tonga Kenya Ghana Lesotho South Africa Prince Edward Island Malta Alberta Nova Scotia Zimbabwe Sierra Leone Seychelles Zambia Nunavut South Sudan Sudan
Netherlands, Zambia and United Kingdom are known to have English as their official language
Netherlands Zambia United Kingdom
action filter_type
action find_reverse
entity English
relation official language
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'official language', 'English']
SELECT DISTINCT ?g WHERE { ?g property:official_language resource:English . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]