Simple Question (Direct)
Simple Question
Q3066501
P1412
Q34770
USER
Which language is spoken by Fanny Stevenson ?
(Q3066501,P1412,c(Q34770))
action filter_type
action find
entity Q3066501
relation P1412
type Q34770
['Q3066501', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3066501 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
Fanny Stevenson
action filter_type
action find
entity Fanny Stevenson
relation languages spoken, written or signed
type language
['Fanny Stevenson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Fanny_Stevenson property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3066501,P1412,c(Q34770))
action filter_type
action find
entity Q3066501
relation P1412
type Q34770
Is [ANSWER] is spoken by Fanny Stevenson
['Q3066501', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { resource:Q3066501 property:P1412 ?e . ?e rdf:type ontology:Q34770 }
English
Is English is spoken by Fanny Stevenson
English
action filter_type
action find
entity Fanny Stevenson
relation languages spoken, written or signed
type language
['Fanny Stevenson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { resource:Fanny_Stevenson property:languages_spoken,_written_or_signed ?e . ?e rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a component of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?i }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . resource:English property:part_of ?i }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a component of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . resource:Q1860 property:P361 ?i }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a component of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . resource:English property:part_of ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P2439
Q1969448
USER
Which terms have English as the language associated with it ?
(c(Q1969448),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[{'concept': 'Q1969448'}, 'P2439', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P2439 resource:Q1860 . ?c rdf:type ontology:Q1969448 }
English
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', 'English']
SELECT DISTINCT ?c WHERE { ?c property:language resource:English . ?c rdf:type ontology:term }
[]
term
Q5324750 Q6720315 Q5975490
SYSTEM
EZFW, MXlo, IVOD
Q5324750 Q6720315 Q5975490 Q6107784 Q5324036 Q4651853 Q5204450 Q4836877 Q1778314 Q5635995 Q5315751 Q5971975 Q4668674 Q5204677 Q4654708
(c(Q1969448),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q1969448
[ANSWERS] have English as the language associated with it
[{'concept': 'Q1969448'}, 'P2439', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P2439 resource:Q1860 . ?c rdf:type ontology:Q1969448 }
EZFW MXlo IVOD JBOB ERFx AIDR DBrn BYOA PSAM HSPF Dunt IMD3 Abox DDLC ATLO
EZFW, MXlo and IVOD have English as the language associated with it
EZFW MXlo IVOD
action filter_type
action find_reverse
entity English
relation language
type term
[{'concept': 'term'}, 'language', 'English']
SELECT DISTINCT ?c WHERE { ?c property:language resource:English . ?c rdf:type ontology:term }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q5324750 Q6720315 Q5975490
P2439
Q34770
USER
Which languages are associated with EZFW, MXlo and IVOD ?
(Q5324750,P2439,c(Q34770)) (Q6720315,P2439,c(Q34770)) (Q5975490,P2439,c(Q34770))
action union
action filter_type
action find
entity Q5324750
relation P2439
type Q34770
action filter_type
action find
entity Q6720315
relation P2439
type Q34770
action filter_type
action find
entity Q5975490
relation P2439
type Q34770
['Q5324750', 'P2439', {'concept': 'Q34770'}] ['Q6720315', 'P2439', {'concept': 'Q34770'}] ['Q5975490', 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Q6720315 ) ( resource:Q5324750 ) } . ?k property:P2439 ?p }
EZFW MXlo IVOD
action union
action filter_type
action find
entity EZFW
relation language
type language
action filter_type
action find
entity MXlo
relation language
type language
action filter_type
action find
entity IVOD
relation language
type language
['EZFW', 'language', {'concept': 'language'}] ['MXlo', 'language', {'concept': 'language'}] ['IVOD', 'language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:MXlo ) ( resource:EZFW ) } . ?k property:language ?p }
[]
language
Q1860 Q1860 Q1860
SYSTEM
English
Q1860 Q1860 Q1860
(Q5324750,P2439,c(Q34770)) (Q6720315,P2439,c(Q34770)) (Q5975490,P2439,c(Q34770))
action union
action filter_type
action find
entity Q5324750
relation P2439
type Q34770
action filter_type
action find
entity Q6720315
relation P2439
type Q34770
action filter_type
action find
entity Q5975490
relation P2439
type Q34770
[ANSWER], [ANSWER] and [ANSWER] are associated with EZFW, MXlo and IVOD
['Q5324750', 'P2439', {'concept': 'Q34770'}] ['Q6720315', 'P2439', {'concept': 'Q34770'}] ['Q5975490', 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:Q6720315 ) ( resource:Q5324750 ) } . ?k property:P2439 ?p }
English English English
English, English and English are associated with EZFW, MXlo and IVOD
English English English
action union
action filter_type
action find
entity EZFW
relation language
type language
action filter_type
action find
entity MXlo
relation language
type language
action filter_type
action find
entity IVOD
relation language
type language
['EZFW', 'language', {'concept': 'language'}] ['MXlo', 'language', {'concept': 'language'}] ['IVOD', 'language', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { VALUES ( ?k ) { ( resource:MXlo ) ( resource:EZFW ) } . ?k property:language ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3066501
P26
Q502895
USER
Who is married to Fanny Stevenson ?
(Q3066501,P26,c(Q502895))
action filter_type
action find
entity Q3066501
relation P26
type Q502895
['Q3066501', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3066501 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Fanny Stevenson
action filter_type
action find
entity Fanny Stevenson
relation spouse
type common name
['Fanny Stevenson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Fanny_Stevenson property:spouse ?n . ?n rdf:type ontology:common_name }
[]
common name
Q1512
SYSTEM
Robert Louis Stevenson
Q1512
(Q3066501,P26,c(Q502895))
action filter_type
action find
entity Q3066501
relation P26
type Q502895
Sir [ANSWER] is married to Fanny Stevenson
['Q3066501', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q3066501 property:P26 ?n . ?n rdf:type ontology:Q502895 }
Robert Louis Stevenson
Sir Robert Louis Stevenson is married to Fanny Stevenson
Robert Louis Stevenson
action filter_type
action find
entity Fanny Stevenson
relation spouse
type common name
['Fanny Stevenson', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Fanny_Stevenson property:spouse ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1336575
Q502895
USER
And what about Xiao Baojuan?
(Q1336575,P26,c(Q502895))
action filter_type
action find
entity Q1336575
relation P26
type Q502895
['Q1336575', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1336575 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Xiao Baojuan
action filter_type
action find
entity Xiao Baojuan
relation spouse
type common name
['Xiao Baojuan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Xiao_Baojuan property:spouse ?p . ?p rdf:type ontology:common_name }
[]
common name
Q5163357 Q1022901 Q8253938
SYSTEM
Pan Yunu, Empress Chu Lingqu, Wu Jinghui
Q5163357 Q1022901 Q8253938
(Q1336575,P26,c(Q502895))
action filter_type
action find
entity Q1336575
relation P26
type Q502895
[ANSWERS]
['Q1336575', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1336575 property:P26 ?p . ?p rdf:type ontology:Q502895 }
Pan Yunu Empress Chu Lingqu Wu Jinghui
Pan Yunu Empress Chu Lingqu Wu Jinghui
action filter_type
action find
entity Xiao Baojuan
relation spouse
type common name
['Xiao Baojuan', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Xiao_Baojuan property:spouse ?p . ?p rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8253938
P40
Q502895
USER
Which person is a successor of that one ?
(Q8253938,P40,c(Q502895))
action filter_type
action find
entity Q8253938
relation P40
type Q502895
['Q8253938', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q8253938 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Wu Jinghui
action filter_type
action find
entity Wu Jinghui
relation child
type common name
['Wu Jinghui', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Wu_Jinghui property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q5163357
SYSTEM
Did you mean Pan Yunu ?
Q5163357 Q1022901 Q8253938
(Q5163357,P40,c(Q502895)) (Q1022901,P40,c(Q502895)) (Q8253938,P40,c(Q502895))
[ANSWER]
['Q5163357', 'P40', {'concept': 'Q502895'}] ['Q1022901', 'P40', {'concept': 'Q502895'}] ['Q8253938', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q8253938 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Pan Yunu Empress Chu Lingqu Wu Jinghui
Did you mean Pan Yunu ?
Pan Yunu
['Pan Yunu', 'child', {'concept': 'common name'}] ['Empress Chu Lingqu', 'child', {'concept': 'common name'}] ['Wu Jinghui', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Wu_Jinghui property:child ?k . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Wu Jinghui. Could you tell me the answer for that?
(Q8253938,P40,c(Q502895))
Q8253938
['Q8253938', 'P40', {'concept': 'Q502895'}]
['Wu Jinghui', 'child', {'concept': 'common name'}]
[]
Q10862285
SYSTEM
Xiao Zeng
Q10862285
(Q8253938,P40,c(Q502895))
action filter_type
action find
entity Q8253938
relation P40
type Q502895
[ANSWER] is a successor of that one
['Q8253938', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q8253938 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Xiao Zeng
Xiao Zeng is a successor of that one
Xiao Zeng
action filter_type
action find
entity Wu Jinghui
relation child
type common name
['Wu Jinghui', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Wu_Jinghui property:child ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series had exactly 4 people as the dubbing artist ?
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 4
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?m ) WHERE { ?k property:P725 ?x . ?x rdf:type ontology:Q502895 . ?k rdf:type ontology:Q5398426 } GROUP BY ?k } . FILTER ( ?m = 4 ) }
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 4
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?m ) WHERE { ?k property:voice_actor ?x . ?x rdf:type ontology:common_name . ?k rdf:type ontology:television_series } GROUP BY ?k } . FILTER ( ?m = 4 ) }
[]
common name television series
SYSTEM
2
Q602721 Q1617849
(c(Q5398426),P725,c(Q502895))
action count
action equal
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 4
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?m ) WHERE { ?k property:P725 ?x . ?x rdf:type ontology:Q502895 . ?k rdf:type ontology:Q5398426 } GROUP BY ?k } . FILTER ( ?m = 4 ) }
Shugo Chara! High School DxD
2
action count
action equal
action find_tuple_counts
relation voice actor
type television series
type common name
value 4
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?m ) WHERE { ?k property:voice_actor ?x . ?x rdf:type ontology:common_name . ?k rdf:type ontology:television_series } GROUP BY ?k } . FILTER ( ?m = 4 ) }
[]