Simple Question (Direct)
Simple Question
Q5550675
P1412
Q34770
USER
Which language can Matías Gigli read ?
(Q5550675,P1412,c(Q34770))
action filter_type
action find
entity Q5550675
relation P1412
type Q34770
['Q5550675', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5550675 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Matías Gigli
action filter_type
action find
entity Matías Gigli
relation languages spoken, written or signed
type language
['Matías Gigli', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Matías_Gigli property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5550675,P1412,c(Q34770))
action filter_type
action find
entity Q5550675
relation P1412
type Q34770
Matías Gigli can read in [ANSWER]
['Q5550675', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { resource:Q5550675 property:P1412 ?p . ?p rdf:type ontology:Q34770 }
Spanish
Matías Gigli can read in Spanish
Spanish
action filter_type
action find
entity Matías Gigli
relation languages spoken, written or signed
type language
['Matías Gigli', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { resource:Matías_Gigli property:languages_spoken,_written_or_signed ?p . ?p rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5550675
P641
Q349
USER
Which sport did that person participate in ?
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q5550675
relation P641
type Q349
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5550675 property:P641 ?o . ?o rdf:type ontology:Q349 }
Matías Gigli
action filter_type
action find
entity Matías Gigli
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Matías_Gigli property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1321,P641,c(Q349))
action filter_type
action find
entity Q5550675
relation P641
type Q349
That person participated in [ANSWER]
['Q1321', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q5550675 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
That person participated in association football
association football
action filter_type
action find
entity Matías Gigli
relation sport
type sport
['Spanish', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Matías_Gigli property:sport ?o . ?o rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q82946
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for less number of languages than katakana ?
(c(Q34770),P282,c(Q8192))
action less
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P282 ?h . ?h rdf:type ontology:Q8192 . ?u rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P282 resource:Q82946 . ?j rdf:type ontology:Q34770 } } . FILTER ( ?q < ?e ) }
katakana
action less
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find_reverse
entity katakana
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:writing_system ?h . ?h rdf:type ontology:writing_system . ?u rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:writing_system resource:katakana . ?j rdf:type ontology:language } } . FILTER ( ?q < ?e ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action less
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find_reverse
entity Q82946
relation P282
type Q34770
[ANSWERS] are used as the alphabet set for less number of languages than katakana
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P282 ?h . ?h rdf:type ontology:Q8192 . ?u rdf:type ontology:Q34770 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:P282 resource:Q82946 . ?j rdf:type ontology:Q34770 } } . FILTER ( ?q < ?e ) }
Burmese alphabet Gurmukhī alphabet 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 Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are used as the alphabet set for less number of languages than katakana
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action less
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find_reverse
entity katakana
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:writing_system ?h . ?h rdf:type ontology:writing_system . ?u rdf:type ontology:language } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { ?j property:writing_system resource:katakana . ?j rdf:type ontology:language } } . FILTER ( ?q < ?e ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q30972
P282
Q8192 Q34770
USER
And what about Linear A?
(c(Q34770),P282,c(Q8192))
action less
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find_reverse
entity Q30972
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P282 resource:Q30972 . ?v rdf:type ontology:Q34770 } } . FILTER ( ?c < ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P282 ?q . ?z rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } GROUP BY ?q } }
Linear A
action less
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find_reverse
entity Linear A
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:writing_system resource:Linear_A . ?v rdf:type ontology:language } } . FILTER ( ?c < ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:writing_system ?q . ?z rdf:type ontology:language . ?q rdf:type ontology:writing_system } GROUP BY ?q } }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action less
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find_reverse
entity Q30972
relation P282
type Q34770
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:P282 resource:Q30972 . ?v rdf:type ontology:Q34770 } } . FILTER ( ?c < ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P282 ?q . ?z rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } GROUP BY ?q } }
Burmese alphabet Gurmukhī alphabet 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 Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action less
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find_reverse
entity Linear A
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { ?v property:writing_system resource:Linear_A . ?v rdf:type ontology:language } } . FILTER ( ?c < ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:writing_system ?q . ?z rdf:type ontology:language . ?q rdf:type ontology:writing_system } GROUP BY ?q } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5550675
P21
Q290
USER
Which sex does Matías Gigli possess ?
(Q5550675,P21,c(Q290))
action filter_type
action find
entity Q5550675
relation P21
type Q290
['Q5550675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q5550675 property:P21 ?h }
Matías Gigli
action filter_type
action find
entity Matías Gigli
relation gender
type sex
['Matías Gigli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Matías_Gigli property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5550675,P21,c(Q290))
action filter_type
action find
entity Q5550675
relation P21
type Q290
Matías Gigli possesses un [ANSWER]
['Q5550675', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q5550675 property:P21 ?h }
male
Matías Gigli possesses un male
male
action filter_type
action find
entity Matías Gigli
relation gender
type sex
['Matías Gigli', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Matías_Gigli property:gender ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7088268
Q290
USER
And how about Olle Ericsson?
(Q7088268,P21,c(Q290))
action filter_type
action find
entity Q7088268
relation P21
type Q290
['Q7088268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7088268 property:P21 ?w . ?w rdf:type ontology:Q290 }
Olle Ericsson
action filter_type
action find
entity Olle Ericsson
relation gender
type sex
['Olle Ericsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Olle_Ericsson property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7088268,P21,c(Q290))
action filter_type
action find
entity Q7088268
relation P21
type Q290
[ANSWER]
['Q7088268', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q7088268 property:P21 ?w . ?w rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Olle Ericsson
relation gender
type sex
['Olle Ericsson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Olle_Ericsson property:gender ?w . ?w rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages have writing system as atleast 1 writing systems or notations ?
(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 ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?w ) WHERE { { ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q8192 . ?u property:P282 ?i } UNION { ?u property:P282 ?i . ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2001982 } } GROUP BY ?u } . FILTER ( ?w >= 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 ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?w ) WHERE { { ?u rdf:type ontology:language . ?i rdf:type ontology:writing_system . ?u property:writing_system ?i } UNION { ?u property:writing_system ?i . ?u rdf:type ontology:language . ?i rdf:type ontology:notation } } GROUP BY ?u } . FILTER ( ?w >= 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 ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?w ) WHERE { { ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q8192 . ?u property:P282 ?i } UNION { ?u property:P282 ?i . ?u rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2001982 } } GROUP BY ?u } . FILTER ( ?w >= 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 ( ?u ) AS ?a ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?i ) AS ?w ) WHERE { { ?u rdf:type ontology:language . ?i rdf:type ontology:writing_system . ?u property:writing_system ?i } UNION { ?u property:writing_system ?i . ?u rdf:type ontology:language . ?i rdf:type ontology:notation } } GROUP BY ?u } . FILTER ( ?w >= 1 ) }
[]