Simple Question (Direct)
Simple Question
Q334374
P20
Q56061
USER
Where did David Urquhart expire ?
(Q334374,P20,c(Q56061))
action filter_type
action find
entity Q334374
relation P20
type Q56061
['Q334374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q334374 property:P20 ?s }
David Urquhart
action filter_type
action find
entity David Urquhart
relation place of death
type administrative territorial entity
['David Urquhart', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:David_Urquhart property:place_of_death ?s }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q334374,P20,c(Q56061))
action filter_type
action find
entity Q334374
relation P20
type Q56061
David Urquhart expired in [ANSWER]
['Q334374', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q56061 . resource:Q334374 property:P20 ?s }
Naples
David Urquhart expired in Naples
Naples
action filter_type
action find
entity David Urquhart
relation place of death
type administrative territorial entity
['David Urquhart', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:administrative_territorial_entity . resource:David_Urquhart property:place_of_death ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2634
P47
Q15617994
USER
Which administrative territories are adjacent to that administrative territory ?
(Q2634,P47,c(Q15617994))
action filter_type
action find
entity Q2634
relation P47
type Q15617994
['Q2634', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2634 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Naples
action filter_type
action find
entity Naples
relation shares border with
type designation for an administrative territorial entity
['Naples', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Naples property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q72425 Q72009 Q72221
SYSTEM
Pozzuoli, Casoria, Marano di Napoli
Q72414 Q71967 Q72258 Q72497 Q72221 Q72527 Q72443 Q72030 Q72009 Q71945 Q72783 Q72425
(Q2634,P47,c(Q15617994))
action filter_type
action find
entity Q2634
relation P47
type Q15617994
[ANSWERS] are adjacent to that administrative territory
['Q2634', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q2634 property:P47 ?m . ?m rdf:type ontology:Q15617994 }
Portici Casavatore Melito di Napoli San Giorgio a Cremano Marano di Napoli San Sebastiano al Vesuvio Quarto, Campania Cercola Casoria Casandrino Volla, Campania Pozzuoli
Pozzuoli, Casoria and Marano di Napoli are adjacent to that administrative territory
Pozzuoli Casoria Marano di Napoli
action filter_type
action find
entity Naples
relation shares border with
type designation for an administrative territorial entity
['Naples', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Naples property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1237
P194
Q35749 Q701632 Q15617994
USER
Which administrative territories have around the same number of parliaments and municipal councils as their representative body as Trentino-South Tyrol ?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q1237
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?s WHERE { { ?s property:P194 ?i . ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q35749 } UNION { ?s property:P194 ?i . ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q701632 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q1237 property:P194 ?t . { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } } } } . FILTER ( ?f = ?a ) }
Trentino-South Tyrol
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Trentino-South Tyrol
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?s WHERE { { ?s property:legislative_body ?i . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:parliament } UNION { ?s property:legislative_body ?i . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:municipal_council } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Trentino-South_Tyrol property:legislative_body ?t . { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:parliament ) ( ontology:municipal_council ) } } } } . FILTER ( ?f = ?a ) }
[]
parliament municipal council designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q1237
relation P194
type Q35749
type Q701632
[ANSWERS] have around the same number of parliaments and municipal councils as their representative body as Trentino-South Tyrol
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?s WHERE { { ?s property:P194 ?i . ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q35749 } UNION { ?s property:P194 ?i . ?s rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q701632 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Q1237 property:P194 ?t . { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:Q35749 ) ( ontology:Q701632 ) } } } } . FILTER ( ?f = ?a ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
Italy, Brazil and United States of America have around the same number of parliaments and municipal councils as their representative body as Trentino-South Tyrol
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Trentino-South Tyrol
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) ?s WHERE { { ?s property:legislative_body ?i . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:parliament } UNION { ?s property:legislative_body ?i . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:municipal_council } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?a ) WHERE { resource:Trentino-South_Tyrol property:legislative_body ?t . { ?t rdf:type ?j . VALUES ( ?j ) { ( ontology:parliament ) ( ontology:municipal_council ) } } } } . FILTER ( ?f = ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q34020
P194
Q35749 Q701632 Q15617994
USER
And what about Niue?
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q34020
relation P194
type Q35749
type Q701632
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:P194 ?n . ?n rdf:type ontology:Q35749 . ?o rdf:type ontology:Q15617994 } UNION { ?o property:P194 ?n . ?n rdf:type ontology:Q701632 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } . resource:Q34020 property:P194 ?y } } }
Niue
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Niue
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:legislative_body ?n . ?n rdf:type ontology:parliament . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:legislative_body ?n . ?n rdf:type ontology:municipal_council . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:municipal_council ) ( ontology:parliament ) } } . resource:Niue property:legislative_body ?y } } }
[]
parliament municipal council designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q252320 Q187035 Q1460 Q3361 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q4628 Q779011 Q794 Q889 Q884 Q958 Q12574 Q153529 Q1965 Q12761 Q242 Q244 Q33 Q32 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q6465 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q694594 Q79 Q77 Q1222 Q774 Q948 Q811 Q1016 Q27 Q1011 Q1243 Q1013 Q12620 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q701632))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q701632
action count
action filter_multi_types
action find
entity Q34020
relation P194
type Q35749
type Q701632
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:P194 ?n . ?n rdf:type ontology:Q35749 . ?o rdf:type ontology:Q15617994 } UNION { ?o property:P194 ?n . ?n rdf:type ontology:Q701632 . ?o rdf:type ontology:Q15617994 } } GROUP BY ?o } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:Q701632 ) ( ontology:Q35749 ) } } . resource:Q34020 property:P194 ?y } } }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Pleinfeld Principality of Albania Sicily Doubs Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Iran Afghanistan South Korea South Sudan Loiret Duchy of Milan New Brunswick Seine-Saint-Denis Belize Barbados Finland Luxembourg Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia department of France Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Egypt Uruguay Aosta Valley Guatemala Tunisia Nicaragua Libya Ireland Cape Verde Veneto Lesotho Mayenne Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
action count
action filter_multi_types
action find
entity Niue
relation legislative body
type parliament
type municipal council
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) ?o WHERE { { ?o property:legislative_body ?n . ?n rdf:type ontology:parliament . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?o property:legislative_body ?n . ?n rdf:type ontology:municipal_council . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?o } . FILTER ( ?j = ?t ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?t ) WHERE { { ?y rdf:type ?p . VALUES ( ?p ) { ( ontology:municipal_council ) ( ontology:parliament ) } } . resource:Niue property:legislative_body ?y } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic relations with around 29 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { FILTER ( ?t = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?t ) WHERE { ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?v property:P530 ?n } GROUP BY ?v } }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { FILTER ( ?t = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?t ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?n } GROUP BY ?v } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
4
Q801 Q159 Q184 Q953
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 29
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { FILTER ( ?t = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?t ) WHERE { ?v rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q15617994 . ?v property:P530 ?n } GROUP BY ?v } }
Israel Russia Belarus Zambia
4
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 29
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { FILTER ( ?t = 29 ) . { SELECT DISTINCT ?v ( COUNT ( ?n ) AS ?t ) WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v property:diplomatic_relation ?n } GROUP BY ?v } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2936
P36
Q7275
USER
Which states are Oldenburg the capital of ?
(c(Q7275),P36,Q2936)
action filter_type
action find_reverse
entity Q2936
relation P36
type Q7275
[{'concept': 'Q7275'}, 'P36', 'Q2936']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q2936 . ?i rdf:type ontology:Q7275 }
Oldenburg
action filter_type
action find_reverse
entity Oldenburg
relation capital
type state
[{'concept': 'state'}, 'capital', 'Oldenburg']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Oldenburg . ?i rdf:type ontology:state }
[]
state
Q19831559 Q2372248 Q697084
SYSTEM
Oldenburg, Free State of Oldenburg, Duchy of Oldenburg
Q19831559 Q2372248 Q697084
(c(Q7275),P36,Q2936)
action filter_type
action find_reverse
entity Q2936
relation P36
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P36', 'Q2936']
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q2936 . ?i rdf:type ontology:Q7275 }
Oldenburg Free State of Oldenburg Duchy of Oldenburg
Which states are Oldenburg the capital of
Oldenburg Free State of Oldenburg Duchy of Oldenburg
action filter_type
action find_reverse
entity Oldenburg
relation capital
type state
[{'concept': 'state'}, 'capital', 'Oldenburg']
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Oldenburg . ?i rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2936
P504
Q2235308
USER
Which ship type has Oldenburg as its home harbour ?
(c(Q2235308),P504,Q2936)
action filter_type
action find_reverse
entity Q2936
relation P504
type Q2235308
[{'concept': 'Q2235308'}, 'P504', 'Q2936']
SELECT DISTINCT ?k WHERE { ?k property:P504 resource:Q2936 . ?k rdf:type ontology:Q2235308 }
Oldenburg
action filter_type
action find_reverse
entity Oldenburg
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Oldenburg']
SELECT DISTINCT ?k WHERE { ?k property:home_port resource:Oldenburg . ?k rdf:type ontology:ship_type }
[]
ship type
Q315820
SYSTEM
Schulschiff Deutschland
Q315820
(c(Q2235308),P504,Q2936)
action filter_type
action find_reverse
entity Q2936
relation P504
type Q2235308
[ANSWER] has Oldenburg as its home harbour
[{'concept': 'Q2235308'}, 'P504', 'Q2936']
SELECT DISTINCT ?k WHERE { ?k property:P504 resource:Q2936 . ?k rdf:type ontology:Q2235308 }
Schulschiff Deutschland
Schulschiff Deutschland has Oldenburg as its home harbour
Schulschiff Deutschland
action filter_type
action find_reverse
entity Oldenburg
relation home port
type ship type
[{'concept': 'ship type'}, 'home port', 'Oldenburg']
SELECT DISTINCT ?k WHERE { ?k property:home_port resource:Oldenburg . ?k rdf:type ontology:ship_type }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2372248
P1376
Q515
USER
What is the capital of Free State of Oldenburg ?
(c(Q515),P1376,Q2372248)
action filter_type
action find_reverse
entity Q2372248
relation P1376
type Q515
[{'concept': 'Q515'}, 'P1376', 'Q2372248']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q2372248 . ?d rdf:type ontology:Q515 }
Free State of Oldenburg
action filter_type
action find_reverse
entity Free State of Oldenburg
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Free State of Oldenburg']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:Free_State_of_Oldenburg . ?d rdf:type ontology:city }
[]
city
Q2936
SYSTEM
Oldenburg
Q2936
(c(Q515),P1376,Q2372248)
action filter_type
action find_reverse
entity Q2372248
relation P1376
type Q515
The capital of Free State of [ANSWER] is in [ANSWER]
[{'concept': 'Q515'}, 'P1376', 'Q2372248']
SELECT DISTINCT ?d WHERE { ?d property:P1376 resource:Q2372248 . ?d rdf:type ontology:Q515 }
Oldenburg
The capital of Free State of Oldenburg is in Oldenburg
Oldenburg
action filter_type
action find_reverse
entity Free State of Oldenburg
relation capital of
type city
[{'concept': 'city'}, 'capital of', 'Free State of Oldenburg']
SELECT DISTINCT ?d WHERE { ?d property:capital_of resource:Free_State_of_Oldenburg . ?d rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2372248
P937
Q56061
USER
What is the work location of Free State of Oldenburg ?
(Q2372248,P937,c(Q56061))
action filter_type
action find
entity Q2372248
relation P937
type Q56061
['Q2372248', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2372248 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Free State of Oldenburg
action filter_type
action find
entity Free State of Oldenburg
relation work location
type administrative territorial entity
['Free State of Oldenburg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Free_State_of_Oldenburg property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q2372248,P937,c(Q56061))
action filter_type
action find
entity Q2372248
relation P937
type Q56061
The work location of Free State of Oldenburg is in [ANSWER]
['Q2372248', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q2372248 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Bonn
The work location of Free State of Oldenburg is in Bonn
Bonn
action filter_type
action find
entity Free State of Oldenburg
relation work location
type administrative territorial entity
['Free State of Oldenburg', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Free_State_of_Oldenburg property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5719665
Q56061
USER
And what about Henry Cole?
(Q5719665,P937,c(Q56061))
action filter_type
action find
entity Q5719665
relation P937
type Q56061
['Q5719665', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5719665 property:P937 ?h . ?h rdf:type ontology:Q56061 }
Henry Cole
action filter_type
action find
entity Henry Cole
relation work location
type administrative territorial entity
['Henry Cole', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Henry_Cole property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q5719665,P937,c(Q56061))
action filter_type
action find
entity Q5719665
relation P937
type Q56061
[ANSWER]
['Q5719665', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q5719665 property:P937 ?h . ?h rdf:type ontology:Q56061 }
London
London
action filter_type
action find
entity Henry Cole
relation work location
type administrative territorial entity
['Henry Cole', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Henry_Cole property:work_location ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q84 Q12836061
P20
Q502895
USER
Did Arzu Okay expire at that administrative territory ?
(Q12836061,P20,Q84)
action is_in
entity Q12836061
action find
entity Q84
relation P20
['Q12836061', 'P20', 'Q84']
ASK WHERE { resource:Q84 property:P20 resource:Q12836061 }
London Arzu Okay
action is_in
entity Arzu Okay
action find
entity London
relation place of death
['Arzu Okay', 'place of death', 'London']
ASK WHERE { resource:London property:place_of_death resource:Arzu_Okay }
[]
common name
SYSTEM
NO
(Q12836061,P20,Q84)
action is_in
entity Q12836061
action find
entity Q84
relation P20
[ANSWER]
['Q12836061', 'P20', 'Q84']
ASK WHERE { resource:Q84 property:P20 resource:Q12836061 }
No
action is_in
entity Arzu Okay
action find
entity London
relation place of death
['Arzu Okay', 'place of death', 'London']
ASK WHERE { resource:London property:place_of_death resource:Arzu_Okay }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q72425 Q72125
P47
Q56061
USER
Is Giugliano in Campania bordered by Pozzuoli ?
(Q72425,P47,Q72125)
action is_in
entity Q72125
action find
entity Q72425
relation P47
['Q72425', 'P47', 'Q72125']
ASK WHERE { resource:Q72425 property:P47 resource:Q72125 }
Pozzuoli Giugliano in Campania
action is_in
entity Giugliano in Campania
action find
entity Pozzuoli
relation shares border with
['Pozzuoli', 'shares border with', 'Giugliano in Campania']
ASK WHERE { resource:Pozzuoli property:shares_border_with resource:Giugliano_in_Campania }
[]
administrative territorial entity
SYSTEM
YES
(Q72425,P47,Q72125)
action is_in
entity Q72125
action find
entity Q72425
relation P47
[ANSWER]
['Q72425', 'P47', 'Q72125']
ASK WHERE { resource:Q72425 property:P47 resource:Q72125 }
Yes
action is_in
entity Giugliano in Campania
action find
entity Pozzuoli
relation shares border with
['Pozzuoli', 'shares border with', 'Giugliano in Campania']
ASK WHERE { resource:Pozzuoli property:shares_border_with resource:Giugliano_in_Campania }
[]