Simple Question (Direct)
Simple Question
Q19327703
P25
Q502895
USER
Which person was the mother of Elsa Elisabeth Brahe ?
(Q19327703,P25,c(Q502895))
action filter_type
action find
entity Q19327703
relation P25
type Q502895
['Q19327703', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q19327703 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Elsa Elisabeth Brahe
action filter_type
action find
entity Elsa Elisabeth Brahe
relation mother
type common name
['Elsa Elisabeth Brahe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Elsa_Elisabeth_Brahe property:mother ?y . ?y rdf:type ontology:common_name }
[]
common name
Q22690936
SYSTEM
Anna Margareta Bielke
Q22690936
(Q19327703,P25,c(Q502895))
action filter_type
action find
entity Q19327703
relation P25
type Q502895
[ANSWER] was the mother of Elsa Elisabeth Brahe
['Q19327703', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q19327703 property:P25 ?y . ?y rdf:type ontology:Q502895 }
Anna Margareta Bielke
Anna Margareta Bielke was the mother of Elsa Elisabeth Brahe
Anna Margareta Bielke
action filter_type
action find
entity Elsa Elisabeth Brahe
relation mother
type common name
['Elsa Elisabeth Brahe', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Elsa_Elisabeth_Brahe property:mother ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19327703
P40
Q502895
USER
Whose child are Elsa Elisabeth Brahe ?
(c(Q502895),P40,Q19327703)
action filter_type
action find_reverse
entity Q19327703
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q19327703']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q19327703 . ?r rdf:type ontology:Q502895 }
Elsa Elisabeth Brahe
action filter_type
action find_reverse
entity Elsa Elisabeth Brahe
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elsa Elisabeth Brahe']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Elsa_Elisabeth_Brahe . ?r rdf:type ontology:common_name }
[]
common name
Q22690936 Q3014111
SYSTEM
Anna Margareta Bielke, Nils Brahe
Q22690936 Q3014111
(c(Q502895),P40,Q19327703)
action filter_type
action find_reverse
entity Q19327703
relation P40
type Q502895
[ANSWERS] are Elsa Elisabeth Brahe
[{'concept': 'Q502895'}, 'P40', 'Q19327703']
SELECT DISTINCT ?r WHERE { ?r property:P40 resource:Q19327703 . ?r rdf:type ontology:Q502895 }
Anna Margareta Bielke Nils Brahe
Anna Margareta Bielke and Nils Brahe are Elsa Elisabeth Brahe
Anna Margareta Bielke Nils Brahe
action filter_type
action find_reverse
entity Elsa Elisabeth Brahe
relation child
type common name
[{'concept': 'common name'}, 'child', 'Elsa Elisabeth Brahe']
SELECT DISTINCT ?r WHERE { ?r property:child resource:Elsa_Elisabeth_Brahe . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q22690936 Q3014111
P40
Q502895
USER
Which people have Anna Margareta Bielke and Nils Brahe as a child ?
(c(Q502895),P40,Q22690936) (c(Q502895),P40,Q3014111)
action union
action filter_type
action find_reverse
entity Q22690936
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3014111
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q22690936'] [{'concept': 'Q502895'}, 'P40', 'Q3014111']
SELECT DISTINCT ?v WHERE { { ?v property:P40 resource:Q22690936 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P40 resource:Q3014111 . ?v rdf:type ontology:Q502895 } }
Anna Margareta Bielke Nils Brahe
action union
action filter_type
action find_reverse
entity Anna Margareta Bielke
relation child
type common name
action filter_type
action find_reverse
entity Nils Brahe
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anna Margareta Bielke'] [{'concept': 'common name'}, 'child', 'Nils Brahe']
SELECT DISTINCT ?v WHERE { { ?v property:child resource:Anna_Margareta_Bielke . ?v rdf:type ontology:common_name } UNION { ?v property:child resource:Nils_Brahe . ?v rdf:type ontology:common_name } }
[]
common name
Q5575635 Q5584469
SYSTEM
Svante Bielke, Abraham Pedersson Brahe
Q5575635 Q5584469
(c(Q502895),P40,Q22690936) (c(Q502895),P40,Q3014111)
action union
action filter_type
action find_reverse
entity Q22690936
relation P40
type Q502895
action filter_type
action find_reverse
entity Q3014111
relation P40
type Q502895
[ANSWERS] have Anna Margareta Bielke and Nils Brahe as a child
[{'concept': 'Q502895'}, 'P40', 'Q22690936'] [{'concept': 'Q502895'}, 'P40', 'Q3014111']
SELECT DISTINCT ?v WHERE { { ?v property:P40 resource:Q22690936 . ?v rdf:type ontology:Q502895 } UNION { ?v property:P40 resource:Q3014111 . ?v rdf:type ontology:Q502895 } }
Svante Bielke Abraham Pedersson Brahe
Svante Bielke and Abraham Pedersson Brahe have Anna Margareta Bielke and Nils Brahe as a child
Svante Bielke Abraham Pedersson Brahe
action union
action filter_type
action find_reverse
entity Anna Margareta Bielke
relation child
type common name
action filter_type
action find_reverse
entity Nils Brahe
relation child
type common name
[{'concept': 'common name'}, 'child', 'Anna Margareta Bielke'] [{'concept': 'common name'}, 'child', 'Nils Brahe']
SELECT DISTINCT ?v WHERE { { ?v property:child resource:Anna_Margareta_Bielke . ?v rdf:type ontology:common_name } UNION { ?v property:child resource:Nils_Brahe . ?v rdf:type ontology:common_name } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5575635 Q5584469
P7
Q502895
USER
Who have those ones as their sibling ?
(c(Q502895),P7,Q5575635) (c(Q502895),P7,Q5584469)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q5575635'] [{'concept': 'Q502895'}, 'P7', 'Q5584469']
SELECT DISTINCT ?z WHERE { ?z property:P7 ?q . VALUES ( ?q ) { ( resource:Q5575635 ) ( resource:Q5584469 ) } . ?z rdf:type ontology:Q502895 }
Svante Bielke Abraham Pedersson Brahe
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Svante Bielke'] [{'concept': 'common name'}, 'brother', 'Abraham Pedersson Brahe']
SELECT DISTINCT ?z WHERE { ?z property:brother ?q . VALUES ( ?q ) { ( resource:Svante_Bielke ) ( resource:Abraham_Pedersson_Brahe ) } . ?z rdf:type ontology:common_name }
[]
common name
Q4993297 Q18328124 Q5584481
SYSTEM
Magnus Brahe, Ebba Pedersdotter Brahe, Erik Brahe
Q662014 Q4940370 Q16164285 Q4993297 Q18328124 Q5584490 Q5584481
(c(Q502895),P7,Q5575635) (c(Q502895),P7,Q5584469)
action filter_type
action find_reverse
entity prev_answer
relation P7
type Q502895
[ANSWERS] have those ones as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q5575635'] [{'concept': 'Q502895'}, 'P7', 'Q5584469']
SELECT DISTINCT ?z WHERE { ?z property:P7 ?q . VALUES ( ?q ) { ( resource:Q5575635 ) ( resource:Q5584469 ) } . ?z rdf:type ontology:Q502895 }
Nils Turesson Bielke Sigrid Brahe Margareta Brahe Magnus Brahe Ebba Pedersdotter Brahe Gustaf Brahe Erik Brahe
Magnus Brahe, Ebba Pedersdotter Brahe and Erik Brahe have those ones as their sibling
Magnus Brahe Ebba Pedersdotter Brahe Erik Brahe
action filter_type
action find_reverse
entity prev_answer
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Svante Bielke'] [{'concept': 'common name'}, 'brother', 'Abraham Pedersson Brahe']
SELECT DISTINCT ?z WHERE { ?z property:brother ?q . VALUES ( ?q ) { ( resource:Svante_Bielke ) ( resource:Abraham_Pedersson_Brahe ) } . ?z rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q4993297
P22
Q502895
USER
Which person has that one as a parent ?
(c(Q502895),P22,Q4993297)
action filter_type
action find_reverse
entity Q4993297
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q4993297']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q4993297 . ?p rdf:type ontology:Q502895 }
Magnus Brahe
action filter_type
action find_reverse
entity Magnus Brahe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Magnus Brahe']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Magnus_Brahe . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q18328124
SYSTEM
Did you mean Ebba Pedersdotter Brahe ?
Q4993297 Q18328124 Q5584481
(c(Q502895),P22,Q4993297) (c(Q502895),P22,Q18328124) (c(Q502895),P22,Q5584481)
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q4993297'] [{'concept': 'Q502895'}, 'P22', 'Q18328124'] [{'concept': 'Q502895'}, 'P22', 'Q5584481']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q4993297 . ?p rdf:type ontology:Q502895 }
Magnus Brahe Ebba Pedersdotter Brahe Erik Brahe
Did you mean Ebba Pedersdotter Brahe ?
Ebba Pedersdotter Brahe
[{'concept': 'common name'}, 'father', 'Magnus Brahe'] [{'concept': 'common name'}, 'father', 'Ebba Pedersdotter Brahe'] [{'concept': 'common name'}, 'father', 'Erik Brahe']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Magnus_Brahe . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Magnus Brahe. Could you tell me the answer for that?
(c(Q502895),P22,Q4993297)
Q4993297
[{'concept': 'Q502895'}, 'P22', 'Q4993297']
[{'concept': 'common name'}, 'father', 'Magnus Brahe']
[]
Q452243
SYSTEM
Ebba Brahe
Q452243
(c(Q502895),P22,Q4993297)
action filter_type
action find_reverse
entity Q4993297
relation P22
type Q502895
[ANSWER] has that one as a parent
[{'concept': 'Q502895'}, 'P22', 'Q4993297']
SELECT DISTINCT ?p WHERE { ?p property:P22 resource:Q4993297 . ?p rdf:type ontology:Q502895 }
Ebba Brahe
Ebba Brahe has that one as a parent
Ebba Brahe
action filter_type
action find_reverse
entity Magnus Brahe
relation father
type common name
[{'concept': 'common name'}, 'father', 'Magnus Brahe']
SELECT DISTINCT ?p WHERE { ?p property:father resource:Magnus_Brahe . ?p rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1879664
P1303
Q34379 Q502895
USER
Which musical instruments can more number of people perform with than spoon ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q1879664 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?j > ?g ) }
spoon
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:spoon property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?g ) }
[]
musical instrument common name
Q1178361 Q5994 Q81982
SYSTEM
davul, piano, harpsichord
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q5994 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1879664
relation P1303
type Q34379
[ANSWERS] can more number of people perform with than spoon
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:Q1879664 property:P1303 ?q . ?q rdf:type ontology:Q34379 } } . FILTER ( ?j > ?g ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki piano maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, piano and harpsichord can more number of people perform with than spoon
davul piano harpsichord
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity spoon
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?u ) AS ?j ) WHERE { ?u property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { resource:spoon property:instrument ?q . ?q rdf:type ontology:musical_instrument } } . FILTER ( ?j > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q290951
P1303
Q34379 Q502895
USER
And what about Kamancheh?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q290951 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f > ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } }
Kamancheh
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Kamancheh property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q290951
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Q290951 property:P1303 ?y . ?y rdf:type ontology:Q34379 } } . FILTER ( ?f > ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kamancheh
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { resource:Kamancheh property:instrument ?y . ?y rdf:type ontology:musical_instrument } } . FILTER ( ?f > ?c ) . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?f ) WHERE { ?l property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?j } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q3305213
USER
Which paintings express atleast 2 musical instruments ?
(c(Q3305213),P180,c(Q34379))
action atleast
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 2
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?j ) WHERE { ?t property:P180 ?l . ?l rdf:type ontology:Q34379 . ?t rdf:type ontology:Q3305213 } GROUP BY ?t } . FILTER ( ?j >= 2 ) }
action atleast
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?j ) WHERE { ?t property:depicts ?l . ?l rdf:type ontology:musical_instrument . ?t rdf:type ontology:painting } GROUP BY ?t } . FILTER ( ?j >= 2 ) }
[]
musical instrument painting
Q25540861
SYSTEM
L'Ouïe
Q25540861
(c(Q3305213),P180,c(Q34379))
action atleast
action find_tuple_counts
relation P180
type Q3305213
type Q34379
value 2
[ANSWER] express atleast 2 musical instruments
[{'concept': 'Q3305213'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?j ) WHERE { ?t property:P180 ?l . ?l rdf:type ontology:Q34379 . ?t rdf:type ontology:Q3305213 } GROUP BY ?t } . FILTER ( ?j >= 2 ) }
L'Ouïe
L'Ouïe express atleast 2 musical instruments
L'Ouïe
action atleast
action find_tuple_counts
relation depicts
type painting
type musical instrument
value 2
[{'concept': 'painting'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?l ) AS ?j ) WHERE { ?t property:depicts ?l . ?l rdf:type ontology:musical_instrument . ?t rdf:type ontology:painting } GROUP BY ?t } . FILTER ( ?j >= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18745022 Q4993297
P7
Q502895
USER
Which people have Magnus Brahe or Alec N. Wildenstein as their brother ?
OR((Q4993297,P7,c(Q502895)), (Q18745022,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4993297
relation P7
action find
entity Q18745022
relation P7
type Q502895
{'OR': [['Q4993297', 'P7', {'concept': 'Q502895'}], ['Q18745022', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { VALUES ( ?x ) { ( resource:Q4993297 ) ( resource:Q18745022 ) } . ?x property:P7 ?e } }
Alec N. Wildenstein Magnus Brahe
action filter_type
action union
action find
entity Magnus Brahe
relation brother
action find
entity Alec N. Wildenstein
relation brother
type common name
{'OR': [['Magnus Brahe', 'brother', {'concept': 'common name'}], ['Alec N. Wildenstein', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { VALUES ( ?x ) { ( resource:Magnus_Brahe ) ( resource:Alec_N._Wildenstein ) } . ?x property:brother ?e } }
[]
common name
Q3122208 Q5584469 Q5584481 Q5584490
SYSTEM
Guy Wildenstein, Abraham Pedersson Brahe, Erik Brahe, Gustaf Brahe
Q3122208 Q5584469 Q5584481 Q5584490
OR((Q4993297,P7,c(Q502895)), (Q18745022,P7,c(Q502895)))
action filter_type
action union
action find
entity Q4993297
relation P7
action find
entity Q18745022
relation P7
type Q502895
[ANSWERS] have Magnus Brahe or Alec N. Wildenstein as their brother
{'OR': [['Q4993297', 'P7', {'concept': 'Q502895'}], ['Q18745022', 'P7', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q502895 . { VALUES ( ?x ) { ( resource:Q4993297 ) ( resource:Q18745022 ) } . ?x property:P7 ?e } }
Guy Wildenstein Abraham Pedersson Brahe Erik Brahe Gustaf Brahe
Guy Wildenstein, Abraham Pedersson Brahe, Erik Brahe and Gustaf Brahe have Magnus Brahe or Alec N. Wildenstein as their brother
Guy Wildenstein Abraham Pedersson Brahe Erik Brahe Gustaf Brahe
action filter_type
action union
action find
entity Magnus Brahe
relation brother
action find
entity Alec N. Wildenstein
relation brother
type common name
{'OR': [['Magnus Brahe', 'brother', {'concept': 'common name'}], ['Alec N. Wildenstein', 'brother', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:common_name . { VALUES ( ?x ) { ( resource:Magnus_Brahe ) ( resource:Alec_N._Wildenstein ) } . ?x property:brother ?e } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q6619679 Q15619164
USER
Which people do min number of fictional humanoids or abstract beings extend upon ?
(c(Q6619679)|c(Q15619164),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?g } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:P144 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } UNION { ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15619164 . ?f property:P144 ?b } } GROUP BY ?b } } }
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?g } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:based_on ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } UNION { ?b rdf:type ontology:common_name . ?f rdf:type ontology:abstract_being . ?f property:based_on ?b } } GROUP BY ?b } } }
[]
common name fictional humanoid abstract being
Q76 Q692 Q155855
SYSTEM
Barack Obama, William Shakespeare, Karel Čapek
Q7804399 Q5213748 Q4761074 Q6956765 Q6270274 Q6183043 Q11975 Q7346914 Q5523435 Q4924985 Q467216 Q6170802 Q7329545 Q313048 Q485508 Q6105915 Q4910639 Q1136623 Q298920 Q6219253 Q5677173 Q3416089 Q16560426 Q3034976 Q3607759 Q3051562 Q5591308 Q8068814 Q6253512 Q51513 Q6523571 Q4739623 Q11413422 Q125970 Q81000 Q5346446 Q40939 Q3141517 Q7613152 Q5941619 Q852306 Q7364949 Q333265 Q897973 Q188296 Q5488892 Q5889990 Q6244057 Q134958 Q6881211 Q6261706 Q7368981 Q7117020 Q45260 Q4796744 Q4759664 Q704997 Q5685 Q5686 Q4128234 Q1093885 Q5673 Q5679 Q4800383 Q130631 Q7381376 Q334993 Q6272923 Q3568976 Q4216886 Q7789278 Q5363776 Q93839 Q6776113 Q1493568 Q5537975 Q3218695 Q6388687 Q6956378 Q5478599 Q937459 Q7372970 Q6241721 Q70326 Q6818964 Q7855008 Q5321676 Q7287789 Q6687108 Q6106879 Q5338634 Q348001 Q167752 Q5703041 Q310800 Q6227202 Q93349 Q5927524 Q6375547 Q744183 Q7000426 Q160333 Q3471259 Q546044 Q6760308 Q2686976 Q1303974 Q5339422 Q5262123 Q4877153 Q5358877 Q6773628 Q8015110 Q5386986 Q2669574 Q207 Q5431144 Q7226 Q2479548 Q3159808 Q6147389 Q5361154 Q5107501 Q6748293 Q7200 Q5233328 Q6965802 Q3179129 Q13427328 Q448606 Q7183998 Q958256 Q1658606 Q6141832 Q6469613 Q79031 Q5358186 Q7437284 Q2850177 Q191103 Q236278 Q7458228 Q3183180 Q3530721 Q3020878 Q4763725 Q5592 Q222134 Q6218902 Q5322119 Q7555592 Q5052809 Q6451338 Q7363505 Q5314594 Q11238103 Q5314597 Q8029867 Q357498 Q4768685 Q6250890 Q7332345 Q4971073 Q12309539 Q5538431 Q3228926 Q12014160 Q6681382 Q47551 Q4800758 Q932961 Q6702448 Q266789 Q13115017 Q6529581 Q219780 Q724506 Q4411247 Q6988258 Q154438 Q434317 Q3453643 Q555195 Q229556 Q6209183 Q6702342 Q20968737 Q7143507 Q57242 Q11618411 Q22088567 Q7287962 Q292808 Q6744190 Q4773434 Q6134013 Q844318 Q37085 Q7812697 Q298877 Q2274948 Q2956128 Q1354071 Q75746 Q2146982 Q692 Q3431063 Q715909 Q1263456 Q168962 Q5701833 Q5181529 Q5701939 Q1357554 Q10133 Q5213609 Q7273310 Q5660079 Q734955 Q4864591 Q3619249 Q5298523 Q7922094 Q6796494 Q5193069 Q1445614 Q7436898 Q6264086 Q76 Q11447916 Q202749 Q7025282 Q6773747 Q827300 Q7093943 Q7447135 Q608806 Q47216 Q2413649 Q4065275 Q177854 Q1385693 Q503068 Q5545478 Q311070 Q2521963 Q6257365 Q1394 Q4817706 Q185696 Q6409985 Q8963 Q1398 Q57619 Q5849494 Q920200 Q3036753 Q3331614 Q14338667 Q5560909 Q2502372 Q7911349 Q186486 Q5363538 Q5344093 Q3047194 Q6523671 Q6297405 Q154010 Q154014 Q1361147 Q7613410 Q6104852 Q14544902 Q6796103 Q3347897 Q6134127 Q3595313 Q46926 Q5354229 Q2085146 Q5089814 Q5549017 Q1342909 Q202650 Q7704287 Q276615 Q5487034 Q4730754 Q7437294 Q4898960 Q5588501 Q5363054 Q506878 Q7151235 Q1681907 Q548960 Q6760327 Q7456663 Q4974043 Q3161193 Q5077339 Q4187362 Q148714 Q2449527 Q5272307 Q3105052 Q5640722 Q4899508 Q3301790 Q4696245 Q3376515 Q5610225 Q26267872 Q350552 Q6962760 Q508218 Q5363300 Q7181755 Q3430915 Q2493515 Q6793420 Q840990 Q5079691 Q192218 Q3839050 Q6721439 Q139739 Q154340 Q6074798 Q5361214 Q81445 Q4885219 Q5345906 Q5298362 Q5444237 Q11584822 Q3157127 Q184935 Q7150519 Q6284021 Q7369542 Q5136905 Q7668588 Q4739578 Q6762778 Q6376290 Q284812 Q6304164 Q41223 Q2618824 Q5145551 Q6184230 Q1956342 Q9640 Q1394497 Q466488 Q5213429 Q7347337 Q6143676 Q182788 Q13564502 Q4647806 Q649790 Q5026262 Q699619 Q22670 Q5665780 Q11270727 Q3262364 Q7364277 Q7436164 Q3079968 Q2396324 Q7307753 Q7670494 Q3334185 Q7357712 Q626859 Q7397840 Q43718 Q768296 Q1391877 Q2845322 Q3502960 Q6446710 Q1494674 Q3182354 Q22714 Q3568651 Q176819 Q5106606 Q337185 Q6101 Q7175413 Q5006730 Q5516058 Q6914955 Q7706913 Q2580253 Q5344127 Q4864658 Q188794 Q6774650 Q213549 Q159905 Q13378842 Q5082874 Q3564902 Q4446505 Q1755191 Q191305 Q493 Q4977335 Q5294036 Q6938000 Q370392 Q4877593 Q82180 Q1527473 Q1237718 Q2835441 Q4518059 Q170846 Q317894 Q1485988 Q7177457 Q4808343 Q6282963 Q3909034 Q319261 Q7346262 Q6531163 Q1383201 Q5342811 Q132695 Q309643 Q7167474 Q7146872 Q3595177 Q154732 Q3081707 Q6832927 Q93938 Q5538382 Q36268 Q5201165 Q3088826 Q155855 Q4772439 Q5071329 Q6833091 Q4897616 Q5345201 Q5529938 Q152779 Q152672 Q12768607 Q7373284 Q5423761 Q5354389 Q7456549 Q3037185 Q13559801 Q6152339 Q8011009 Q4900700 Q5216759 Q191999 Q150471 Q6963187 Q4758379 Q6680423 Q5586024 Q5620219 Q3849499 Q549242 Q237196 Q900541 Q634100 Q7668479 Q4664427 Q5136879 Q3327572 Q13115080 Q9096027 Q14302511 Q6409284 Q2723574 Q7688102 Q5968600 Q879812 Q4118071 Q245802 Q318462 Q6135694 Q213614 Q1912368 Q521095 Q4505465 Q3469340 Q4954433 Q5339868 Q4225064 Q11685189 Q3241962
(c(Q6619679)|c(Q15619164),P144,c(Q502895))
action argmin
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q6619679
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15619164
Min number of fictional humanoids or abstract beings extend to [ANSWERS]
[[{'concept': 'Q6619679'}, {'concept': 'Q15619164'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q6619679 ) ( ontology:Q15619164 ) } } GROUP BY ?g } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:P144 ?b . ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q6619679 } UNION { ?b rdf:type ontology:Q502895 . ?f rdf:type ontology:Q15619164 . ?f property:P144 ?b } } GROUP BY ?b } } }
Tim Toyama Dan Jenkins Andy Mulligan Nabarun Bhattacharya Jon Abbate Jerrard Tickell Britney Spears Robert Lindsey Garland Roark Bland Holt Amy Fisher Jean Hanff Korelitz Richard Tregaskis Bob Kane Charles Manson J. H. Wallis Bill Richmond Fujiwara no Hidesato Charles M. Schulz John Appleby Harvey Fergusson Rachel Crothers Giulia Varano Dominique Barbéris Alan Le May Elmer Blaney Harris Grace Miller White Zelma Roberts John Pudney Hugo von Hofmannsthal Leo Brady Amanda Foreman Yasumi Yoshizawa Keigo Higashino Richard II of England Edwin Gilbert Aeschylus Pêr-Jakez Helias Steve Lieber Humphrey Slater Fred Mustard Stewart Ronald Hugh Morrieson Léon Theremin Pavol Dobšinský Boris Gryzlov Frank Parkin Homer Croy John Larkin Taras Shevchenko Mitchell F. Jayne John Vaillant Rosita Forbes P.J. Ramster Hans Kohlhase Art Cohn Andrzej Mularczyk Ivan Boesky Anton Chekhov Charles Dickens William P. Wood Hathi Hans Christian Andersen Lord Byron Arthur Stringer Jacques Derrida Russell Braddon Eugene V. Debs Jonathan Dawson William Still Egerton Castle Thomas Edward Spencer Elizabeth Young Gary M. Heidnik Martin Maher James Porter George Clifford Shedd Laura Kasischke Ken Wheat Na Do-hyang Frances Doel Niranjan Pal Roy Horniman John Jay Osborn, Jr. Pierre Beaumarchais Meredith Nicholson Turk Pipkin E. V. Timms Ralph Leighton Louis Esson J. R. Salamanca Edith O'Shaughnessy Rainis Zequinha de Abreu Helen Reimensnyder Martin John Reed John Cosgrove Bessie Smith Hubert Osborne Kate Howarde Charles de Batz-Castelmore d'Artagnan Netta Syrett Prosper Mérimée Samuel W. Taylor Thakazhi Sivasankara Pillai Margery Lawrence Andrea Evans Eileen Joyce Edmund Duggan Derek Lambert Beatrice Grimshaw Jun Ikeido Marshall Houts William Marchant Eric Lomax Barry Gifford George W. Bush Faith Baldwin Joan of Arc Bas Jan Ader Jacques Prevel Jamie Reidy Elinor Lipman Chris Morgan Mandy Grunwald Alexander Pushkin David Elfick Narendranath Mitra Jimmy Starr Joseph Moncure March Theresa Saldana Philip Lytton Fujio Akatsuka Ilja Prachař James Ramsey Ullman Ladislas Farago Mike Tyson Yarō Abe Scott Sommer Anita Hill Lucrezia Borgia Tonya Harding Sewell Stokes Jon Cleary Tom Eyen Deborah Moggach Angna Enters Michelangelo Ted Kaczynski John Ames Mitchell E. Ray Goetz Sol Wachtler Catherine Marshall Kyle Onstott Ron Barrett Duncan Rouleau T. R. Sundaram Duncan Sarkies Wolf Mankowitz Gary Ridgway Anne Nichols John O'Grady Rida Johnson Young Sara Jane Olson Eik Skaløe George Dawes Green Lee Robinson Huh Young-man Lorna Moon Titian Arthur Wright Mary Jane Ward Luke Whisnant Rebecca Schaeffer Santhosh Echikkanam Les Haylen Hunter S. Thompson John E. Douglas Glendon Swarthout Neil B. Shulman Franz Grillparzer Dee Dee Myers Ruth Snyder Héctor Lavoe Patty Hearst Joe Connelly Luke Short Christian Friedrich Haupt Pat Hanna August von Kotzebue Hiroshi Aramata Philip Hamilton Ralph Peterson Sunny von Bülow Mallika Yunis Anthony Scott Veitch James Fogle Hase Seishū Solomon Todd Walton Giuliano de' Medici Philostratus Channing Pollock Paul Jennings Hill G. A. Kulkarni Gabrielle Lord William Shakespeare Richard N. Goodwin Louis-Léopold Boilly Dan White Torquato Tasso Helen Ashton Craig Titley Helen Brach Svetozár Hurban-Vajanský Suetonius Dan Greenburg R.B. Russell Harold Bell Wright Robinson Jeffers Barry Pain Antonio Beltramelli Dorothy M. Johnson Vernon Coleman May Edginton Cully Hamner František Kubka Scott Moore John Willard Barack Obama Kan Shimozawa Edmond Rostand Nicholas Dante Marshall Pugh Bert Bailey Oniroku Dan Sekar Ayu Asmara Yumiko Kawahara Condoleezza Rice John List Alex Anderson Lorenzo de' Medici Jerry Brudos Andrej Sládkovič George Vecsey David Crockett Alan Hackney John Seybold Vladimir Lenin Atrpet Louisa May Alcott Kimberly Willis Holt Johannes Kepler Virgil Frank Wedekind Richard Hough Charles Starkweather Brian Oswald Donn-Byrne Myron Coureval Fagan Zainab Singh Gilbert Frankau Alan White Valerie Tripp Hachikō Elizabeth Spencer Edward Lee Ed Naha Leo Ditrichstein Joyce Brabner Christoph Martin Wieland Georg Büchner Boris Lavrenyov Steve Moore J. Breckenridge Ellis Henri d'Aramitz Mary Gleed Tuttiett Ashapoorna Devi James Fox S. K. Pottekkatt Chetan Bhagat Eleanor Bumpurs Philip Van Doren Stern Chelangatt Gopalakrishnan Gerald Clarke Albert DeSalvo Abd el-Krim Terry Davis Gabriela Preissová Frank H. Spearman Allan Knee Scott Spencer Betty Roland Gouverneur Morris IV Elizabeth Kata Emmett Till Paul Hemphill Sophie van der Stap David Graham Phillips Marghanita Laski Sethu Bronson Howard James R. Jordan, Sr. Charles Einstein Ahmad Tohari Jaime Escalante Susan Smith Dibyendu Palit Giacomo Francesco Bussani Hal Carleton Beverly Donofrio Maury Dexter Ahn Jung-hyo Peter Corris Yoshikazu Takeuchi Marianne Ihlen Kálmán Mikszáth Nancy Jo Sales Nisio Isin Elizabeth Packard Phil Campbell Richard Jessup Else Holmelund Minarik Maurice Procter Yang Sok-il Charles Keating Ted Bundy Lucy Hay, Countess of Carlisle Mabel Forrest Walker Hamilton Francis Bacon Irving Shulman Eliot Asinof Salawat Yulayev Ben Ames Williams Edward William O'Sullivan Dorothy Cottrell Ferguson Findley Ayumi Ishii Jack Bernstein Mihai Eminescu Paul Ernst Joseph Hocking Ross Napier Clyde Edgerton T. Padmanabhan Amanda Brown Marie Brenner Katherine Ann Power Samuel Wilson Philippe Mora Boris Pasternak Caril Ann Fugate Colin Scrimgeour Jerry Parr Taku Mayumura Lyndon B. Johnson Tawana Brawley rape allegations Estella Marie Thompson Dan Dunn Robert Marasco James Still Newt Gingrich T. P. Rajeevan A. G. Street Harry Grey Cameron Hawley Vladislav Vančura Friedrich Schiller Harrison Owen James Bridie Louis Joseph Vance Ron Powers Scott Corbett Ted Key David Giler Reg Cribb TJ Dawe Susan Isaacs Rogelio Barriga Rivas Kang Full Sadguru Sivananda Murty Nikolai Gogol Margaret Ayer Barnes František Hrubín Anandi Gopal Joshi Sue Miller Kurt Eichenwald James Hunter John Requa Karl May William Gay Thomas W. Sneddon, Jr. Chris Fuhrman Audie Murphy Marco Polo Peter Lefcourt C. N. Sreekantan Nair Gabrielle Carey Morton Thompson Tetsuo Takashima William Pittenger Edward Levy Barry Reed Isaiah Marthe Cnockaert Friedrich Maximilian Klinger Hipparchus George Lutz Charles Tazewell Zikmund Winter Katariina Souri Sutan Takdir Alisjahbana Gérard de Nerval Arthur Rimbaud Bruce Cutler Donald Bevan Nicholas Markowitz Borisav Stanković Beaumont Smith Mata Hari Gisela Werler Franz-Olivier Giesbert Alfred Savoir Hank Searls Erzsébet Báthory Galeazzo Maria Sforza Mikheil Javakhishvili Peter Van Greenaway Assaf Bernstein Joseph F. Dinneen Porter Emerson Browne Eugène Scribe Robert Kaplow Leslie Stokes Ján Hollý Edward Everett Rose Harry Martinson Ed Gein Percy Marks Patrick Joseph Hartigan Jessica Lal Agrippina the Younger Ib Melchior Michael Morton Gary Friedrich George Darrell Brigitte Bardot Cyrus Woods Grace Zaring Stone Karel Čapek Anthony E. Pratt Chandradhar Sharma Guleri Michael Noonan Beth Raymer Edward Salisbury Field Geeta Anand Louise Brooks John Demjanjuk Ján Poničan Roy Radin F.J. Thwaites Eleanor Smith Seth Margolis Dorothy Scarborough Harris Goldberg Jane Hamilton William Hatfield Bhagwati Charan Verma Daniel Carney Robert McNamara E. T. A. Hoffmann Nandanar Andrew Revkin Loren Singer Gordon Young Gurney Slade Mark Jacobson Edmund Kemper H. Rider Haggard Cecil Jacobson Josef Kajetán Tyl T. Lewis Abburi Ravi Clyde Brion Davis Mukul S. Anand C. V. Balakrishnan William Craig Boota Singh Kim Ryeo-ryeong Narsinh Mehta Tatiana Niculescu Bran Jeffrey Reddick Pōmare V Pamela Smart Alexandre Stavisky Edward Bulwer-Lytton James Haskins Cyrano de Bergerac Max Catto Robert M. Morgenthau Kim Tak-hwan Sakae Tsuboi Wanda Holloway Edmund Trzcinski Richard Cobbold John Farris Lionel White
Min number of fictional humanoids or abstract beings extend to Barack Obama, William Shakespeare and Karel Čapek
Barack Obama William Shakespeare Karel Čapek
action argmin
action union
action find_reverse_tuple_counts
relation based on
type common name
type fictional humanoid
action find_reverse_tuple_counts
relation based on
type common name
type abstract being
[[{'concept': 'fictional humanoid'}, {'concept': 'abstract being'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?q ) WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:fictional_humanoid ) ( ontology:abstract_being ) } } GROUP BY ?g } . FILTER ( ?q = ?c ) . { SELECT DISTINCT ( MIN ( ?a ) AS ?c ) { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?a ) WHERE { { ?f property:based_on ?b . ?b rdf:type ontology:common_name . ?f rdf:type ontology:fictional_humanoid } UNION { ?b rdf:type ontology:common_name . ?f rdf:type ontology:abstract_being . ?f property:based_on ?b } } GROUP BY ?b } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76
P26
Q502895
USER
Who is the spouse of Barack Obama ?
(c(Q502895),P26,Q76)
action filter_type
action find
entity Q76
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q76']
SELECT DISTINCT ?m WHERE { resource:Q76 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Barack Obama
action filter_type
action find
entity Barack Obama
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barack Obama']
SELECT DISTINCT ?m WHERE { resource:Barack_Obama property:spouse ?m . ?m rdf:type ontology:common_name }
[]
common name
Q13133
SYSTEM
Michelle Obama
Q13133
(c(Q502895),P26,Q76)
action filter_type
action find
entity Q76
relation P26
type Q502895
The spouse of Barack Obama is [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q76']
SELECT DISTINCT ?m WHERE { resource:Q76 property:P26 ?m . ?m rdf:type ontology:Q502895 }
Michelle Obama
The spouse of Barack Obama is Michelle Obama
Michelle Obama
action filter_type
action find
entity Barack Obama
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Barack Obama']
SELECT DISTINCT ?m WHERE { resource:Barack_Obama property:spouse ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q76
P102
Q7210356
USER
Which party is Barack Obama affiliated with ?
(Q76,P102,c(Q7210356))
action filter_type
action find
entity Q76
relation P102
type Q7210356
['Q76', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q76 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Barack Obama
action filter_type
action find
entity Barack Obama
relation member of political party
type political organization
['Barack Obama', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Barack_Obama property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q76,P102,c(Q7210356))
action filter_type
action find
entity Q76
relation P102
type Q7210356
Barack Obama is affiliated with [ANSWER]
['Q76', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q76 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Democratic Party
Barack Obama is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Barack Obama
relation member of political party
type political organization
['Barack Obama', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Barack_Obama property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]