Simple Question (Direct)
Simple Question
Q25303429
P161
Q502895
USER
Who starred in The Gold Suit ?
(Q25303429,P161,c(Q502895))
action filter_type
action find
entity Q25303429
relation P161
type Q502895
['Q25303429', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q25303429 property:P161 ?l . ?l rdf:type ontology:Q502895 }
The Gold Suit
action filter_type
action find
entity The Gold Suit
relation cast member
type common name
['The Gold Suit', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Gold_Suit property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
common name
Q4711981 Q983626 Q2913443
SYSTEM
Alberto Closas, Manuel Alexandre, Carlos Larrañaga
Q117926 Q4711981 Q983626 Q1709538 Q2913443
(Q25303429,P161,c(Q502895))
action filter_type
action find
entity Q25303429
relation P161
type Q502895
[ANSWERS] starred in The Gold Suit
['Q25303429', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q25303429 property:P161 ?l . ?l rdf:type ontology:Q502895 }
José Calvo Alberto Closas Manuel Alexandre José Nieto Carlos Larrañaga
Alberto Closas, Manuel Alexandre and Carlos Larrañaga starred in The Gold Suit
Alberto Closas Manuel Alexandre Carlos Larrañaga
action filter_type
action find
entity The Gold Suit
relation cast member
type common name
['The Gold Suit', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:The_Gold_Suit property:cast_member ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q25303429
P364
Q34770
USER
Which language was used originally for the creation of The Gold Suit ?
(Q25303429,P364,c(Q34770))
action filter_type
action find
entity Q25303429
relation P364
type Q34770
['Q25303429', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q25303429 property:P364 ?a . ?a rdf:type ontology:Q34770 }
The Gold Suit
action filter_type
action find
entity The Gold Suit
relation original language of work
type language
['The Gold Suit', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:The_Gold_Suit property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q25303429,P364,c(Q34770))
action filter_type
action find
entity Q25303429
relation P364
type Q34770
[ANSWER] was used originally for the creation of The Gold Suit
['Q25303429', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q25303429 property:P364 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Spanish was used originally for the creation of The Gold Suit
Spanish
action filter_type
action find
entity The Gold Suit
relation original language of work
type language
['The Gold Suit', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:The_Gold_Suit property:original_language_of_work ?a . ?a rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4711981
P1196
Q1931388
USER
What manner did Alberto Closas die ?
(Q4711981,P1196,c(Q1931388))
action filter_type
action find
entity Q4711981
relation P1196
type Q1931388
['Q4711981', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q4711981 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
Alberto Closas
action filter_type
action find
entity Alberto Closas
relation manner of death
type cause of death
['Alberto Closas', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Alberto_Closas property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q4711981,P1196,c(Q1931388))
action filter_type
action find
entity Q4711981
relation P1196
type Q1931388
Alberto Closas died of [ANSWER]
['Q4711981', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?b WHERE { resource:Q4711981 property:P1196 ?b . ?b rdf:type ontology:Q1931388 }
natural causes
Alberto Closas died of natural causes
natural causes
action filter_type
action find
entity Alberto Closas
relation manner of death
type cause of death
['Alberto Closas', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?b WHERE { resource:Alberto_Closas property:manner_of_death ?b . ?b rdf:type ontology:cause_of_death }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are utilized as the script for max number of languages ?
(c(Q34770),P282,Q26803)
action argmax
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q26803']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P282 ?u . ?r rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?m ) WHERE { ?n rdf:type ontology:Q8192 . ?d rdf:type ontology:Q34770 . ?d property:P282 ?n } GROUP BY ?n } . FILTER ( ?m = ?b ) }
action argmax
action find_reverse_tuple_counts
relation writing system
type writing system
type language
[{'concept': 'language'}, 'writing system', 'Tamil script']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:writing_system ?u . ?r rdf:type ontology:language . ?u rdf:type ontology:writing_system } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?m ) WHERE { ?n rdf:type ontology:writing_system . ?d rdf:type ontology:language . ?d property:writing_system ?n } GROUP BY ?n } . FILTER ( ?m = ?b ) }
[]
writing system language
Q82946 Q30972 Q48332
SYSTEM
katakana, Linear A, hiragana
Q82946 Q30972 Q48332
(c(Q34770),P282,Q26803)
action argmax
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
[ANSWERS] are utilized as the script for max number of languages
[{'concept': 'Q34770'}, 'P282', 'Q26803']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:P282 ?u . ?r rdf:type ontology:Q34770 . ?u rdf:type ontology:Q8192 } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?m ) WHERE { ?n rdf:type ontology:Q8192 . ?d rdf:type ontology:Q34770 . ?d property:P282 ?n } GROUP BY ?n } . FILTER ( ?m = ?b ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are utilized as the script for max number of languages
katakana Linear A hiragana
action argmax
action find_reverse_tuple_counts
relation writing system
type writing system
type language
[{'concept': 'language'}, 'writing system', 'Tamil script']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?l ) AS ?b ) { SELECT DISTINCT ?u ( COUNT ( ?r ) AS ?l ) WHERE { ?r property:writing_system ?u . ?r rdf:type ontology:language . ?u rdf:type ontology:writing_system } GROUP BY ?u } } . { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?m ) WHERE { ?n rdf:type ontology:writing_system . ?d rdf:type ontology:language . ?d property:writing_system ?n } GROUP BY ?n } . FILTER ( ?m = ?b ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q4711981
P161
Q838948
USER
How many works of art have Alberto Closas as actor ?
(c(Q838948),P161,Q4711981)
action count
action filter_type
action find_reverse
entity Q4711981
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q4711981']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P161 resource:Q4711981 . ?s rdf:type ontology:Q838948 }
Alberto Closas
action count
action filter_type
action find_reverse
entity Alberto Closas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alberto Closas']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:cast_member resource:Alberto_Closas . ?s rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
23
Q4255871 Q2498205 Q5352377 Q5826086 Q1089939 Q3208161 Q6466175 Q5351140 Q6463121 Q20978018 Q12155001 Q5192736 Q605588 Q948025 Q5855627 Q7721616 Q25303429 Q5186323 Q24905702 Q5375047 Q20649978 Q4936397 Q24905637
(c(Q838948),P161,Q4711981)
action count
action filter_type
action find_reverse
entity Q4711981
relation P161
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P161', 'Q4711981']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:P161 resource:Q4711981 . ?s rdf:type ontology:Q838948 }
Vivir un instante El Honorable inquilino El baile The Sin of Julia Assassination in Rome Dance of Fire La gran familia El Diablo también llora La Honra de los hombres Heaven at Home La Dama del mar Cuidado Con Las Mujeres Esquilache Death of a Cyclist Maria, Registered in Bilbao The Cat The Gold Suit Cristina Two Men and Two Women Amongst Them En carne vive We're All Necessary Bodas de cristal Blood in the Bullring
23
action count
action filter_type
action find_reverse
entity Alberto Closas
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Alberto Closas']
SELECT DISTINCT ( COUNT ( ?s ) AS ?c ) WHERE { ?s property:cast_member resource:Alberto_Closas . ?s rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q9779 Q8192 Q34770
USER
Which languages are max number of alphabets and writing systems the writing system of ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?u } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q9779 } UNION { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } } GROUP BY ?n } }
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?u } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:alphabet } UNION { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:writing_system } } GROUP BY ?n } }
[]
alphabet writing system language
Q182695
SYSTEM
Late Old Japanese
Q182695
(c(Q34770),P282,c(Q9779)|c(Q8192))
action argmax
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q8192
[ANSWER] is max number of alphabets and writing systems the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } GROUP BY ?u } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q9779 } UNION { ?n property:P282 ?q . ?n rdf:type ontology:Q34770 . ?q rdf:type ontology:Q8192 } } GROUP BY ?n } }
Late Old Japanese
Late Old Japanese is max number of alphabets and writing systems the writing system of
Late Old Japanese
action argmax
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?s ) { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?w ) WHERE { ?k rdf:type ?b . VALUES ( ?b ) { ( ontology:writing_system ) ( ontology:alphabet ) } } GROUP BY ?u } } . FILTER ( ?d = ?s ) . { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:alphabet } UNION { ?n property:writing_system ?q . ?n rdf:type ontology:language . ?q rdf:type ontology:writing_system } } GROUP BY ?n } }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q182695 Q209764
P282
Q2001982
USER
Is Rongorongo the writing system of Late Old Japanese known as ?
(Q182695,P282,Q209764)
action is_in
entity Q209764
action find
entity Q182695
relation P282
['Q182695', 'P282', 'Q209764']
ASK WHERE { resource:Q182695 property:P282 resource:Q209764 }
Late Old Japanese Rongorongo
action is_in
entity Rongorongo
action find
entity Late Old Japanese
relation writing system
['Late Old Japanese', 'writing system', 'Rongorongo']
ASK WHERE { resource:Late_Old_Japanese property:writing_system resource:Rongorongo }
[]
notation
SYSTEM
NO
(Q182695,P282,Q209764)
action is_in
entity Q209764
action find
entity Q182695
relation P282
[ANSWER]
['Q182695', 'P282', 'Q209764']
ASK WHERE { resource:Q182695 property:P282 resource:Q209764 }
No
action is_in
entity Rongorongo
action find
entity Late Old Japanese
relation writing system
['Late Old Japanese', 'writing system', 'Rongorongo']
ASK WHERE { resource:Late_Old_Japanese property:writing_system resource:Rongorongo }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q182695
P282
Q8192 Q2001982
USER
How many writing systems and notations are used as the scripts for Late Old Japanese ?
(Q182695,P282,c(Q8192)) (Q182695,P282,c(Q2001982))
action count
action union
action filter_type
action find
entity Q182695
relation P282
type Q8192
action filter_type
action find
entity Q182695
relation P282
type Q2001982
['Q182695', 'P282', {'concept': 'Q8192'}] ['Q182695', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { resource:Q182695 property:P282 ?i . ?i rdf:type ontology:Q8192 } UNION { resource:Q182695 property:P282 ?i . ?i rdf:type ontology:Q2001982 } }
Late Old Japanese
action count
action union
action filter_type
action find
entity Late Old Japanese
relation writing system
type writing system
action filter_type
action find
entity Late Old Japanese
relation writing system
type notation
['Late Old Japanese', 'writing system', {'concept': 'writing system'}] ['Late Old Japanese', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { resource:Late_Old_Japanese property:writing_system ?i . ?i rdf:type ontology:writing_system } UNION { resource:Late_Old_Japanese property:writing_system ?i . ?i rdf:type ontology:notation } }
[]
writing system notation
SYSTEM
2 writing systems and 1 notations
Q48332 Q82772 Q82946
(Q182695,P282,c(Q8192)) (Q182695,P282,c(Q2001982))
action count
action union
action filter_type
action find
entity Q182695
relation P282
type Q8192
action filter_type
action find
entity Q182695
relation P282
type Q2001982
[ANSWER]
['Q182695', 'P282', {'concept': 'Q8192'}] ['Q182695', 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { resource:Q182695 property:P282 ?i . ?i rdf:type ontology:Q8192 } UNION { resource:Q182695 property:P282 ?i . ?i rdf:type ontology:Q2001982 } }
hiragana kanji katakana
2 writing systems and 1 notations
action count
action union
action filter_type
action find
entity Late Old Japanese
relation writing system
type writing system
action filter_type
action find
entity Late Old Japanese
relation writing system
type notation
['Late Old Japanese', 'writing system', {'concept': 'writing system'}] ['Late Old Japanese', 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { { resource:Late_Old_Japanese property:writing_system ?i . ?i rdf:type ontology:writing_system } UNION { resource:Late_Old_Japanese property:writing_system ?i . ?i rdf:type ontology:notation } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q56383 Q182695
P282
Q2001982
USER
Which notations are the writing systems of Late Old Japanese or Quenya known as ?
OR((Q182695,P282,c(Q2001982)), (Q56383,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q182695
relation P282
action find
entity Q56383
relation P282
type Q2001982
{'OR': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q56383', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q182695 property:P282 ?b } UNION { resource:Q56383 property:P282 ?b } } . ?b rdf:type ontology:Q2001982 }
Quenya Late Old Japanese
action filter_type
action union
action find
entity Late Old Japanese
relation writing system
action find
entity Quenya
relation writing system
type notation
{'OR': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Quenya', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Late_Old_Japanese property:writing_system ?b } UNION { resource:Quenya property:writing_system ?b } } . ?b rdf:type ontology:notation }
[]
notation
Q82772 Q473725 Q1089000
SYSTEM
kanji, Tengwar, Sarati
Q82772 Q473725 Q1089000
OR((Q182695,P282,c(Q2001982)), (Q56383,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q182695
relation P282
action find
entity Q56383
relation P282
type Q2001982
The writing systems of Late Old Japanese or Quenya are known as [ANSWERS]
{'OR': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q56383', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q182695 property:P282 ?b } UNION { resource:Q56383 property:P282 ?b } } . ?b rdf:type ontology:Q2001982 }
kanji Tengwar Sarati
The writing systems of Late Old Japanese or Quenya are known as kanji, Tengwar and Sarati
kanji Tengwar Sarati
action filter_type
action union
action find
entity Late Old Japanese
relation writing system
action find
entity Quenya
relation writing system
type notation
{'OR': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Quenya', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Late_Old_Japanese property:writing_system ?b } UNION { resource:Quenya property:writing_system ?b } } . ?b rdf:type ontology:notation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P282
Q315
USER
How many languages are that notation the writing system of ?
(c(Q315),P282,Q473725)
[{'concept': 'Q315'}, 'P282', 'Q473725']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q473725 . ?z rdf:type ontology:Q34770 }
[{'concept': 'language'}, 'writing system', 'Tengwar']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tengwar . ?z rdf:type ontology:language }
[]
language
Quantitative|Count|Single entity type|Clarification
Q1089000
SYSTEM
Did you mean Sarati ?
(c(Q315),P282,Q82772) (c(Q315),P282,Q473725) (c(Q315),P282,Q1089000)
[ANSWER]
[{'concept': 'Q315'}, 'P282', 'Q82772'] [{'concept': 'Q315'}, 'P282', 'Q473725'] [{'concept': 'Q315'}, 'P282', 'Q1089000']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q473725 . ?z rdf:type ontology:Q34770 }
Did you mean Sarati ?
Sarati
[{'concept': 'language'}, 'writing system', 'kanji'] [{'concept': 'language'}, 'writing system', 'Tengwar'] [{'concept': 'language'}, 'writing system', 'Sarati']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tengwar . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Tengwar. Could you tell me the answer for that?
(c(Q315),P282,Q473725)
Q473725
[{'concept': 'Q315'}, 'P282', 'Q473725']
[{'concept': 'language'}, 'writing system', 'Tengwar']
[]
SYSTEM
3
Q686210 Q1750889 Q56437
(c(Q315),P282,Q473725)
[ANSWER]
[{'concept': 'Q315'}, 'P282', 'Q473725']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q473725 . ?z rdf:type ontology:Q34770 }
Black Speech Adûnaic Sindarin
3
[{'concept': 'language'}, 'writing system', 'Tengwar']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:Tengwar . ?z rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4711981
P21
Q290
USER
Which sex does Alberto Closas possess ?
(Q4711981,P21,c(Q290))
action filter_type
action find
entity Q4711981
relation P21
type Q290
['Q4711981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4711981 property:P21 ?r . ?r rdf:type ontology:Q290 }
Alberto Closas
action filter_type
action find
entity Alberto Closas
relation gender
type sex
['Alberto Closas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Alberto_Closas property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4711981,P21,c(Q290))
action filter_type
action find
entity Q4711981
relation P21
type Q290
Alberto Closas possesses un [ANSWER]
['Q4711981', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4711981 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
Alberto Closas possesses un male
male
action filter_type
action find
entity Alberto Closas
relation gender
type sex
['Alberto Closas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Alberto_Closas property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22947486
Q290
USER
And what about Guy Badash?
(Q22947486,P21,c(Q290))
action filter_type
action find
entity Q22947486
relation P21
type Q290
['Q22947486', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q22947486 property:P21 ?p . ?p rdf:type ontology:Q290 }
Guy Badash
action filter_type
action find
entity Guy Badash
relation gender
type sex
['Guy Badash', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Guy_Badash property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22947486,P21,c(Q290))
action filter_type
action find
entity Q22947486
relation P21
type Q290
[ANSWER]
['Q22947486', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q22947486 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Guy Badash
relation gender
type sex
['Guy Badash', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Guy_Badash property:gender ?p . ?p rdf:type ontology:sex }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q3380553
P21
Q502895
USER
Is Philippe Poisson a that sex ?
(Q3380553,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3380553
relation P21
['Q3380553', 'P21', 'Q6581097']
ASK WHERE { resource:Q3380553 property:P21 resource:Q6581097 }
male Philippe Poisson
action is_in
entity male
action find
entity Philippe Poisson
relation gender
['Philippe Poisson', 'gender', 'male']
ASK WHERE { resource:Philippe_Poisson property:gender resource:male }
[]
common name
SYSTEM
YES
(Q3380553,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q3380553
relation P21
[ANSWER]
['Q3380553', 'P21', 'Q6581097']
ASK WHERE { resource:Q3380553 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Philippe Poisson
relation gender
['Philippe Poisson', 'gender', 'male']
ASK WHERE { resource:Philippe_Poisson property:gender resource:male }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3322653
P282
Q2001982 Q340169 Q34770
USER
How many notations are used as the scripts for less number of medias and languages than Southwest Paleohispanic script ?
(c(Q340169)|c(Q34770),P282,c(Q2001982))
action count
action less
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_multi_types
action find_reverse
entity Q3322653
relation P282
type Q340169
type Q34770
[[{'concept': 'Q340169'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?l WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P282 resource:Q3322653 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } . ?c rdf:type ?w } } } . FILTER ( ?d < ?x ) }
Southwest Paleohispanic script
action count
action less
action union
action find_reverse_tuple_counts
relation writing system
type notation
type media
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_multi_types
action find_reverse
entity Southwest Paleohispanic script
relation writing system
type media
type language
[[{'concept': 'media'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?l WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:media ) ( ontology:language ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:writing_system resource:Southwest_Paleohispanic_script . { VALUES ( ?w ) { ( ontology:media ) ( ontology:language ) } . ?c rdf:type ?w } } } . FILTER ( ?d < ?x ) }
[]
notation media language
SYSTEM
15
Q3544702 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q340169)|c(Q34770),P282,c(Q2001982))
action count
action less
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_multi_types
action find_reverse
entity Q3322653
relation P282
type Q340169
type Q34770
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?l WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P282 resource:Q3322653 . { VALUES ( ?w ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } . ?c rdf:type ?w } } } . FILTER ( ?d < ?x ) }
Manichaean alphabet Cirth Arabic script Coptic alphabet Tengwar Rongorongo kana Tifinagh Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
15
action count
action less
action union
action find_reverse_tuple_counts
relation writing system
type notation
type media
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_multi_types
action find_reverse
entity Southwest Paleohispanic script
relation writing system
type media
type language
[[{'concept': 'media'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) ?l WHERE { ?o rdf:type ?a . VALUES ( ?a ) { ( ontology:media ) ( ontology:language ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:writing_system resource:Southwest_Paleohispanic_script . { VALUES ( ?w ) { ( ontology:media ) ( ontology:language ) } . ?c rdf:type ?w } } } . FILTER ( ?d < ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q401
P282
Q2001982 Q340169 Q34770
USER
And how about cuneiform?
(c(Q340169)|c(Q34770),P282,c(Q2001982))
action count
action less
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_multi_types
action find_reverse
entity Q401
relation P282
type Q340169
type Q34770
[[{'concept': 'Q340169'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } . ?a rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P282 resource:Q401 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q34770 } } } } . FILTER ( ?l < ?t ) }
cuneiform
action count
action less
action union
action find_reverse_tuple_counts
relation writing system
type notation
type media
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_multi_types
action find_reverse
entity cuneiform
relation writing system
type media
type language
[[{'concept': 'media'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:language ) } . ?a rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:writing_system resource:cuneiform . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:language } } } } . FILTER ( ?l < ?t ) }
[]
notation media language
SYSTEM
19
Q3544702 Q82772 Q2003257 Q1828555 Q321083 Q473725 Q209764 Q187659 Q208503 Q13586477 Q1771716 Q26978 Q3322653 Q1089000 Q790681 Q752854 Q185083 Q806024 Q2479183
(c(Q340169)|c(Q34770),P282,c(Q2001982))
action count
action less
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q340169
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_multi_types
action find_reverse
entity Q401
relation P282
type Q340169
type Q34770
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q34770'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:Q340169 ) ( ontology:Q34770 ) } . ?a rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:P282 resource:Q401 . { { ?f rdf:type ontology:Q340169 } UNION { ?f rdf:type ontology:Q34770 } } } } . FILTER ( ?l < ?t ) }
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 union
action find_reverse_tuple_counts
relation writing system
type notation
type media
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_multi_types
action find_reverse
entity cuneiform
relation writing system
type media
type language
[[{'concept': 'media'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?m ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?l ) WHERE { VALUES ( ?r ) { ( ontology:media ) ( ontology:language ) } . ?a rdf:type ?r } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { ?f property:writing_system resource:cuneiform . { { ?f rdf:type ontology:media } UNION { ?f rdf:type ontology:language } } } } . FILTER ( ?l < ?t ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18327332 Q182695
P282
Q2001982
USER
Which notations are the writing systems of Late Old Japanese and Yuriko known as ?
AND((Q182695,P282,c(Q2001982)), (Q18327332,P282,c(Q2001982)))
action filter_type
action intersection
action find
entity Q182695
relation P282
action find
entity Q18327332
relation P282
type Q2001982
{'AND': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q18327332', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?w WHERE { resource:Q182695 property:P282 ?w . resource:Q18327332 property:P282 ?w . ?w rdf:type ontology:Q2001982 }
Yuriko Late Old Japanese
action filter_type
action intersection
action find
entity Late Old Japanese
relation writing system
action find
entity Yuriko
relation writing system
type notation
{'AND': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Yuriko', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?w WHERE { resource:Late_Old_Japanese property:writing_system ?w . resource:Yuriko property:writing_system ?w . ?w rdf:type ontology:notation }
[]
notation
Q82772
SYSTEM
kanji
Q82772
AND((Q182695,P282,c(Q2001982)), (Q18327332,P282,c(Q2001982)))
action filter_type
action intersection
action find
entity Q182695
relation P282
action find
entity Q18327332
relation P282
type Q2001982
The writing systems of Late Old Japanese and Yuriko are known as [ANSWER]
{'AND': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q18327332', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?w WHERE { resource:Q182695 property:P282 ?w . resource:Q18327332 property:P282 ?w . ?w rdf:type ontology:Q2001982 }
kanji
The writing systems of Late Old Japanese and Yuriko are known as kanji
kanji
action filter_type
action intersection
action find
entity Late Old Japanese
relation writing system
action find
entity Yuriko
relation writing system
type notation
{'AND': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Yuriko', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?w WHERE { resource:Late_Old_Japanese property:writing_system ?w . resource:Yuriko property:writing_system ?w . ?w rdf:type ontology:notation }
[]