Simple Question (Direct)
Simple Question
Q2753075
P40
Q502895
USER
Who are an offsprings of Christopher O'Neill ?
(Q2753075,P40,c(Q502895))
action filter_type
action find
entity Q2753075
relation P40
type Q502895
['Q2753075', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2753075 property:P40 ?n . ?n rdf:type ontology:Q502895 }
Christopher O'Neill
action filter_type
action find
entity Christopher O'Neill
relation child
type common name
["Christopher O'Neill", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Christopher_O'Neill property:child ?n . ?n rdf:type ontology:common_name }
[]
common name
Q20107429 Q15768416
SYSTEM
Prince Nicolas, Duke of Ångermanland, Princess Leonore, Duchess of Gotland
Q20107429 Q15768416
(Q2753075,P40,c(Q502895))
action filter_type
action find
entity Q2753075
relation P40
type Q502895
[ANSWERS]
['Q2753075', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2753075 property:P40 ?n . ?n rdf:type ontology:Q502895 }
Prince Nicolas, Duke of Ångermanland Princess Leonore, Duchess of Gotland
An offsprings of Christopher O'Neill are Crown Prince Nicolas, Duke of Ångermanland and Princess Leonore, Duchess of Gotland
Prince Nicolas, Duke of Ångermanland Princess Leonore, Duchess of Gotland
action filter_type
action find
entity Christopher O'Neill
relation child
type common name
["Christopher O'Neill", 'child', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Christopher_O'Neill property:child ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q20107429 Q15768416
P40
Q502895
USER
Whose child are those ones ?
(c(Q502895),P40,Q20107429) (c(Q502895),P40,Q15768416)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q20107429'] [{'concept': 'Q502895'}, 'P40', 'Q15768416']
SELECT DISTINCT ?r WHERE { ?r property:P40 ?i . ?r rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q20107429 ) ( resource:Q15768416 ) } }
Prince Nicolas, Duke of Ångermanland Princess Leonore, Duchess of Gotland
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Nicolas, Duke of Ångermanland'] [{'concept': 'common name'}, 'child', 'Princess Leonore, Duchess of Gotland']
SELECT DISTINCT ?r WHERE { ?r property:child ?i . ?r rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:Prince_Nicolas,_Duke_of_Ångermanland ) ( resource:Princess_Leonore,_Duchess_of_Gotland ) } }
[]
common name
Q212035 Q212035 Q2753075
SYSTEM
Christopher O'Neill for 3rd, Princess Madeleine, Duchess of Hälsingland and Gästrikland for 1st, 2nd
Q2753075 Q212035 Q2753075 Q212035
(c(Q502895),P40,Q20107429) (c(Q502895),P40,Q15768416)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P40', 'Q20107429'] [{'concept': 'Q502895'}, 'P40', 'Q15768416']
SELECT DISTINCT ?r WHERE { ?r property:P40 ?i . ?r rdf:type ontology:Q502895 . VALUES ( ?i ) { ( resource:Q20107429 ) ( resource:Q15768416 ) } }
Christopher O'Neill Princess Madeleine, Duchess of Hälsingland and Gästrikland Christopher O'Neill Princess Madeleine, Duchess of Hälsingland and Gästrikland
Child those ones are Princess Madeleine, Duchess of Hälsingland and Gästrikland, Princess Madeleine, Duchess of Hälsingland and Gästrikland and Christopher O'Neill
Princess Madeleine, Duchess of Hälsingland and Gästrikland Princess Madeleine, Duchess of Hälsingland and Gästrikland Christopher O'Neill
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Prince Nicolas, Duke of Ångermanland'] [{'concept': 'common name'}, 'child', 'Princess Leonore, Duchess of Gotland']
SELECT DISTINCT ?r WHERE { ?r property:child ?i . ?r rdf:type ontology:common_name . VALUES ( ?i ) { ( resource:Prince_Nicolas,_Duke_of_Ångermanland ) ( resource:Princess_Leonore,_Duchess_of_Gotland ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212035
P25
Q502895
USER
Who are the offspring of Princess Madeleine, Duchess of Hälsingland and Gästrikland ?
(c(Q502895),P25,Q212035)
action filter_type
action find_reverse
entity Q212035
relation P25
type Q502895
[{'concept': 'Q502895'}, 'P25', 'Q212035']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q212035 . ?g rdf:type ontology:Q502895 }
Princess Madeleine, Duchess of Hälsingland and Gästrikland
action filter_type
action find_reverse
entity Princess Madeleine, Duchess of Hälsingland and Gästrikland
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Madeleine, Duchess of Hälsingland and Gästrikland']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Princess_Madeleine,_Duchess_of_Hälsingland_and_Gästrikland . ?g rdf:type ontology:common_name }
[]
common name
Q20107429 Q15768416
SYSTEM
Prince Nicolas, Duke of Ångermanland, Princess Leonore, Duchess of Gotland
Q20107429 Q15768416
(c(Q502895),P25,Q212035)
action filter_type
action find_reverse
entity Q212035
relation P25
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P25', 'Q212035']
SELECT DISTINCT ?g WHERE { ?g property:P25 resource:Q212035 . ?g rdf:type ontology:Q502895 }
Prince Nicolas, Duke of Ångermanland Princess Leonore, Duchess of Gotland
The offspring of Princess Madeleine , Duchess of Hälsingland and Gästrikland are also Prince Nicolas, Duke of Ångermanland and Princess Leonore, Duchess of Gotland
Prince Nicolas, Duke of Ångermanland Princess Leonore, Duchess of Gotland
action filter_type
action find_reverse
entity Princess Madeleine, Duchess of Hälsingland and Gästrikland
relation mother
type common name
[{'concept': 'common name'}, 'mother', 'Princess Madeleine, Duchess of Hälsingland and Gästrikland']
SELECT DISTINCT ?g WHERE { ?g property:mother resource:Princess_Madeleine,_Duchess_of_Hälsingland_and_Gästrikland . ?g rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15768416
P9
Q502895
USER
Which person had Princess Leonore, Duchess of Gotland as sister ?
(c(Q502895),P9,Q15768416)
action filter_type
action find_reverse
entity Q15768416
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q15768416']
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q15768416 . ?a rdf:type ontology:Q502895 }
Princess Leonore, Duchess of Gotland
action filter_type
action find_reverse
entity Princess Leonore, Duchess of Gotland
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Leonore, Duchess of Gotland']
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Princess_Leonore,_Duchess_of_Gotland . ?a rdf:type ontology:common_name }
[]
common name
Q20107429
SYSTEM
Prince Nicolas, Duke of Ångermanland
Q20107429
(c(Q502895),P9,Q15768416)
action filter_type
action find_reverse
entity Q15768416
relation P9
type Q502895
[ANSWER] had Princess Leonore, Duchess of Gotland as sister
[{'concept': 'Q502895'}, 'P9', 'Q15768416']
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q15768416 . ?a rdf:type ontology:Q502895 }
Prince Nicolas, Duke of Ångermanland
Prince Nicolas, Duke of Ångermanland had Princess Leonore, Duchess of Gotland as sister
Prince Nicolas, Duke of Ångermanland
action filter_type
action find_reverse
entity Princess Leonore, Duchess of Gotland
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Leonore, Duchess of Gotland']
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Princess_Leonore,_Duchess_of_Gotland . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q212035
P26
Q502895
USER
Which person is married to Princess Madeleine, Duchess of Hälsingland and Gästrikland ?
(Q212035,P26,c(Q502895))
action filter_type
action find
entity Q212035
relation P26
type Q502895
['Q212035', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q212035 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Princess Madeleine, Duchess of Hälsingland and Gästrikland
action filter_type
action find
entity Princess Madeleine, Duchess of Hälsingland and Gästrikland
relation spouse
type common name
['Princess Madeleine, Duchess of Hälsingland and Gästrikland', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Princess_Madeleine,_Duchess_of_Hälsingland_and_Gästrikland property:spouse ?z . ?z rdf:type ontology:common_name }
[]
common name
Q2753075
SYSTEM
Christopher O'Neill
Q2753075
(Q212035,P26,c(Q502895))
action filter_type
action find
entity Q212035
relation P26
type Q502895
[ANSWER] is married to Princess Madeleine, Duchess of Hälsingland and Gästrikland
['Q212035', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?z WHERE { resource:Q212035 property:P26 ?z . ?z rdf:type ontology:Q502895 }
Christopher O'Neill
Christopher O'Neill is married to Princess Madeleine, Duchess of Hälsingland and Gästrikland
Christopher O'Neill
action filter_type
action find
entity Princess Madeleine, Duchess of Hälsingland and Gästrikland
relation spouse
type common name
['Princess Madeleine, Duchess of Hälsingland and Gästrikland', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?z WHERE { resource:Princess_Madeleine,_Duchess_of_Hälsingland_and_Gästrikland property:spouse ?z . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q7810
P725
Q502895 Q95074
USER
How many fictional characters did approximately the same number of people do the dubbing for as Homer Simpson ?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q7810
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?i ) WHERE { ?o property:P725 ?t . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q95074 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q7810 property:P725 ?d . ?d rdf:type ontology:Q95074 } } . FILTER ( ?i = ?x ) }
Homer Simpson
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Homer Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?i ) WHERE { ?o property:voice_actor ?t . ?t rdf:type ontology:common_name . ?o rdf:type ontology:fictional_character } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Homer_Simpson property:voice_actor ?d . ?d rdf:type ontology:fictional_character } } . FILTER ( ?i = ?x ) }
[]
common name fictional character
SYSTEM
15
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q7810
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?i ) WHERE { ?o property:P725 ?t . ?t rdf:type ontology:Q502895 . ?o rdf:type ontology:Q95074 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Q7810 property:P725 ?d . ?d rdf:type ontology:Q95074 } } . FILTER ( ?i = ?x ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
15
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Homer Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?i ) WHERE { ?o property:voice_actor ?t . ?t rdf:type ontology:common_name . ?o rdf:type ontology:fictional_character } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?x ) WHERE { resource:Homer_Simpson property:voice_actor ?d . ?d rdf:type ontology:fictional_character } } . FILTER ( ?i = ?x ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q2570349
P725
Q502895 Q95074
USER
And what about Spike Spiegel?
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2570349
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?l ) WHERE { ?b property:P725 ?d . ?b rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q2570349 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?l = ?q ) }
Spike Spiegel
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Spike Spiegel
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?l ) WHERE { ?b property:voice_actor ?d . ?b rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Spike_Spiegel property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?l = ?q ) }
[]
common name fictional character
SYSTEM
17
Q16027672 Q21837832 Q21847115 Q15710873 Q21847074 Q21837038 Q2570349 Q21847089 Q21847086 Q17349786 Q21847215 Q21837905 Q1621656 Q2544561 Q1984009 Q21847105 Q21847103
(c(Q95074),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q2570349
relation P725
type Q95074
[ANSWER]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?l ) WHERE { ?b property:P725 ?d . ?b rdf:type ontology:Q95074 . ?d rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Q2570349 property:P725 ?h . ?h rdf:type ontology:Q95074 } } . FILTER ( ?l = ?q ) }
Dr. Stewart Kyōichi Sudō Fumihiro Princess Celestia Kōichirō Iketani Keisuke Takahashi Spike Spiegel Kenji Natsuki Mogi Shulk Seiji Iwaki Itsuki Takeuchi Solid Snake Ike Death Kenta Nakamura Shingo Shōji
17
action count
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Spike Spiegel
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?d ) AS ?l ) WHERE { ?b property:voice_actor ?d . ?b rdf:type ontology:fictional_character . ?d rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { resource:Spike_Spiegel property:voice_actor ?h . ?h rdf:type ontology:fictional_character } } . FILTER ( ?l = ?q ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2753075
P69
Q3914
USER
Which school was Christopher O'Neill educated at ?
(Q2753075,P69,c(Q3914))
action filter_type
action find
entity Q2753075
relation P69
type Q3914
['Q2753075', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3914 . resource:Q2753075 property:P69 ?n }
Christopher O'Neill
action filter_type
action find
entity Christopher O'Neill
relation educated at
type school
["Christopher O'Neill", 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:school . resource:Christopher_O'Neill property:educated_at ?n }
[]
school
Q907481
SYSTEM
Columbia Business School
Q907481
(Q2753075,P69,c(Q3914))
action filter_type
action find
entity Q2753075
relation P69
type Q3914
Christopher O'Neill was educated by [ANSWER]
['Q2753075', 'P69', {'concept': 'Q3914'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q3914 . resource:Q2753075 property:P69 ?n }
Columbia Business School
Christopher O'Neill was educated by Columbia Business School
Columbia Business School
action filter_type
action find
entity Christopher O'Neill
relation educated at
type school
["Christopher O'Neill", 'educated at', {'concept': 'school'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:school . resource:Christopher_O'Neill property:educated_at ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20107429
P27
Q15617994
USER
Which administrative territory is the native country of Prince Nicolas, Duke of Ångermanland ?
(Q20107429,P27,c(Q15617994))
action filter_type
action find
entity Q20107429
relation P27
type Q15617994
['Q20107429', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20107429 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Prince Nicolas, Duke of Ångermanland
action filter_type
action find
entity Prince Nicolas, Duke of Ångermanland
relation country of citizenship
type designation for an administrative territorial entity
['Prince Nicolas, Duke of Ångermanland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Prince_Nicolas,_Duke_of_Ångermanland property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q20107429,P27,c(Q15617994))
action filter_type
action find
entity Q20107429
relation P27
type Q15617994
[ANSWER] is the native country of Prince Nicolas, Duke of Ångermanland
['Q20107429', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q20107429 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Prince Nicolas, Duke of Ångermanland
Sweden
action filter_type
action find
entity Prince Nicolas, Duke of Ångermanland
relation country of citizenship
type designation for an administrative territorial entity
['Prince Nicolas, Duke of Ångermanland', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Prince_Nicolas,_Duke_of_Ångermanland property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20107429
P53
Q13417114
USER
What dynasty does Prince Nicolas, Duke of Ångermanland belong to ?
(Q20107429,P53,c(Q13417114))
action filter_type
action find
entity Q20107429
relation P53
type Q13417114
['Q20107429', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?v WHERE { resource:Q20107429 property:P53 ?v . ?v rdf:type ontology:Q13417114 }
Prince Nicolas, Duke of Ångermanland
action filter_type
action find
entity Prince Nicolas, Duke of Ångermanland
relation noble family
type noble family
['Prince Nicolas, Duke of Ångermanland', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?v WHERE { resource:Prince_Nicolas,_Duke_of_Ångermanland property:noble_family ?v . ?v rdf:type ontology:noble_family }
[]
noble family
Q201625
SYSTEM
House of Bernadotte
Q201625
(Q20107429,P53,c(Q13417114))
action filter_type
action find
entity Q20107429
relation P53
type Q13417114
Prince Nicolas , Duke of Ångermanland belongs to the [ANSWER]
['Q20107429', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?v WHERE { resource:Q20107429 property:P53 ?v . ?v rdf:type ontology:Q13417114 }
House of Bernadotte
Prince Nicolas , Duke of Ångermanland belongs to the House of Bernadotte
House of Bernadotte
action filter_type
action find
entity Prince Nicolas, Duke of Ångermanland
relation noble family
type noble family
['Prince Nicolas, Duke of Ångermanland', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?v WHERE { resource:Prince_Nicolas,_Duke_of_Ångermanland property:noble_family ?v . ?v rdf:type ontology:noble_family }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1132871
Q13417114
USER
And also tell me about Zhu Yihai, Prince of Lu?
(Q1132871,P53,c(Q13417114))
action filter_type
action find
entity Q1132871
relation P53
type Q13417114
['Q1132871', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?w WHERE { resource:Q1132871 property:P53 ?w . ?w rdf:type ontology:Q13417114 }
Zhu Yihai, Prince of Lu
action filter_type
action find
entity Zhu Yihai, Prince of Lu
relation noble family
type noble family
['Zhu Yihai, Prince of Lu', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?w WHERE { resource:Zhu_Yihai,_Prince_of_Lu property:noble_family ?w . ?w rdf:type ontology:noble_family }
[]
noble family
Q1198163
SYSTEM
Southern Ming Dynasty
Q1198163
(Q1132871,P53,c(Q13417114))
action filter_type
action find
entity Q1132871
relation P53
type Q13417114
[ANSWER]
['Q1132871', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?w WHERE { resource:Q1132871 property:P53 ?w . ?w rdf:type ontology:Q13417114 }
Southern Ming Dynasty
Southern Ming Dynasty
action filter_type
action find
entity Zhu Yihai, Prince of Lu
relation noble family
type noble family
['Zhu Yihai, Prince of Lu', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?w WHERE { resource:Zhu_Yihai,_Prince_of_Lu property:noble_family ?w . ?w rdf:type ontology:noble_family }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q888538 Q20107429
P22
Q502895
USER
Which people were the dad of Prince Nicolas, Duke of Ångermanland or Julius Patricius ?
OR((Q20107429,P22,c(Q502895)), (Q888538,P22,c(Q502895)))
action filter_type
action union
action find
entity Q20107429
relation P22
action find
entity Q888538
relation P22
type Q502895
{'OR': [['Q20107429', 'P22', {'concept': 'Q502895'}], ['Q888538', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q888538 property:P22 ?v } UNION { resource:Q20107429 property:P22 ?v } } . ?v rdf:type ontology:Q502895 }
Julius Patricius Prince Nicolas, Duke of Ångermanland
action filter_type
action union
action find
entity Prince Nicolas, Duke of Ångermanland
relation father
action find
entity Julius Patricius
relation father
type common name
{'OR': [['Prince Nicolas, Duke of Ångermanland', 'father', {'concept': 'common name'}], ['Julius Patricius', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Julius_Patricius property:father ?v } UNION { resource:Prince_Nicolas,_Duke_of_Ångermanland property:father ?v } } . ?v rdf:type ontology:common_name }
[]
common name
Q2753075 Q361276
SYSTEM
Christopher O'Neill, Aspar
Q2753075 Q361276
OR((Q20107429,P22,c(Q502895)), (Q888538,P22,c(Q502895)))
action filter_type
action union
action find
entity Q20107429
relation P22
action find
entity Q888538
relation P22
type Q502895
[ANSWERS] were the dad of Prince Nicolas, Duke of Ångermanland or Julius Patricius
{'OR': [['Q20107429', 'P22', {'concept': 'Q502895'}], ['Q888538', 'P22', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q888538 property:P22 ?v } UNION { resource:Q20107429 property:P22 ?v } } . ?v rdf:type ontology:Q502895 }
Christopher O'Neill Aspar
Christopher O'Neill and Aspar were the dad of Prince Nicolas, Duke of Ångermanland or Julius Patricius
Christopher O'Neill Aspar
action filter_type
action union
action find
entity Prince Nicolas, Duke of Ångermanland
relation father
action find
entity Julius Patricius
relation father
type common name
{'OR': [['Prince Nicolas, Duke of Ångermanland', 'father', {'concept': 'common name'}], ['Julius Patricius', 'father', {'concept': 'common name'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Julius_Patricius property:father ?v } UNION { resource:Prince_Nicolas,_Duke_of_Ångermanland property:father ?v } } . ?v rdf:type ontology:common_name }
[]