Simple Question (Direct)
Simple Question
Q628798
P22
Q502895
USER
Who was the father of John I Doukas of Thessaly ?
(Q628798,P22,c(Q502895))
action filter_type
action find
entity Q628798
relation P22
type Q502895
['Q628798', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q628798 property:P22 ?f . ?f rdf:type ontology:Q502895 }
John I Doukas of Thessaly
action filter_type
action find
entity John I Doukas of Thessaly
relation father
type common name
['John I Doukas of Thessaly', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_I_Doukas_of_Thessaly property:father ?f . ?f rdf:type ontology:common_name }
[]
common name
Q729407
SYSTEM
Michael II Komnenos Doukas
Q729407
(Q628798,P22,c(Q502895))
action filter_type
action find
entity Q628798
relation P22
type Q502895
The father of John I Doukas of Thessaly was married [ANSWER]
['Q628798', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q628798 property:P22 ?f . ?f rdf:type ontology:Q502895 }
Michael II Komnenos Doukas
The father of John I Doukas of Thessaly was married Michael II Komnenos Doukas
Michael II Komnenos Doukas
action filter_type
action find
entity John I Doukas of Thessaly
relation father
type common name
['John I Doukas of Thessaly', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:John_I_Doukas_of_Thessaly property:father ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q628798
P40
Q502895
USER
Who are the children of John I Doukas of Thessaly ?
(Q628798,P40,c(Q502895))
action filter_type
action find
entity Q628798
relation P40
type Q502895
['Q628798', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q628798 property:P40 ?k . ?k rdf:type ontology:Q502895 }
John I Doukas of Thessaly
action filter_type
action find
entity John I Doukas of Thessaly
relation child
type common name
['John I Doukas of Thessaly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:John_I_Doukas_of_Thessaly property:child ?k . ?k rdf:type ontology:common_name }
[]
common name
Q21074425 Q21003749 Q574715
SYSTEM
Helena Doukaina Angelina, Theodore Angelos, Constantine Doukas of Thessaly
Q21074425 Q21003749 Q574715
(Q628798,P40,c(Q502895))
action filter_type
action find
entity Q628798
relation P40
type Q502895
The children of John I Doukas of are [ANSWERS]
['Q628798', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q628798 property:P40 ?k . ?k rdf:type ontology:Q502895 }
Helena Doukaina Angelina Theodore Angelos Constantine Doukas of Thessaly
The children of John I Doukas of are Helena Doukaina Angelina, Theodore Angelos and Constantine Doukas of Thessaly
Helena Doukaina Angelina Theodore Angelos Constantine Doukas of Thessaly
action filter_type
action find
entity John I Doukas of Thessaly
relation child
type common name
['John I Doukas of Thessaly', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:John_I_Doukas_of_Thessaly property:child ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q386724
USER
Which works did max number of people do the dubbing for ?
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?v ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?o ) WHERE { ?r property:P725 ?k . ?r rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?w ) WHERE { ?g property:P725 ?q . ?g rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?w = ?v ) }
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?v ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?o ) WHERE { ?r property:voice_actor ?k . ?r rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?w ) WHERE { ?g property:voice_actor ?q . ?g rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?w = ?v ) }
[]
common name work
Q26331781
SYSTEM
Hércules y el examen de conducir
Q26331781
(c(Q386724),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q386724
type Q502895
[ANSWER] max number of people did the dubbing
[{'concept': 'Q386724'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?v ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?o ) WHERE { ?r property:P725 ?k . ?r rdf:type ontology:Q386724 . ?k rdf:type ontology:Q502895 } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?w ) WHERE { ?g property:P725 ?q . ?g rdf:type ontology:Q386724 . ?q rdf:type ontology:Q502895 } GROUP BY ?g } . FILTER ( ?w = ?v ) }
Hércules y el examen de conducir
Hércules y el examen de conducir max number of people did the dubbing
Hércules y el examen de conducir
action argmax
action find_tuple_counts
relation voice actor
type work
type common name
[{'concept': 'work'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( MAX ( ?o ) AS ?v ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?o ) WHERE { ?r property:voice_actor ?k . ?r rdf:type ontology:work . ?k rdf:type ontology:common_name } GROUP BY ?r } } . { SELECT DISTINCT ?g ( COUNT ( ?q ) AS ?w ) WHERE { ?g property:voice_actor ?q . ?g rdf:type ontology:work . ?q rdf:type ontology:common_name } GROUP BY ?g } . FILTER ( ?w = ?v ) }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q26331781 Q21518704 Q4101579
P725
Q502895
USER
Did Eugène Lesacher and Albinas Bernotas do the dubbing for Hércules y el examen de conducir ?
(Q26331781,P725,Q21518704) (Q26331781,P725,Q4101579)
action is_in
entity Q26331781
action intersection
action find_reverse
entity Q21518704
relation P725
action find_reverse
entity Q4101579
relation P725
['Q26331781', 'P725', 'Q21518704'] ['Q26331781', 'P725', 'Q4101579']
ASK WHERE { resource:Q26331781 property:P725 resource:Q21518704 . resource:Q26331781 property:P725 resource:Q4101579 }
Hércules y el examen de conducir Eugène Lesacher Albinas Bernotas
action is_in
entity Hércules y el examen de conducir
action intersection
action find_reverse
entity Eugène Lesacher
relation voice actor
action find_reverse
entity Albinas Bernotas
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Eugène Lesacher'] ['Hércules y el examen de conducir', 'voice actor', 'Albinas Bernotas']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Eugène_Lesacher . resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Albinas_Bernotas }
[]
common name
SYSTEM
NO
(Q26331781,P725,Q21518704) (Q26331781,P725,Q4101579)
action is_in
entity Q26331781
action intersection
action find_reverse
entity Q21518704
relation P725
action find_reverse
entity Q4101579
relation P725
[ANSWER]
['Q26331781', 'P725', 'Q21518704'] ['Q26331781', 'P725', 'Q4101579']
ASK WHERE { resource:Q26331781 property:P725 resource:Q21518704 . resource:Q26331781 property:P725 resource:Q4101579 }
No
action is_in
entity Hércules y el examen de conducir
action intersection
action find_reverse
entity Eugène Lesacher
relation voice actor
action find_reverse
entity Albinas Bernotas
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Eugène Lesacher'] ['Hércules y el examen de conducir', 'voice actor', 'Albinas Bernotas']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Eugène_Lesacher . resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Albinas_Bernotas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21003749 Q374578 Q5698828
P22
Q502895
USER
Is Theodore Angelos the offspring of Adrian Wilson and Antonio Lucas Marín ?
(Q21003749,P22,Q374578) (Q21003749,P22,Q5698828)
action is_in
entity Q21003749
action intersection
action find_reverse
entity Q374578
relation P22
action find_reverse
entity Q5698828
relation P22
['Q21003749', 'P22', 'Q374578'] ['Q21003749', 'P22', 'Q5698828']
ASK WHERE { resource:Q21003749 property:P22 resource:Q374578 . resource:Q21003749 property:P22 resource:Q5698828 }
Theodore Angelos Adrian Wilson Antonio Lucas Marín
action is_in
entity Theodore Angelos
action intersection
action find_reverse
entity Adrian Wilson
relation father
action find_reverse
entity Antonio Lucas Marín
relation father
['Theodore Angelos', 'father', 'Adrian Wilson'] ['Theodore Angelos', 'father', 'Antonio Lucas Marín']
ASK WHERE { resource:Theodore_Angelos property:father resource:Adrian_Wilson . resource:Theodore_Angelos property:father resource:Antonio_Lucas_Marín }
[]
common name
SYSTEM
NO
(Q21003749,P22,Q374578) (Q21003749,P22,Q5698828)
action is_in
entity Q21003749
action intersection
action find_reverse
entity Q374578
relation P22
action find_reverse
entity Q5698828
relation P22
[ANSWER]
['Q21003749', 'P22', 'Q374578'] ['Q21003749', 'P22', 'Q5698828']
ASK WHERE { resource:Q21003749 property:P22 resource:Q374578 . resource:Q21003749 property:P22 resource:Q5698828 }
No
action is_in
entity Theodore Angelos
action intersection
action find_reverse
entity Adrian Wilson
relation father
action find_reverse
entity Antonio Lucas Marín
relation father
['Theodore Angelos', 'father', 'Adrian Wilson'] ['Theodore Angelos', 'father', 'Antonio Lucas Marín']
ASK WHERE { resource:Theodore_Angelos property:father resource:Adrian_Wilson . resource:Theodore_Angelos property:father resource:Antonio_Lucas_Marín }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q26331781 Q26332007
P725
Q502895
USER
Was Hércules y el examen de conducir dubbed by Jordi Ribes ?
(Q26331781,P725,Q26332007)
action is_in
entity Q26332007
action find
entity Q26331781
relation P725
['Q26331781', 'P725', 'Q26332007']
ASK WHERE { resource:Q26331781 property:P725 resource:Q26332007 }
Hércules y el examen de conducir Jordi Ribes
action is_in
entity Jordi Ribes
action find
entity Hércules y el examen de conducir
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Jordi Ribes']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Jordi_Ribes }
[]
common name
SYSTEM
YES
(Q26331781,P725,Q26332007)
action is_in
entity Q26332007
action find
entity Q26331781
relation P725
[ANSWER]
['Q26331781', 'P725', 'Q26332007']
ASK WHERE { resource:Q26331781 property:P725 resource:Q26332007 }
Yes
action is_in
entity Jordi Ribes
action find
entity Hércules y el examen de conducir
relation voice actor
['Hércules y el examen de conducir', 'voice actor', 'Jordi Ribes']
ASK WHERE { resource:Hércules_y_el_examen_de_conducir property:voice_actor resource:Jordi_Ribes }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26331781
P407
Q34770
USER
Which language is that work composed in ?
action filter_type
action find
entity Q26331781
relation P407
type Q34770
SELECT DISTINCT ?i WHERE { resource:Q26331781 property:P407 ?i . ?i rdf:type ontology:Q34770 }
Hércules y el examen de conducir
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
SELECT DISTINCT ?i WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
action filter_type
action find
entity Q26331781
relation P407
type Q34770
That work is composed in [ANSWER]
SELECT DISTINCT ?i WHERE { resource:Q26331781 property:P407 ?i . ?i rdf:type ontology:Q34770 }
Spanish
That work is composed in Spanish
Spanish
action filter_type
action find
entity Hércules y el examen de conducir
relation language of work or name
type language
SELECT DISTINCT ?i WHERE { resource:Hércules_y_el_examen_de_conducir property:language_of_work_or_name ?i . ?i rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q442244
P282
Q9779 Q34770
USER
How many alphabets are used as the scripts for less number of languages than Early Cyrillic alphabet ?
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q442244
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q34770 . ?m rdf:type ontology:Q9779 . ?j property:P282 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P282 resource:Q442244 . ?g rdf:type ontology:Q34770 } } . FILTER ( ?y < ?e ) }
Early Cyrillic alphabet
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Early Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:language . ?m rdf:type ontology:alphabet . ?j property:writing_system ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:writing_system resource:Early_Cyrillic_alphabet . ?g rdf:type ontology:language } } . FILTER ( ?y < ?e ) }
[]
alphabet language
SYSTEM
11
Q164436 Q754989 Q792216 Q606972 Q187846 Q13405127 Q1937113 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q442244
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:Q34770 . ?m rdf:type ontology:Q9779 . ?j property:P282 ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:P282 resource:Q442244 . ?g rdf:type ontology:Q34770 } } . FILTER ( ?y < ?e ) }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Rusyn alphabet futhark Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
11
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Early Cyrillic alphabet
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?y ) WHERE { ?j rdf:type ontology:language . ?m rdf:type ontology:alphabet . ?j property:writing_system ?m } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?e ) WHERE { ?g property:writing_system resource:Early_Cyrillic_alphabet . ?g rdf:type ontology:language } } . FILTER ( ?y < ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q8209
P282
Q9779 Q34770
USER
And how about Cyrillic script?
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P282 resource:Q8209 . ?g rdf:type ontology:Q34770 } } . FILTER ( ?z < ?f ) . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P282 ?e . ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } GROUP BY ?e } }
Cyrillic script
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:writing_system resource:Cyrillic_script . ?g rdf:type ontology:language } } . FILTER ( ?z < ?f ) . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:writing_system ?e . ?m rdf:type ontology:language . ?e rdf:type ontology:alphabet } GROUP BY ?e } }
[]
alphabet language
SYSTEM
14
Q164436 Q754989 Q792216 Q606972 Q187846 Q829464 Q13405127 Q550383 Q1937113 Q442244 Q2092163 Q540987 Q2712936 Q83942
(c(Q34770),P282,c(Q9779))
action count
action less
action find_reverse_tuple_counts
relation P282
type Q9779
type Q34770
action count
action filter_type
action find_reverse
entity Q8209
relation P282
type Q34770
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q9779'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:P282 resource:Q8209 . ?g rdf:type ontology:Q34770 } } . FILTER ( ?z < ?f ) . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P282 ?e . ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } GROUP BY ?e } }
Bulgarian alphabet Gaj's Latin alphabet Belarusian alphabet Polish alphabet Russian alphabet Serbian Cyrillic alphabet Rusyn alphabet Italian alphabet futhark Early Cyrillic alphabet Macedonian alphabet Portuguese alphabet futhorc Jawi alphabet
14
action count
action less
action find_reverse_tuple_counts
relation writing system
type alphabet
type language
action count
action filter_type
action find_reverse
entity Cyrillic script
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'alphabet'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { ?g property:writing_system resource:Cyrillic_script . ?g rdf:type ontology:language } } . FILTER ( ?z < ?f ) . { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:writing_system ?e . ?m rdf:type ontology:language . ?e rdf:type ontology:alphabet } GROUP BY ?e } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q574715
P21
Q290
USER
Which sex does Constantine Doukas of Thessaly have ?
(Q574715,P21,c(Q290))
action filter_type
action find
entity Q574715
relation P21
type Q290
['Q574715', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q574715 property:P21 ?n . ?n rdf:type ontology:Q290 }
Constantine Doukas of Thessaly
action filter_type
action find
entity Constantine Doukas of Thessaly
relation gender
type sex
['Constantine Doukas of Thessaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Constantine_Doukas_of_Thessaly property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q574715,P21,c(Q290))
action filter_type
action find
entity Q574715
relation P21
type Q290
Constantine Doukas of Thessaly has one [ANSWER]
['Q574715', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q574715 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Constantine Doukas of Thessaly has one male
male
action filter_type
action find
entity Constantine Doukas of Thessaly
relation gender
type sex
['Constantine Doukas of Thessaly', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Constantine_Doukas_of_Thessaly property:gender ?n . ?n rdf:type ontology:sex }
[]