Simple Question (Direct)
Simple Question
Q19543
P21
Q290
USER
Which sex does Hans Sachs have ?
(Q19543,P21,c(Q290))
action filter_type
action find
entity Q19543
relation P21
type Q290
['Q19543', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q19543 property:P21 ?b }
Hans Sachs
action filter_type
action find
entity Hans Sachs
relation gender
type sex
['Hans Sachs', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Hans_Sachs property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q19543,P21,c(Q290))
action filter_type
action find
entity Q19543
relation P21
type Q290
Hans Sachs has a [ANSWER]
['Q19543', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q19543 property:P21 ?b }
male
Hans Sachs has a male
male
action filter_type
action find
entity Hans Sachs
relation gender
type sex
['Hans Sachs', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Hans_Sachs property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as their category ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?r WHERE { ?r property:genre resource:male . ?r rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as their category
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?r WHERE { ?r property:P136 resource:Q6581097 . ?r rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as their category
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?r WHERE { ?r property:genre resource:male . ?r rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q95074
USER
Which fictional characters did approximately 3 people dub for ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?t property:P725 ?v . ?t rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } GROUP BY ?t } }
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?t property:voice_actor ?v . ?t rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } GROUP BY ?t } }
[]
common name fictional character
Q21847058 Q11623287 Q21837021
SYSTEM
Yūichi Tachibana, Takumi Fujiwara, Bunta Fujiwara
Q21847058 Q11623287 Q3256697 Q21837397 Q21837021 Q21837027
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
value 3
Approximately 3 people dubbed [ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?t property:P725 ?v . ?t rdf:type ontology:Q95074 . ?v rdf:type ontology:Q502895 } GROUP BY ?t } }
Yūichi Tachibana Takumi Fujiwara Little Mac Takeshi Nakazato Bunta Fujiwara Ryōsuke Takahashi
Approximately 3 people dubbed Yūichi Tachibana, Takumi Fujiwara and Bunta Fujiwara
Yūichi Tachibana Takumi Fujiwara Bunta Fujiwara
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
value 3
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?y = 3 ) . { SELECT DISTINCT ?t ( COUNT ( ?v ) AS ?y ) WHERE { ?t property:voice_actor ?v . ?t rdf:type ontology:fictional_character . ?v rdf:type ontology:common_name } GROUP BY ?t } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4764755
P674
Q26971562
USER
Are those fictional characters a character of Animal Academy: Hakobune Hakusho ?
(Q4764755,P674,Q21847058) (Q4764755,P674,Q11623287) (Q4764755,P674,Q21837021)
action is_in
entity prev_answer
action find
entity Q4764755
relation P674
['Q4764755', 'P674', 'Q21847058'] ['Q4764755', 'P674', 'Q11623287'] ['Q4764755', 'P674', 'Q21837021']
ASK WHERE { VALUES ( ?n ) { ( resource:Q21847058 ) ( resource:Q11623287 ) ( resource:Q3256697 ) } . resource:Q4764755 property:P674 ?n }
Animal Academy: Hakobune Hakusho
action is_in
entity prev_answer
action find
entity Animal Academy: Hakobune Hakusho
relation characters
['Animal Academy: Hakobune Hakusho', 'characters', 'Yūichi Tachibana'] ['Animal Academy: Hakobune Hakusho', 'characters', 'Takumi Fujiwara'] ['Animal Academy: Hakobune Hakusho', 'characters', 'Bunta Fujiwara']
ASK WHERE { VALUES ( ?n ) { ( resource:Yūichi_Tachibana ) ( resource:Takumi_Fujiwara ) ( resource:Little_Mac ) } . resource:Animal_Academy:_Hakobune_Hakusho property:characters ?n }
[]
comic format
SYSTEM
NO
(Q4764755,P674,Q21847058) (Q4764755,P674,Q11623287) (Q4764755,P674,Q21837021)
action is_in
entity prev_answer
action find
entity Q4764755
relation P674
[ANSWER]
['Q4764755', 'P674', 'Q21847058'] ['Q4764755', 'P674', 'Q11623287'] ['Q4764755', 'P674', 'Q21837021']
ASK WHERE { VALUES ( ?n ) { ( resource:Q21847058 ) ( resource:Q11623287 ) ( resource:Q3256697 ) } . resource:Q4764755 property:P674 ?n }
No
action is_in
entity prev_answer
action find
entity Animal Academy: Hakobune Hakusho
relation characters
['Animal Academy: Hakobune Hakusho', 'characters', 'Yūichi Tachibana'] ['Animal Academy: Hakobune Hakusho', 'characters', 'Takumi Fujiwara'] ['Animal Academy: Hakobune Hakusho', 'characters', 'Bunta Fujiwara']
ASK WHERE { VALUES ( ?n ) { ( resource:Yūichi_Tachibana ) ( resource:Takumi_Fujiwara ) ( resource:Little_Mac ) } . resource:Animal_Academy:_Hakobune_Hakusho property:characters ?n }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q6619679 Q15416 Q95074
USER
Which fictional characters did approximately 2 fictional humanoids or television programs inspire ?
(c(Q95074),P941,c(Q6619679)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q6619679
action find_tuple_counts
relation P941
type Q95074
type Q15416
value 2
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q6619679'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:P941 ?b . ?x rdf:type ontology:Q95074 . ?b rdf:type ontology:Q15416 } UNION { ?x property:P941 ?b . ?x rdf:type ontology:Q95074 . ?b rdf:type ontology:Q6619679 } } GROUP BY ?x } . FILTER ( ?r = 2 ) }
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type fictional humanoid
action find_tuple_counts
relation inspired by
type fictional character
type television program
value 2
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'fictional humanoid'}, {'concept': 'television program'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:inspired_by ?b . ?x rdf:type ontology:fictional_character . ?b rdf:type ontology:television_program } UNION { ?x property:inspired_by ?b . ?x rdf:type ontology:fictional_character . ?b rdf:type ontology:fictional_humanoid } } GROUP BY ?x } . FILTER ( ?r = 2 ) }
[]
fictional humanoid television program fictional character
Q27493214
SYSTEM
Rita
Q27493214
(c(Q95074),P941,c(Q6619679)|c(Q15416))
action approx
action union
action find_tuple_counts
relation P941
type Q95074
type Q6619679
action find_tuple_counts
relation P941
type Q95074
type Q15416
value 2
Approximately 2 fictional humanoids or television programs inspired by [ANSWER]
[{'concept': 'Q95074'}, 'P941', [{'concept': 'Q6619679'}, {'concept': 'Q15416'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:P941 ?b . ?x rdf:type ontology:Q95074 . ?b rdf:type ontology:Q15416 } UNION { ?x property:P941 ?b . ?x rdf:type ontology:Q95074 . ?b rdf:type ontology:Q6619679 } } GROUP BY ?x } . FILTER ( ?r = 2 ) }
Rita
Approximately 2 fictional humanoids or television programs inspired by Rita
Rita
action approx
action union
action find_tuple_counts
relation inspired by
type fictional character
type fictional humanoid
action find_tuple_counts
relation inspired by
type fictional character
type television program
value 2
[{'concept': 'fictional character'}, 'inspired by', [{'concept': 'fictional humanoid'}, {'concept': 'television program'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?b ) AS ?r ) WHERE { { ?x property:inspired_by ?b . ?x rdf:type ontology:fictional_character . ?b rdf:type ontology:television_program } UNION { ?x property:inspired_by ?b . ?x rdf:type ontology:fictional_character . ?b rdf:type ontology:fictional_humanoid } } GROUP BY ?x } . FILTER ( ?r = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27493214
P1884
Q1075
USER
Which color best decribes hair of that fictional character ?
(Q27493214,P1884,c(Q1075))
action filter_type
action find
entity Q27493214
relation P1884
type Q1075
['Q27493214', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { resource:Q27493214 property:P1884 ?n . ?n rdf:type ontology:Q1075 }
Rita
action filter_type
action find
entity Rita
relation hair color
type color
['Rita', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { resource:Rita property:hair_color ?n . ?n rdf:type ontology:color }
[]
color
Q2419551
SYSTEM
auburn
Q2419551
(Q27493214,P1884,c(Q1075))
action filter_type
action find
entity Q27493214
relation P1884
type Q1075
[ANSWER] best decribes hair of that fictional character
['Q27493214', 'P1884', {'concept': 'Q1075'}]
SELECT DISTINCT ?n WHERE { resource:Q27493214 property:P1884 ?n . ?n rdf:type ontology:Q1075 }
auburn
Auburn best decribes hair of that fictional character
auburn
action filter_type
action find
entity Rita
relation hair color
type color
['Rita', 'hair color', {'concept': 'color'}]
SELECT DISTINCT ?n WHERE { resource:Rita property:hair_color ?n . ?n rdf:type ontology:color }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q7725634 Q5398426
USER
Which fictional characters appear as a character in approximately 1 literary works or television series ?
(c(Q7725634)|c(Q5398426),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
value 1
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P674 ?z . ?z rdf:type ontology:Q95074 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P674 ?z . ?z rdf:type ontology:Q95074 . ?i rdf:type ontology:Q5398426 } } GROUP BY ?z } . FILTER ( ?y = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
value 1
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:characters ?z . ?z rdf:type ontology:fictional_character . ?i rdf:type ontology:literary_work } UNION { ?i property:characters ?z . ?z rdf:type ontology:fictional_character . ?i rdf:type ontology:television_series } } GROUP BY ?z } . FILTER ( ?y = 1 ) }
[]
fictional character literary work television series
Q4653 Q2340460 Q3471289
SYSTEM
Sherlock Holmes, Captain Falcon, Samurai Goroh
Q16027672 Q461606 Q2340460 Q4653 Q3471289 Q3056704 Q1616457
(c(Q7725634)|c(Q5398426),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q7725634
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
value 1
[ANSWERS] appear as a character in approximately 1 literary works or television series
[[{'concept': 'Q7725634'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:P674 ?z . ?z rdf:type ontology:Q95074 . ?i rdf:type ontology:Q7725634 } UNION { ?i property:P674 ?z . ?z rdf:type ontology:Q95074 . ?i rdf:type ontology:Q5398426 } } GROUP BY ?z } . FILTER ( ?y = 1 ) }
Dr. Stewart Arsène Lupin Captain Falcon Sherlock Holmes Samurai Goroh Erlking Mycroft Holmes
Sherlock Holmes, Captain Falcon and Samurai Goroh appear as a character in approximately 1 literary works or television series
Sherlock Holmes Captain Falcon Samurai Goroh
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type literary work
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
value 1
[[{'concept': 'literary work'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?i ) AS ?y ) WHERE { { ?i property:characters ?z . ?z rdf:type ontology:fictional_character . ?i rdf:type ontology:literary_work } UNION { ?i property:characters ?z . ?z rdf:type ontology:fictional_character . ?i rdf:type ontology:television_series } } GROUP BY ?z } . FILTER ( ?y = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P1412
Q34770
USER
Which language is spoken by Augustus Pugin ?
(Q313288,P1412,c(Q34770))
action filter_type
action find
entity Q313288
relation P1412
type Q34770
['Q313288', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q313288 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation languages spoken, written or signed
type language
['Augustus Pugin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Augustus_Pugin property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q313288,P1412,c(Q34770))
action filter_type
action find
entity Q313288
relation P1412
type Q34770
In [ANSWER] is spoken by Augustus Pugin
['Q313288', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { resource:Q313288 property:P1412 ?s . ?s rdf:type ontology:Q34770 }
English
In English is spoken by Augustus Pugin
English
action filter_type
action find
entity Augustus Pugin
relation languages spoken, written or signed
type language
['Augustus Pugin', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { resource:Augustus_Pugin property:languages_spoken,_written_or_signed ?s . ?s rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1860 Q1346342 Q5329170
P361
Q5962346
USER
Is that language a part of Anglic languages and Anglo-Frisian languages ?
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q5329170
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q5329170 }
English Anglic languages Anglo-Frisian languages
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
classification scheme
SYSTEM
YES
(Q1860,P361,Q1346342) (Q1860,P361,Q5329170)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q5329170
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q5329170']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q5329170 }
Yes
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity Anglo-Frisian languages
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'Anglo-Frisian languages']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:Anglo-Frisian_languages }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are the writing systems of max number of languages known as ?
(c(Q34770),P282,Q26803)
action argmax
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
[{'concept': 'Q34770'}, 'P282', 'Q26803']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?g ) WHERE { ?m rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?m } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P282 ?r . ?r rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } GROUP BY ?r } . FILTER ( ?a = ?o ) }
action argmax
action find_reverse_tuple_counts
relation writing system
type writing system
type language
[{'concept': 'language'}, 'writing system', 'Tamil script']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?g ) WHERE { ?m rdf:type ontology:writing_system . ?y rdf:type ontology:language . ?y property:writing_system ?m } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:writing_system ?r . ?r rdf:type ontology:writing_system . ?k rdf:type ontology:language } GROUP BY ?r } . FILTER ( ?a = ?o ) }
[]
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 the writing systems of max number of languages known as
[{'concept': 'Q34770'}, 'P282', 'Q26803']
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?g ) WHERE { ?m rdf:type ontology:Q8192 . ?y rdf:type ontology:Q34770 . ?y property:P282 ?m } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:P282 ?r . ?r rdf:type ontology:Q8192 . ?k rdf:type ontology:Q34770 } GROUP BY ?r } . FILTER ( ?a = ?o ) }
katakana Linear A hiragana
Katakana, Linear A and hiragana are the writing systems of max number of languages known as
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 ?r WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?m ( COUNT ( ?y ) AS ?g ) WHERE { ?m rdf:type ontology:writing_system . ?y rdf:type ontology:language . ?y property:writing_system ?m } GROUP BY ?m } } . { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?a ) WHERE { ?k property:writing_system ?r . ?r rdf:type ontology:writing_system . ?k rdf:type ontology:language } GROUP BY ?r } . FILTER ( ?a = ?o ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4653
P7
Q95074
USER
Who has Sherlock Holmes as their sibling ?
(Q4653,P7,c(Q95074))
action filter_type
action find
entity Q4653
relation P7
type Q95074
['Q4653', 'P7', {'concept': 'Q95074'}]
SELECT DISTINCT ?m WHERE { resource:Q4653 property:P7 ?m . ?m rdf:type ontology:Q95074 }
Sherlock Holmes
action filter_type
action find
entity Sherlock Holmes
relation brother
type fictional character
['Sherlock Holmes', 'brother', {'concept': 'fictional character'}]
SELECT DISTINCT ?m WHERE { resource:Sherlock_Holmes property:brother ?m . ?m rdf:type ontology:fictional_character }
[]
fictional character
Q1616457
SYSTEM
Mycroft Holmes
Q1616457
(Q4653,P7,c(Q95074))
action filter_type
action find
entity Q4653
relation P7
type Q95074
[ANSWER] has Sherlock Holmes as their sibling
['Q4653', 'P7', {'concept': 'Q95074'}]
SELECT DISTINCT ?m WHERE { resource:Q4653 property:P7 ?m . ?m rdf:type ontology:Q95074 }
Mycroft Holmes
Mycroft Holmes has Sherlock Holmes as their sibling
Mycroft Holmes
action filter_type
action find
entity Sherlock Holmes
relation brother
type fictional character
['Sherlock Holmes', 'brother', {'concept': 'fictional character'}]
SELECT DISTINCT ?m WHERE { resource:Sherlock_Holmes property:brother ?m . ?m rdf:type ontology:fictional_character }
[]