Simple Question (Direct)
Simple Question
Q1449337
P937
Q515
USER
What is the work location of Franz Volkmar Fritzsche ?
(Q1449337,P937,c(Q515))
action filter_type
action find
entity Q1449337
relation P937
type Q515
['Q1449337', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q1449337 property:P937 ?j . ?j rdf:type ontology:Q515 }
Franz Volkmar Fritzsche
action filter_type
action find
entity Franz Volkmar Fritzsche
relation work location
type city
['Franz Volkmar Fritzsche', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Franz_Volkmar_Fritzsche property:work_location ?j . ?j rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q1449337,P937,c(Q515))
action filter_type
action find
entity Q1449337
relation P937
type Q515
The work location of Franz Volkmar Fritzsche is in [ANSWER]
['Q1449337', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?j WHERE { resource:Q1449337 property:P937 ?j . ?j rdf:type ontology:Q515 }
Leipzig
The work location of Franz Volkmar Fritzsche is in Leipzig
Leipzig
action filter_type
action find
entity Franz Volkmar Fritzsche
relation work location
type city
['Franz Volkmar Fritzsche', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?j WHERE { resource:Franz_Volkmar_Fritzsche property:work_location ?j . ?j rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1449337
P7
Q502895
USER
Which people had that one as brother ?
(c(Q502895),P7,Q2079)
action filter_type
action find
entity Q1449337
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q2079']
SELECT DISTINCT ?o WHERE { resource:Q1449337 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Franz Volkmar Fritzsche
action filter_type
action find
entity Franz Volkmar Fritzsche
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Leipzig']
SELECT DISTINCT ?o WHERE { resource:Franz_Volkmar_Fritzsche property:brother ?o . ?o rdf:type ontology:common_name }
[]
common name
Q1422455 Q111154
SYSTEM
Karl Friedrich August Fritzsche, Otto Fridolinus Fritzsche
Q1422455 Q111154
(c(Q502895),P7,Q2079)
action filter_type
action find
entity Q1449337
relation P7
type Q502895
[ANSWERS] had that one as brother
[{'concept': 'Q502895'}, 'P7', 'Q2079']
SELECT DISTINCT ?o WHERE { resource:Q1449337 property:P7 ?o . ?o rdf:type ontology:Q502895 }
Karl Friedrich August Fritzsche Otto Fridolinus Fritzsche
Karl Friedrich August Fritzsche and Otto Fridolinus Fritzsche had that one as brother
Karl Friedrich August Fritzsche Otto Fridolinus Fritzsche
action filter_type
action find
entity Franz Volkmar Fritzsche
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Leipzig']
SELECT DISTINCT ?o WHERE { resource:Franz_Volkmar_Fritzsche property:brother ?o . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1422455
P40
Q502895
USER
Which person has that one as an offspring ?
(c(Q502895),P40,Q1422455)
action filter_type
action find_reverse
entity Q1422455
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q1422455']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q1422455 . ?u rdf:type ontology:Q502895 }
Karl Friedrich August Fritzsche
action filter_type
action find_reverse
entity Karl Friedrich August Fritzsche
relation child
type common name
[{'concept': 'common name'}, 'child', 'Karl Friedrich August Fritzsche']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Karl_Friedrich_August_Fritzsche . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q111154
SYSTEM
Did you mean Otto Fridolinus Fritzsche ?
Q1422455 Q111154
(c(Q502895),P40,Q1422455) (c(Q502895),P40,Q111154)
[ANSWER]
[{'concept': 'Q502895'}, 'P40', 'Q1422455'] [{'concept': 'Q502895'}, 'P40', 'Q111154']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q1422455 . ?u rdf:type ontology:Q502895 }
Karl Friedrich August Fritzsche Otto Fridolinus Fritzsche
Did you mean Otto Fridolinus Fritzsche ?
Otto Fridolinus Fritzsche
[{'concept': 'common name'}, 'child', 'Karl Friedrich August Fritzsche'] [{'concept': 'common name'}, 'child', 'Otto Fridolinus Fritzsche']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Karl_Friedrich_August_Fritzsche . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Karl Friedrich August Fritzsche. Could you tell me the answer for that?
(c(Q502895),P40,Q1422455)
Q1422455
[{'concept': 'Q502895'}, 'P40', 'Q1422455']
[{'concept': 'common name'}, 'child', 'Karl Friedrich August Fritzsche']
[]
Q1079593
SYSTEM
Christian Friedrich Fritzsche
Q1079593
(c(Q502895),P40,Q1422455)
action filter_type
action find_reverse
entity Q1422455
relation P40
type Q502895
[ANSWER] has that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q1422455']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q1422455 . ?u rdf:type ontology:Q502895 }
Christian Friedrich Fritzsche
Christian Friedrich Fritzsche has that one as an offspring
Christian Friedrich Fritzsche
action filter_type
action find_reverse
entity Karl Friedrich August Fritzsche
relation child
type common name
[{'concept': 'common name'}, 'child', 'Karl Friedrich August Fritzsche']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Karl_Friedrich_August_Fritzsche . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1079593
P20
Q56061
USER
Where did that person expire ?
(Q1079593,P20,c(Q56061))
action filter_type
action find
entity Q1079593
relation P20
type Q56061
['Q1079593', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1079593 property:P20 ?d }
Christian Friedrich Fritzsche
action filter_type
action find
entity Christian Friedrich Fritzsche
relation place of death
type administrative territorial entity
['Christian Friedrich Fritzsche', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Christian_Friedrich_Fritzsche property:place_of_death ?d }
[]
administrative territorial entity
Q72
SYSTEM
Zürich
Q72
(Q1079593,P20,c(Q56061))
action filter_type
action find
entity Q1079593
relation P20
type Q56061
That person expired in [ANSWER]
['Q1079593', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q1079593 property:P20 ?d }
Zürich
That person expired in Zürich
Zürich
action filter_type
action find
entity Christian Friedrich Fritzsche
relation place of death
type administrative territorial entity
['Christian Friedrich Fritzsche', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Christian_Friedrich_Fritzsche property:place_of_death ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1079593
P27
Q1048835
USER
How many political territories are the countries of citizenship of Christian Friedrich Fritzsche ?
(Q1079593,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1079593
relation P27
type Q1048835
['Q1079593', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q1079593 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Christian Friedrich Fritzsche
action count
action filter_type
action find
entity Christian Friedrich Fritzsche
relation country of citizenship
type political territorial entity
['Christian Friedrich Fritzsche', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Christian_Friedrich_Fritzsche property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q183
(Q1079593,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1079593
relation P27
type Q1048835
[ANSWER]
['Q1079593', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Q1079593 property:P27 ?t . ?t rdf:type ontology:Q1048835 }
Germany
1
action count
action filter_type
action find
entity Christian Friedrich Fritzsche
relation country of citizenship
type political territorial entity
['Christian Friedrich Fritzsche', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { resource:Christian_Friedrich_Fritzsche property:country_of_citizenship ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1097874
P21
Q290
USER
Which sex does Claudia Wiechmann belong to ?
(Q1097874,P21,c(Q290))
action filter_type
action find
entity Q1097874
relation P21
type Q290
['Q1097874', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1097874 property:P21 ?r . ?r rdf:type ontology:Q290 }
Claudia Wiechmann
action filter_type
action find
entity Claudia Wiechmann
relation gender
type sex
['Claudia Wiechmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Claudia_Wiechmann property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q1097874,P21,c(Q290))
action filter_type
action find
entity Q1097874
relation P21
type Q290
Claudia Wiechmann belongs to [ANSWER]
['Q1097874', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q1097874 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
Claudia Wiechmann belongs to female
female
action filter_type
action find
entity Claudia Wiechmann
relation gender
type sex
['Claudia Wiechmann', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Claudia_Wiechmann property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1097874
P102
Q7210356
USER
Which parties are Claudia Wiechmann affiliated with ?
(Q1097874,P102,c(Q7210356))
action filter_type
action find
entity Q1097874
relation P102
type Q7210356
['Q1097874', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7210356 . resource:Q1097874 property:P102 ?r }
Claudia Wiechmann
action filter_type
action find
entity Claudia Wiechmann
relation member of political party
type political organization
['Claudia Wiechmann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_organization . resource:Claudia_Wiechmann property:member_of_political_party ?r }
[]
political organization
Q505829 Q639537
SYSTEM
German People's Union, German Party
Q505829 Q639537
(Q1097874,P102,c(Q7210356))
action filter_type
action find
entity Q1097874
relation P102
type Q7210356
Claudia Wiechmann are affiliated with [ANSWERS]
['Q1097874', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q7210356 . resource:Q1097874 property:P102 ?r }
German People's Union German Party
Claudia Wiechmann are affiliated with German People's Union and German Party
German People's Union German Party
action filter_type
action find
entity Claudia Wiechmann
relation member of political party
type political organization
['Claudia Wiechmann', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:political_organization . resource:Claudia_Wiechmann property:member_of_political_party ?r }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q505829 Q639537
P102
Q502895
USER
Which people are members of those political organizations ?
(c(Q502895),P102,Q505829) (c(Q502895),P102,Q639537)
action filter_type
action find_reverse
entity prev_answer
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q505829'] [{'concept': 'Q502895'}, 'P102', 'Q639537']
SELECT DISTINCT ?i WHERE { ?i property:P102 ?f . VALUES ( ?f ) { ( resource:Q505829 ) ( resource:Q639537 ) } . ?i rdf:type ontology:Q502895 }
German People's Union German Party
action filter_type
action find_reverse
entity prev_answer
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', "German People's Union"] [{'concept': 'common name'}, 'member of political party', 'German Party']
SELECT DISTINCT ?i WHERE { ?i property:member_of_political_party ?f . VALUES ( ?f ) { ( resource:German_People's_Union ) ( resource:German_Party ) } . ?i rdf:type ontology:common_name }
[]
common name
Q112610 Q92215 Q118844
SYSTEM
Erich Kern, Gerhard Frey, Wilhelm Pleyer
Q1927165 Q1584540 Q1602707 Q15850740 Q1779867 Q2517448 Q120853 Q1663197 Q792286 Q1617557 Q1577979 Q1997198 Q1651338 Q2444914 Q975086 Q1663208 Q1604261 Q1938293 Q1663406 Q499630 Q112610 Q1511835 Q1341560 Q2561789 Q1901701 Q1822699 Q118844 Q1604345 Q1279184 Q1098375 Q1629724 Q1629736 Q1739665 Q92215 Q1222244 Q2654995 Q1362008 Q1554985 Q2283802 Q865217 Q2589335 Q818382 Q1720338 Q1720566 Q1238444 Q1889285 Q1715274 Q1289895 Q1097874 Q2058088 Q1602707 Q975086 Q1697515 Q2588866 Q1596134 Q1097874
(c(Q502895),P102,Q505829) (c(Q502895),P102,Q639537)
action filter_type
action find_reverse
entity prev_answer
relation P102
type Q502895
[ANSWERS] are members of those political organizations
[{'concept': 'Q502895'}, 'P102', 'Q505829'] [{'concept': 'Q502895'}, 'P102', 'Q639537']
SELECT DISTINCT ?i WHERE { ?i property:P102 ?f . VALUES ( ?f ) { ( resource:Q505829 ) ( resource:Q639537 ) } . ?i rdf:type ontology:Q502895 }
Michael Claus Harald Heinze Kurt Hoppe Thomas Gens Sven Eggers Veronika Brandt Matthias Faust Ingo Schachtschneider Axel Möller Sigmar-Peter Schuldt Hans-Otto Weidenbach Norbert Schulze Karin Voss Torsten Miksch Christian Bärthel Ingo Stawitz Helmut Thienemann Mirko Mokry Ingrid Spors Andreas Molau Erich Kern Gerhard Ittner Hans-Gerd Wiechmann Werner Kolde Markus Nonninger Liane Hesselbarth Wilhelm Pleyer Helmut Wolf Eberhard Lehnert Claus-Dieter Weich Horst Mertens Horst Montag Kerstin Helmecke Gerhard Frey Dieter Kannegießer Arnulf Priem Rudi Czaja Gunther Preiss Siegfried Tittmann Birgit Fechner Wolfgang Buder Benvenuto-Paul Friese Werner Firneburg Klaus Sojka Rudi Wiechmann Manfred Clasen Jörg Büchner Renate Köhler Claudia Wiechmann Patrik Brinkmann Kurt Hoppe Christian Bärthel Johannes Freiherr von Campenhausen Wolf von Zworowsky Heiner Kappel Claudia Wiechmann
Erich Kern, Gerhard Frey and Wilhelm Pleyer are members of those political organizations
Erich Kern Gerhard Frey Wilhelm Pleyer
action filter_type
action find_reverse
entity prev_answer
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', "German People's Union"] [{'concept': 'common name'}, 'member of political party', 'German Party']
SELECT DISTINCT ?i WHERE { ?i property:member_of_political_party ?f . VALUES ( ?f ) { ( resource:German_People's_Union ) ( resource:German_Party ) } . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q112610 Q92215 Q118844
P106
Q12737077
USER
Which occupations are the professions of those people ?
(Q112610,P106,c(Q12737077)) (Q92215,P106,c(Q12737077)) (Q118844,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q112610', 'P106', {'concept': 'Q12737077'}] ['Q92215', 'P106', {'concept': 'Q12737077'}] ['Q118844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?i property:P106 ?m . ?m rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q1927165 ) ( resource:Q1584540 ) ( resource:Q1602707 ) } }
Erich Kern Gerhard Frey Wilhelm Pleyer
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Erich Kern', 'occupation', {'concept': 'occupation'}] ['Gerhard Frey', 'occupation', {'concept': 'occupation'}] ['Wilhelm Pleyer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?i property:occupation ?m . ?m rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Michael_Claus ) ( resource:Harald_Heinze ) ( resource:Kurt_Hoppe ) } }
[]
occupation
Q1930187 Q1930187 Q16287483
SYSTEM
journalist for 1st, 2nd, opinion journalist for 3rd
Q16287483 Q36180 Q1930187 Q82955 Q2516866 Q1930187 Q82955 Q36180
(Q112610,P106,c(Q12737077)) (Q92215,P106,c(Q12737077)) (Q118844,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q112610', 'P106', {'concept': 'Q12737077'}] ['Q92215', 'P106', {'concept': 'Q12737077'}] ['Q118844', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { ?i property:P106 ?m . ?m rdf:type ontology:Q12737077 . VALUES ( ?i ) { ( resource:Q1927165 ) ( resource:Q1584540 ) ( resource:Q1602707 ) } }
opinion journalist writer journalist politician publisher journalist politician writer
The professions of those people are journalist, journalist and opinion journalist
journalist journalist opinion journalist
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Erich Kern', 'occupation', {'concept': 'occupation'}] ['Gerhard Frey', 'occupation', {'concept': 'occupation'}] ['Wilhelm Pleyer', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { ?i property:occupation ?m . ?m rdf:type ontology:occupation . VALUES ( ?i ) { ( resource:Michael_Claus ) ( resource:Harald_Heinze ) ( resource:Kurt_Hoppe ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q112610
P27
Q1048835
USER
Which political territory is the country of citizenship of that person ?
(Q112610,P27,c(Q1048835))
action filter_type
action find
entity Q112610
relation P27
type Q1048835
['Q112610', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q112610 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Erich Kern
action filter_type
action find
entity Erich Kern
relation country of citizenship
type political territorial entity
['Erich Kern', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Erich_Kern property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q112610
SYSTEM
Did you mean Erich Kern ?
Q1930187 Q1930187 Q16287483
(Q1930187,P27,c(Q1048835)) (Q1930187,P27,c(Q1048835)) (Q16287483,P27,c(Q1048835))
[ANSWER]
['Q1930187', 'P27', {'concept': 'Q1048835'}] ['Q1930187', 'P27', {'concept': 'Q1048835'}] ['Q16287483', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q112610 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
journalist journalist opinion journalist
Did you mean Erich Kern ?
Erich Kern
['journalist', 'country of citizenship', {'concept': 'political territorial entity'}] ['journalist', 'country of citizenship', {'concept': 'political territorial entity'}] ['opinion journalist', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Erich_Kern property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q112610,P27,c(Q1048835))
['Q112610', 'P27', {'concept': 'Q1048835'}]
['Erich Kern', 'country of citizenship', {'concept': 'political territorial entity'}]
[]
Q40
SYSTEM
Austria
Q40
(Q112610,P27,c(Q1048835))
action filter_type
action find
entity Q112610
relation P27
type Q1048835
[ANSWER] is the country of citizenship of that person
['Q112610', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q112610 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Austria
Austria is the country of citizenship of that person
Austria
action filter_type
action find
entity Erich Kern
relation country of citizenship
type political territorial entity
['Erich Kern', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Erich_Kern property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P495
Q746549 Q15961987
USER
How many dishes or television genres originated in that political territory ?
(c(Q746549),P495,Q40) (c(Q15961987),P495,Q40) (c(Q746549),P495,Q40) (c(Q15961987),P495,Q40)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P495
type Q746549
action filter_type
action find_reverse
entity Q40
relation P495
type Q15961987
[{'concept': 'Q746549'}, 'P495', 'Q40'] [{'concept': 'Q15961987'}, 'P495', 'Q40'] [{'concept': 'Q746549'}, 'P495', 'Q40'] [{'concept': 'Q15961987'}, 'P495', 'Q40']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:Q746549 . ?f property:P495 resource:Q40 } UNION { ?f rdf:type ontology:Q15961987 . ?f property:P495 resource:Q40 } }
action count
action union
action filter_type
action find_reverse
entity Austria
relation country of origin
type dish
action filter_type
action find_reverse
entity Austria
relation country of origin
type television genre
[{'concept': 'dish'}, 'country of origin', 'Austria'] [{'concept': 'television genre'}, 'country of origin', 'Austria'] [{'concept': 'dish'}, 'country of origin', 'Austria'] [{'concept': 'television genre'}, 'country of origin', 'Austria']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:dish . ?f property:country_of_origin resource:Austria } UNION { ?f rdf:type ontology:television_genre . ?f property:country_of_origin resource:Austria } }
[]
dish television genre
SYSTEM
3
Q358507 Q264215 Q300066
(c(Q746549),P495,Q40) (c(Q15961987),P495,Q40) (c(Q746549),P495,Q40) (c(Q15961987),P495,Q40)
action count
action union
action filter_type
action find_reverse
entity Q40
relation P495
type Q746549
action filter_type
action find_reverse
entity Q40
relation P495
type Q15961987
[ANSWER]
[{'concept': 'Q746549'}, 'P495', 'Q40'] [{'concept': 'Q15961987'}, 'P495', 'Q40'] [{'concept': 'Q746549'}, 'P495', 'Q40'] [{'concept': 'Q15961987'}, 'P495', 'Q40']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:Q746549 . ?f property:P495 resource:Q40 } UNION { ?f rdf:type ontology:Q15961987 . ?f property:P495 resource:Q40 } }
Bosna Salzburger Nockerl ATV Aktuell
3
action count
action union
action filter_type
action find_reverse
entity Austria
relation country of origin
type dish
action filter_type
action find_reverse
entity Austria
relation country of origin
type television genre
[{'concept': 'dish'}, 'country of origin', 'Austria'] [{'concept': 'television genre'}, 'country of origin', 'Austria'] [{'concept': 'dish'}, 'country of origin', 'Austria'] [{'concept': 'television genre'}, 'country of origin', 'Austria']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f rdf:type ontology:dish . ?f property:country_of_origin resource:Austria } UNION { ?f rdf:type ontology:television_genre . ?f property:country_of_origin resource:Austria } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q605544
P17
Q15617994
USER
Which administrative territory does Halabja belong to ?
(Q605544,P17,c(Q15617994))
action filter_type
action find
entity Q605544
relation P17
type Q15617994
['Q605544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q605544 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Halabja
action filter_type
action find
entity Halabja
relation country
type designation for an administrative territorial entity
['Halabja', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Halabja property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q796
SYSTEM
Iraq
Q796
(Q605544,P17,c(Q15617994))
action filter_type
action find
entity Q605544
relation P17
type Q15617994
Halabja belongs to [ANSWER]
['Q605544', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q605544 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Iraq
Halabja belongs to Iraq
Iraq
action filter_type
action find
entity Halabja
relation country
type designation for an administrative territorial entity
['Halabja', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Halabja property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7891467
Q15617994
USER
And also tell me about United States Senate election in Florida, 1970?
(Q7891467,P17,c(Q15617994))
action filter_type
action find
entity Q7891467
relation P17
type Q15617994
['Q7891467', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7891467 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States Senate election in Florida, 1970
action filter_type
action find
entity United States Senate election in Florida, 1970
relation country
type designation for an administrative territorial entity
['United States Senate election in Florida, 1970', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:United_States_Senate_election_in_Florida,_1970 property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7891467,P17,c(Q15617994))
action filter_type
action find
entity Q7891467
relation P17
type Q15617994
[ANSWER]
['Q7891467', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q7891467 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity United States Senate election in Florida, 1970
relation country
type designation for an administrative territorial entity
['United States Senate election in Florida, 1970', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:United_States_Senate_election_in_Florida,_1970 property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]