Simple Question (Direct)
Simple Question
Q5134677
P734
Q82799
USER
Which name is associated with Clive Stafford Smith ?
(Q5134677,P734,c(Q82799))
action filter_type
action find
entity Q5134677
relation P734
type Q82799
['Q5134677', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q5134677 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Clive Stafford Smith
action filter_type
action find
entity Clive Stafford Smith
relation family name
type name
['Clive Stafford Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Clive_Stafford_Smith property:family_name ?k . ?k rdf:type ontology:name }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q5134677,P734,c(Q82799))
action filter_type
action find
entity Q5134677
relation P734
type Q82799
He [ANSWER] is associated with Clive Stafford [ANSWER]
['Q5134677', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?k WHERE { resource:Q5134677 property:P734 ?k . ?k rdf:type ontology:Q82799 }
Smith
He Smith is associated with Clive Stafford Smith
Smith
action filter_type
action find
entity Clive Stafford Smith
relation family name
type name
['Clive Stafford Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?k WHERE { resource:Clive_Stafford_Smith property:family_name ?k . ?k rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1158446
P407
Q34770
USER
Which language is that name composed in ?
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1158446 property:P407 ?q }
Smith
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Smith property:language_of_work_or_name ?q }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1158446,P407,c(Q34770))
action filter_type
action find
entity Q1158446
relation P407
type Q34770
That name is composed of [ANSWER]
['Q1158446', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . resource:Q1158446 property:P407 ?q }
English
That name is composed of English
English
action filter_type
action find
entity Smith
relation language of work or name
type language
['Smith', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . resource:Smith property:language_of_work_or_name ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P123
Q2342494
USER
Which collectables were published by that language ?
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P123 resource:Q1860 . ?q rdf:type ontology:Q2342494 }
English
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?q WHERE { ?q property:publisher resource:English . ?q rdf:type ontology:collectable }
[]
collectable
Q2471376 Q1984388 Q6692619
SYSTEM
Tutinama, Moscow 2042, Loving Natalee
Q2471376 Q1984388 Q6692619 Q7142914
(c(Q2342494),P123,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P123
type Q2342494
[ANSWERS] were published by that language
[{'concept': 'Q2342494'}, 'P123', 'Q1860']
SELECT DISTINCT ?q WHERE { ?q property:P123 resource:Q1860 . ?q rdf:type ontology:Q2342494 }
Tutinama Moscow 2042 Loving Natalee Past Perfect
Tutinama, Moscow 2042 and Loving Natalee were published by that language
Tutinama Moscow 2042 Loving Natalee
action filter_type
action find_reverse
entity English
relation publisher
type collectable
[{'concept': 'collectable'}, 'publisher', 'English']
SELECT DISTINCT ?q WHERE { ?q property:publisher resource:English . ?q rdf:type ontology:collectable }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P2439
Q3914
USER
Which school has English as the language related to it ?
(c(Q3914),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3914
[{'concept': 'Q3914'}, 'P2439', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P2439 resource:Q1860 . ?c rdf:type ontology:Q3914 }
English
action filter_type
action find_reverse
entity English
relation language
type school
[{'concept': 'school'}, 'language', 'English']
SELECT DISTINCT ?c WHERE { ?c property:language resource:English . ?c rdf:type ontology:school }
[]
school
Q5142790
SYSTEM
Colegio Cardenal Newman
Q5142790
(c(Q3914),P2439,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P2439
type Q3914
[ANSWER] has English as the language related to it
[{'concept': 'Q3914'}, 'P2439', 'Q1860']
SELECT DISTINCT ?c WHERE { ?c property:P2439 resource:Q1860 . ?c rdf:type ontology:Q3914 }
Colegio Cardenal Newman
Colegio Cardenal Newman has English as the language related to it
Colegio Cardenal Newman
action filter_type
action find_reverse
entity English
relation language
type school
[{'concept': 'school'}, 'language', 'English']
SELECT DISTINCT ?c WHERE { ?c property:language resource:English . ?c rdf:type ontology:school }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P264
Q2031291
USER
Which release has that language as its record company ?
(c(Q2031291),P264,Q5142790)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q5142790']
SELECT DISTINCT ?p WHERE { ?p property:P264 resource:Q1860 . ?p rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'Colegio Cardenal Newman']
SELECT DISTINCT ?p WHERE { ?p property:record_label resource:English . ?p rdf:type ontology:release }
[]
release
Q7281317
SYSTEM
Radiosurgery
Q7281317
(c(Q2031291),P264,Q5142790)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[ANSWER] has that language as its record company
[{'concept': 'Q2031291'}, 'P264', 'Q5142790']
SELECT DISTINCT ?p WHERE { ?p property:P264 resource:Q1860 . ?p rdf:type ontology:Q2031291 }
Radiosurgery
Radiosurgery has that language as its record company
Radiosurgery
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'Colegio Cardenal Newman']
SELECT DISTINCT ?p WHERE { ?p property:record_label resource:English . ?p rdf:type ontology:release }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9348267 Q6692619
P161 P50
Q502895
USER
Which people were the writers of Loving Natalee or starred in Superprodukcja ?
OR((Q6692619,P50,c(Q502895)), (Q9348267,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6692619
relation P50
action find
entity Q9348267
relation P161
type Q502895
{'OR': [['Q6692619', 'P50', {'concept': 'Q502895'}], ['Q9348267', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6692619 property:P50 ?m } UNION { resource:Q9348267 property:P161 ?m } } . ?m rdf:type ontology:Q502895 }
Superprodukcja Loving Natalee
action filter_type
action union
action find
entity Loving Natalee
relation author
action find
entity Superprodukcja
relation cast member
type common name
{'OR': [['Loving Natalee', 'author', {'concept': 'common name'}], ['Superprodukcja', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Loving_Natalee property:author ?m } UNION { resource:Superprodukcja property:cast_member ?m } } . ?m rdf:type ontology:common_name }
[]
common name
Q455617 Q9153722 Q11717703 Q11737037 Q11702709 Q9168150 Q3074164 Q4262558 Q9142243 Q187353
SYSTEM
Some of them are Anna Przybylska, Andrzej Szopa, Jan Holoubek, Katarzyna Paskuda, Grzegorz Emanuel, Beata Ścibakówna, Szymon Majewski, Marta Lipińska, Agnieszka Dulęba-Kasza, Agnieszka Rylik
Q7661080 Q11715362 Q3905459 Q2947203 Q963941 Q11813578 Q11737037 Q11766094 Q272433 Q1349134 Q4219741 Q9168150 Q55370 Q55373 Q4262558 Q3074164 Q11778914 Q4897515 Q187353 Q55380 Q11717703 Q11692247 Q6440137 Q11685195 Q514958 Q7818465 Q9353126 Q350948 Q11748762 Q6509064 Q455617 Q11767671 Q11753462 Q323940 Q11715348 Q1682029 Q9302964 Q133799 Q11720996 Q9142243 Q11737080 Q6723973 Q11702709 Q9165426 Q9310863 Q1683076 Q11720213 Q9202043 Q9153722 Q978224 Q3290091
OR((Q6692619,P50,c(Q502895)), (Q9348267,P161,c(Q502895)))
action filter_type
action union
action find
entity Q6692619
relation P50
action find
entity Q9348267
relation P161
type Q502895
[ANSWERS] were the writers of Loving Natalee or starred in Superprodukcja
{'OR': [['Q6692619', 'P50', {'concept': 'Q502895'}], ['Q9348267', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q6692619 property:P50 ?m } UNION { resource:Q9348267 property:P161 ?m } } . ?m rdf:type ontology:Q502895 }
Sylwester Maciejewski Jacek Kałucki Piotr Borowski Cezary Kosinski Robert Wieckiewicz Patrycja Szczepanowska Katarzyna Paskuda Magdalena Schejbal Krystyna Janda Juliusz Machulski Krzysztof Kiersznowski Beata Ścibakówna Artur Barcis Piotr Fronczewski Marta Lipińska Szymon Majewski Michał Koterski Beth Holloway Agnieszka Rylik Jan Englert Jan Holoubek Czesław Lasota Krzysztof Globisz Aleksandra Koncewicz Andrzej Grabowski Tomasz Sapryk Sławomir Holland Edward Kłosiński Krystyna Rutkowska-Ulewicz Marian Glinka Anna Przybylska Marcin Kwaśny Lech Dyblik Robert Gliński Jacek Kadlubowski Jan Machulski Rafał Królikowski Małgorzata Kożuchowska Jarosław Sokół Agnieszka Dulęba-Kasza Katarzyna Tatarak Maciej Pisarek Grzegorz Emanuel Barbara Kałużna Robert Jarociński Janusz Rewiński Janusz Józefowicz Dariusz Juzyszyn Andrzej Szopa Marek Kondrat Marco Dorigo
Anna Przybylska, Andrzej Szopa, Jan Holoubek, Katarzyna Paskuda, Grzegorz Emanuel, Beata Ścibakówna, Szymon Majewski, Marta Lipińska, Agnieszka Dulęba-Kasza and Agnieszka Rylik were the writers of Loving Natalee or starred in Superprodukcja
Anna Przybylska Andrzej Szopa Jan Holoubek Katarzyna Paskuda Grzegorz Emanuel Beata Ścibakówna Szymon Majewski Marta Lipińska Agnieszka Dulęba-Kasza Agnieszka Rylik
action filter_type
action union
action find
entity Loving Natalee
relation author
action find
entity Superprodukcja
relation cast member
type common name
{'OR': [['Loving Natalee', 'author', {'concept': 'common name'}], ['Superprodukcja', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Loving_Natalee property:author ?m } UNION { resource:Superprodukcja property:cast_member ?m } } . ?m rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q151173
P88
Q502895 Q4989906 Q18142
USER
Which people commissioned more number of monuments or tower blocks than Joachim Murat ?
(c(Q4989906)|c(Q18142),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q151173
relation P88
type Q4989906
type Q18142
[[{'concept': 'Q4989906'}, {'concept': 'Q18142'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P88 resource:Q151173 . { VALUES ( ?c ) { ( ontology:Q4989906 ) ( ontology:Q18142 ) } . ?w rdf:type ?c } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?l WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:Q4989906 ) ( ontology:Q18142 ) } } GROUP BY ?l } }
Joachim Murat
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action count
action filter_multi_types
action find_reverse
entity Joachim Murat
relation commissioned by
type monument
type tower block
[[{'concept': 'monument'}, {'concept': 'tower block'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:commissioned_by resource:Joachim_Murat . { VALUES ( ?c ) { ( ontology:monument ) ( ontology:tower_block ) } . ?w rdf:type ?c } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?l WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:monument ) ( ontology:tower_block ) } } GROUP BY ?l } }
[]
common name monument tower block
Q517 Q152229 Q44361
SYSTEM
Napoleon, Frederick William II of Prussia, Ludwig I of Bavaria
Q1523 Q3381859 Q44361 Q152229 Q131706 Q517
(c(Q4989906)|c(Q18142),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q4989906
action find_reverse_tuple_counts
relation P88
type Q502895
type Q18142
action count
action filter_multi_types
action find_reverse
entity Q151173
relation P88
type Q4989906
type Q18142
[ANSWERS] commissioned more number of monuments or tower blocks than Joachim Murat
[[{'concept': 'Q4989906'}, {'concept': 'Q18142'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:P88 resource:Q151173 . { VALUES ( ?c ) { ( ontology:Q4989906 ) ( ontology:Q18142 ) } . ?w rdf:type ?c } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?l WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:Q4989906 ) ( ontology:Q18142 ) } } GROUP BY ?l } }
Ramesses II Phyllis Lambert Ludwig I of Bavaria Frederick William II of Prussia Maria Theresa of Austria Napoleon
Napoleon, Frederick William II of Prussia and Ludwig I of Bavaria commissioned more number of monuments or tower blocks than Joachim Murat
Napoleon Frederick William II of Prussia Ludwig I of Bavaria
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type monument
action find_reverse_tuple_counts
relation commissioned by
type common name
type tower block
action count
action filter_multi_types
action find_reverse
entity Joachim Murat
relation commissioned by
type monument
type tower block
[[{'concept': 'monument'}, {'concept': 'tower block'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { ?w property:commissioned_by resource:Joachim_Murat . { VALUES ( ?c ) { ( ontology:monument ) ( ontology:tower_block ) } . ?w rdf:type ?c } } } . FILTER ( ?d > ?s ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) ?l WHERE { ?m rdf:type ?v . VALUES ( ?v ) { ( ontology:monument ) ( ontology:tower_block ) } } GROUP BY ?l } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q517 Q152229 Q44361
P451
Q502895
USER
Which people have those ones as relationship partner ?
(c(Q502895),P451,Q517) (c(Q502895),P451,Q152229) (c(Q502895),P451,Q44361)
action filter_type
action find_reverse
entity prev_answer
relation P451
type Q502895
[{'concept': 'Q502895'}, 'P451', 'Q517'] [{'concept': 'Q502895'}, 'P451', 'Q152229'] [{'concept': 'Q502895'}, 'P451', 'Q44361']
SELECT DISTINCT ?g WHERE { ?g property:P451 ?e . ?g rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q1523 ) ( resource:Q3381859 ) ( resource:Q44361 ) } }
Napoleon Frederick William II of Prussia Ludwig I of Bavaria
action filter_type
action find_reverse
entity prev_answer
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Napoleon'] [{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia'] [{'concept': 'common name'}, 'partner', 'Ludwig I of Bavaria']
SELECT DISTINCT ?g WHERE { ?g property:partner ?e . ?g rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Ramesses_II ) ( resource:Phyllis_Lambert ) ( resource:Ludwig_I_of_Bavaria ) } }
[]
common name
Q237931 Q263575 Q3372720
SYSTEM
Marie Walewska, Jane Digby, Pauline Fourès
Q237931 Q3372720 Q70769 Q70763 Q161154 Q263575
(c(Q502895),P451,Q517) (c(Q502895),P451,Q152229) (c(Q502895),P451,Q44361)
action filter_type
action find_reverse
entity prev_answer
relation P451
type Q502895
[ANSWERS] have those ones as relationship partner
[{'concept': 'Q502895'}, 'P451', 'Q517'] [{'concept': 'Q502895'}, 'P451', 'Q152229'] [{'concept': 'Q502895'}, 'P451', 'Q44361']
SELECT DISTINCT ?g WHERE { ?g property:P451 ?e . ?g rdf:type ontology:Q502895 . VALUES ( ?e ) { ( resource:Q1523 ) ( resource:Q3381859 ) ( resource:Q44361 ) } }
Marie Walewska Pauline Fourès Wilhelmine, Gräfin von Lichtenau Sophie von Dönhoff Lola Montez Jane Digby
Marie Walewska, Jane Digby and Pauline Fourès have those ones as relationship partner
Marie Walewska Jane Digby Pauline Fourès
action filter_type
action find_reverse
entity prev_answer
relation partner
type common name
[{'concept': 'common name'}, 'partner', 'Napoleon'] [{'concept': 'common name'}, 'partner', 'Frederick William II of Prussia'] [{'concept': 'common name'}, 'partner', 'Ludwig I of Bavaria']
SELECT DISTINCT ?g WHERE { ?g property:partner ?e . ?g rdf:type ontology:common_name . VALUES ( ?e ) { ( resource:Ramesses_II ) ( resource:Phyllis_Lambert ) ( resource:Ludwig_I_of_Bavaria ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q263575
P1196
Q1931388
USER
What situation did that person die in ?
(Q263575,P1196,c(Q1931388))
action filter_type
action find
entity Q263575
relation P1196
type Q1931388
['Q263575', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q263575 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Jane Digby
action filter_type
action find
entity Jane Digby
relation manner of death
type cause of death
['Jane Digby', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Jane_Digby property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
cause of death
Clarification for simple ques.
Q3372720
SYSTEM
Did you mean Pauline Fourès ?
Q237931 Q263575 Q3372720
(Q237931,P1196,c(Q1931388)) (Q263575,P1196,c(Q1931388)) (Q3372720,P1196,c(Q1931388))
[ANSWER]
['Q237931', 'P1196', {'concept': 'Q1931388'}] ['Q263575', 'P1196', {'concept': 'Q1931388'}] ['Q3372720', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q263575 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
Marie Walewska Jane Digby Pauline Fourès
Did you mean Pauline Fourès ?
Pauline Fourès
['Marie Walewska', 'manner of death', {'concept': 'cause of death'}] ['Jane Digby', 'manner of death', {'concept': 'cause of death'}] ['Pauline Fourès', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Jane_Digby property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]
Simple Question (Coreferenced)
USER
No, I meant Jane Digby. Could you tell me the answer for that?
(Q263575,P1196,c(Q1931388))
Q263575
['Q263575', 'P1196', {'concept': 'Q1931388'}]
['Jane Digby', 'manner of death', {'concept': 'cause of death'}]
[]
Q3739104
SYSTEM
natural causes
Q3739104
(Q263575,P1196,c(Q1931388))
action filter_type
action find
entity Q263575
relation P1196
type Q1931388
That person died in [ANSWER]
['Q263575', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?p WHERE { resource:Q263575 property:P1196 ?p . ?p rdf:type ontology:Q1931388 }
natural causes
That person died in natural causes
natural causes
action filter_type
action find
entity Jane Digby
relation manner of death
type cause of death
['Jane Digby', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?p WHERE { resource:Jane_Digby property:manner_of_death ?p . ?p rdf:type ontology:cause_of_death }
[]