Simple Question (Direct)
Simple Question
Q16594563
P21
Q290
USER
Which sex does Ranieri Galluzzo possess ?
(Q16594563,P21,c(Q290))
action filter_type
action find
entity Q16594563
relation P21
type Q290
['Q16594563', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q16594563 property:P21 ?h . ?h rdf:type ontology:Q290 }
Ranieri Galluzzo
action filter_type
action find
entity Ranieri Galluzzo
relation gender
type sex
['Ranieri Galluzzo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ranieri_Galluzzo property:gender ?h . ?h rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q16594563,P21,c(Q290))
action filter_type
action find
entity Q16594563
relation P21
type Q290
Ranieri Galluzzo possesses un [ANSWER]
['Q16594563', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { resource:Q16594563 property:P21 ?h . ?h rdf:type ontology:Q290 }
male
Ranieri Galluzzo possesses un male
male
action filter_type
action find
entity Ranieri Galluzzo
relation gender
type sex
['Ranieri Galluzzo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { resource:Ranieri_Galluzzo property:gender ?h . ?h rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as genre ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i property:P136 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?i WHERE { ?i property:genre resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as genre
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?i WHERE { ?i property:P136 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as genre
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?i WHERE { ?i property:genre resource:male . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q313288 Q18221191 Q23766532
P106
Q12737077
USER
What are the job of those people ?
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?v property:P106 ?p . ?p rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q19796723 ) ( resource:Q23766532 ) ( resource:Q313288 ) } }
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?v property:occupation ?p . ?p rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Francesc_Xavier_Avilés_i_Puigvert ) ( resource:Pierre_Laviron ) ( resource:Augustus_Pugin ) } }
[]
occupation
Q42973 Q3621491 Q17145081
SYSTEM
architect, archaeologist, museologist
Q42973 Q17145081 Q3621491 Q1281618
(Q313288,P106,c(Q12737077)) (Q18221191,P106,c(Q12737077)) (Q23766532,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
The job of those people are an [ANSWERS]
['Q313288', 'P106', {'concept': 'Q12737077'}] ['Q18221191', 'P106', {'concept': 'Q12737077'}] ['Q23766532', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { ?v property:P106 ?p . ?p rdf:type ontology:Q12737077 . VALUES ( ?v ) { ( resource:Q19796723 ) ( resource:Q23766532 ) ( resource:Q313288 ) } }
architect museologist archaeologist sculptor
The job of those people are an architect, archaeologist and museologist
architect archaeologist museologist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Augustus Pugin', 'occupation', {'concept': 'occupation'}] ['Alessandro Gregorio Capponi', 'occupation', {'concept': 'occupation'}] ['Pierre Laviron', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { ?v property:occupation ?p . ?p rdf:type ontology:occupation . VALUES ( ?v ) { ( resource:Francesc_Xavier_Avilés_i_Puigvert ) ( resource:Pierre_Laviron ) ( resource:Augustus_Pugin ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3621491
P101
Q502895
USER
Which person has field of work as that occupation ?
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q3621491 . ?j rdf:type ontology:Q502895 }
archaeologist
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:archaeologist . ?j rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3621491
SYSTEM
Did you mean archaeologist ?
Q42973 Q3621491 Q17145081
(c(Q502895),P101,Q42973) (c(Q502895),P101,Q3621491) (c(Q502895),P101,Q17145081)
[ANSWER]
[{'concept': 'Q502895'}, 'P101', 'Q42973'] [{'concept': 'Q502895'}, 'P101', 'Q3621491'] [{'concept': 'Q502895'}, 'P101', 'Q17145081']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q3621491 . ?j rdf:type ontology:Q502895 }
architect archaeologist museologist
Did you mean archaeologist ?
archaeologist
[{'concept': 'common name'}, 'field of work', 'architect'] [{'concept': 'common name'}, 'field of work', 'archaeologist'] [{'concept': 'common name'}, 'field of work', 'museologist']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:archaeologist . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P101,Q3621491)
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
[{'concept': 'common name'}, 'field of work', 'archaeologist']
[]
Q102139
SYSTEM
Margrethe II of Denmark
Q102139
(c(Q502895),P101,Q3621491)
action filter_type
action find_reverse
entity Q3621491
relation P101
type Q502895
[ANSWER] has field of work as that occupation
[{'concept': 'Q502895'}, 'P101', 'Q3621491']
SELECT DISTINCT ?j WHERE { ?j property:P101 resource:Q3621491 . ?j rdf:type ontology:Q502895 }
Margrethe II of Denmark
Margrethe II of Denmark has field of work as that occupation
Margrethe II of Denmark
action filter_type
action find_reverse
entity archaeologist
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'archaeologist']
SELECT DISTINCT ?j WHERE { ?j property:field_of_work resource:archaeologist . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102139
P35
Q640506
USER
Which cabinets are that person the head of state of ?
(c(Q640506),P35,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P35
type Q640506
[{'concept': 'Q640506'}, 'P35', 'Q102139']
SELECT DISTINCT ?l WHERE { ?l property:P35 resource:Q102139 . ?l rdf:type ontology:Q640506 }
Margrethe II of Denmark
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation head of state
type cabinet
[{'concept': 'cabinet'}, 'head of state', 'Margrethe II of Denmark']
SELECT DISTINCT ?l WHERE { ?l property:head_of_state resource:Margrethe_II_of_Denmark . ?l rdf:type ontology:cabinet }
[]
cabinet
Q283704 Q15707210
SYSTEM
Cabinet of Helle Thorning-Schmidt, Cabinet of Helle Thorning-Schmidt II
Q283704 Q15707210
(c(Q640506),P35,Q102139)
action filter_type
action find_reverse
entity Q102139
relation P35
type Q640506
And [ANSWERS] are that person the head of state of
[{'concept': 'Q640506'}, 'P35', 'Q102139']
SELECT DISTINCT ?l WHERE { ?l property:P35 resource:Q102139 . ?l rdf:type ontology:Q640506 }
Cabinet of Helle Thorning-Schmidt Cabinet of Helle Thorning-Schmidt II
And Cabinet of Helle Thorning-Schmidt and Cabinet of Helle Thorning-Schmidt II are that person the head of state of
Cabinet of Helle Thorning-Schmidt Cabinet of Helle Thorning-Schmidt II
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation head of state
type cabinet
[{'concept': 'cabinet'}, 'head of state', 'Margrethe II of Denmark']
SELECT DISTINCT ?l WHERE { ?l property:head_of_state resource:Margrethe_II_of_Denmark . ?l rdf:type ontology:cabinet }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q102139
P110
Q571
USER
Which book was illustrated by that person ?
(c(Q571),P110,Q283704) (c(Q571),P110,Q15707210)
action filter_type
action find_reverse
entity Q102139
relation P110
type Q571
[{'concept': 'Q571'}, 'P110', 'Q283704'] [{'concept': 'Q571'}, 'P110', 'Q15707210']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q571 . ?r property:P110 resource:Q102139 }
Margrethe II of Denmark
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation illustrator
type book
[{'concept': 'book'}, 'illustrator', 'Cabinet of Helle Thorning-Schmidt'] [{'concept': 'book'}, 'illustrator', 'Cabinet of Helle Thorning-Schmidt II']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:book . ?r property:illustrator resource:Margrethe_II_of_Denmark }
[]
book
Q5033513
SYSTEM
Cantabile
Q5033513
(c(Q571),P110,Q283704) (c(Q571),P110,Q15707210)
action filter_type
action find_reverse
entity Q102139
relation P110
type Q571
[ANSWER] was illustrated by that person
[{'concept': 'Q571'}, 'P110', 'Q283704'] [{'concept': 'Q571'}, 'P110', 'Q15707210']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q571 . ?r property:P110 resource:Q102139 }
Cantabile
Cantabile was illustrated by that person
Cantabile
action filter_type
action find_reverse
entity Margrethe II of Denmark
relation illustrator
type book
[{'concept': 'book'}, 'illustrator', 'Cabinet of Helle Thorning-Schmidt'] [{'concept': 'book'}, 'illustrator', 'Cabinet of Helle Thorning-Schmidt II']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:book . ?r property:illustrator resource:Margrethe_II_of_Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5033513
P50
Q502895
USER
Who wrote that book ?
(Q5033513,P50,c(Q502895))
action filter_type
action find
entity Q5033513
relation P50
type Q502895
['Q5033513', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5033513 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Cantabile
action filter_type
action find
entity Cantabile
relation author
type common name
['Cantabile', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cantabile property:author ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1389258
SYSTEM
Henrik, Prince Consort of Denmark
Q1389258
(Q5033513,P50,c(Q502895))
action filter_type
action find
entity Q5033513
relation P50
type Q502895
[ANSWER] wrote that book
['Q5033513', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q5033513 property:P50 ?o . ?o rdf:type ontology:Q502895 }
Henrik, Prince Consort of Denmark
Henrik, Prince Consort of Denmark wrote that book
Henrik, Prince Consort of Denmark
action filter_type
action find
entity Cantabile
relation author
type common name
['Cantabile', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Cantabile property:author ?o . ?o rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2738769 Q5033513
P57 P50
Q502895
USER
Which people authored Cantabile or directed All's Fair in Oven War ?
OR((Q5033513,P50,c(Q502895)), (Q2738769,P57,c(Q502895)))
action filter_type
action union
action find
entity Q5033513
relation P50
action find
entity Q2738769
relation P57
type Q502895
{'OR': [['Q5033513', 'P50', {'concept': 'Q502895'}], ['Q2738769', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q5033513 property:P50 ?j } UNION { resource:Q2738769 property:P57 ?j } } }
All's Fair in Oven War Cantabile
action filter_type
action union
action find
entity Cantabile
relation author
action find
entity All's Fair in Oven War
relation director
type common name
{'OR': [['Cantabile', 'author', {'concept': 'common name'}], ["All's Fair in Oven War", 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:Cantabile property:author ?j } UNION { resource:All's_Fair_in_Oven_War property:director ?j } } }
[]
common name
Q2748620 Q1389258
SYSTEM
Mark Kirkland, Henrik, Prince Consort of Denmark
Q2748620 Q1389258
OR((Q5033513,P50,c(Q502895)), (Q2738769,P57,c(Q502895)))
action filter_type
action union
action find
entity Q5033513
relation P50
action find
entity Q2738769
relation P57
type Q502895
[ANSWERS]
{'OR': [['Q5033513', 'P50', {'concept': 'Q502895'}], ['Q2738769', 'P57', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . { { resource:Q5033513 property:P50 ?j } UNION { resource:Q2738769 property:P57 ?j } } }
Mark Kirkland Henrik, Prince Consort of Denmark
Mark Kirkland and Henrik, Prince Consort of Denmark authored Cantabile or directed All's Fair in Oven War
Mark Kirkland Henrik, Prince Consort of Denmark
action filter_type
action union
action find
entity Cantabile
relation author
action find
entity All's Fair in Oven War
relation director
type common name
{'OR': [['Cantabile', 'author', {'concept': 'common name'}], ["All's Fair in Oven War", 'director', {'concept': 'common name'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . { { resource:Cantabile property:author ?j } UNION { resource:All's_Fair_in_Oven_War property:director ?j } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q42973
P512
Q502895
USER
Who holds the diploma architect ?
(c(Q502895),P512,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q42973']
SELECT DISTINCT ?z WHERE { ?z property:P512 resource:Q42973 . ?z rdf:type ontology:Q502895 }
architect
action filter_type
action find_reverse
entity architect
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'architect']
SELECT DISTINCT ?z WHERE { ?z property:academic_degree resource:architect . ?z rdf:type ontology:common_name }
[]
common name
Q3191952 Q18633597 Q17380375
SYSTEM
Kaija Siren, Jukka Siren, Ole Gripenberg
Q3191952 Q5553389 Q24293722 Q11199587 Q18633597 Q17380375 Q2820019 Q11869057 Q5486231
(c(Q502895),P512,Q42973)
action filter_type
action find_reverse
entity Q42973
relation P512
type Q502895
[ANSWERS] hold the diploma architect
[{'concept': 'Q502895'}, 'P512', 'Q42973']
SELECT DISTINCT ?z WHERE { ?z property:P512 resource:Q42973 . ?z rdf:type ontology:Q502895 }
Kaija Siren Harald Andersin Pernille Vermund Osmo Sipari Jukka Siren Ole Gripenberg Aarne Ervi Kaj Englund Heikki Taskinen
Kaija Siren, Jukka Siren and Ole Gripenberg hold the diploma architect
Kaija Siren Jukka Siren Ole Gripenberg
action filter_type
action find_reverse
entity architect
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'architect']
SELECT DISTINCT ?z WHERE { ?z property:academic_degree resource:architect . ?z rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3191952 Q18633597 Q17380375
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of those people ?
(Q3191952,P27,c(Q15617994)) (Q18633597,P27,c(Q15617994)) (Q17380375,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
['Q3191952', 'P27', {'concept': 'Q15617994'}] ['Q18633597', 'P27', {'concept': 'Q15617994'}] ['Q17380375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?o property:P27 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q3191952 ) ( resource:Q5553389 ) ( resource:Q24293722 ) } }
Kaija Siren Jukka Siren Ole Gripenberg
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Kaija Siren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jukka Siren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ole Gripenberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?o property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Kaija_Siren ) ( resource:Harald_Andersin ) ( resource:Pernille_Vermund ) } }
[]
designation for an administrative territorial entity
Q33 Q33 Q33
SYSTEM
Finland
Q33 Q33 Q33
(Q3191952,P27,c(Q15617994)) (Q18633597,P27,c(Q15617994)) (Q17380375,P27,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P27
type Q15617994
And [ANSWER], [ANSWER] and [ANSWER] are the countries of citizenship of those people
['Q3191952', 'P27', {'concept': 'Q15617994'}] ['Q18633597', 'P27', {'concept': 'Q15617994'}] ['Q17380375', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { ?o property:P27 ?t . ?t rdf:type ontology:Q15617994 . VALUES ( ?o ) { ( resource:Q3191952 ) ( resource:Q5553389 ) ( resource:Q24293722 ) } }
Finland Finland Finland
And Finland, Finland and Finland are the countries of citizenship of those people
Finland Finland Finland
action filter_type
action find
entity prev_answer
relation country of citizenship
type designation for an administrative territorial entity
['Kaija Siren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Jukka Siren', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Ole Gripenberg', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { ?o property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?o ) { ( resource:Kaija_Siren ) ( resource:Harald_Andersin ) ( resource:Pernille_Vermund ) } }
[]