Simple Question (Direct)
Simple Question
Q1462640
P39
Q12737077
USER
Which occupation was a position occupied by Helga Ziegert ?
(Q1462640,P39,c(Q12737077))
action filter_type
action find
entity Q1462640
relation P39
type Q12737077
['Q1462640', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1462640 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
Helga Ziegert
action filter_type
action find
entity Helga Ziegert
relation position held
type occupation
['Helga Ziegert', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Helga_Ziegert property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q17441472
SYSTEM
member of the Bürgerschaft of Bremen
Q17441472
(Q1462640,P39,c(Q12737077))
action filter_type
action find
entity Q1462640
relation P39
type Q12737077
A [ANSWER] was a position occupied by Helga Ziegert
['Q1462640', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q1462640 property:P39 ?z . ?z rdf:type ontology:Q12737077 }
member of the Bürgerschaft of Bremen
A member of the Bürgerschaft of Bremen was a position occupied by Helga Ziegert
member of the Bürgerschaft of Bremen
action filter_type
action find
entity Helga Ziegert
relation position held
type occupation
['Helga Ziegert', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Helga_Ziegert property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1462640
P102
Q7278
USER
Which political party is Helga Ziegert a member of ?
(Q1462640,P102,c(Q7278))
action filter_type
action find
entity Q1462640
relation P102
type Q7278
['Q1462640', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7278 . resource:Q1462640 property:P102 ?j }
Helga Ziegert
action filter_type
action find
entity Helga Ziegert
relation member of political party
type political party
['Helga Ziegert', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_party . resource:Helga_Ziegert property:member_of_political_party ?j }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q1462640,P102,c(Q7278))
action filter_type
action find
entity Q1462640
relation P102
type Q7278
Party [ANSWER] is Helga Ziegert a member of
['Q1462640', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q7278 . resource:Q1462640 property:P102 ?j }
Social Democratic Party of Germany
Party Social Democratic Party of Germany is Helga Ziegert a member of
Social Democratic Party of Germany
action filter_type
action find
entity Helga Ziegert
relation member of political party
type political party
['Helga Ziegert', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_party . resource:Helga_Ziegert property:member_of_political_party ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1462640
P937
Q515
USER
Where did that person work ?
(Q49768,P937,c(Q515))
action filter_type
action find
entity Q1462640
relation P937
type Q515
['Q49768', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . resource:Q1462640 property:P937 ?i }
Helga Ziegert
action filter_type
action find
entity Helga Ziegert
relation work location
type city
['Social Democratic Party of Germany', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . resource:Helga_Ziegert property:work_location ?i }
[]
city
Q1209
SYSTEM
Free Hanseatic City of Bremen
Q1209
(Q49768,P937,c(Q515))
action filter_type
action find
entity Q1462640
relation P937
type Q515
That person worked for [ANSWER]
['Q49768', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q515 . resource:Q1462640 property:P937 ?i }
Free Hanseatic City of Bremen
That person worked for Free Hanseatic City of Bremen
Free Hanseatic City of Bremen
action filter_type
action find
entity Helga Ziegert
relation work location
type city
['Social Democratic Party of Germany', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:city . resource:Helga_Ziegert property:work_location ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1844
P1376
Q13220204 Q1048835 Q515
USER
How many cities are the county seat of approximately the same number of administrative country subdivisions and political territories as Vaduz ?
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q1844
relation P1376
type Q13220204
type Q1048835
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?t WHERE { VALUES ( ?w ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?i rdf:type ?w } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q1844 property:P1376 ?o . { { ?o rdf:type ontology:Q13220204 } UNION { ?o rdf:type ontology:Q1048835 } } } } . FILTER ( ?v = ?m ) }
Vaduz
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Vaduz
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?t WHERE { VALUES ( ?w ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?w } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Vaduz property:capital_of ?o . { { ?o rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?o rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?v = ?m ) }
[]
second-level administrative country subdivision political territorial entity city
SYSTEM
123
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q3974 Q873377 Q8131 Q4024 Q1711 Q496667 Q27860 Q3806 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q3926 Q11462 Q3214 Q23482 Q505208 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q2966 Q1467 Q14499 Q12245 Q117676 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q191651 Q305640 Q14819 Q5285 Q14182 Q6807568 Q7568 Q1731 Q1636 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q714628 Q177149 Q14960 Q874270 Q2978 Q14821 Q2079 Q8156 Q1856 Q4007 Q14168 Q55598 Q271000 Q1826 Q542154 Q7253 Q2936 Q2749 Q63145 Q2119 Q271917 Q5972 Q83247 Q1645 Q7578 Q14126 Q15847 Q3768 Q2209 Q2200 Q16506 Q14155 Q14409 Q40626 Q55740 Q693264 Q6582 Q502205 Q57944 Q2795 Q8179 Q5217 Q1020709 Q456 Q267894 Q2152435 Q3935 Q7003 Q3750 Q894059 Q183111 Q40584 Q1067897 Q11506 Q107624 Q8042 Q50179 Q104125 Q2999
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q1844
relation P1376
type Q13220204
type Q1048835
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?t WHERE { VALUES ( ?w ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } . ?i rdf:type ?w } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Q1844 property:P1376 ?o . { { ?o rdf:type ontology:Q13220204 } UNION { ?o rdf:type ontology:Q1048835 } } } } . FILTER ( ?v = ?m ) }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Landshut Dumaguete Palembang Frankfurt (Oder) Potsdam Muroran Jayapura Tübingen Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Pretoria Surabaya Cottbus Marseille Ouarzazate Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Heidelberg Cebu City Samarinda Stanley Viseu Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Masbate City Abashiri Freiberg Tarlac Banjarmasin Emmen Yogyakarta Dresden Antipolo Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Rumoi Obihiro Brno Pagadian Regensburg Coburg Leipzig Bandar Lampung Malaybalay Rosenheim Pontianak Palayan Bouaké Tagbilaran Koronadal Padang Oldenburg Augsburg Imus Mannheim Kushiro Medan Braga Cagayan de Oro Jambi Mataram Manado Yamoussoukro Roxas Tuguegarao České Budějovice Kupang Palangkaraya Tacloban San Fernando Iwamizawa Carcassonne Nemuro Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Lyon Wakkanai Miramar Windhoek Dijon Gera Borongan Jihlava San Fernando Oroquieta Denpasar Calapan Bengkulu Ilagan Lucena Würzburg
123
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Vaduz
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) ?t WHERE { VALUES ( ?w ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } . ?i rdf:type ?w } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?m ) WHERE { resource:Vaduz property:capital_of ?o . { { ?o rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?o rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?v = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q14126
P1376
Q13220204 Q1048835 Q515
USER
And how about Mataram?
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q14126
relation P1376
type Q13220204
type Q1048835
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q14126 property:P1376 ?h . { { ?h rdf:type ontology:Q13220204 } UNION { ?h rdf:type ontology:Q1048835 } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?f WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } GROUP BY ?f } }
Mataram
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Mataram
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Mataram property:capital_of ?h . { { ?h rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?f WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } GROUP BY ?f } }
[]
second-level administrative country subdivision political territorial entity city
SYSTEM
123
Q15826 Q39738 Q10126 Q1710 Q14525 Q3042 Q3974 Q873377 Q8131 Q4024 Q1711 Q496667 Q27860 Q3806 Q592338 Q52607 Q5779 Q1696 Q41474 Q1070920 Q174096 Q111739 Q18970 Q432169 Q147738 Q3926 Q11462 Q3214 Q23482 Q505208 Q1000336 Q583137 Q1019949 Q235004 Q725168 Q1899 Q12062 Q2966 Q1467 Q14499 Q12245 Q117676 Q1844 Q10389 Q35925 Q15379 Q1723 Q459787 Q1025387 Q191651 Q305640 Q14819 Q5285 Q14182 Q6807568 Q7568 Q1731 Q1636 Q7786 Q10104 Q1020939 Q155674 Q314686 Q2180 Q714628 Q177149 Q14960 Q874270 Q2978 Q14821 Q2079 Q8156 Q1856 Q4007 Q14168 Q55598 Q271000 Q1826 Q542154 Q7253 Q2936 Q2749 Q63145 Q2119 Q271917 Q5972 Q83247 Q1645 Q7578 Q14126 Q15847 Q3768 Q2209 Q2200 Q16506 Q14155 Q14409 Q40626 Q55740 Q693264 Q6582 Q502205 Q57944 Q2795 Q8179 Q5217 Q1020709 Q456 Q267894 Q2152435 Q3935 Q7003 Q3750 Q894059 Q183111 Q40584 Q1067897 Q11506 Q107624 Q8042 Q50179 Q104125 Q2999
(c(Q515),P1376,c(Q13220204)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P1376
type Q515
type Q13220204
action find_tuple_counts
relation P1376
type Q515
type Q1048835
action count
action filter_multi_types
action find
entity Q14126
relation P1376
type Q13220204
type Q1048835
[ANSWER]
[{'concept': 'Q515'}, 'P1376', [{'concept': 'Q13220204'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Q14126 property:P1376 ?h . { { ?h rdf:type ontology:Q13220204 } UNION { ?h rdf:type ontology:Q1048835 } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?f WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:Q13220204 ) ( ontology:Q1048835 ) } } GROUP BY ?f } }
Palu Laoag Serang Isabela City Gorontalo Offenbach am Main Landshut Dumaguete Palembang Frankfurt (Oder) Potsdam Muroran Jayapura Tübingen Marawi Mar del Plata Banda Aceh Legazpi Kingstown Mamuju Sorsogon City Puerto Princesa Ambon Dipolog Saint Helier Pretoria Surabaya Cottbus Marseille Ouarzazate Tandil Kidapawan Surigao City Vigan Tagum Kyiv Torgau Heidelberg Cebu City Samarinda Stanley Viseu Vaduz Bandung Tabuk Kendari Batangas City Iloilo City Maasin Masbate City Abashiri Freiberg Tarlac Banjarmasin Emmen Yogyakarta Dresden Antipolo Pekanbaru Tanjung Pinang Digos Tandag Mati Malolos Rumoi Obihiro Brno Pagadian Regensburg Coburg Leipzig Bandar Lampung Malaybalay Rosenheim Pontianak Palayan Bouaké Tagbilaran Koronadal Padang Oldenburg Augsburg Imus Mannheim Kushiro Medan Braga Cagayan de Oro Jambi Mataram Manado Yamoussoukro Roxas Tuguegarao České Budějovice Kupang Palangkaraya Tacloban San Fernando Iwamizawa Carcassonne Nemuro Annaberg-Buchholz Chemnitz Pangkal Pinang Bacolod Catbalogan Lyon Wakkanai Miramar Windhoek Dijon Gera Borongan Jihlava San Fernando Oroquieta Denpasar Calapan Bengkulu Ilagan Lucena Würzburg
123
action count
action approx
action union
action find_tuple_counts
relation capital of
type city
type second-level administrative country subdivision
action find_tuple_counts
relation capital of
type city
type political territorial entity
action count
action filter_multi_types
action find
entity Mataram
relation capital of
type second-level administrative country subdivision
type political territorial entity
[{'concept': 'city'}, 'capital of', [{'concept': 'second-level administrative country subdivision'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?g ) WHERE { resource:Mataram property:capital_of ?h . { { ?h rdf:type ontology:second-level_administrative_country_subdivision } UNION { ?h rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?o = ?g ) . { SELECT DISTINCT ( COUNT ( ?c ) AS ?o ) ?f WHERE { ?c rdf:type ?s . VALUES ( ?s ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:political_territorial_entity ) } } GROUP BY ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1209
P163
Q17335294
USER
What has Free Hanseatic City of Bremen as its flag
(Q1209,P163,c(Q17335294))
action filter_type
action find
entity Q1209
relation P163
type Q17335294
['Q1209', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { resource:Q1209 property:P163 ?l . ?l rdf:type ontology:Q17335294 }
Free Hanseatic City of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation flag
type flag or coat of arms
['Free Hanseatic City of Bremen', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { resource:Free_Hanseatic_City_of_Bremen property:flag ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q562077
SYSTEM
Flag of Bremen
Q562077
(Q1209,P163,c(Q17335294))
action filter_type
action find
entity Q1209
relation P163
type Q17335294
Bremen [ANSWER] has Free Hanseatic City of Bremen as its flag
['Q1209', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?l WHERE { resource:Q1209 property:P163 ?l . ?l rdf:type ontology:Q17335294 }
Flag of Bremen
Bremen Flag of Bremen has Free Hanseatic City of Bremen as its flag
Flag of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation flag
type flag or coat of arms
['Free Hanseatic City of Bremen', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?l WHERE { resource:Free_Hanseatic_City_of_Bremen property:flag ?l . ?l rdf:type ontology:flag_or_coat_of_arms }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q701
Q17335294
USER
And also tell me about North Holland?
(Q701,P163,c(Q17335294))
action filter_type
action find
entity Q701
relation P163
type Q17335294
['Q701', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?b WHERE { resource:Q701 property:P163 ?b . ?b rdf:type ontology:Q17335294 }
North Holland
action filter_type
action find
entity North Holland
relation flag
type flag or coat of arms
['North Holland', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?b WHERE { resource:North_Holland property:flag ?b . ?b rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q2616924
SYSTEM
flag of North Holland
Q2616924
(Q701,P163,c(Q17335294))
action filter_type
action find
entity Q701
relation P163
type Q17335294
[ANSWER]
['Q701', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?b WHERE { resource:Q701 property:P163 ?b . ?b rdf:type ontology:Q17335294 }
flag of North Holland
flag of North Holland
action filter_type
action find
entity North Holland
relation flag
type flag or coat of arms
['North Holland', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?b WHERE { resource:North_Holland property:flag ?b . ?b rdf:type ontology:flag_or_coat_of_arms }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q2616924 Q701 Q7899360
P1001
Q15617994
USER
Does that coat of arms have jurisdiction over North Holland and Upton, West Oxfordshire ?
(Q2616924,P1001,Q701) (Q2616924,P1001,Q7899360)
action is_in
entity Q2616924
action intersection
action find_reverse
entity Q701
relation P1001
action find_reverse
entity Q7899360
relation P1001
['Q2616924', 'P1001', 'Q701'] ['Q2616924', 'P1001', 'Q7899360']
ASK WHERE { resource:Q2616924 property:P1001 resource:Q701 . resource:Q2616924 property:P1001 resource:Q7899360 }
flag of North Holland North Holland Upton, West Oxfordshire
action is_in
entity flag of North Holland
action intersection
action find_reverse
entity North Holland
relation applies to jurisdiction
action find_reverse
entity Upton, West Oxfordshire
relation applies to jurisdiction
['flag of North Holland', 'applies to jurisdiction', 'North Holland'] ['flag of North Holland', 'applies to jurisdiction', 'Upton, West Oxfordshire']
ASK WHERE { resource:flag_of_North_Holland property:applies_to_jurisdiction resource:North_Holland . resource:flag_of_North_Holland property:applies_to_jurisdiction resource:Upton,_West_Oxfordshire }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q2616924,P1001,Q701) (Q2616924,P1001,Q7899360)
action is_in
entity Q2616924
action intersection
action find_reverse
entity Q701
relation P1001
action find_reverse
entity Q7899360
relation P1001
[ANSWER]
['Q2616924', 'P1001', 'Q701'] ['Q2616924', 'P1001', 'Q7899360']
ASK WHERE { resource:Q2616924 property:P1001 resource:Q701 . resource:Q2616924 property:P1001 resource:Q7899360 }
YES and NO respectively
action is_in
entity flag of North Holland
action intersection
action find_reverse
entity North Holland
relation applies to jurisdiction
action find_reverse
entity Upton, West Oxfordshire
relation applies to jurisdiction
['flag of North Holland', 'applies to jurisdiction', 'North Holland'] ['flag of North Holland', 'applies to jurisdiction', 'Upton, West Oxfordshire']
ASK WHERE { resource:flag_of_North_Holland property:applies_to_jurisdiction resource:North_Holland . resource:flag_of_North_Holland property:applies_to_jurisdiction resource:Upton,_West_Oxfordshire }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1209 Q1650
P206
Q355304
USER
Is Weser situated nearby Free Hanseatic City of Bremen ?
(Q1209,P206,Q1650)
action is_in
entity Q1650
action find
entity Q1209
relation P206
['Q1209', 'P206', 'Q1650']
ASK WHERE { resource:Q1209 property:P206 resource:Q1650 }
Free Hanseatic City of Bremen Weser
action is_in
entity Weser
action find
entity Free Hanseatic City of Bremen
relation located next to body of water
['Free Hanseatic City of Bremen', 'located next to body of water', 'Weser']
ASK WHERE { resource:Free_Hanseatic_City_of_Bremen property:located_next_to_body_of_water resource:Weser }
[]
watercourse
SYSTEM
YES
(Q1209,P206,Q1650)
action is_in
entity Q1650
action find
entity Q1209
relation P206
[ANSWER]
['Q1209', 'P206', 'Q1650']
ASK WHERE { resource:Q1209 property:P206 resource:Q1650 }
Yes
action is_in
entity Weser
action find
entity Free Hanseatic City of Bremen
relation located next to body of water
['Free Hanseatic City of Bremen', 'located next to body of water', 'Weser']
ASK WHERE { resource:Free_Hanseatic_City_of_Bremen property:located_next_to_body_of_water resource:Weser }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2616924
P462
Q1075
USER
What are the colors that flag of North Holland are associated with ?
(Q2616924,P462,c(Q1075))
action filter_type
action find
entity Q2616924
relation P462
type Q1075
['Q2616924', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?g WHERE { resource:Q2616924 property:P462 ?g . ?g rdf:type ontology:Q1075 }
flag of North Holland
action filter_type
action find
entity flag of North Holland
relation color
type color
['flag of North Holland', 'color', {'concept': 'color'}]
SELECT DISTINCT ?g WHERE { resource:flag_of_North_Holland property:color ?g . ?g rdf:type ontology:color }
[]
color
Q943 Q3142 Q1088
SYSTEM
yellow, red, blue
Q943 Q3142 Q1088
(Q2616924,P462,c(Q1075))
action filter_type
action find
entity Q2616924
relation P462
type Q1075
The colors that flag of North Holland are associated with are [ANSWERS]
['Q2616924', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?g WHERE { resource:Q2616924 property:P462 ?g . ?g rdf:type ontology:Q1075 }
yellow red blue
The colors that flag of North Holland are associated with are yellow, red and blue
yellow red blue
action filter_type
action find
entity flag of North Holland
relation color
type color
['flag of North Holland', 'color', {'concept': 'color'}]
SELECT DISTINCT ?g WHERE { resource:flag_of_North_Holland property:color ?g . ?g rdf:type ontology:color }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3836604
Q1075
USER
And also tell me about Lonesome Luke's Honeymoon?
(Q3836604,P462,c(Q1075))
action filter_type
action find
entity Q3836604
relation P462
type Q1075
['Q3836604', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { resource:Q3836604 property:P462 ?h . ?h rdf:type ontology:Q1075 }
Lonesome Luke's Honeymoon
action filter_type
action find
entity Lonesome Luke's Honeymoon
relation color
type color
["Lonesome Luke's Honeymoon", 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { resource:Lonesome_Luke's_Honeymoon property:color ?h . ?h rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q3836604,P462,c(Q1075))
action filter_type
action find
entity Q3836604
relation P462
type Q1075
[ANSWER]
['Q3836604', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?h WHERE { resource:Q3836604 property:P462 ?h . ?h rdf:type ontology:Q1075 }
black-and-white film
black-and-white film
action filter_type
action find
entity Lonesome Luke's Honeymoon
relation color
type color
["Lonesome Luke's Honeymoon", 'color', {'concept': 'color'}]
SELECT DISTINCT ?h WHERE { resource:Lonesome_Luke's_Honeymoon property:color ?h . ?h rdf:type ontology:color }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3836604
P364
Q11028
USER
Which information is considered to be the original language of creation of Lonesome Luke's Honeymoon ?
(Q3836604,P364,c(Q11028))
action filter_type
action find
entity Q3836604
relation P364
type Q11028
['Q3836604', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?y WHERE { resource:Q3836604 property:P364 ?y . ?y rdf:type ontology:Q11028 }
Lonesome Luke's Honeymoon
action filter_type
action find
entity Lonesome Luke's Honeymoon
relation original language of work
type information
["Lonesome Luke's Honeymoon", 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?y WHERE { resource:Lonesome_Luke's_Honeymoon property:original_language_of_work ?y . ?y rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q3836604,P364,c(Q11028))
action filter_type
action find
entity Q3836604
relation P364
type Q11028
[ANSWER] is considered to be the original language of creation of Lonesome Luke's Honeymoon
['Q3836604', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?y WHERE { resource:Q3836604 property:P364 ?y . ?y rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) is considered to be the original language of creation of Lonesome Luke's Honeymoon
n/a (silent film)
action filter_type
action find
entity Lonesome Luke's Honeymoon
relation original language of work
type information
["Lonesome Luke's Honeymoon", 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?y WHERE { resource:Lonesome_Luke's_Honeymoon property:original_language_of_work ?y . ?y rdf:type ontology:information }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1209
P6
Q502895
USER
Who are the heads of the government of Free Hanseatic City of Bremen ?
(Q1209,P6,c(Q502895))
action filter_type
action find
entity Q1209
relation P6
type Q502895
['Q1209', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1209 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Free Hanseatic City of Bremen
action filter_type
action find
entity Free Hanseatic City of Bremen
relation head of government
type common name
['Free Hanseatic City of Bremen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Free_Hanseatic_City_of_Bremen property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
common name
Q69120 Q61604 Q69081
SYSTEM
Hans Koschnick, Jens Böhrnsen, Henning Scherf
Q78175 Q73921 Q61604 Q124047 Q89494 Q69120 Q69081 Q69122
(Q1209,P6,c(Q502895))
action filter_type
action find
entity Q1209
relation P6
type Q502895
The heads of the government of Free Hanseatic City of Bremen are [ANSWERS]
['Q1209', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1209 property:P6 ?b . ?b rdf:type ontology:Q502895 }
Erich Vagts Wilhelm Kaisen Jens Böhrnsen Johannes Schroers Willi Dehnkamp Hans Koschnick Henning Scherf Klaus Wedemeier
The heads of the government of Free Hanseatic City of Bremen are Hans Koschnick, Jens Böhrnsen and Henning Scherf
Hans Koschnick Jens Böhrnsen Henning Scherf
action filter_type
action find
entity Free Hanseatic City of Bremen
relation head of government
type common name
['Free Hanseatic City of Bremen', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Free_Hanseatic_City_of_Bremen property:head_of_government ?b . ?b rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q61604
P710
Q1499496
USER
What event were that person a participant of ?
(c(Q1499496),P710,Q61604)
action filter_type
action find_reverse
entity Q61604
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q61604']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q61604 . ?p rdf:type ontology:Q1499496 }
Jens Böhrnsen
action filter_type
action find_reverse
entity Jens Böhrnsen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jens Böhrnsen']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Jens_Böhrnsen . ?p rdf:type ontology:German_presidential_election }
[]
German presidential election
Clarification for simple ques.
Q61604
SYSTEM
Did you mean Jens Böhrnsen ?
Q69120 Q61604 Q69081
(c(Q1499496),P710,Q69120) (c(Q1499496),P710,Q61604) (c(Q1499496),P710,Q69081)
[ANSWER]
[{'concept': 'Q1499496'}, 'P710', 'Q69120'] [{'concept': 'Q1499496'}, 'P710', 'Q61604'] [{'concept': 'Q1499496'}, 'P710', 'Q69081']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q61604 . ?p rdf:type ontology:Q1499496 }
Hans Koschnick Jens Böhrnsen Henning Scherf
Did you mean Jens Böhrnsen ?
Jens Böhrnsen
[{'concept': 'German presidential election'}, 'participant', 'Hans Koschnick'] [{'concept': 'German presidential election'}, 'participant', 'Jens Böhrnsen'] [{'concept': 'German presidential election'}, 'participant', 'Henning Scherf']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Jens_Böhrnsen . ?p rdf:type ontology:German_presidential_election }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q1499496),P710,Q61604)
[{'concept': 'Q1499496'}, 'P710', 'Q61604']
[{'concept': 'German presidential election'}, 'participant', 'Jens Böhrnsen']
[]
Q707063 Q670933
SYSTEM
German presidential election, 2010, German presidential election, 2012
Q707063 Q670933
(c(Q1499496),P710,Q61604)
action filter_type
action find_reverse
entity Q61604
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q61604']
SELECT DISTINCT ?p WHERE { ?p property:P710 resource:Q61604 . ?p rdf:type ontology:Q1499496 }
German presidential election, 2010 German presidential election, 2012
That person were in German presidential election, 2010 and German presidential election, 2012
German presidential election, 2010 German presidential election, 2012
action filter_type
action find_reverse
entity Jens Böhrnsen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jens Böhrnsen']
SELECT DISTINCT ?p WHERE { ?p property:participant resource:Jens_Böhrnsen . ?p rdf:type ontology:German_presidential_election }
[]