Simple Question (Direct)
Simple Question
Q161131
P119
Q16970
USER
Which church is the place of burial of Sophia Dorothea of Hanover ?
(Q161131,P119,c(Q16970))
action filter_type
action find
entity Q161131
relation P119
type Q16970
['Q161131', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?u WHERE { resource:Q161131 property:P119 ?u . ?u rdf:type ontology:Q16970 }
Sophia Dorothea of Hanover
action filter_type
action find
entity Sophia Dorothea of Hanover
relation place of burial
type church
['Sophia Dorothea of Hanover', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?u WHERE { resource:Sophia_Dorothea_of_Hanover property:place_of_burial ?u . ?u rdf:type ontology:church }
[]
church
Q154563
SYSTEM
Berlin Cathedral
Q154563
(Q161131,P119,c(Q16970))
action filter_type
action find
entity Q161131
relation P119
type Q16970
[ANSWER] is the place of burial of Sophia Dorothea of Hanover
['Q161131', 'P119', {'concept': 'Q16970'}]
SELECT DISTINCT ?u WHERE { resource:Q161131 property:P119 ?u . ?u rdf:type ontology:Q16970 }
Berlin Cathedral
Berlin Cathedral is the place of burial of Sophia Dorothea of Hanover
Berlin Cathedral
action filter_type
action find
entity Sophia Dorothea of Hanover
relation place of burial
type church
['Sophia Dorothea of Hanover', 'place of burial', {'concept': 'church'}]
SELECT DISTINCT ?u WHERE { resource:Sophia_Dorothea_of_Hanover property:place_of_burial ?u . ?u rdf:type ontology:church }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q154563
P84
Q502895
USER
Who is the designer of that church ?
(Q154563,P84,c(Q502895))
action filter_type
action find
entity Q154563
relation P84
type Q502895
['Q154563', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q154563 property:P84 ?z . ?z rdf:type ontology:Q502895 }
Berlin Cathedral
action filter_type
action find
entity Berlin Cathedral
relation architect
type common name
['Berlin Cathedral', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Berlin_Cathedral property:architect ?z . ?z rdf:type ontology:common_name }
[]
common name
Q69715
SYSTEM
Julius Carl Raschdorff
Q69715
(Q154563,P84,c(Q502895))
action filter_type
action find
entity Q154563
relation P84
type Q502895
The designer of that church is the [ANSWER]
['Q154563', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q154563 property:P84 ?z . ?z rdf:type ontology:Q502895 }
Julius Carl Raschdorff
The designer of that church is the Julius Carl Raschdorff
Julius Carl Raschdorff
action filter_type
action find
entity Berlin Cathedral
relation architect
type common name
['Berlin Cathedral', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Berlin_Cathedral property:architect ?z . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P106
Q3412758 Q12737077
USER
How many qualifications or occupations are the professions of that person ?
(Q69715,P106,c(Q3412758)) (Q69715,P106,c(Q12737077)) (Q69715,P106,c(Q3412758)) (Q69715,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q69715
relation P106
type Q3412758
action filter_type
action find
entity Q69715
relation P106
type Q12737077
['Q69715', 'P106', {'concept': 'Q3412758'}] ['Q69715', 'P106', {'concept': 'Q12737077'}] ['Q69715', 'P106', {'concept': 'Q3412758'}] ['Q69715', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Q69715 property:P106 ?q . ?q rdf:type ontology:Q12737077 } UNION { resource:Q69715 property:P106 ?q . ?q rdf:type ontology:Q3412758 } }
action count
action union
action filter_type
action find
entity Julius Carl Raschdorff
relation occupation
type qualification
action filter_type
action find
entity Julius Carl Raschdorff
relation occupation
type occupation
['Julius Carl Raschdorff', 'occupation', {'concept': 'qualification'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'occupation'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'qualification'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Julius_Carl_Raschdorff property:occupation ?q . ?q rdf:type ontology:occupation } UNION { resource:Julius_Carl_Raschdorff property:occupation ?q . ?q rdf:type ontology:qualification } }
[]
qualification occupation
SYSTEM
2
Q42973 Q121594
(Q69715,P106,c(Q3412758)) (Q69715,P106,c(Q12737077)) (Q69715,P106,c(Q3412758)) (Q69715,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q69715
relation P106
type Q3412758
action filter_type
action find
entity Q69715
relation P106
type Q12737077
[ANSWER]
['Q69715', 'P106', {'concept': 'Q3412758'}] ['Q69715', 'P106', {'concept': 'Q12737077'}] ['Q69715', 'P106', {'concept': 'Q3412758'}] ['Q69715', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Q69715 property:P106 ?q . ?q rdf:type ontology:Q12737077 } UNION { resource:Q69715 property:P106 ?q . ?q rdf:type ontology:Q3412758 } }
architect professor
2
action count
action union
action filter_type
action find
entity Julius Carl Raschdorff
relation occupation
type qualification
action filter_type
action find
entity Julius Carl Raschdorff
relation occupation
type occupation
['Julius Carl Raschdorff', 'occupation', {'concept': 'qualification'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'occupation'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'qualification'}] ['Julius Carl Raschdorff', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { resource:Julius_Carl_Raschdorff property:occupation ?q . ?q rdf:type ontology:occupation } UNION { resource:Julius_Carl_Raschdorff property:occupation ?q . ?q rdf:type ontology:qualification } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q69715
P1066
Q502895
USER
Which person is a student of Julius Carl Raschdorff ?
(c(Q502895),P1066,Q69715)
action filter_type
action find_reverse
entity Q69715
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q69715']
SELECT DISTINCT ?k WHERE { ?k property:P1066 resource:Q69715 . ?k rdf:type ontology:Q502895 }
Julius Carl Raschdorff
action filter_type
action find_reverse
entity Julius Carl Raschdorff
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Julius Carl Raschdorff']
SELECT DISTINCT ?k WHERE { ?k property:student_of resource:Julius_Carl_Raschdorff . ?k rdf:type ontology:common_name }
[]
common name
Q20831551
SYSTEM
Georg Kallmorgen
Q20831551
(c(Q502895),P1066,Q69715)
action filter_type
action find_reverse
entity Q69715
relation P1066
type Q502895
[ANSWER] is a student of Julius Carl Raschdorff
[{'concept': 'Q502895'}, 'P1066', 'Q69715']
SELECT DISTINCT ?k WHERE { ?k property:P1066 resource:Q69715 . ?k rdf:type ontology:Q502895 }
Georg Kallmorgen
Georg Kallmorgen is a student of Julius Carl Raschdorff
Georg Kallmorgen
action filter_type
action find_reverse
entity Julius Carl Raschdorff
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Julius Carl Raschdorff']
SELECT DISTINCT ?k WHERE { ?k property:student_of resource:Julius_Carl_Raschdorff . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20831551
P22
Q502895
USER
Who is the offspring of that one ?
(c(Q502895),P22,Q20831551)
action filter_type
action find_reverse
entity Q20831551
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q20831551']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P22 resource:Q20831551 }
Georg Kallmorgen
action filter_type
action find_reverse
entity Georg Kallmorgen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Georg Kallmorgen']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:father resource:Georg_Kallmorgen }
[]
common name
Q1456008
SYSTEM
Werner Kallmorgen
Q1456008
(c(Q502895),P22,Q20831551)
action filter_type
action find_reverse
entity Q20831551
relation P22
type Q502895
The offspring of that one is the [ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q20831551']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q502895 . ?h property:P22 resource:Q20831551 }
Werner Kallmorgen
The offspring of that one is the Werner Kallmorgen
Werner Kallmorgen
action filter_type
action find_reverse
entity Georg Kallmorgen
relation father
type common name
[{'concept': 'common name'}, 'father', 'Georg Kallmorgen']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:common_name . ?h property:father resource:Georg_Kallmorgen }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2394581 Q161131
P161 P1038
Q502895
USER
Which people are the relatives of Sophia Dorothea of Hanover or were casted in Les Misérables ?
OR((Q161131,P1038,c(Q502895)), (Q2394581,P161,c(Q502895)))
action filter_type
action union
action find
entity Q161131
relation P1038
action find
entity Q2394581
relation P161
type Q502895
{'OR': [['Q161131', 'P1038', {'concept': 'Q502895'}], ['Q2394581', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { resource:Q161131 property:P1038 ?e } UNION { resource:Q2394581 property:P161 ?e } } }
Les Misérables Sophia Dorothea of Hanover
action filter_type
action union
action find
entity Sophia Dorothea of Hanover
relation relative
action find
entity Les Misérables
relation cast member
type common name
{'OR': [['Sophia Dorothea of Hanover', 'relative', {'concept': 'common name'}], ['Les Misérables', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { resource:Sophia_Dorothea_of_Hanover property:relative ?e } UNION { resource:Les_Misérables property:cast_member ?e } } }
[]
common name
Q1984434 Q3289363 Q2837650 Q3438344 Q2965259 Q3179106 Q509314 Q57224 Q2365534 Q3370684
SYSTEM
Some of them are Bernard Musson, Marcel Rouzé, Allain Dhurtal, Rodolphe Marcilly, Christian Fourcade, Jimmy Perrys, Fernand Ledoux, Sophia of Hanover, Yvonne Decade, Paul Bonifas
Q3421273 Q509314 Q89155 Q2110802 Q57674 Q1984434 Q3438344 Q3372378 Q3264716 Q599249 Q3420738 Q3434530 Q2965432 Q3371185 Q3302084 Q3130893 Q967047 Q3174717 Q57224 Q2847576 Q2965259 Q3265358 Q3289363 Q119867 Q129876 Q3361647 Q3370684 Q3261085 Q3179106 Q2366168 Q3175235 Q2837650 Q461111 Q3094129 Q3159079 Q3276486 Q26720933 Q3386314 Q290517 Q2365534 Q65304 Q3484051 Q3170795 Q2750 Q3506012 Q1663127 Q114122 Q3295778 Q3384984 Q57195 Q3131246 Q3084358 Q23842 Q3218782 Q3173814 Q2367485 Q3439351 Q3275588 Q1340978 Q3082209 Q3189584 Q2965089 Q3426199 Q3588532 Q3288008 Q3189722 Q3105220 Q1586558 Q2087634 Q3179135 Q105013 Q3579848
OR((Q161131,P1038,c(Q502895)), (Q2394581,P161,c(Q502895)))
action filter_type
action union
action find
entity Q161131
relation P1038
action find
entity Q2394581
relation P161
type Q502895
[ANSWERS] are the relatives of Sophia Dorothea of Hanover or were casted in Les Misérables
{'OR': [['Q161131', 'P1038', {'concept': 'Q502895'}], ['Q2394581', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { { resource:Q161131 property:P1038 ?e } UNION { resource:Q2394581 property:P161 ?e } } }
Raymonde Vattier Fernand Ledoux Werner Dissel Jean Topart Sophia Charlotte of Hanover Bernard Musson Rodolphe Marcilly Paul Ville Luc Andrieux Bernard Blier Raymond Carl Robert Bazil Christian Lude Paul Faivre Max Doria Henri Coutet Jean-Paul Le Chanois Jean Sylvere Sophia of Hanover André Dalibert Christian Fourcade Lucien Baroux Marcel Rouzé Gerhard Bienert Edmond Ardisson Palmyre Levasseur Paul Bonifas Louis Arbessier Jimmy Perrys Pierre Tabard Jean d'Yd Allain Dhurtal Serge Reggiani Gabrielle Fontan Jacques Harden Mag-Avril Isabelle Lobbe Pierre Moncorbier Danièle Delorme Yvonne Decade Éléonore Desmier d'Olbreuse Silvia Monfort Jean Blancheur Bourvil Suzanne Nivette Jacques Marin Elfriede Florin Martine Havet Pierre Ferval Frederick V, Elector Palatine Henri Guégan François Darbon Jean Gabin Laure Paillette Jean Ozenne Gérard Darrieu Roger Pelletier Madeleine Barbulée Jean Murat Franck Maurice Julien Maffre Christian Brocard René Fleur Émile Genevois Marc Eyraud Julienne Paroli Giani Esposito Harry Hindemith Béatrice Altariba Jimmy Urbain Frederick William I of Prussia Édouard Francomme
Bernard Musson, Marcel Rouzé, Allain Dhurtal, Rodolphe Marcilly, Christian Fourcade, Jimmy Perrys, Fernand Ledoux, Sophia of Hanover, Yvonne Decade and Paul Bonifas are the relatives of Sophia Dorothea of Hanover or were casted in Les Misérables
Bernard Musson Marcel Rouzé Allain Dhurtal Rodolphe Marcilly Christian Fourcade Jimmy Perrys Fernand Ledoux Sophia of Hanover Yvonne Decade Paul Bonifas
action filter_type
action union
action find
entity Sophia Dorothea of Hanover
relation relative
action find
entity Les Misérables
relation cast member
type common name
{'OR': [['Sophia Dorothea of Hanover', 'relative', {'concept': 'common name'}], ['Les Misérables', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { { resource:Sophia_Dorothea_of_Hanover property:relative ?e } UNION { resource:Les_Misérables property:cast_member ?e } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1984434 Q3289363 Q2837650 Q3438344 Q2965259 Q3179106 Q509314 Q57224 Q2365534 Q3370684
P21
Q290
USER
What are the sex of those people ?
(Q1984434,P21,c(Q290)) (Q3289363,P21,c(Q290)) (Q2837650,P21,c(Q290)) (Q3438344,P21,c(Q290)) (Q2965259,P21,c(Q290)) (Q3179106,P21,c(Q290)) (Q509314,P21,c(Q290)) (Q57224,P21,c(Q290)) (Q2365534,P21,c(Q290)) (Q3370684,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q1984434', 'P21', {'concept': 'Q290'}] ['Q3289363', 'P21', {'concept': 'Q290'}] ['Q2837650', 'P21', {'concept': 'Q290'}] ['Q3438344', 'P21', {'concept': 'Q290'}] ['Q2965259', 'P21', {'concept': 'Q290'}] ['Q3179106', 'P21', {'concept': 'Q290'}] ['Q509314', 'P21', {'concept': 'Q290'}] ['Q57224', 'P21', {'concept': 'Q290'}] ['Q2365534', 'P21', {'concept': 'Q290'}] ['Q3370684', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . ?m property:P21 ?z . VALUES ( ?m ) { ( resource:Q3421273 ) ( resource:Q509314 ) ( resource:Q89155 ) } }
Bernard Musson Marcel Rouzé Allain Dhurtal Rodolphe Marcilly Christian Fourcade Jimmy Perrys Fernand Ledoux Sophia of Hanover Yvonne Decade Paul Bonifas
action filter_type
action find
entity prev_answer
relation gender
type sex
['Bernard Musson', 'gender', {'concept': 'sex'}] ['Marcel Rouzé', 'gender', {'concept': 'sex'}] ['Allain Dhurtal', 'gender', {'concept': 'sex'}] ['Rodolphe Marcilly', 'gender', {'concept': 'sex'}] ['Christian Fourcade', 'gender', {'concept': 'sex'}] ['Jimmy Perrys', 'gender', {'concept': 'sex'}] ['Fernand Ledoux', 'gender', {'concept': 'sex'}] ['Sophia of Hanover', 'gender', {'concept': 'sex'}] ['Yvonne Decade', 'gender', {'concept': 'sex'}] ['Paul Bonifas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . ?m property:gender ?z . VALUES ( ?m ) { ( resource:Raymonde_Vattier ) ( resource:Fernand_Ledoux ) ( resource:Werner_Dissel ) } }
[]
sex
Q6581097 Q6581097 Q6581097
SYSTEM
male
Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581097 Q6581072 Q6581072 Q6581097
(Q1984434,P21,c(Q290)) (Q3289363,P21,c(Q290)) (Q2837650,P21,c(Q290)) (Q3438344,P21,c(Q290)) (Q2965259,P21,c(Q290)) (Q3179106,P21,c(Q290)) (Q509314,P21,c(Q290)) (Q57224,P21,c(Q290)) (Q2365534,P21,c(Q290)) (Q3370684,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
The sex of those people are [ANSWER], [ANSWER] and [ANSWER]
['Q1984434', 'P21', {'concept': 'Q290'}] ['Q3289363', 'P21', {'concept': 'Q290'}] ['Q2837650', 'P21', {'concept': 'Q290'}] ['Q3438344', 'P21', {'concept': 'Q290'}] ['Q2965259', 'P21', {'concept': 'Q290'}] ['Q3179106', 'P21', {'concept': 'Q290'}] ['Q509314', 'P21', {'concept': 'Q290'}] ['Q57224', 'P21', {'concept': 'Q290'}] ['Q2365534', 'P21', {'concept': 'Q290'}] ['Q3370684', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q290 . ?m property:P21 ?z . VALUES ( ?m ) { ( resource:Q3421273 ) ( resource:Q509314 ) ( resource:Q89155 ) } }
male male male male male male male female female male
The sex of those people are male, male and male
male male male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Bernard Musson', 'gender', {'concept': 'sex'}] ['Marcel Rouzé', 'gender', {'concept': 'sex'}] ['Allain Dhurtal', 'gender', {'concept': 'sex'}] ['Rodolphe Marcilly', 'gender', {'concept': 'sex'}] ['Christian Fourcade', 'gender', {'concept': 'sex'}] ['Jimmy Perrys', 'gender', {'concept': 'sex'}] ['Fernand Ledoux', 'gender', {'concept': 'sex'}] ['Sophia of Hanover', 'gender', {'concept': 'sex'}] ['Yvonne Decade', 'gender', {'concept': 'sex'}] ['Paul Bonifas', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:sex . ?m property:gender ?z . VALUES ( ?m ) { ( resource:Raymonde_Vattier ) ( resource:Fernand_Ledoux ) ( resource:Werner_Dissel ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q57224
P9
Q502895
USER
Who are Sophia of Hanover a sister of ?
(c(Q502895),P9,Q57224)
action filter_type
action find_reverse
entity Q57224
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q57224']
SELECT DISTINCT ?l WHERE { ?l property:P9 resource:Q57224 . ?l rdf:type ontology:Q502895 }
Sophia of Hanover
action filter_type
action find_reverse
entity Sophia of Hanover
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Sophia of Hanover']
SELECT DISTINCT ?l WHERE { ?l property:sister resource:Sophia_of_Hanover . ?l rdf:type ontology:common_name }
[]
common name
Q57989 Q76930 Q62998
SYSTEM
Charles I Louis, Elector Palatine, Prince Rupert of the Rhine, Edward, Count Palatine of Simmern
Q71240 Q92167 Q62998 Q617665 Q57989 Q469896 Q76930 Q69737 Q61389 Q16209171
(c(Q502895),P9,Q57224)
action filter_type
action find_reverse
entity Q57224
relation P9
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P9', 'Q57224']
SELECT DISTINCT ?l WHERE { ?l property:P9 resource:Q57224 . ?l rdf:type ontology:Q502895 }
Henriette Marie of the Palatinate Philip Frederick of the Palatinate Edward, Count Palatine of Simmern Henry Frederick, Hereditary Prince of the Palatinate Charles I Louis, Elector Palatine Louise Hollandine of the Palatinate Prince Rupert of the Rhine Maurice of the Palatinate Elisabeth of the Palatinate Gustavus Adolphus of the Palatinate
Charles I Louis, Elector Palatine, Prince Rupert of the Rhine and Edward, Count Palatine of Simmern are Sophia of Hanover a sister of
Charles I Louis, Elector Palatine Prince Rupert of the Rhine Edward, Count Palatine of Simmern
action filter_type
action find_reverse
entity Sophia of Hanover
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Sophia of Hanover']
SELECT DISTINCT ?l WHERE { ?l property:sister resource:Sophia_of_Hanover . ?l rdf:type ontology:common_name }
[]