Simple Question (Direct)
Simple Question
Q62953
P53
Q8436
USER
What is the family that Julius, Duke of Brunswick-Lüneburg belongs to ?
(Q62953,P53,c(Q8436))
action filter_type
action find
entity Q62953
relation P53
type Q8436
['Q62953', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { resource:Q62953 property:P53 ?v . ?v rdf:type ontology:Q8436 }
Julius, Duke of Brunswick-Lüneburg
action filter_type
action find
entity Julius, Duke of Brunswick-Lüneburg
relation noble family
type family
['Julius, Duke of Brunswick-Lüneburg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { resource:Julius,_Duke_of_Brunswick-Lüneburg property:noble_family ?v . ?v rdf:type ontology:family }
[]
family
Q156433
SYSTEM
House of Welf
Q156433
(Q62953,P53,c(Q8436))
action filter_type
action find
entity Q62953
relation P53
type Q8436
The family that Julius , Duke of Brunswick-Lüneburg belongs to is the [ANSWER]
['Q62953', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ?v WHERE { resource:Q62953 property:P53 ?v . ?v rdf:type ontology:Q8436 }
House of Welf
The family that Julius , Duke of Brunswick-Lüneburg belongs to is the House of Welf
House of Welf
action filter_type
action find
entity Julius, Duke of Brunswick-Lüneburg
relation noble family
type family
['Julius, Duke of Brunswick-Lüneburg', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ?v WHERE { resource:Julius,_Duke_of_Brunswick-Lüneburg property:noble_family ?v . ?v rdf:type ontology:family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q62953
P22
Q502895
USER
Which people have that one as a parent ?
(c(Q502895),P22,Q156433)
action filter_type
action find_reverse
entity Q62953
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q156433']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q62953 . ?d rdf:type ontology:Q502895 }
Julius, Duke of Brunswick-Lüneburg
action filter_type
action find_reverse
entity Julius, Duke of Brunswick-Lüneburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'House of Welf']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Julius,_Duke_of_Brunswick-Lüneburg . ?d rdf:type ontology:common_name }
[]
common name
Q77557 Q98010 Q122794
SYSTEM
Henry Julius, Duke of Brunswick-Lüneburg, Maria of Brunswick-Lüneburg, Sophie Hedwig of Brunswick-Wolfenbüttel
Q2087213 Q97637 Q1269592 Q98010 Q1246151 Q122794 Q77557 Q1679854
(c(Q502895),P22,Q156433)
action filter_type
action find_reverse
entity Q62953
relation P22
type Q502895
[ANSWERS] have that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q156433']
SELECT DISTINCT ?d WHERE { ?d property:P22 resource:Q62953 . ?d rdf:type ontology:Q502895 }
Philip Sigismund of Brunswick-Wolfenbüttel Elisabeth of Brunswick-Wolfenbüttel Joachim Karl of Braunschweig-Wolfenbüttel Maria of Brunswick-Lüneburg Dorothea Augusta of Braunschweig-Wolfenbüttel Sophie Hedwig of Brunswick-Wolfenbüttel Henry Julius, Duke of Brunswick-Lüneburg Julius August of Braunschweig-Wolfenbüttel
Henry Julius, Duke of Brunswick-Lüneburg, Maria of Brunswick-Lüneburg and Sophie Hedwig of Brunswick-Wolfenbüttel have that one as a parent
Henry Julius, Duke of Brunswick-Lüneburg Maria of Brunswick-Lüneburg Sophie Hedwig of Brunswick-Wolfenbüttel
action filter_type
action find_reverse
entity Julius, Duke of Brunswick-Lüneburg
relation father
type common name
[{'concept': 'common name'}, 'father', 'House of Welf']
SELECT DISTINCT ?d WHERE { ?d property:father resource:Julius,_Duke_of_Brunswick-Lüneburg . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q62953
P40
Q502895
USER
Do Julius, Duke of Brunswick-Lüneburg have those ones as a child ?
(Q62953,P40,Q77557) (Q62953,P40,Q98010) (Q62953,P40,Q122794)
action is_in
entity prev_answer
action find
entity Q62953
relation P40
['Q62953', 'P40', 'Q77557'] ['Q62953', 'P40', 'Q98010'] ['Q62953', 'P40', 'Q122794']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2087213 ) ( resource:Q97637 ) ( resource:Q1269592 ) } . resource:Q62953 property:P40 ?q }
Julius, Duke of Brunswick-Lüneburg
action is_in
entity prev_answer
action find
entity Julius, Duke of Brunswick-Lüneburg
relation child
['Julius, Duke of Brunswick-Lüneburg', 'child', 'Henry Julius, Duke of Brunswick-Lüneburg'] ['Julius, Duke of Brunswick-Lüneburg', 'child', 'Maria of Brunswick-Lüneburg'] ['Julius, Duke of Brunswick-Lüneburg', 'child', 'Sophie Hedwig of Brunswick-Wolfenbüttel']
ASK WHERE { VALUES ( ?q ) { ( resource:Philip_Sigismund_of_Brunswick-Wolfenbüttel ) ( resource:Elisabeth_of_Brunswick-Wolfenbüttel ) ( resource:Joachim_Karl_of_Braunschweig-Wolfenbüttel ) } . resource:Julius,_Duke_of_Brunswick-Lüneburg property:child ?q }
[]
common name
SYSTEM
YES
(Q62953,P40,Q77557) (Q62953,P40,Q98010) (Q62953,P40,Q122794)
action is_in
entity prev_answer
action find
entity Q62953
relation P40
[ANSWER]
['Q62953', 'P40', 'Q77557'] ['Q62953', 'P40', 'Q98010'] ['Q62953', 'P40', 'Q122794']
ASK WHERE { VALUES ( ?q ) { ( resource:Q2087213 ) ( resource:Q97637 ) ( resource:Q1269592 ) } . resource:Q62953 property:P40 ?q }
Yes
action is_in
entity prev_answer
action find
entity Julius, Duke of Brunswick-Lüneburg
relation child
['Julius, Duke of Brunswick-Lüneburg', 'child', 'Henry Julius, Duke of Brunswick-Lüneburg'] ['Julius, Duke of Brunswick-Lüneburg', 'child', 'Maria of Brunswick-Lüneburg'] ['Julius, Duke of Brunswick-Lüneburg', 'child', 'Sophie Hedwig of Brunswick-Wolfenbüttel']
ASK WHERE { VALUES ( ?q ) { ( resource:Philip_Sigismund_of_Brunswick-Wolfenbüttel ) ( resource:Elisabeth_of_Brunswick-Wolfenbüttel ) ( resource:Joachim_Karl_of_Braunschweig-Wolfenbüttel ) } . resource:Julius,_Duke_of_Brunswick-Lüneburg property:child ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q98010 Q12301573 Q18627611
P40
Q502895
USER
Does Maria of Brunswick-Lüneburg have Andreas Leth and Lovro Polančič as an offspring ?
(Q98010,P40,Q12301573) (Q98010,P40,Q18627611)
action is_in
entity Q98010
action intersection
action find_reverse
entity Q12301573
relation P40
action find_reverse
entity Q18627611
relation P40
['Q98010', 'P40', 'Q12301573'] ['Q98010', 'P40', 'Q18627611']
ASK WHERE { resource:Q98010 property:P40 resource:Q12301573 . resource:Q98010 property:P40 resource:Q18627611 }
Maria of Brunswick-Lüneburg Andreas Leth Lovro Polančič
action is_in
entity Maria of Brunswick-Lüneburg
action intersection
action find_reverse
entity Andreas Leth
relation child
action find_reverse
entity Lovro Polančič
relation child
['Maria of Brunswick-Lüneburg', 'child', 'Andreas Leth'] ['Maria of Brunswick-Lüneburg', 'child', 'Lovro Polančič']
ASK WHERE { resource:Maria_of_Brunswick-Lüneburg property:child resource:Andreas_Leth . resource:Maria_of_Brunswick-Lüneburg property:child resource:Lovro_Polančič }
[]
common name
SYSTEM
NO
(Q98010,P40,Q12301573) (Q98010,P40,Q18627611)
action is_in
entity Q98010
action intersection
action find_reverse
entity Q12301573
relation P40
action find_reverse
entity Q18627611
relation P40
[ANSWER]
['Q98010', 'P40', 'Q12301573'] ['Q98010', 'P40', 'Q18627611']
ASK WHERE { resource:Q98010 property:P40 resource:Q12301573 . resource:Q98010 property:P40 resource:Q18627611 }
No
action is_in
entity Maria of Brunswick-Lüneburg
action intersection
action find_reverse
entity Andreas Leth
relation child
action find_reverse
entity Lovro Polančič
relation child
['Maria of Brunswick-Lüneburg', 'child', 'Andreas Leth'] ['Maria of Brunswick-Lüneburg', 'child', 'Lovro Polančič']
ASK WHERE { resource:Maria_of_Brunswick-Lüneburg property:child resource:Andreas_Leth . resource:Maria_of_Brunswick-Lüneburg property:child resource:Lovro_Polančič }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q156433 Q5480617
P112
Q502895
USER
House of Welf ?
(Q156433,P112,Q5480617)
action is_in
entity Q5480617
action find
entity Q156433
relation P112
['Q156433', 'P112', 'Q5480617']
ASK WHERE { resource:Q156433 property:P112 resource:Q5480617 }
House of Welf Francis Costigan
action is_in
entity Francis Costigan
action find
entity House of Welf
relation founder
['House of Welf', 'founder', 'Francis Costigan']
ASK WHERE { resource:House_of_Welf property:founder resource:Francis_Costigan }
[]
common name
SYSTEM
NO
(Q156433,P112,Q5480617)
action is_in
entity Q5480617
action find
entity Q156433
relation P112
[ANSWER]
['Q156433', 'P112', 'Q5480617']
ASK WHERE { resource:Q156433 property:P112 resource:Q5480617 }
No
action is_in
entity Francis Costigan
action find
entity House of Welf
relation founder
['House of Welf', 'founder', 'Francis Costigan']
ASK WHERE { resource:House_of_Welf property:founder resource:Francis_Costigan }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15710873
P725
Q502895 Q95074
USER
How many fictional characters have been dubbed by greater number of people than Princess Celestia ?
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?b ) WHERE { ?d rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 . ?d property:P725 ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q95074 . resource:Q15710873 property:P725 ?g } } . FILTER ( ?b > ?j ) }
Princess Celestia
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?b ) WHERE { ?d rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name . ?d property:voice_actor ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:fictional_character . resource:Princess_Celestia property:voice_actor ?g } } . FILTER ( ?b > ?j ) }
[]
common name fictional character
SYSTEM
9
Q21847058 Q11623287 Q3256697 Q21837397 Q21837021 Q21837027 Q3471289 Q12400 Q2340460
(c(Q95074),P725,c(Q502895))
action count
action greater
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q15710873
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?b ) WHERE { ?d rdf:type ontology:Q95074 . ?a rdf:type ontology:Q502895 . ?d property:P725 ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:Q95074 . resource:Q15710873 property:P725 ?g } } . FILTER ( ?b > ?j ) }
Yūichi Tachibana Takumi Fujiwara Little Mac Takeshi Nakazato Bunta Fujiwara Ryōsuke Takahashi Samurai Goroh Samus Aran Captain Falcon
9
action count
action greater
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Princess Celestia
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?w ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?b ) WHERE { ?d rdf:type ontology:fictional_character . ?a rdf:type ontology:common_name . ?d property:voice_actor ?a } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?j ) WHERE { ?g rdf:type ontology:fictional_character . resource:Princess_Celestia property:voice_actor ?g } } . FILTER ( ?b > ?j ) }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q156433 Q3302239
P112
Q502895
USER
Is Max Milner the name of the founder of House of Welf ?
(Q156433,P112,Q3302239)
action is_in
entity Q3302239
action find
entity Q156433
relation P112
['Q156433', 'P112', 'Q3302239']
ASK WHERE { resource:Q156433 property:P112 resource:Q3302239 }
House of Welf Max Milner
action is_in
entity Max Milner
action find
entity House of Welf
relation founder
['House of Welf', 'founder', 'Max Milner']
ASK WHERE { resource:House_of_Welf property:founder resource:Max_Milner }
[]
common name
SYSTEM
NO
(Q156433,P112,Q3302239)
action is_in
entity Q3302239
action find
entity Q156433
relation P112
[ANSWER]
['Q156433', 'P112', 'Q3302239']
ASK WHERE { resource:Q156433 property:P112 resource:Q3302239 }
No
action is_in
entity Max Milner
action find
entity House of Welf
relation founder
['House of Welf', 'founder', 'Max Milner']
ASK WHERE { resource:House_of_Welf property:founder resource:Max_Milner }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q183144 Q12301573
P27
Q1048835
USER
Which political territories are Andreas Leth or Epictetus an inhabitant of ?
OR((Q12301573,P27,c(Q1048835)), (Q183144,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q12301573
relation P27
action find
entity Q183144
relation P27
type Q1048835
{'OR': [['Q12301573', 'P27', {'concept': 'Q1048835'}], ['Q183144', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { VALUES ( ?k ) { ( resource:Q183144 ) ( resource:Q12301573 ) } . ?k property:P27 ?g } }
Epictetus Andreas Leth
action filter_type
action union
action find
entity Andreas Leth
relation country of citizenship
action find
entity Epictetus
relation country of citizenship
type political territorial entity
{'OR': [['Andreas Leth', 'country of citizenship', {'concept': 'political territorial entity'}], ['Epictetus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { VALUES ( ?k ) { ( resource:Epictetus ) ( resource:Andreas_Leth ) } . ?k property:country_of_citizenship ?g } }
[]
political territorial entity
Q1747689 Q35
SYSTEM
Ancient Rome, Denmark
Q1747689 Q35
OR((Q12301573,P27,c(Q1048835)), (Q183144,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q12301573
relation P27
action find
entity Q183144
relation P27
type Q1048835
[ANSWERS] are Andreas Leth or Epictetus an inhabitant of
{'OR': [['Q12301573', 'P27', {'concept': 'Q1048835'}], ['Q183144', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . { VALUES ( ?k ) { ( resource:Q183144 ) ( resource:Q12301573 ) } . ?k property:P27 ?g } }
Ancient Rome Denmark
Ancient Rome and Denmark are Andreas Leth or Epictetus an inhabitant of
Ancient Rome Denmark
action filter_type
action union
action find
entity Andreas Leth
relation country of citizenship
action find
entity Epictetus
relation country of citizenship
type political territorial entity
{'OR': [['Andreas Leth', 'country of citizenship', {'concept': 'political territorial entity'}], ['Epictetus', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . { VALUES ( ?k ) { ( resource:Epictetus ) ( resource:Andreas_Leth ) } . ?k property:country_of_citizenship ?g } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1747689
P17
Q56061
USER
Which administrative territories are present in that political territory ?
(c(Q56061),P17,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P17
type Q56061
[{'concept': 'Q56061'}, 'P17', 'Q1747689']
SELECT DISTINCT ?c WHERE { ?c property:P17 resource:Q1747689 . ?c rdf:type ontology:Q56061 }
Ancient Rome
action filter_type
action find_reverse
entity Ancient Rome
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Ancient Rome']
SELECT DISTINCT ?c WHERE { ?c property:country resource:Ancient_Rome . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q35
SYSTEM
Did you mean Denmark ?
Q1747689 Q35
(c(Q56061),P17,Q1747689) (c(Q56061),P17,Q35)
[ANSWER]
[{'concept': 'Q56061'}, 'P17', 'Q1747689'] [{'concept': 'Q56061'}, 'P17', 'Q35']
SELECT DISTINCT ?c WHERE { ?c property:P17 resource:Q1747689 . ?c rdf:type ontology:Q56061 }
Ancient Rome Denmark
Did you mean Denmark ?
Denmark
[{'concept': 'administrative territorial entity'}, 'country', 'Ancient Rome'] [{'concept': 'administrative territorial entity'}, 'country', 'Denmark']
SELECT DISTINCT ?c WHERE { ?c property:country resource:Ancient_Rome . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Ancient Rome. Could you tell me the answer for that?
(c(Q56061),P17,Q1747689)
Q1747689
[{'concept': 'Q56061'}, 'P17', 'Q1747689']
[{'concept': 'administrative territorial entity'}, 'country', 'Ancient Rome']
[]
Q20048542 Q666165 Q765823
SYSTEM
Cyrrhus, Augusta Treverorum, Augusta Vindelicorum
Q4821345 Q20048542 Q8536073 Q729978 Q765823 Q464588 Q15644911 Q1374967 Q666165 Q654893
(c(Q56061),P17,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P17
type Q56061
[ANSWERS] are present in that political territory
[{'concept': 'Q56061'}, 'P17', 'Q1747689']
SELECT DISTINCT ?c WHERE { ?c property:P17 resource:Q1747689 . ?c rdf:type ontology:Q56061 }
Augustopolis in Palaestina Cyrrhus Azimuntium Mediolanum Augusta Vindelicorum Colonia Ulpia Traiana administrative territorial entity of the Roman Empire Euroea in Phoenicia Augusta Treverorum Löwenstein-Wertheim
Cyrrhus, Augusta Treverorum and Augusta Vindelicorum are present in that political territory
Cyrrhus Augusta Treverorum Augusta Vindelicorum
action filter_type
action find_reverse
entity Ancient Rome
relation country
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'country', 'Ancient Rome']
SELECT DISTINCT ?c WHERE { ?c property:country resource:Ancient_Rome . ?c rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19306864 Q765823
P138
Q502895
USER
Which people are the origin of Augusta Vindelicorum or Koningin Julianastraat ?
OR((Q765823,P138,c(Q502895)), (Q19306864,P138,c(Q502895)))
action filter_type
action union
action find
entity Q765823
relation P138
action find
entity Q19306864
relation P138
type Q502895
{'OR': [['Q765823', 'P138', {'concept': 'Q502895'}], ['Q19306864', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?x ) { ( resource:Q765823 ) ( resource:Q19306864 ) } . ?x property:P138 ?b } . ?b rdf:type ontology:Q502895 }
Koningin Julianastraat Augusta Vindelicorum
action filter_type
action union
action find
entity Augusta Vindelicorum
relation named after
action find
entity Koningin Julianastraat
relation named after
type common name
{'OR': [['Augusta Vindelicorum', 'named after', {'concept': 'common name'}], ['Koningin Julianastraat', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?x ) { ( resource:Augusta_Vindelicorum ) ( resource:Koningin_Julianastraat ) } . ?x property:named_after ?b } . ?b rdf:type ontology:common_name }
[]
common name
Q1405 Q154946
SYSTEM
Augustus, Juliana of the Netherlands
Q1405 Q154946
OR((Q765823,P138,c(Q502895)), (Q19306864,P138,c(Q502895)))
action filter_type
action union
action find
entity Q765823
relation P138
action find
entity Q19306864
relation P138
type Q502895
[ANSWERS] are the origin of Augusta Vindelicorum or Koningin Julianastraat
{'OR': [['Q765823', 'P138', {'concept': 'Q502895'}], ['Q19306864', 'P138', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?x ) { ( resource:Q765823 ) ( resource:Q19306864 ) } . ?x property:P138 ?b } . ?b rdf:type ontology:Q502895 }
Augustus Juliana of the Netherlands
Augustus and Juliana of the Netherlands are the origin of Augusta Vindelicorum or Koningin Julianastraat
Augustus Juliana of the Netherlands
action filter_type
action union
action find
entity Augusta Vindelicorum
relation named after
action find
entity Koningin Julianastraat
relation named after
type common name
{'OR': [['Augusta Vindelicorum', 'named after', {'concept': 'common name'}], ['Koningin Julianastraat', 'named after', {'concept': 'common name'}]]}
SELECT DISTINCT ?b WHERE { { VALUES ( ?x ) { ( resource:Augusta_Vindelicorum ) ( resource:Koningin_Julianastraat ) } . ?x property:named_after ?b } . ?b rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1747689
P361
Q3024240
USER
Which former country is a portion of Ancient Rome ?
(c(Q3024240),P361,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P361
type Q3024240
[{'concept': 'Q3024240'}, 'P361', 'Q1747689']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q1747689 . ?t rdf:type ontology:Q3024240 }
Ancient Rome
action filter_type
action find_reverse
entity Ancient Rome
relation part of
type former country
[{'concept': 'former country'}, 'part of', 'Ancient Rome']
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:Ancient_Rome . ?t rdf:type ontology:former_country }
[]
former country
Q2277
SYSTEM
Roman Empire
Q2277
(c(Q3024240),P361,Q1747689)
action filter_type
action find_reverse
entity Q1747689
relation P361
type Q3024240
[ANSWER] is a portion of Ancient Rome
[{'concept': 'Q3024240'}, 'P361', 'Q1747689']
SELECT DISTINCT ?t WHERE { ?t property:P361 resource:Q1747689 . ?t rdf:type ontology:Q3024240 }
Roman Empire
Roman Empire is a portion of Ancient Rome
Roman Empire
action filter_type
action find_reverse
entity Ancient Rome
relation part of
type former country
[{'concept': 'former country'}, 'part of', 'Ancient Rome']
SELECT DISTINCT ?t WHERE { ?t property:part_of resource:Ancient_Rome . ?t rdf:type ontology:former_country }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q154946
P25
Q502895
USER
Which people have Juliana of the Netherlands as mother ?
(c(Q502895),P25,Q154946)
action filter_type
action find_reverse
entity Q154946
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q154946']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q154946 . ?t rdf:type ontology:Q502895 }
Juliana of the Netherlands
action filter_type
action find_reverse
entity Juliana of the Netherlands
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Juliana of the Netherlands']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Juliana_of_the_Netherlands . ?t rdf:type ontology:common_name }
[]
common name
Q29574 Q268821 Q263623
SYSTEM
Beatrix of the Netherlands, Princess Margriet of the Netherlands, Princess Irene of the Netherlands
Q29574 Q263623 Q435324 Q268821
(c(Q502895),P25,Q154946)
action filter_type
action find_reverse
entity Q154946
relation P25
type Q502895
[ANSWERS] have Juliana of the Netherlands as mother
[{'concept': 'Q502895'}, 'P25', 'Q154946']
SELECT DISTINCT ?t WHERE { ?t property:P25 resource:Q154946 . ?t rdf:type ontology:Q502895 }
Beatrix of the Netherlands Princess Irene of the Netherlands Princess Christina of the Netherlands Princess Margriet of the Netherlands
Beatrix of the Netherlands, Princess Margriet of the Netherlands and Princess Irene of the Netherlands have Juliana of the Netherlands as mother
Beatrix of the Netherlands Princess Margriet of the Netherlands Princess Irene of the Netherlands
action filter_type
action find_reverse
entity Juliana of the Netherlands
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Juliana of the Netherlands']
SELECT DISTINCT ?t WHERE { ?t property:mother resource:Juliana_of_the_Netherlands . ?t rdf:type ontology:common_name }
[]