Simple Question (Direct)
Simple Question
Q2590781
P106
Q12737077
USER
What do Wolfgang Pampel do for a living ?
(Q2590781,P106,c(Q12737077))
action filter_type
action find
entity Q2590781
relation P106
type Q12737077
['Q2590781', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2590781 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Wolfgang Pampel
action filter_type
action find
entity Wolfgang Pampel
relation occupation
type occupation
['Wolfgang Pampel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Wolfgang_Pampel property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q2405480 Q177220 Q33999
SYSTEM
voice actor, singer, actor
Q2405480 Q177220 Q33999 Q2259451
(Q2590781,P106,c(Q12737077))
action filter_type
action find
entity Q2590781
relation P106
type Q12737077
[ANSWERS] Wolfgang Pampel do for a living
['Q2590781', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q2590781 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
voice actor singer actor stage actor
Voice actor, singer and actor Wolfgang Pampel do for a living
voice actor singer actor
action filter_type
action find
entity Wolfgang Pampel
relation occupation
type occupation
['Wolfgang Pampel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Wolfgang_Pampel property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q177220
P101
Q502895
USER
Which people have his/her area as that occupation ?
(c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q177220 . ?c rdf:type ontology:Q502895 }
singer
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:singer . ?c rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q177220
SYSTEM
Did you mean singer ?
Q2405480 Q177220 Q33999
(c(Q502895),P101,Q2405480) (c(Q502895),P101,Q177220) (c(Q502895),P101,Q33999)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q2405480'] [{'concept': 'Q502895'}, 'P101', 'Q177220'] [{'concept': 'Q502895'}, 'P101', 'Q33999']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q177220 . ?c rdf:type ontology:Q502895 }
voice actor singer actor
Did you mean singer ?
singer
[{'concept': 'common name'}, 'field of work', 'voice actor'] [{'concept': 'common name'}, 'field of work', 'singer'] [{'concept': 'common name'}, 'field of work', 'actor']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:singer . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q177220)
[{'concept': 'Q502895'}, 'P101', 'Q177220']
[{'concept': 'common name'}, 'field of work', 'singer']
[]
Q738505 Q6024866 Q5957599
SYSTEM
Renan Luce, Indila, Hamid Jebelli
Q738505 Q6024866 Q910761 Q5957599
(c(Q502895),P101,Q177220)
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
[ANSWERS] have his/her area as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q177220']
SELECT DISTINCT ?c WHERE { ?c property:P101 resource:Q177220 . ?c rdf:type ontology:Q502895 }
Renan Luce Indila Mac Davis Hamid Jebelli
Renan Luce, Indila and Hamid Jebelli have his/her area as that occupation
Renan Luce Indila Hamid Jebelli
action filter_type
action find_reverse
entity singer
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'singer']
SELECT DISTINCT ?c WHERE { ?c property:field_of_work resource:singer . ?c rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20828219 Q738505
P19 P20
Q56061
USER
Which administrative territories were Renan Luce born in or did the demise of Joseph Denovan Adam occur ?
OR((Q738505,P19,c(Q56061)), (Q20828219,P20,c(Q56061)))
action filter_type
action union
action find
entity Q738505
relation P19
action find
entity Q20828219
relation P20
type Q56061
{'OR': [['Q738505', 'P19', {'concept': 'Q56061'}], ['Q20828219', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q738505 property:P19 ?r } UNION { resource:Q20828219 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Joseph Denovan Adam Renan Luce
action filter_type
action union
action find
entity Renan Luce
relation place of birth
action find
entity Joseph Denovan Adam
relation place of death
type administrative territorial entity
{'OR': [['Renan Luce', 'place of birth', {'concept': 'administrative territorial entity'}], ['Joseph Denovan Adam', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Renan_Luce property:place_of_birth ?r } UNION { resource:Joseph_Denovan_Adam property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q4093 Q90
SYSTEM
Glasgow, Paris
Q4093 Q90
OR((Q738505,P19,c(Q56061)), (Q20828219,P20,c(Q56061)))
action filter_type
action union
action find
entity Q738505
relation P19
action find
entity Q20828219
relation P20
type Q56061
Renan Luce were born in occur [ANSWERS]
{'OR': [['Q738505', 'P19', {'concept': 'Q56061'}], ['Q20828219', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q738505 property:P19 ?r } UNION { resource:Q20828219 property:P20 ?r } } . ?r rdf:type ontology:Q56061 }
Glasgow Paris
Renan Luce were born in occur Glasgow and Paris
Glasgow Paris
action filter_type
action union
action find
entity Renan Luce
relation place of birth
action find
entity Joseph Denovan Adam
relation place of death
type administrative territorial entity
{'OR': [['Renan Luce', 'place of birth', {'concept': 'administrative territorial entity'}], ['Joseph Denovan Adam', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Renan_Luce property:place_of_birth ?r } UNION { resource:Joseph_Denovan_Adam property:place_of_death ?r } } . ?r rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories have adopted lesser number of people or holidays as their patron saint than that administrative territory ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:Q28914 ?p } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:patron_saint ?p } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
common name holiday administrative territorial entity
Comparative|Count over More/Less|Mult. entity type|Clarification
Q4093
SYSTEM
Did you mean Glasgow ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:Q28914 ?p } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Did you mean Glasgow ?
Glasgow
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { VALUES ( ?p ) { ( ?y ) ( ?x ) } . ?z property:patron_saint ?p } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Paris. Could you tell me the answer for that?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
Q90
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
[]
SYSTEM
33
Q264716 Q12883498 Q54494 Q50057 Q117388 Q6221 Q46718 Q54119 Q81258 Q47074 Q59257 Q4361 Q2914723 Q100129 Q52547 Q116440 Q2284679 Q496890 Q297224 Q259039 Q54556 Q487786 Q100943 Q244193 Q1747381 Q492475 Q334577 Q39493 Q329984 Q47034 Q215080 Q270288 Q102820
(c(Q56061),P417,c(Q502895)|c(Q1445650))
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:Q28914 ?y } UNION { ?z property:Q28914 ?x } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q1445650 }
Carzano Pano Platres Belvedere di Spinello Cagnano Amiterno Strangolagalli Brescia Carrè San Pedro Padula Aielli Montefortino Curitiba Nemausus Calvenzano Campomaggiore Arpino General Alvear, Mendoza Balestrate Padergnone Giardinello Africo Orihuela Sorbolo Cagno Polykastro Valença Quetzaltenango Cantello Úbeda Espoo Machala Riccò del Golfo di Spezia Nibbiano
33
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { { ?z property:patron_saint ?y } UNION { ?z property:patron_saint ?x } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:common_name . ?x rdf:type ontology:holiday }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P108
Q502895
USER
What are the name of people who works for Paris ?
(c(Q502895),P108,Q90)
action filter_type
action find_reverse
entity Q90
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q90']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P108 resource:Q90 }
Paris
action filter_type
action find_reverse
entity Paris
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Paris']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:employer resource:Paris }
[]
common name
Q60992 Q2833444
SYSTEM
Heinrich Daniel Ruhmkorff, Alexander Beider
Q60992 Q2833444
(c(Q502895),P108,Q90)
action filter_type
action find_reverse
entity Q90
relation P108
type Q502895
The name of people works for Paris are [ANSWERS]
[{'concept': 'Q502895'}, 'P108', 'Q90']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . ?b property:P108 resource:Q90 }
Heinrich Daniel Ruhmkorff Alexander Beider
The name of people works for Paris are Heinrich Daniel Ruhmkorff and Alexander Beider
Heinrich Daniel Ruhmkorff Alexander Beider
action filter_type
action find_reverse
entity Paris
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Paris']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . ?b property:employer resource:Paris }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P163
Q14660
USER
Which flag is associated with Paris ?
(Q90,P163,c(Q14660))
action filter_type
action find
entity Q90
relation P163
type Q14660
['Q90', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { resource:Q90 property:P163 ?x . ?x rdf:type ontology:Q14660 }
Paris
action filter_type
action find
entity Paris
relation flag
type flag
['Paris', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { resource:Paris property:flag ?x . ?x rdf:type ontology:flag }
[]
flag
Q659058
SYSTEM
flag of Paris
Q659058
(Q90,P163,c(Q14660))
action filter_type
action find
entity Q90
relation P163
type Q14660
[ANSWER] is associated with Paris
['Q90', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?x WHERE { resource:Q90 property:P163 ?x . ?x rdf:type ontology:Q14660 }
flag of Paris
Flag of Paris is associated with Paris
flag of Paris
action filter_type
action find
entity Paris
relation flag
type flag
['Paris', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?x WHERE { resource:Paris property:flag ?x . ?x rdf:type ontology:flag }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q659058 Q90
P1001
Q56061
USER
Does Paris apply to jurisdiction of flag of Paris ?
(Q659058,P1001,Q90)
action is_in
entity Q90
action find
entity Q659058
relation P1001
['Q659058', 'P1001', 'Q90']
ASK WHERE { resource:Q659058 property:P1001 resource:Q90 }
flag of Paris Paris
action is_in
entity Paris
action find
entity flag of Paris
relation applies to jurisdiction
['flag of Paris', 'applies to jurisdiction', 'Paris']
ASK WHERE { resource:flag_of_Paris property:applies_to_jurisdiction resource:Paris }
[]
administrative territorial entity
SYSTEM
YES
(Q659058,P1001,Q90)
action is_in
entity Q90
action find
entity Q659058
relation P1001
[ANSWER]
['Q659058', 'P1001', 'Q90']
ASK WHERE { resource:Q659058 property:P1001 resource:Q90 }
Yes
action is_in
entity Paris
action find
entity flag of Paris
relation applies to jurisdiction
['flag of Paris', 'applies to jurisdiction', 'Paris']
ASK WHERE { resource:flag_of_Paris property:applies_to_jurisdiction resource:Paris }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q6024866 Q2469182
P19
Q56061
USER
Was Indila born at Žubina ?
(Q6024866,P19,Q2469182)
action is_in
entity Q2469182
action find
entity Q6024866
relation P19
['Q6024866', 'P19', 'Q2469182']
ASK WHERE { resource:Q6024866 property:P19 resource:Q2469182 }
Indila Žubina
action is_in
entity Žubina
action find
entity Indila
relation place of birth
['Indila', 'place of birth', 'Žubina']
ASK WHERE { resource:Indila property:place_of_birth resource:Žubina }
[]
administrative territorial entity
SYSTEM
NO
(Q6024866,P19,Q2469182)
action is_in
entity Q2469182
action find
entity Q6024866
relation P19
[ANSWER]
['Q6024866', 'P19', 'Q2469182']
ASK WHERE { resource:Q6024866 property:P19 resource:Q2469182 }
No
action is_in
entity Žubina
action find
entity Indila
relation place of birth
['Indila', 'place of birth', 'Žubina']
ASK WHERE { resource:Indila property:place_of_birth resource:Žubina }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q738505
P175
Q2031291
USER
How many releases presented Renan Luce ?
(c(Q2031291),P175,Q738505)
action count
action filter_type
action find_reverse
entity Q738505
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q738505']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P175 resource:Q738505 . ?z rdf:type ontology:Q2031291 }
Renan Luce
action count
action filter_type
action find_reverse
entity Renan Luce
relation performer
type release
[{'concept': 'release'}, 'performer', 'Renan Luce']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:performer resource:Renan_Luce . ?z rdf:type ontology:release }
[]
release
SYSTEM
3
Q3427225 Q3221484 Q16545695
(c(Q2031291),P175,Q738505)
action count
action filter_type
action find_reverse
entity Q738505
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q738505']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:P175 resource:Q738505 . ?z rdf:type ontology:Q2031291 }
Repenti Le Clan des miros D'une tonne à un tout petit poids
3
action count
action filter_type
action find_reverse
entity Renan Luce
relation performer
type release
[{'concept': 'release'}, 'performer', 'Renan Luce']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { ?z property:performer resource:Renan_Luce . ?z rdf:type ontology:release }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q826255
P175
Q2031291
USER
And how about Suede?
(c(Q2031291),P175,Q826255)
action count
action filter_type
action find_reverse
entity Q826255
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q826255']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P175 resource:Q826255 . ?p rdf:type ontology:Q2031291 }
Suede
action count
action filter_type
action find_reverse
entity Suede
relation performer
type release
[{'concept': 'release'}, 'performer', 'Suede']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:performer resource:Suede . ?p rdf:type ontology:release }
[]
release
SYSTEM
27
Q4051056 Q5449178 Q1078818 Q12741029 Q663543 Q3607999 Q1182516 Q12735336 Q4052999 Q7605060 Q4034557 Q1376349 Q4051357 Q21152157 Q2352223 Q2085988 Q269635 Q4047271 Q6092046 Q7835707 Q4045296 Q1140819 Q6506090 Q4038397 Q5357778 Q7491894 Q1190603
(c(Q2031291),P175,Q826255)
action count
action filter_type
action find_reverse
entity Q826255
relation P175
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q826255']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:P175 resource:Q826255 . ?p rdf:type ontology:Q2031291 }
The Drowners Filmstar Suede So Young Dog Man Star Bloodsports Obsessions Metal Mickey We Are the Pigs Stay Together Attitude / Golden Gun Coming Up The Wild Ones Night Thoughts Animal Nitrate Beautiful Ones Saturday Night Positivity It Starts and Ends with You Trash New Generation Head Music Lazy Everything Will Flow Electricity She's in Fashion A New Morning
27
action count
action filter_type
action find_reverse
entity Suede
relation performer
type release
[{'concept': 'release'}, 'performer', 'Suede']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { ?p property:performer resource:Suede . ?p rdf:type ontology:release }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P119
Q502895
USER
Which people were burried at Paris ?
(c(Q502895),P119,Q90)
action filter_type
action find_reverse
entity Q90
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q90']
SELECT DISTINCT ?b WHERE { ?b property:P119 resource:Q90 . ?b rdf:type ontology:Q502895 }
Paris
action filter_type
action find_reverse
entity Paris
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Paris']
SELECT DISTINCT ?b WHERE { ?b property:place_of_burial resource:Paris . ?b rdf:type ontology:common_name }
[]
common name
Q6535805 Q18059134 Q17352455
SYSTEM
Levon Pashalian, Lydia Winkel, Bénigne Vachet
Q4021080 Q25918077 Q25703693 Q6535805 Q18059134 Q17352455
(c(Q502895),P119,Q90)
action filter_type
action find_reverse
entity Q90
relation P119
type Q502895
[ANSWERS] were burried at Paris
[{'concept': 'Q502895'}, 'P119', 'Q90']
SELECT DISTINCT ?b WHERE { ?b property:P119 resource:Q90 . ?b rdf:type ontology:Q502895 }
Wsiewołod Jakimiuk André Pujos Antoni Marceli Szymański Levon Pashalian Lydia Winkel Bénigne Vachet
Levon Pashalian, Lydia Winkel and Bénigne Vachet were burried at Paris
Levon Pashalian Lydia Winkel Bénigne Vachet
action filter_type
action find_reverse
entity Paris
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Paris']
SELECT DISTINCT ?b WHERE { ?b property:place_of_burial resource:Paris . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q6535805 Q18059134 Q17352455
P21
Q290
USER
Which sexes do those people belong to ?
(Q6535805,P21,c(Q290)) (Q18059134,P21,c(Q290)) (Q17352455,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q6535805', 'P21', {'concept': 'Q290'}] ['Q18059134', 'P21', {'concept': 'Q290'}] ['Q17352455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . VALUES ( ?o ) { ( resource:Q4021080 ) ( resource:Q25918077 ) ( resource:Q25703693 ) } . ?o property:P21 ?i }
Levon Pashalian Lydia Winkel Bénigne Vachet
action filter_type
action find
entity prev_answer
relation gender
type sex
['Levon Pashalian', 'gender', {'concept': 'sex'}] ['Lydia Winkel', 'gender', {'concept': 'sex'}] ['Bénigne Vachet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . VALUES ( ?o ) { ( resource:Wsiewołod_Jakimiuk ) ( resource:André_Pujos ) ( resource:Antoni_Marceli_Szymański ) } . ?o property:gender ?i }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q6535805,P21,c(Q290)) (Q18059134,P21,c(Q290)) (Q17352455,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q6535805', 'P21', {'concept': 'Q290'}] ['Q18059134', 'P21', {'concept': 'Q290'}] ['Q17352455', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . VALUES ( ?o ) { ( resource:Q4021080 ) ( resource:Q25918077 ) ( resource:Q25703693 ) } . ?o property:P21 ?i }
male female male
Those people belong to male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Levon Pashalian', 'gender', {'concept': 'sex'}] ['Lydia Winkel', 'gender', {'concept': 'sex'}] ['Bénigne Vachet', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . VALUES ( ?o ) { ( resource:Wsiewołod_Jakimiuk ) ( resource:André_Pujos ) ( resource:Antoni_Marceli_Szymański ) } . ?o property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P194
Q11204
USER
Which legislature represents Paris ?
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11204 . resource:Q90 property:P194 ?h }
Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:legislature . resource:Paris property:legislative_body ?h }
[]
legislature
Q775994
SYSTEM
Council of Paris
Q775994
(Q90,P194,c(Q11204))
action filter_type
action find
entity Q90
relation P194
type Q11204
Paris [ANSWER] represents Paris
['Q90', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q11204 . resource:Q90 property:P194 ?h }
Council of Paris
Paris Council of Paris represents Paris
Council of Paris
action filter_type
action find
entity Paris
relation legislative body
type legislature
['Paris', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:legislature . resource:Paris property:legislative_body ?h }
[]