Simple Question (Direct)
Simple Question
Q1283499
P40
Q502895
USER
Who are an offsprings of Romain-Octave Pelletier I ?
(Q1283499,P40,c(Q502895))
action filter_type
action find
entity Q1283499
relation P40
type Q502895
['Q1283499', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1283499 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Romain-Octave Pelletier I
action filter_type
action find
entity Romain-Octave Pelletier I
relation child
type common name
['Romain-Octave Pelletier I', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Romain-Octave_Pelletier_I property:child ?u . ?u rdf:type ontology:common_name }
[]
common name
Q1471603 Q1692536
SYSTEM
Frédéric Pelletier, Romain Pelletier
Q1471603 Q1692536
(Q1283499,P40,c(Q502895))
action filter_type
action find
entity Q1283499
relation P40
type Q502895
An offsprings of Romain-Octave Pelletier I are named [ANSWERS]
['Q1283499', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q1283499 property:P40 ?u . ?u rdf:type ontology:Q502895 }
Frédéric Pelletier Romain Pelletier
An offsprings of Romain-Octave Pelletier I are named Frédéric Pelletier and Romain Pelletier
Frédéric Pelletier Romain Pelletier
action filter_type
action find
entity Romain-Octave Pelletier I
relation child
type common name
['Romain-Octave Pelletier I', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Romain-Octave_Pelletier_I property:child ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1471603 Q1692536
P40
Q502895
USER
Which people have those ones as a child ?
(c(Q502895),P40,Q1471603) (c(Q502895),P40,Q1692536)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1471603'] [{'concept': 'Q502895'}, 'P40', 'Q1692536']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 ?u . VALUES ( ?u ) { ( resource:Q1471603 ) ( resource:Q1692536 ) } }
Frédéric Pelletier Romain Pelletier
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frédéric Pelletier'] [{'concept': 'common name'}, 'child', 'Romain Pelletier']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child ?u . VALUES ( ?u ) { ( resource:Frédéric_Pelletier ) ( resource:Romain_Pelletier ) } }
[]
common name
Q1283499
SYSTEM
Romain-Octave Pelletier I
Q1283499
(c(Q502895),P40,Q1471603) (c(Q502895),P40,Q1692536)
action filter_type
action find_reverse
entity prev_answer
relation P40
type Q502895
[ANSWER] have those ones as a child
[{'concept': 'Q502895'}, 'P40', 'Q1471603'] [{'concept': 'Q502895'}, 'P40', 'Q1692536']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P40 ?u . VALUES ( ?u ) { ( resource:Q1471603 ) ( resource:Q1692536 ) } }
Romain-Octave Pelletier I
Romain-Octave Pelletier I have those ones as a child
Romain-Octave Pelletier I
action filter_type
action find_reverse
entity prev_answer
relation child
type common name
[{'concept': 'common name'}, 'child', 'Frédéric Pelletier'] [{'concept': 'common name'}, 'child', 'Romain Pelletier']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:child ?u . VALUES ( ?u ) { ( resource:Frédéric_Pelletier ) ( resource:Romain_Pelletier ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1283499
P1303
Q34379
USER
Which musical instruments do that person know to play ?
(Q1283499,P1303,c(Q34379))
action filter_type
action find
entity Q1283499
relation P1303
type Q34379
['Q1283499', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { resource:Q1283499 property:P1303 ?o . ?o rdf:type ontology:Q34379 }
Romain-Octave Pelletier I
action filter_type
action find
entity Romain-Octave Pelletier I
relation instrument
type musical instrument
['Romain-Octave Pelletier I', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { resource:Romain-Octave_Pelletier_I property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
musical instrument
Q5994 Q1444
SYSTEM
piano, organ
Q5994 Q1444
(Q1283499,P1303,c(Q34379))
action filter_type
action find
entity Q1283499
relation P1303
type Q34379
That person know how [ANSWERS]
['Q1283499', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { resource:Q1283499 property:P1303 ?o . ?o rdf:type ontology:Q34379 }
piano organ
That person know how piano and organ
piano organ
action filter_type
action find
entity Romain-Octave Pelletier I
relation instrument
type musical instrument
['Romain-Octave Pelletier I', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { resource:Romain-Octave_Pelletier_I property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11720208
Q34379
USER
And also tell me about Janusz Jastrzębowski?
(Q11720208,P1303,c(Q34379))
action filter_type
action find
entity Q11720208
relation P1303
type Q34379
['Q11720208', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q11720208 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
Janusz Jastrzębowski
action filter_type
action find
entity Janusz Jastrzębowski
relation instrument
type musical instrument
['Janusz Jastrzębowski', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Janusz_Jastrzębowski property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q11720208,P1303,c(Q34379))
action filter_type
action find
entity Q11720208
relation P1303
type Q34379
[ANSWER]
['Q11720208', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?g WHERE { resource:Q11720208 property:P1303 ?g . ?g rdf:type ontology:Q34379 }
drum kit
drum kit
action filter_type
action find
entity Janusz Jastrzębowski
relation instrument
type musical instrument
['Janusz Jastrzębowski', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?g WHERE { resource:Janusz_Jastrzębowski property:instrument ?g . ?g rdf:type ontology:musical_instrument }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11720208
P106
Q12737077
USER
What does that person do for a living ?
(Q128309,P106,c(Q12737077))
action filter_type
action find
entity Q11720208
relation P106
type Q12737077
['Q128309', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q11720208 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Janusz Jastrzębowski
action filter_type
action find
entity Janusz Jastrzębowski
relation occupation
type occupation
['drum kit', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Janusz_Jastrzębowski property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q639669
SYSTEM
musician
Q639669
(Q128309,P106,c(Q12737077))
action filter_type
action find
entity Q11720208
relation P106
type Q12737077
[ANSWER] for a living that person does
['Q128309', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q11720208 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
musician
Musician for a living that person does
musician
action filter_type
action find
entity Janusz Jastrzębowski
relation occupation
type occupation
['drum kit', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Janusz_Jastrzębowski property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P101
Q12737077 Q502895 Q43229
USER
Which occupations do around the same number of people or organizations belong to as that occupation ?
(c(Q502895)|c(Q43229),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P101
type Q502895
type Q43229
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P101 resource:Q639669 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q43229 } } } } . FILTER ( ?z = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?x } }
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity musician
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:field_of_work resource:musician . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:organization } } } } . FILTER ( ?z = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?x } }
[]
occupation common name organization
Q2855502 Q3621491 Q1051088
SYSTEM
chief of police, archaeologist, Commissioner of Baseball
Q6625963 Q4175034 Q177220 Q911554 Q80687 Q37226 Q652122 Q765778 Q2995983 Q627325 Q33999 Q1288557 Q14915627 Q13418253 Q1495660 Q774306 Q4853732 Q211423 Q706364 Q1231865 Q622807 Q584301 Q6138343 Q4610556 Q1259917 Q2516866 Q2259451 Q947873 Q333634 Q15949613 Q783906 Q1792450 Q11900058 Q3243461 Q5482740 Q3922505 Q1051088 Q138858 Q183888 Q593644 Q7888586 Q81096 Q170790 Q30185 Q15839135 Q1930187 Q14467526 Q6500773 Q212238 Q11642 Q937857 Q157509 Q128124 Q1999841 Q131524 Q1172458 Q2505739 Q1622272 Q653368 Q3455803 Q2707485 Q1402561 Q725440 Q2374149 Q17277248 Q2865798 Q326358 Q2599593 Q705908 Q4164507 Q2205972 Q899758 Q2855502 Q169470 Q36180 Q201788 Q15117302 Q483501 Q1114448 Q17167049 Q1423891 Q3665646 Q11063 Q1028181 Q1392297 Q901 Q1881523 Q18524075 Q1235146 Q36834 Q15995642 Q254651 Q3387717 Q354034 Q158852 Q2252262 Q245068 Q8011071 Q219477 Q1607826 Q154549 Q1709010 Q639669 Q191633 Q33231 Q2490358 Q644687 Q2732142 Q15980158 Q15954519 Q42603 Q3621491 Q11774891 Q6981670
(c(Q502895)|c(Q43229),P101,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q639669
relation P101
type Q502895
type Q43229
The [ANSWERS] around the same number of people or organizations belong to as that occupation
[[{'concept': 'Q502895'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:P101 resource:Q639669 . { { ?q rdf:type ontology:Q502895 } UNION { ?q rdf:type ontology:Q43229 } } } } . FILTER ( ?z = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:Q502895 ) ( ontology:Q43229 ) } } GROUP BY ?x } }
novelist legislator singer business magnate secretary teacher sewing organist double-bassist graphic designer actor hieromonk musicologist philologist food critic surgeon children's writer goldsmith art director educationist seiyū bassist wood carver model violinist publisher stage actor television presenter translator short story writer neurologist art historian explorer collector programmer music producer Commissioner of Baseball entertainer software developer chemist chemical engineer engineer mathematician mayor developmental biologist journalist linguist general practitioner civil servant pottery association football player legal guardian audio engineer faqih entrepreneur muhaddith hispanist university teacher district attorney director scenographer military leader prelate botanist member of the National Assembly of Armenia glass artist joiner germanist agency agreement art critic stained-glass artist violist chief of police physicist writer historian volleyball player artist cartoonist specialist in literature minister basketball player astronomer painter Train dispatcher scientist STEM fields mining engineer documentary filmmaker composer religious leader navigator theatre director type designer conductor rapper comedian animal trainer missionary editor carpenter software engineer musician mangaka photographer choreographer illustrator statistician non-fiction writer alchemist priest archaeologist ice hockey player Navajo weaving
The chief of police, archaeologist and Commissioner of Baseball around the same number of people or organizations belong to as that occupation
chief of police archaeologist Commissioner of Baseball
action approx
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action count
action filter_multi_types
action find_reverse
entity musician
relation field of work
type common name
type organization
[[{'concept': 'common name'}, {'concept': 'organization'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { ?q property:field_of_work resource:musician . { { ?q rdf:type ontology:common_name } UNION { ?q rdf:type ontology:organization } } } } . FILTER ( ?z = ?r ) . { SELECT DISTINCT ?x ( COUNT ( ?o ) AS ?z ) WHERE { ?o rdf:type ?p . VALUES ( ?p ) { ( ontology:common_name ) ( ontology:organization ) } } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q340169
USER
Which occupations are depicted in exactly 2 game equipment and medias ?
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { { ?q property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q17638008 } UNION { ?q property:P180 ?p . ?q rdf:type ontology:Q340169 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { { ?q property:depicts ?p . ?p rdf:type ontology:occupation . ?q rdf:type ontology:game_equipment } UNION { ?q property:depicts ?p . ?q rdf:type ontology:media . ?p rdf:type ontology:occupation } } GROUP BY ?p } }
[]
occupation game equipment media
Q4991371 Q639669
SYSTEM
soldier, musician
Q4991371 Q639669
(c(Q17638008)|c(Q340169),P180,c(Q12737077))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 2
[ANSWERS] are depicted in exactly 2 game equipment and medias
[[{'concept': 'Q17638008'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { { ?q property:P180 ?p . ?p rdf:type ontology:Q12737077 . ?q rdf:type ontology:Q17638008 } UNION { ?q property:P180 ?p . ?q rdf:type ontology:Q340169 . ?p rdf:type ontology:Q12737077 } } GROUP BY ?p } }
soldier musician
Soldier and musician are depicted in exactly 2 game equipment and medias
soldier musician
action equal
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 2
[[{'concept': 'game equipment'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { FILTER ( ?l = 2 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) ?p WHERE { { ?q property:depicts ?p . ?p rdf:type ontology:occupation . ?q rdf:type ontology:game_equipment } UNION { ?q property:depicts ?p . ?q rdf:type ontology:media . ?p rdf:type ontology:occupation } } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3621491
P425
Q1047113
USER
Who has archaeologist as the associated field of occupation ?
(Q3621491,P425,c(Q1047113))
action filter_type
action find
entity Q3621491
relation P425
type Q1047113
['Q3621491', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { resource:Q3621491 property:P425 ?f . ?f rdf:type ontology:Q1047113 }
archaeologist
action filter_type
action find
entity archaeologist
relation field of this occupation
type special field
['archaeologist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { resource:archaeologist property:field_of_this_occupation ?f . ?f rdf:type ontology:special_field }
[]
special field
Q23498
SYSTEM
archaeology
Q23498
(Q3621491,P425,c(Q1047113))
action filter_type
action find
entity Q3621491
relation P425
type Q1047113
Occupation [ANSWER] has archaeologist as the associated field of occupation
['Q3621491', 'P425', {'concept': 'Q1047113'}]
SELECT DISTINCT ?f WHERE { resource:Q3621491 property:P425 ?f . ?f rdf:type ontology:Q1047113 }
archaeology
Occupation archaeology has archaeologist as the associated field of occupation
archaeology
action filter_type
action find
entity archaeologist
relation field of this occupation
type special field
['archaeologist', 'field of this occupation', {'concept': 'special field'}]
SELECT DISTINCT ?f WHERE { resource:archaeologist property:field_of_this_occupation ?f . ?f rdf:type ontology:special_field }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1283499
P22
Q502895
USER
Which people have Romain-Octave Pelletier I as a parent ?
(c(Q502895),P22,Q1283499)
action filter_type
action find_reverse
entity Q1283499
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q1283499']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P22 resource:Q1283499 }
Romain-Octave Pelletier I
action filter_type
action find_reverse
entity Romain-Octave Pelletier I
relation father
type common name
[{'concept': 'common name'}, 'father', 'Romain-Octave Pelletier I']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:father resource:Romain-Octave_Pelletier_I }
[]
common name
Q1471603 Q1692536
SYSTEM
Frédéric Pelletier, Romain Pelletier
Q1471603 Q1692536
(c(Q502895),P22,Q1283499)
action filter_type
action find_reverse
entity Q1283499
relation P22
type Q502895
[ANSWERS] have Romain-Octave Pelletier I as a parent
[{'concept': 'Q502895'}, 'P22', 'Q1283499']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . ?x property:P22 resource:Q1283499 }
Frédéric Pelletier Romain Pelletier
Frédéric Pelletier and Romain Pelletier have Romain-Octave Pelletier I as a parent
Frédéric Pelletier Romain Pelletier
action filter_type
action find_reverse
entity Romain-Octave Pelletier I
relation father
type common name
[{'concept': 'common name'}, 'father', 'Romain-Octave Pelletier I']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . ?x property:father resource:Romain-Octave_Pelletier_I }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1471603 Q1692536
P7
Q502895
USER
Which people had Frédéric Pelletier and Romain Pelletier as brother ?
(c(Q502895),P7,Q1471603) (c(Q502895),P7,Q1692536)
action union
action filter_type
action find
entity Q1471603
relation P7
type Q502895
action filter_type
action find
entity Q1692536
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q1471603'] [{'concept': 'Q502895'}, 'P7', 'Q1692536']
SELECT DISTINCT ?o WHERE { ?f property:P7 ?o . VALUES ( ?f ) { ( resource:Q1471603 ) ( resource:Q1692536 ) } }
Frédéric Pelletier Romain Pelletier
action union
action filter_type
action find
entity Frédéric Pelletier
relation brother
type common name
action filter_type
action find
entity Romain Pelletier
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Frédéric Pelletier'] [{'concept': 'common name'}, 'brother', 'Romain Pelletier']
SELECT DISTINCT ?o WHERE { ?f property:brother ?o . VALUES ( ?f ) { ( resource:Frédéric_Pelletier ) ( resource:Romain_Pelletier ) } }
[]
common name
Q1692536 Q1471603
SYSTEM
Romain Pelletier, Frédéric Pelletier
Q1692536 Q1471603
(c(Q502895),P7,Q1471603) (c(Q502895),P7,Q1692536)
action union
action filter_type
action find
entity Q1471603
relation P7
type Q502895
action filter_type
action find
entity Q1692536
relation P7
type Q502895
[ANSWERS] had Frédéric Pelletier and Romain Pelletier as brother
[{'concept': 'Q502895'}, 'P7', 'Q1471603'] [{'concept': 'Q502895'}, 'P7', 'Q1692536']
SELECT DISTINCT ?o WHERE { ?f property:P7 ?o . VALUES ( ?f ) { ( resource:Q1471603 ) ( resource:Q1692536 ) } }
Romain Pelletier Frédéric Pelletier
Romain Pelletier and Frédéric Pelletier had Frédéric Pelletier and Romain Pelletier as brother
Romain Pelletier Frédéric Pelletier
action union
action filter_type
action find
entity Frédéric Pelletier
relation brother
type common name
action filter_type
action find
entity Romain Pelletier
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Frédéric Pelletier'] [{'concept': 'common name'}, 'brother', 'Romain Pelletier']
SELECT DISTINCT ?o WHERE { ?f property:brother ?o . VALUES ( ?f ) { ( resource:Frédéric_Pelletier ) ( resource:Romain_Pelletier ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1692536 Q1471603
P1303
Q34379
USER
Which musical instruments are played by those people ?
(Q1692536,P1303,c(Q34379)) (Q1471603,P1303,c(Q34379))
action filter_type
action find
entity prev_answer
relation P1303
type Q34379
['Q1692536', 'P1303', {'concept': 'Q34379'}] ['Q1471603', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Q1692536 ) ( resource:Q1471603 ) } . ?v property:P1303 ?o . ?o rdf:type ontology:Q34379 }
Romain Pelletier Frédéric Pelletier
action filter_type
action find
entity prev_answer
relation instrument
type musical instrument
['Romain Pelletier', 'instrument', {'concept': 'musical instrument'}] ['Frédéric Pelletier', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Romain_Pelletier ) ( resource:Frédéric_Pelletier ) } . ?v property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
musical instrument
Q1444 Q5994 Q5994
SYSTEM
piano for 2nd, 3rd, organ for 1st
Q1444 Q5994 Q5994
(Q1692536,P1303,c(Q34379)) (Q1471603,P1303,c(Q34379))
action filter_type
action find
entity prev_answer
relation P1303
type Q34379
[ANSWERS]
['Q1692536', 'P1303', {'concept': 'Q34379'}] ['Q1471603', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Q1692536 ) ( resource:Q1471603 ) } . ?v property:P1303 ?o . ?o rdf:type ontology:Q34379 }
organ piano piano
Organ, piano and piano are played by those people
organ piano piano
action filter_type
action find
entity prev_answer
relation instrument
type musical instrument
['Romain Pelletier', 'instrument', {'concept': 'musical instrument'}] ['Frédéric Pelletier', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?o WHERE { VALUES ( ?v ) { ( resource:Romain_Pelletier ) ( resource:Frédéric_Pelletier ) } . ?v property:instrument ?o . ?o rdf:type ontology:musical_instrument }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4991371
P417
Q502895
USER
What people are the patron saint of soldier ?
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q4991371 property:P417 ?i . ?i rdf:type ontology:Q502895 }
soldier
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:soldier property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
common name
Q48438 Q192816 Q44281
SYSTEM
Saint George, Saint Barbara, Ignatius of Loyola
Q48438 Q192816 Q44281
(Q4991371,P417,c(Q502895))
action filter_type
action find
entity Q4991371
relation P417
type Q502895
[ANSWERS] are the patron saint of soldier
['Q4991371', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q4991371 property:P417 ?i . ?i rdf:type ontology:Q502895 }
Saint George Saint Barbara Ignatius of Loyola
Saint George, Saint Barbara and Ignatius of Loyola are the patron saint of soldier
Saint George Saint Barbara Ignatius of Loyola
action filter_type
action find
entity soldier
relation patron saint
type common name
['soldier', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:soldier property:patron_saint ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q48438 Q192816 Q44281
P21
Q290
USER
Which sexes do those people have ?
(Q48438,P21,c(Q290)) (Q192816,P21,c(Q290)) (Q44281,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q48438', 'P21', {'concept': 'Q290'}] ['Q192816', 'P21', {'concept': 'Q290'}] ['Q44281', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?w property:P21 ?j . VALUES ( ?w ) { ( resource:Q48438 ) ( resource:Q192816 ) ( resource:Q44281 ) } . ?j rdf:type ontology:Q290 }
Saint George Saint Barbara Ignatius of Loyola
action filter_type
action find
entity prev_answer
relation gender
type sex
['Saint George', 'gender', {'concept': 'sex'}] ['Saint Barbara', 'gender', {'concept': 'sex'}] ['Ignatius of Loyola', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?w property:gender ?j . VALUES ( ?w ) { ( resource:Saint_George ) ( resource:Saint_Barbara ) ( resource:Ignatius_of_Loyola ) } . ?j rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072 Q6581097
SYSTEM
male for 1st, 3rd, female for 2nd
Q6581097 Q6581072 Q6581097
(Q48438,P21,c(Q290)) (Q192816,P21,c(Q290)) (Q44281,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
[ANSWERS]
['Q48438', 'P21', {'concept': 'Q290'}] ['Q192816', 'P21', {'concept': 'Q290'}] ['Q44281', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?j WHERE { ?w property:P21 ?j . VALUES ( ?w ) { ( resource:Q48438 ) ( resource:Q192816 ) ( resource:Q44281 ) } . ?j rdf:type ontology:Q290 }
male female male
Those people have a male, female and male
male female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Saint George', 'gender', {'concept': 'sex'}] ['Saint Barbara', 'gender', {'concept': 'sex'}] ['Ignatius of Loyola', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?j WHERE { ?w property:gender ?j . VALUES ( ?w ) { ( resource:Saint_George ) ( resource:Saint_Barbara ) ( resource:Ignatius_of_Loyola ) } . ?j rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44281
P411
Q82799
USER
Which name does Ignatius of Loyola belong to ?
(Q44281,P411,c(Q82799))
action filter_type
action find
entity Q44281
relation P411
type Q82799
['Q44281', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q44281 property:P411 ?a . ?a rdf:type ontology:Q82799 }
Ignatius of Loyola
action filter_type
action find
entity Ignatius of Loyola
relation canonization status
type name
['Ignatius of Loyola', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Ignatius_of_Loyola property:canonization_status ?a . ?a rdf:type ontology:name }
[]
name
Q43115
SYSTEM
saint
Q43115
(Q44281,P411,c(Q82799))
action filter_type
action find
entity Q44281
relation P411
type Q82799
Ignatius of Loyola belongs to [ANSWER]
['Q44281', 'P411', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q44281 property:P411 ?a . ?a rdf:type ontology:Q82799 }
saint
Ignatius of Loyola belongs to saint
saint
action filter_type
action find
entity Ignatius of Loyola
relation canonization status
type name
['Ignatius of Loyola', 'canonization status', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Ignatius_of_Loyola property:canonization_status ?a . ?a rdf:type ontology:name }
[]