Simple Question (Direct)
Simple Question
Q2249749
P57
Q502895
USER
Which person directed The Unnaturals ?
(Q2249749,P57,c(Q502895))
action filter_type
action find
entity Q2249749
relation P57
type Q502895
['Q2249749', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2249749 property:P57 ?p . ?p rdf:type ontology:Q502895 }
The Unnaturals
action filter_type
action find
entity The Unnaturals
relation director
type common name
['The Unnaturals', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Unnaturals property:director ?p . ?p rdf:type ontology:common_name }
[]
common name
Q603216
SYSTEM
Antonio Margheriti
Q603216
(Q2249749,P57,c(Q502895))
action filter_type
action find
entity Q2249749
relation P57
type Q502895
[ANSWER]
['Q2249749', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2249749 property:P57 ?p . ?p rdf:type ontology:Q502895 }
Antonio Margheriti
Antonio Margheriti
action filter_type
action find
entity The Unnaturals
relation director
type common name
['The Unnaturals', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:The_Unnaturals property:director ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2249749
P364
Q34770
USER
Which language was used originally for the creation of that work of art ?
(Q603216,P364,c(Q34770))
action filter_type
action find
entity Q2249749
relation P364
type Q34770
['Q603216', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q2249749 property:P364 ?j }
The Unnaturals
action filter_type
action find
entity The Unnaturals
relation original language of work
type language
['Antonio Margheriti', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:The_Unnaturals property:original_language_of_work ?j }
[]
language
Q652
SYSTEM
Italian
Q652
(Q603216,P364,c(Q34770))
action filter_type
action find
entity Q2249749
relation P364
type Q34770
[ANSWER]
['Q603216', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q2249749 property:P364 ?j }
Italian
Italian
action filter_type
action find
entity The Unnaturals
relation original language of work
type language
['Antonio Margheriti', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:The_Unnaturals property:original_language_of_work ?j }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are the names of the language native to lesser number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?k rdf:type ontology:Q34770 . ?m rdf:type ontology:Q502895 . ?m property:P103 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P103 resource:Q652 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?d < ?s ) }
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?k rdf:type ontology:language . ?m rdf:type ontology:common_name . ?m property:native_language ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:native_language resource:Italian . ?x rdf:type ontology:common_name } } . FILTER ( ?d < ?s ) }
[]
language common name
SYSTEM
7
Q3200839 Q9056 Q8752 Q13211 Q397 Q8785 Q25164
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q652
relation P103
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?k rdf:type ontology:Q34770 . ?m rdf:type ontology:Q502895 . ?m property:P103 ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:P103 resource:Q652 . ?x rdf:type ontology:Q502895 } } . FILTER ( ?d < ?s ) }
Kwaza language Czech Basque Ruthenian Latin Armenian Nynorsk
7
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Italian
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?m ) AS ?d ) WHERE { ?k rdf:type ontology:language . ?m rdf:type ontology:common_name . ?m property:native_language ?k } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { ?x property:native_language resource:Italian . ?x rdf:type ontology:common_name } } . FILTER ( ?d < ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q603216
P1196
Q1931388
USER
What situation did Antonio Margheriti die in ?
(Q603216,P1196,c(Q1931388))
action filter_type
action find
entity Q603216
relation P1196
type Q1931388
['Q603216', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q603216 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
Antonio Margheriti
action filter_type
action find
entity Antonio Margheriti
relation manner of death
type cause of death
['Antonio Margheriti', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Margheriti property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q603216,P1196,c(Q1931388))
action filter_type
action find
entity Q603216
relation P1196
type Q1931388
[ANSWER]
['Q603216', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?z WHERE { resource:Q603216 property:P1196 ?z . ?z rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action find
entity Antonio Margheriti
relation manner of death
type cause of death
['Antonio Margheriti', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?z WHERE { resource:Antonio_Margheriti property:manner_of_death ?z . ?z rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q652
P282
Q9779
USER
Which alphabet is used as the script for Italian ?
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?h WHERE { resource:Q652 property:P282 ?h . ?h rdf:type ontology:Q9779 }
Italian
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?h WHERE { resource:Italian property:writing_system ?h . ?h rdf:type ontology:alphabet }
[]
alphabet
Q550383
SYSTEM
Italian alphabet
Q550383
(Q652,P282,c(Q9779))
action filter_type
action find
entity Q652
relation P282
type Q9779
[ANSWER]
['Q652', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?h WHERE { resource:Q652 property:P282 ?h . ?h rdf:type ontology:Q9779 }
Italian alphabet
Italian alphabet
action filter_type
action find
entity Italian
relation writing system
type alphabet
['Italian', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?h WHERE { resource:Italian property:writing_system ?h . ?h rdf:type ontology:alphabet }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q36452
Q9779
USER
And also tell me about Nenets?
(Q36452,P282,c(Q9779))
action filter_type
action find
entity Q36452
relation P282
type Q9779
['Q36452', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?l WHERE { resource:Q36452 property:P282 ?l . ?l rdf:type ontology:Q9779 }
Nenets
action filter_type
action find
entity Nenets
relation writing system
type alphabet
['Nenets', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?l WHERE { resource:Nenets property:writing_system ?l . ?l rdf:type ontology:alphabet }
[]
alphabet
Q8209
SYSTEM
Cyrillic script
Q8209
(Q36452,P282,c(Q9779))
action filter_type
action find
entity Q36452
relation P282
type Q9779
[ANSWER]
['Q36452', 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ?l WHERE { resource:Q36452 property:P282 ?l . ?l rdf:type ontology:Q9779 }
Cyrillic script
Cyrillic script
action filter_type
action find
entity Nenets
relation writing system
type alphabet
['Nenets', 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ?l WHERE { resource:Nenets property:writing_system ?l . ?l rdf:type ontology:alphabet }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q401
P282
Q2001982 Q34770
USER
How many notations are utilized as the script for lesser number of languages than cuneiform ?
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q401
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P282 ?v . ?k rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } GROUP BY ?v } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P282 resource:Q401 . ?i rdf:type ontology:Q34770 } } }
cuneiform
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity cuneiform
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:writing_system ?v . ?k rdf:type ontology:language . ?v rdf:type ontology:notation } GROUP BY ?v } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:writing_system resource:cuneiform . ?i rdf:type ontology:language } } }
[]
notation language
SYSTEM
19
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q806024 Q2479183
(c(Q34770),P282,c(Q2001982))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find_reverse
entity Q401
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:P282 ?v . ?k rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } GROUP BY ?v } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:P282 resource:Q401 . ?i rdf:type ontology:Q34770 } } }
Manichaean alphabet kanji Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Pahlavi scripts Aramaic alphabet Southwest Paleohispanic script Sarati Avestan alphabet Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
19
action count
action less
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find_reverse
entity cuneiform
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?k ) AS ?b ) WHERE { ?k property:writing_system ?v . ?k rdf:type ontology:language . ?v rdf:type ontology:notation } GROUP BY ?v } . FILTER ( ?b < ?x ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i property:writing_system resource:cuneiform . ?i rdf:type ontology:language } } }
[]