Simple Question (Direct)
Simple Question
Q16493435
P21
Q290
USER
What is the sex of Ildefonso Fernández y Sánchez ?
(Q16493435,P21,c(Q290))
action filter_type
action find
entity Q16493435
relation P21
type Q290
['Q16493435', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q16493435 property:P21 ?t . ?t rdf:type ontology:Q290 }
Ildefonso Fernández y Sánchez
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation gender
type sex
['Ildefonso Fernández y Sánchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Ildefonso_Fernández_y_Sánchez property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16493435,P21,c(Q290))
action filter_type
action find
entity Q16493435
relation P21
type Q290
The sex of Ildefonso Fernández y Sánchez is the [ANSWER]
['Q16493435', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q16493435 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Ildefonso Fernández y Sánchez is the male
male
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation gender
type sex
['Ildefonso Fernández y Sánchez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Ildefonso_Fernández_y_Sánchez property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16493435
P1412
Q34770
USER
Which language is that person capable of writing ?
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q16493435
relation P1412
type Q34770
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q16493435 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Ildefonso Fernández y Sánchez
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Ildefonso_Fernández_y_Sánchez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6581097,P1412,c(Q34770))
action filter_type
action find
entity Q16493435
relation P1412
type Q34770
[ANSWER] is that person capable of writing
['Q6581097', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q16493435 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Spanish is that person capable of writing
Spanish
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation languages spoken, written or signed
type language
['male', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Ildefonso_Fernández_y_Sánchez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q234460 Q82799
USER
How many languages are approximately 53 texts or names in ?
(c(Q234460)|c(Q82799),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 53
[[{'concept': 'Q234460'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q82799 ) } . ?k rdf:type ?d } GROUP BY ?z } . FILTER ( ?s = 53 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 53
[[{'concept': 'text'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?z WHERE { VALUES ( ?d ) { ( ontology:text ) ( ontology:name ) } . ?k rdf:type ?d } GROUP BY ?z } . FILTER ( ?s = 53 ) }
[]
language text name
SYSTEM
28
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q234460)|c(Q82799),P407,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 53
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?z WHERE { VALUES ( ?d ) { ( ontology:Q234460 ) ( ontology:Q82799 ) } . ?k rdf:type ?d } GROUP BY ?z } . FILTER ( ?s = 53 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
28
action count
action approx
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 53
[[{'concept': 'text'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?s ) ?z WHERE { VALUES ( ?d ) { ( ontology:text ) ( ontology:name ) } . ?k rdf:type ?d } GROUP BY ?z } . FILTER ( ?s = 53 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q2092163
P282
Q9779 Q34770
USER
Which alphabets are utilized as the script for around the same number of languages as Macedonian alphabet ?
(c(Q34770),P282,c(Q9779))
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q2092163
relation P282
type Q9779
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P282 ?m . ?m rdf:type ontology:Q9779 . ?v rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q2092163 property:P282 ?i . ?i rdf:type ontology:Q9779 } } . FILTER ( ?p = ?g ) }
Macedonian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Macedonian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:writing_system ?m . ?m rdf:type ontology:alphabet . ?v rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Macedonian_alphabet property:writing_system ?i . ?i rdf:type ontology:alphabet } } . FILTER ( ?p = ?g ) }
[]
alphabet language
Q792216 Q13405127 Q540987
SYSTEM
Belarusian alphabet, Rusyn alphabet, Portuguese alphabet
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action approx
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find
entity Q2092163
relation P282
type Q9779
[ANSWERS] are utilized as the script for around the same number of languages as Macedonian alphabet
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:P282 ?m . ?m rdf:type ontology:Q9779 . ?v rdf:type ontology:Q34770 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Q2092163 property:P282 ?i . ?i rdf:type ontology:Q9779 } } . FILTER ( ?p = ?g ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
Belarusian alphabet, Rusyn alphabet and Portuguese alphabet are utilized as the script for around the same number of languages as Macedonian alphabet
Belarusian alphabet Rusyn alphabet Portuguese alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find
entity Macedonian alphabet
relation writing system
type alphabet
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?v ) AS ?p ) WHERE { ?v property:writing_system ?m . ?m rdf:type ontology:alphabet . ?v rdf:type ontology:language } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { resource:Macedonian_alphabet property:writing_system ?i . ?i rdf:type ontology:alphabet } } . FILTER ( ?p = ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages utilizes atleast 1 writing systems and notations as the writing system ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?n ) WHERE { { ?b property:P282 ?o . ?b rdf:type ontology:Q34770 . ?o rdf:type ontology:Q8192 } UNION { ?b property:P282 ?o . ?b rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 } } GROUP BY ?b } . FILTER ( ?n >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?n ) WHERE { { ?b property:writing_system ?o . ?b rdf:type ontology:language . ?o rdf:type ontology:writing_system } UNION { ?b property:writing_system ?o . ?b rdf:type ontology:language . ?o rdf:type ontology:notation } } GROUP BY ?b } . FILTER ( ?n >= 1 ) }
[]
writing system notation language
SYSTEM
9
Q182695 Q29572 Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
action count
action atleast
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?n ) WHERE { { ?b property:P282 ?o . ?b rdf:type ontology:Q34770 . ?o rdf:type ontology:Q8192 } UNION { ?b property:P282 ?o . ?b rdf:type ontology:Q34770 . ?o rdf:type ontology:Q2001982 } } GROUP BY ?b } . FILTER ( ?n >= 1 ) }
Late Old Japanese Avestan Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
9
action count
action atleast
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?z ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?n ) WHERE { { ?b property:writing_system ?o . ?b rdf:type ontology:language . ?o rdf:type ontology:writing_system } UNION { ?b property:writing_system ?o . ?b rdf:type ontology:language . ?o rdf:type ontology:notation } } GROUP BY ?b } . FILTER ( ?n >= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16493435
P106
Q12737077
USER
What do Ildefonso Fernández y Sánchez do for a living ?
(Q16493435,P106,c(Q12737077))
action filter_type
action find
entity Q16493435
relation P106
type Q12737077
['Q16493435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q16493435 property:P106 ?i }
Ildefonso Fernández y Sánchez
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation occupation
type occupation
['Ildefonso Fernández y Sánchez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Ildefonso_Fernández_y_Sánchez property:occupation ?i }
[]
occupation
Q1930187 Q36180 Q864380
SYSTEM
journalist, writer, biographer
Q1930187 Q36180 Q864380
(Q16493435,P106,c(Q12737077))
action filter_type
action find
entity Q16493435
relation P106
type Q12737077
[ANSWERS] Ildefonso Fernández y Sánchez do for a living
['Q16493435', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q16493435 property:P106 ?i }
journalist writer biographer
Journalist, writer and biographer Ildefonso Fernández y Sánchez do for a living
journalist writer biographer
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation occupation
type occupation
['Ildefonso Fernández y Sánchez', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Ildefonso_Fernández_y_Sánchez property:occupation ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q864380
P425
Q1792379
USER
Who is associated with the field of occupation biographer ?
(Q864380,P425,c(Q1792379))
action filter_type
action find
entity Q864380
relation P425
type Q1792379
['Q864380', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q864380 property:P425 ?d . ?d rdf:type ontology:Q1792379 }
biographer
action filter_type
action find
entity biographer
relation field of this occupation
type art genre
['biographer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:biographer property:field_of_this_occupation ?d . ?d rdf:type ontology:art_genre }
[]
art genre
Q36279
SYSTEM
biography
Q36279
(Q864380,P425,c(Q1792379))
action filter_type
action find
entity Q864380
relation P425
type Q1792379
[ANSWER] is associated with the field of occupation biographer
['Q864380', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?d WHERE { resource:Q864380 property:P425 ?d . ?d rdf:type ontology:Q1792379 }
biography
Biography is associated with the field of occupation biographer
biography
action filter_type
action find
entity biographer
relation field of this occupation
type art genre
['biographer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?d WHERE { resource:biographer property:field_of_this_occupation ?d . ?d rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21036234
Q1792379
USER
And what about crime writer?
(Q21036234,P425,c(Q1792379))
action filter_type
action find
entity Q21036234
relation P425
type Q1792379
['Q21036234', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q21036234 property:P425 ?h . ?h rdf:type ontology:Q1792379 }
crime writer
action filter_type
action find
entity crime writer
relation field of this occupation
type art genre
['crime writer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:crime_writer property:field_of_this_occupation ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q208505
SYSTEM
crime novel
Q208505
(Q21036234,P425,c(Q1792379))
action filter_type
action find
entity Q21036234
relation P425
type Q1792379
[ANSWER]
['Q21036234', 'P425', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q21036234 property:P425 ?h . ?h rdf:type ontology:Q1792379 }
crime novel
crime novel
action filter_type
action find
entity crime writer
relation field of this occupation
type art genre
['crime writer', 'field of this occupation', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:crime_writer property:field_of_this_occupation ?h . ?h rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16493435
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Ildefonso Fernández y Sánchez ?
(Q16493435,P27,c(Q15617994))
action filter_type
action find
entity Q16493435
relation P27
type Q15617994
['Q16493435', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q16493435 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Ildefonso Fernández y Sánchez
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation country of citizenship
type designation for an administrative territorial entity
['Ildefonso Fernández y Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ildefonso_Fernández_y_Sánchez property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q16493435,P27,c(Q15617994))
action filter_type
action find
entity Q16493435
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Ildefonso Fernández y Sánchez
['Q16493435', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q16493435 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Spain
Spain is the country of citizenship of Ildefonso Fernández y Sánchez
Spain
action filter_type
action find
entity Ildefonso Fernández y Sánchez
relation country of citizenship
type designation for an administrative territorial entity
['Ildefonso Fernández y Sánchez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Ildefonso_Fernández_y_Sánchez property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]