Simple Question (Direct)
Simple Question
Q1099841
P136
Q151885
USER
What is the genre of Clem Clempson ?
(Q1099841,P136,c(Q151885))
action filter_type
action find
entity Q1099841
relation P136
type Q151885
['Q1099841', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q1099841 property:P136 ?g . ?g rdf:type ontology:Q151885 }
Clem Clempson
action filter_type
action find
entity Clem Clempson
relation genre
type concept
['Clem Clempson', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Clem_Clempson property:genre ?g . ?g rdf:type ontology:concept }
[]
concept
Q11399
SYSTEM
rock music
Q11399
(Q1099841,P136,c(Q151885))
action filter_type
action find
entity Q1099841
relation P136
type Q151885
The genre of Clem Clempson is a [ANSWER]
['Q1099841', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q1099841 property:P136 ?g . ?g rdf:type ontology:Q151885 }
rock music
The genre of Clem Clempson is a rock music
rock music
action filter_type
action find
entity Clem Clempson
relation genre
type concept
['Clem Clempson', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:Clem_Clempson property:genre ?g . ?g rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1099841
P162
Q2031291
USER
Which release has been developed by Clem Clempson ?
(c(Q2031291),P162,Q1099841)
action filter_type
action find_reverse
entity Q1099841
relation P162
type Q2031291
[{'concept': 'Q2031291'}, 'P162', 'Q1099841']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2031291 . ?t property:P162 resource:Q1099841 }
Clem Clempson
action filter_type
action find_reverse
entity Clem Clempson
relation producer
type release
[{'concept': 'release'}, 'producer', 'Clem Clempson']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:release . ?t property:producer resource:Clem_Clempson }
[]
release
Q7370816
SYSTEM
Rough Diamond
Q7370816
(c(Q2031291),P162,Q1099841)
action filter_type
action find_reverse
entity Q1099841
relation P162
type Q2031291
[ANSWER] has been developed by Clem Clempson
[{'concept': 'Q2031291'}, 'P162', 'Q1099841']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2031291 . ?t property:P162 resource:Q1099841 }
Rough Diamond
Rough Diamond has been developed by Clem Clempson
Rough Diamond
action filter_type
action find_reverse
entity Clem Clempson
relation producer
type release
[{'concept': 'release'}, 'producer', 'Clem Clempson']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:release . ?t property:producer resource:Clem_Clempson }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7370816 Q1099841
P162
Q502895
USER
Is Clem Clempson the creator of that release ?
(Q7370816,P162,Q1099841)
action is_in
entity Q1099841
action find
entity Q7370816
relation P162
['Q7370816', 'P162', 'Q1099841']
ASK WHERE { resource:Q7370816 property:P162 resource:Q1099841 }
Rough Diamond Clem Clempson
action is_in
entity Clem Clempson
action find
entity Rough Diamond
relation producer
['Rough Diamond', 'producer', 'Clem Clempson']
ASK WHERE { resource:Rough_Diamond property:producer resource:Clem_Clempson }
[]
common name
SYSTEM
YES
(Q7370816,P162,Q1099841)
action is_in
entity Q1099841
action find
entity Q7370816
relation P162
[ANSWER]
['Q7370816', 'P162', 'Q1099841']
ASK WHERE { resource:Q7370816 property:P162 resource:Q1099841 }
Yes
action is_in
entity Clem Clempson
action find
entity Rough Diamond
relation producer
['Rough Diamond', 'producer', 'Clem Clempson']
ASK WHERE { resource:Rough_Diamond property:producer resource:Clem_Clempson }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q9056
P407
Q34770 Q2031291
USER
Which languages are approximately the same number of releases composed in as Czech ?
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q9056
relation P407
type Q34770
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q9056 property:P407 ?z . ?z rdf:type ontology:Q34770 } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P407 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } GROUP BY ?o } }
Czech
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Czech
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Czech property:language_of_work_or_name ?z . ?z rdf:type ontology:language } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:language_of_work_or_name ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:release } GROUP BY ?o } }
[]
language release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action count
action filter_type
action find
entity Q9056
relation P407
type Q34770
[ANSWERS] are approximately the same number of releases composed in as Czech
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Q9056 property:P407 ?z . ?z rdf:type ontology:Q34770 } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:P407 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q2031291 } GROUP BY ?o } }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately the same number of releases composed in as Czech
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action count
action filter_type
action find
entity Czech
relation language of work or name
type language
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?h ) WHERE { resource:Czech property:language_of_work_or_name ?z . ?z rdf:type ontology:language } } . FILTER ( ?u = ?h ) . { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { ?i property:language_of_work_or_name ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:release } GROUP BY ?o } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q447117 Q35499 Q35726
P1412
Q502895
USER
Which people speaks Old Egyptian, Old Church Slavonic and Etruscan ?
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?d WHERE { ?d property:P1412 ?j . VALUES ( ?j ) { ( resource:Q35499 ) ( resource:Q447117 ) } }
Old Egyptian Old Church Slavonic Etruscan
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?d WHERE { ?d property:languages_spoken,_written_or_signed ?j . VALUES ( ?j ) { ( resource:Old_Church_Slavonic ) ( resource:Old_Egyptian ) } }
[]
common name
Q1162154 Q1736643 Q723304
SYSTEM
Daniel Polz, Katja Lembke, Gregory Tsamblak
Q15815525 Q1736643 Q1162154 Q650558 Q723304 Q1146725 Q3420417 Q385810 Q3523507 Q21580476 Q21580468 Q2874426 Q21584309 Q21584304 Q21584282 Q21580487 Q3564047
(c(Q502895),P1412,Q447117) (c(Q502895),P1412,Q35499) (c(Q502895),P1412,Q35726)
action union
action filter_type
action find_reverse
entity Q447117
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35499
relation P1412
type Q502895
action filter_type
action find_reverse
entity Q35726
relation P1412
type Q502895
[ANSWERS] speak Old Egyptian, Old Church Slavonic and Etruscan
[{'concept': 'Q502895'}, 'P1412', 'Q447117'] [{'concept': 'Q502895'}, 'P1412', 'Q35499'] [{'concept': 'Q502895'}, 'P1412', 'Q35726']
SELECT DISTINCT ?d WHERE { ?d property:P1412 ?j . VALUES ( ?j ) { ( resource:Q35499 ) ( resource:Q447117 ) } }
Hi Katja Lembke Daniel Polz John Exarch Gregory Tsamblak Constantine of Preslav Ravnthu Thefrinai Lars Tolumnius Thefarie Velianas Unknown brother of Velthur Spurinna Larth Spurinna Avie Spurinna Laris Partunus Velthur Partunus Lars Pulena Arnth Velcha Velia Spurinna
Daniel Polz, Katja Lembke and Gregory Tsamblak speak Old Egyptian, Old Church Slavonic and Etruscan
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find_reverse
entity Old Egyptian
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Old Church Slavonic
relation languages spoken, written or signed
type common name
action filter_type
action find_reverse
entity Etruscan
relation languages spoken, written or signed
type common name
[{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Egyptian'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Old Church Slavonic'] [{'concept': 'common name'}, 'languages spoken, written or signed', 'Etruscan']
SELECT DISTINCT ?d WHERE { ?d property:languages_spoken,_written_or_signed ?j . VALUES ( ?j ) { ( resource:Old_Church_Slavonic ) ( resource:Old_Egyptian ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1162154 Q1736643 Q723304
P21
Q290
USER
Which sexes do Daniel Polz, Katja Lembke and Gregory Tsamblak belong to ?
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action union
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q723304
relation P21
type Q290
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?y property:P21 ?o . VALUES ( ?y ) { ( resource:Q1162154 ) ( resource:Q1736643 ) } }
Daniel Polz Katja Lembke Gregory Tsamblak
action union
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?y property:gender ?o . VALUES ( ?y ) { ( resource:Daniel_Polz ) ( resource:Katja_Lembke ) } }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q1162154,P21,c(Q290)) (Q1736643,P21,c(Q290)) (Q723304,P21,c(Q290))
action union
action filter_type
action find
entity Q1162154
relation P21
type Q290
action filter_type
action find
entity Q1736643
relation P21
type Q290
action filter_type
action find
entity Q723304
relation P21
type Q290
[ANSWERS]
['Q1162154', 'P21', {'concept': 'Q290'}] ['Q1736643', 'P21', {'concept': 'Q290'}] ['Q723304', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { ?y property:P21 ?o . VALUES ( ?y ) { ( resource:Q1162154 ) ( resource:Q1736643 ) } }
male female male
Daniel Polz , Katja Lembke and Gregory Tsamblak belong to the male, female and male
male female male
action union
action filter_type
action find
entity Daniel Polz
relation gender
type sex
action filter_type
action find
entity Katja Lembke
relation gender
type sex
action filter_type
action find
entity Gregory Tsamblak
relation gender
type sex
['Daniel Polz', 'gender', {'concept': 'sex'}] ['Katja Lembke', 'gender', {'concept': 'sex'}] ['Gregory Tsamblak', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { ?y property:gender ?o . VALUES ( ?y ) { ( resource:Daniel_Polz ) ( resource:Katja_Lembke ) } }
[]