Simple Question (Direct)
Simple Question
Q1694820
P135
Q151885
USER
Which concept was Johann Jacob Pagendarm linked with ?
(Q1694820,P135,c(Q151885))
action filter_type
action find
entity Q1694820
relation P135
type Q151885
['Q1694820', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q1694820 property:P135 ?b . ?b rdf:type ontology:Q151885 }
Johann Jacob Pagendarm
action filter_type
action find
entity Johann Jacob Pagendarm
relation movement
type concept
['Johann Jacob Pagendarm', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Jacob_Pagendarm property:movement ?b . ?b rdf:type ontology:concept }
[]
concept
Q8361
SYSTEM
Baroque music
Q8361
(Q1694820,P135,c(Q151885))
action filter_type
action find
entity Q1694820
relation P135
type Q151885
Johann Jacob Pagendarm was linked to [ANSWER]
['Q1694820', 'P135', {'concept': 'Q151885'}]
SELECT DISTINCT ?b WHERE { resource:Q1694820 property:P135 ?b . ?b rdf:type ontology:Q151885 }
Baroque music
Johann Jacob Pagendarm was linked to Baroque music
Baroque music
action filter_type
action find
entity Johann Jacob Pagendarm
relation movement
type concept
['Johann Jacob Pagendarm', 'movement', {'concept': 'concept'}]
SELECT DISTINCT ?b WHERE { resource:Johann_Jacob_Pagendarm property:movement ?b . ?b rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8361
P101
Q502895
USER
Which people have specialisation in that concept ?
(c(Q502895),P101,Q8361)
action filter_type
action find_reverse
entity Q8361
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q8361']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P101 resource:Q8361 }
Baroque music
action filter_type
action find_reverse
entity Baroque music
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Baroque music']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:field_of_work resource:Baroque_music }
[]
common name
Q3120520 Q1134347
SYSTEM
Guillemette Laurens, Haim Fabrizio Cipriani
Q3120520 Q1134347
(c(Q502895),P101,Q8361)
action filter_type
action find_reverse
entity Q8361
relation P101
type Q502895
[ANSWERS] have specialisation in that concept
[{'concept': 'Q502895'}, 'P101', 'Q8361']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P101 resource:Q8361 }
Guillemette Laurens Haim Fabrizio Cipriani
Guillemette Laurens and Haim Fabrizio Cipriani have specialisation in that concept
Guillemette Laurens Haim Fabrizio Cipriani
action filter_type
action find_reverse
entity Baroque music
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Baroque music']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:field_of_work resource:Baroque_music }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3120520 Q1134347
P21
Q290
USER
Which sexes do those people possess ?
(Q3120520,P21,c(Q290)) (Q1134347,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
['Q3120520', 'P21', {'concept': 'Q290'}] ['Q1134347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . ?l property:P21 ?a . VALUES ( ?l ) { ( resource:Q3120520 ) ( resource:Q1134347 ) } }
Guillemette Laurens Haim Fabrizio Cipriani
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guillemette Laurens', 'gender', {'concept': 'sex'}] ['Haim Fabrizio Cipriani', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . ?l property:gender ?a . VALUES ( ?l ) { ( resource:Guillemette_Laurens ) ( resource:Haim_Fabrizio_Cipriani ) } }
[]
sex
Q6581072 Q6581097
SYSTEM
female, male
Q6581072 Q6581097
(Q3120520,P21,c(Q290)) (Q1134347,P21,c(Q290))
action filter_type
action find
entity prev_answer
relation P21
type Q290
Those people possess both [ANSWERS]
['Q3120520', 'P21', {'concept': 'Q290'}] ['Q1134347', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q290 . ?l property:P21 ?a . VALUES ( ?l ) { ( resource:Q3120520 ) ( resource:Q1134347 ) } }
female male
Those people possess both female and male
female male
action filter_type
action find
entity prev_answer
relation gender
type sex
['Guillemette Laurens', 'gender', {'concept': 'sex'}] ['Haim Fabrizio Cipriani', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:sex . ?l property:gender ?a . VALUES ( ?l ) { ( resource:Guillemette_Laurens ) ( resource:Haim_Fabrizio_Cipriani ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3120520
P136
Q151885
USER
Which genre does that person belong to ?
(Q3120520,P136,c(Q151885))
action filter_type
action find
entity Q3120520
relation P136
type Q151885
['Q3120520', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q3120520 property:P136 ?k . ?k rdf:type ontology:Q151885 }
Guillemette Laurens
action filter_type
action find
entity Guillemette Laurens
relation genre
type concept
['Guillemette Laurens', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Guillemette_Laurens property:genre ?k . ?k rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q3120520
SYSTEM
Did you mean Guillemette Laurens ?
Q6581072 Q6581097
(Q6581072,P136,c(Q151885)) (Q6581097,P136,c(Q151885))
[ANSWER]
['Q6581072', 'P136', {'concept': 'Q151885'}] ['Q6581097', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q3120520 property:P136 ?k . ?k rdf:type ontology:Q151885 }
female male
Did you mean Guillemette Laurens ?
Guillemette Laurens
['female', 'genre', {'concept': 'concept'}] ['male', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Guillemette_Laurens property:genre ?k . ?k rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3120520,P136,c(Q151885))
['Q3120520', 'P136', {'concept': 'Q151885'}]
['Guillemette Laurens', 'genre', {'concept': 'concept'}]
[]
Q8361
SYSTEM
Baroque music
Q8361
(Q3120520,P136,c(Q151885))
action filter_type
action find
entity Q3120520
relation P136
type Q151885
That person belongs to [ANSWER]
['Q3120520', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?k WHERE { resource:Q3120520 property:P136 ?k . ?k rdf:type ontology:Q151885 }
Baroque music
That person belongs to Baroque music
Baroque music
action filter_type
action find
entity Guillemette Laurens
relation genre
type concept
['Guillemette Laurens', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?k WHERE { resource:Guillemette_Laurens property:genre ?k . ?k rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8361 Q14191082
P135
Q502895
USER
Is Christian Ludwig von Loewenstern associated with that concept ?
(Q14191082,P135,Q8361)
action is_in
entity Q8361
action find
entity Q14191082
relation P135
['Q14191082', 'P135', 'Q8361']
ASK WHERE { resource:Q14191082 property:P135 resource:Q8361 }
Baroque music Christian Ludwig von Loewenstern
action is_in
entity Baroque music
action find
entity Christian Ludwig von Loewenstern
relation movement
['Christian Ludwig von Loewenstern', 'movement', 'Baroque music']
ASK WHERE { resource:Christian_Ludwig_von_Loewenstern property:movement resource:Baroque_music }
[]
common name
SYSTEM
YES
(Q14191082,P135,Q8361)
action is_in
entity Q8361
action find
entity Q14191082
relation P135
[ANSWER]
['Q14191082', 'P135', 'Q8361']
ASK WHERE { resource:Q14191082 property:P135 resource:Q8361 }
Yes
action is_in
entity Baroque music
action find
entity Christian Ludwig von Loewenstern
relation movement
['Christian Ludwig von Loewenstern', 'movement', 'Baroque music']
ASK WHERE { resource:Christian_Ludwig_von_Loewenstern property:movement resource:Baroque_music }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1694820 Q183
P27
Q1048835
USER
Is Germany the native country of Johann Jacob Pagendarm ?
(Q1694820,P27,Q183)
action is_in
entity Q183
action find
entity Q1694820
relation P27
['Q1694820', 'P27', 'Q183']
ASK WHERE { resource:Q1694820 property:P27 resource:Q183 }
Johann Jacob Pagendarm Germany
action is_in
entity Germany
action find
entity Johann Jacob Pagendarm
relation country of citizenship
['Johann Jacob Pagendarm', 'country of citizenship', 'Germany']
ASK WHERE { resource:Johann_Jacob_Pagendarm property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q1694820,P27,Q183)
action is_in
entity Q183
action find
entity Q1694820
relation P27
[ANSWER]
['Q1694820', 'P27', 'Q183']
ASK WHERE { resource:Q1694820 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Johann Jacob Pagendarm
relation country of citizenship
['Johann Jacob Pagendarm', 'country of citizenship', 'Germany']
ASK WHERE { resource:Johann_Jacob_Pagendarm property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3120520 Q142
P27
Q15617994
USER
Does Guillemette Laurens belong to France ?
(Q3120520,P27,Q142)
action is_in
entity Q142
action find
entity Q3120520
relation P27
['Q3120520', 'P27', 'Q142']
ASK WHERE { resource:Q3120520 property:P27 resource:Q142 }
Guillemette Laurens France
action is_in
entity France
action find
entity Guillemette Laurens
relation country of citizenship
['Guillemette Laurens', 'country of citizenship', 'France']
ASK WHERE { resource:Guillemette_Laurens property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3120520,P27,Q142)
action is_in
entity Q142
action find
entity Q3120520
relation P27
[ANSWER]
['Q3120520', 'P27', 'Q142']
ASK WHERE { resource:Q3120520 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Guillemette Laurens
relation country of citizenship
['Guillemette Laurens', 'country of citizenship', 'France']
ASK WHERE { resource:Guillemette_Laurens property:country_of_citizenship resource:France }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3120520
P106
Q12737077
USER
What are the job of that person ?
action filter_type
action find
entity Q3120520
relation P106
type Q12737077
SELECT DISTINCT ?z WHERE { resource:Q3120520 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Guillemette Laurens
action filter_type
action find
entity Guillemette Laurens
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Guillemette_Laurens property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q2865819 Q177220
SYSTEM
opera singer, singer
Q2865819 Q177220
action filter_type
action find
entity Q3120520
relation P106
type Q12737077
The job of that person are the [ANSWERS]
SELECT DISTINCT ?z WHERE { resource:Q3120520 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
opera singer singer
The job of that person are the opera singer and singer
opera singer singer
action filter_type
action find
entity Guillemette Laurens
relation occupation
type occupation
SELECT DISTINCT ?z WHERE { resource:Guillemette_Laurens property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q2342494 Q502895
USER
How many occupations are the area of less number of collectables and people than that occupation ?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
occupation collectable common name
Comparative|Count over More/Less|Mult. entity type|Clarification
Q2865819
SYSTEM
Did you mean opera singer ?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
Did you mean opera singer ?
opera singer
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant singer. Could you tell me the answer for that?
(c(Q2342494)|c(Q502895),P101,c(Q12737077))
Q177220
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
[]
SYSTEM
109
Q4175034 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 Q36180 Q15117302 Q483501 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(Q2342494)|c(Q502895),P101,c(Q12737077))
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q2342494 . ?y rdf:type ontology:Q528892 . ?x rdf:type ontology:Q502895 }
legislator 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 writer volleyball player artist 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
109
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:collectable . ?y rdf:type ontology:occupation . ?x rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15812966 Q142
P161 P6
Q502895
USER
Which people are the heads of the government of France or starred in Melody of a Great City ?
OR((Q142,P6,c(Q502895)), (Q15812966,P161,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P6
action find
entity Q15812966
relation P161
type Q502895
{'OR': [['Q142', 'P6', {'concept': 'Q502895'}], ['Q15812966', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q15812966 property:P161 ?h } UNION { resource:Q142 property:P6 ?h } } . ?h rdf:type ontology:Q502895 }
Melody of a Great City France
action filter_type
action union
action find
entity France
relation head of government
action find
entity Melody of a Great City
relation cast member
type common name
{'OR': [['France', 'head of government', {'concept': 'common name'}], ['Melody of a Great City', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Melody_of_a_Great_City property:cast_member ?h } UNION { resource:France property:head_of_government ?h } } . ?h rdf:type ontology:common_name }
[]
common name
Q76656 Q101719 Q1382964 Q90979 Q1144993 Q1561311 Q1793876 Q1714111 Q103986 Q109286
SYSTEM
Some of them are Greta Schröder, Josef Eichheim, Ewald Wenck, Heinrich Schroth, Curt Ackermann, Günther Ballier, Kurt Mikulski, Just Scheu, Gerhard Dammann, Paul Rehkopf
Q1793876 Q111716 Q103986 Q76656 Q1396252 Q1144993 Q75674 Q1561311 Q90372 Q1449390 Q10287 Q1382964 Q111026 Q97349 Q1563715 Q109286 Q76647 Q1461055 Q119505 Q99577 Q2577438 Q1313039 Q1290339 Q90824 Q62352 Q45558 Q1229686 Q102011 Q535964 Q101719 Q2074689 Q7711 Q90979 Q1510990 Q1714111
OR((Q142,P6,c(Q502895)), (Q15812966,P161,c(Q502895)))
action filter_type
action union
action find
entity Q142
relation P6
action find
entity Q15812966
relation P161
type Q502895
[ANSWERS] are the heads of the government of France or starred in Melody of a Great City
{'OR': [['Q142', 'P6', {'concept': 'Q502895'}], ['Q15812966', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Q15812966 property:P161 ?h } UNION { resource:Q142 property:P6 ?h } } . ?h rdf:type ontology:Q502895 }
Kurt Mikulski Will Dohm Gerhard Dammann Greta Schröder Gustav Püttjer Curt Ackermann Hilde Weissner Günther Ballier Hilde Krahl Franz Weber Manuel Valls Ewald Wenck Marlise Ludwig Karl John Werner Stock Paul Rehkopf Paul Henckels Friedrich Maurer Werner Schott Ernst Dernburg Willi Rose Erwin Biegel Eduard Wenck Werner Hinz Johannes Heesters Beppo Brem Peter Mosbacher Clemens Hasse Angelo Ferrari Josef Eichheim Peter Elsholtz Jean-Marc Ayrault Heinrich Schroth Gerda Maria Terno Just Scheu
Greta Schröder, Josef Eichheim, Ewald Wenck, Heinrich Schroth, Curt Ackermann, Günther Ballier, Kurt Mikulski, Just Scheu, Gerhard Dammann and Paul Rehkopf are the heads of the government of France or starred in Melody of a Great City
Greta Schröder Josef Eichheim Ewald Wenck Heinrich Schroth Curt Ackermann Günther Ballier Kurt Mikulski Just Scheu Gerhard Dammann Paul Rehkopf
action filter_type
action union
action find
entity France
relation head of government
action find
entity Melody of a Great City
relation cast member
type common name
{'OR': [['France', 'head of government', {'concept': 'common name'}], ['Melody of a Great City', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?h WHERE { { { resource:Melody_of_a_Great_City property:cast_member ?h } UNION { resource:France property:head_of_government ?h } } . ?h rdf:type ontology:common_name }
[]