Simple Question (Direct)
Simple Question
Q366260
P135
Q2712963
USER
Which abstract noun was George William Foote linked with ?
(Q366260,P135,c(Q2712963))
action filter_type
action find
entity Q366260
relation P135
type Q2712963
['Q366260', 'P135', {'concept': 'Q2712963'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2712963 . resource:Q366260 property:P135 ?z }
George William Foote
action filter_type
action find
entity George William Foote
relation movement
type abstract noun
['George William Foote', 'movement', {'concept': 'abstract noun'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:abstract_noun . resource:George_William_Foote property:movement ?z }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q366260,P135,c(Q2712963))
action filter_type
action find
entity Q366260
relation P135
type Q2712963
George William Foote was linked to [ANSWER]
['Q366260', 'P135', {'concept': 'Q2712963'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2712963 . resource:Q366260 property:P135 ?z }
atheism
George William Foote was linked to atheism
atheism
action filter_type
action find
entity George William Foote
relation movement
type abstract noun
['George William Foote', 'movement', {'concept': 'abstract noun'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:abstract_noun . resource:George_William_Foote property:movement ?z }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366260
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q7066,P27,c(Q15617994))
action filter_type
action find
entity Q366260
relation P27
type Q15617994
['Q7066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q366260 property:P27 ?z }
George William Foote
action filter_type
action find
entity George William Foote
relation country of citizenship
type designation for an administrative territorial entity
['atheism', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:George_William_Foote property:country_of_citizenship ?z }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q7066,P27,c(Q15617994))
action filter_type
action find
entity Q366260
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q7066', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q366260 property:P27 ?z }
United States of America
The United States of America is that person a civilian of
United States of America
action filter_type
action find
entity George William Foote
relation country of citizenship
type designation for an administrative territorial entity
['atheism', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:George_William_Foote property:country_of_citizenship ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q366260
P140
Q2712963
USER
What is the religious affiliation of George William Foote ?
(Q366260,P140,c(Q2712963))
action filter_type
action find
entity Q366260
relation P140
type Q2712963
['Q366260', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?x WHERE { resource:Q366260 property:P140 ?x . ?x rdf:type ontology:Q2712963 }
George William Foote
action filter_type
action find
entity George William Foote
relation religion
type abstract noun
['George William Foote', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?x WHERE { resource:George_William_Foote property:religion ?x . ?x rdf:type ontology:abstract_noun }
[]
abstract noun
Q7066
SYSTEM
atheism
Q7066
(Q366260,P140,c(Q2712963))
action filter_type
action find
entity Q366260
relation P140
type Q2712963
The religious affiliation of George William Foote is an [ANSWER]
['Q366260', 'P140', {'concept': 'Q2712963'}]
SELECT DISTINCT ?x WHERE { resource:Q366260 property:P140 ?x . ?x rdf:type ontology:Q2712963 }
atheism
The religious affiliation of George William Foote is an atheism
atheism
action filter_type
action find
entity George William Foote
relation religion
type abstract noun
['George William Foote', 'religion', {'concept': 'abstract noun'}]
SELECT DISTINCT ?x WHERE { resource:George_William_Foote property:religion ?x . ?x rdf:type ontology:abstract_noun }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q366260
P19
Q56061
USER
Where was that person born ?
(Q7066,P19,c(Q56061))
action filter_type
action find
entity Q366260
relation P19
type Q56061
['Q7066', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q366260 property:P19 ?t . ?t rdf:type ontology:Q56061 }
George William Foote
action filter_type
action find
entity George William Foote
relation place of birth
type administrative territorial entity
['atheism', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:George_William_Foote property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43382
SYSTEM
Plymouth
Q43382
(Q7066,P19,c(Q56061))
action filter_type
action find
entity Q366260
relation P19
type Q56061
That person was born in [ANSWER]
['Q7066', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q366260 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Plymouth
That person was born in Plymouth
Plymouth
action filter_type
action find
entity George William Foote
relation place of birth
type administrative territorial entity
['atheism', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:George_William_Foote property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43382 Q4757290
P20
Q502895
USER
Does Andrew Henry have that administrative territory as the location of death ?
(Q4757290,P20,Q43382)
action is_in
entity Q43382
action find
entity Q4757290
relation P20
['Q4757290', 'P20', 'Q43382']
ASK WHERE { resource:Q4757290 property:P20 resource:Q43382 }
Plymouth Andrew Henry
action is_in
entity Plymouth
action find
entity Andrew Henry
relation place of death
['Andrew Henry', 'place of death', 'Plymouth']
ASK WHERE { resource:Andrew_Henry property:place_of_death resource:Plymouth }
[]
common name
SYSTEM
YES
(Q4757290,P20,Q43382)
action is_in
entity Q43382
action find
entity Q4757290
relation P20
[ANSWER]
['Q4757290', 'P20', 'Q43382']
ASK WHERE { resource:Q4757290 property:P20 resource:Q43382 }
Yes
action is_in
entity Plymouth
action find
entity Andrew Henry
relation place of death
['Andrew Henry', 'place of death', 'Plymouth']
ASK WHERE { resource:Andrew_Henry property:place_of_death resource:Plymouth }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q43382
P1427
Q61509
USER
Which travel has start point at that administrative territory ?
action filter_type
action find_reverse
entity Q43382
relation P1427
type Q61509
SELECT DISTINCT ?l WHERE { ?l property:P1427 resource:Q43382 . ?l rdf:type ontology:Q61509 }
Plymouth
action filter_type
action find_reverse
entity Plymouth
relation start point
type travel
SELECT DISTINCT ?l WHERE { ?l property:start_point resource:Plymouth . ?l rdf:type ontology:travel }
[]
travel
Q1162294
SYSTEM
Imperial Trans-Antarctic Expedition
Q1162294
action filter_type
action find_reverse
entity Q43382
relation P1427
type Q61509
[ANSWER] has start point at that administrative territory
SELECT DISTINCT ?l WHERE { ?l property:P1427 resource:Q43382 . ?l rdf:type ontology:Q61509 }
Imperial Trans-Antarctic Expedition
Imperial Trans-Antarctic Expedition has start point at that administrative territory
Imperial Trans-Antarctic Expedition
action filter_type
action find_reverse
entity Plymouth
relation start point
type travel
SELECT DISTINCT ?l WHERE { ?l property:start_point resource:Plymouth . ?l rdf:type ontology:travel }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1162294 Q51 Q4642333
P30
Q2221906
USER
Is Imperial Trans-Antarctic Expedition included in Antarctica and 688 Club ?
(Q1162294,P30,Q51) (Q1162294,P30,Q4642333)
action is_in
entity Q1162294
action intersection
action find_reverse
entity Q51
relation P30
action find_reverse
entity Q4642333
relation P30
['Q1162294', 'P30', 'Q51'] ['Q1162294', 'P30', 'Q4642333']
ASK WHERE { resource:Q1162294 property:P30 resource:Q51 . resource:Q1162294 property:P30 resource:Q4642333 }
Imperial Trans-Antarctic Expedition Antarctica 688 Club
action is_in
entity Imperial Trans-Antarctic Expedition
action intersection
action find_reverse
entity Antarctica
relation continent
action find_reverse
entity 688 Club
relation continent
['Imperial Trans-Antarctic Expedition', 'continent', 'Antarctica'] ['Imperial Trans-Antarctic Expedition', 'continent', '688 Club']
ASK WHERE { resource:Imperial_Trans-Antarctic_Expedition property:continent resource:Antarctica . resource:Imperial_Trans-Antarctic_Expedition property:continent resource:688_Club }
[]
geographic location
SYSTEM
YES and NO respectively
(Q1162294,P30,Q51) (Q1162294,P30,Q4642333)
action is_in
entity Q1162294
action intersection
action find_reverse
entity Q51
relation P30
action find_reverse
entity Q4642333
relation P30
[ANSWER]
['Q1162294', 'P30', 'Q51'] ['Q1162294', 'P30', 'Q4642333']
ASK WHERE { resource:Q1162294 property:P30 resource:Q51 . resource:Q1162294 property:P30 resource:Q4642333 }
YES and NO respectively
action is_in
entity Imperial Trans-Antarctic Expedition
action intersection
action find_reverse
entity Antarctica
relation continent
action find_reverse
entity 688 Club
relation continent
['Imperial Trans-Antarctic Expedition', 'continent', 'Antarctica'] ['Imperial Trans-Antarctic Expedition', 'continent', '688 Club']
ASK WHERE { resource:Imperial_Trans-Antarctic_Expedition property:continent resource:Antarctica . resource:Imperial_Trans-Antarctic_Expedition property:continent resource:688_Club }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q510785
P1454
Q2712963 Q4830453 Q43229
USER
How many abstract nouns are the legal form types of lesser number of business enterprises or organizations than association without lucrative purpose ?
(c(Q4830453)|c(Q43229),P1454,c(Q2712963))
action count
action less
action union
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q4830453
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q510785
relation P1454
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?u ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?a rdf:type ?u } GROUP BY ?v } . FILTER ( ?r < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1454 resource:Q510785 . { VALUES ( ?w ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?k rdf:type ?w } } } }
association without lucrative purpose
action count
action less
action union
action find_reverse_tuple_counts
relation legal form
type abstract noun
type business enterprise
action find_reverse_tuple_counts
relation legal form
type abstract noun
type organization
action count
action filter_multi_types
action find_reverse
entity association without lucrative purpose
relation legal form
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?u ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?a rdf:type ?u } GROUP BY ?v } . FILTER ( ?r < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:legal_form resource:association_without_lucrative_purpose . { VALUES ( ?w ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?k rdf:type ?w } } } }
[]
abstract noun business enterprise organization
SYSTEM
22
Q18226900 Q11873437 Q11571013 Q6785141 Q21268738 Q15829892 Q7257282 Q19688219 Q1555574 Q11900271 Q20746571 Q12782082 Q2867431 Q11248153 Q3244038 Q10861788 Q3591583 Q19753703 Q1389604 Q15343039 Q19605764 Q3055265
(c(Q4830453)|c(Q43229),P1454,c(Q2712963))
action count
action less
action union
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q4830453
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q510785
relation P1454
type Q4830453
type Q43229
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?u ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?a rdf:type ?u } GROUP BY ?v } . FILTER ( ?r < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:P1454 resource:Q510785 . { VALUES ( ?w ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } . ?k rdf:type ?w } } } }
Joint stock company kunnallinen liikelaitos tokushu hōjin master limited partnership governmental administrative unit in Denmark Gesellschaft mit beschränkter Haftung public-benefit corporation shared interest cooperative enterprise Besloten vennootschap met beperkte aansprakelijkheid valtion liikelaitos public company limited by shares state corporation (Russia) unincorporated association corporate juridical person Établissement public à caractère administratif association of legal entities établissement public à caractère industriel et commercial National Research and Development Agency unitary enterprise établissement public stichting single member limited liability company
22
action count
action less
action union
action find_reverse_tuple_counts
relation legal form
type abstract noun
type business enterprise
action find_reverse_tuple_counts
relation legal form
type abstract noun
type organization
action count
action filter_multi_types
action find_reverse
entity association without lucrative purpose
relation legal form
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?r ) ?v WHERE { VALUES ( ?u ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?a rdf:type ?u } GROUP BY ?v } . FILTER ( ?r < ?x ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?x ) WHERE { ?k property:legal_form resource:association_without_lucrative_purpose . { VALUES ( ?w ) { ( ontology:business_enterprise ) ( ontology:organization ) } . ?k rdf:type ?w } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1389604
P1454
Q2712963 Q4830453 Q43229
USER
And what about unitary enterprise?
(c(Q4830453)|c(Q43229),P1454,c(Q2712963))
action count
action less
action union
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q4830453
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1389604
relation P1454
type Q4830453
type Q43229
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?k WHERE { { ?k rdf:type ontology:Q2712963 . ?t rdf:type ontology:Q43229 . ?t property:P1454 ?k } UNION { ?t property:P1454 ?k . ?k rdf:type ontology:Q2712963 . ?t rdf:type ontology:Q4830453 } } GROUP BY ?k } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P1454 resource:Q1389604 . { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q43229 } } } } }
unitary enterprise
action count
action less
action union
action find_reverse_tuple_counts
relation legal form
type abstract noun
type business enterprise
action find_reverse_tuple_counts
relation legal form
type abstract noun
type organization
action count
action filter_multi_types
action find_reverse
entity unitary enterprise
relation legal form
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?k WHERE { { ?k rdf:type ontology:abstract_noun . ?t rdf:type ontology:organization . ?t property:legal_form ?k } UNION { ?t property:legal_form ?k . ?k rdf:type ontology:abstract_noun . ?t rdf:type ontology:business_enterprise } } GROUP BY ?k } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:legal_form resource:unitary_enterprise . { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:organization } } } } }
[]
abstract noun business enterprise organization
SYSTEM
20
Q18226900 Q11873437 Q11571013 Q6785141 Q21268738 Q15829892 Q7257282 Q19688219 Q1555574 Q11900271 Q20746571 Q12782082 Q2867431 Q11248153 Q3244038 Q10861788 Q19753703 Q15343039 Q19605764 Q3055265
(c(Q4830453)|c(Q43229),P1454,c(Q2712963))
action count
action less
action union
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q4830453
action find_reverse_tuple_counts
relation P1454
type Q2712963
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1389604
relation P1454
type Q4830453
type Q43229
[ANSWER]
[[{'concept': 'Q4830453'}, {'concept': 'Q43229'}], 'P1454', {'concept': 'Q2712963'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?k WHERE { { ?k rdf:type ontology:Q2712963 . ?t rdf:type ontology:Q43229 . ?t property:P1454 ?k } UNION { ?t property:P1454 ?k . ?k rdf:type ontology:Q2712963 . ?t rdf:type ontology:Q4830453 } } GROUP BY ?k } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P1454 resource:Q1389604 . { { ?q rdf:type ontology:Q4830453 } UNION { ?q rdf:type ontology:Q43229 } } } } }
Joint stock company kunnallinen liikelaitos tokushu hōjin master limited partnership governmental administrative unit in Denmark Gesellschaft mit beschränkter Haftung public-benefit corporation shared interest cooperative enterprise Besloten vennootschap met beperkte aansprakelijkheid valtion liikelaitos public company limited by shares state corporation (Russia) unincorporated association corporate juridical person Établissement public à caractère administratif association of legal entities National Research and Development Agency établissement public stichting single member limited liability company
20
action count
action less
action union
action find_reverse_tuple_counts
relation legal form
type abstract noun
type business enterprise
action find_reverse_tuple_counts
relation legal form
type abstract noun
type organization
action count
action filter_multi_types
action find_reverse
entity unitary enterprise
relation legal form
type business enterprise
type organization
[[{'concept': 'business enterprise'}, {'concept': 'organization'}], 'legal form', {'concept': 'abstract noun'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?k WHERE { { ?k rdf:type ontology:abstract_noun . ?t rdf:type ontology:organization . ?t property:legal_form ?k } UNION { ?t property:legal_form ?k . ?k rdf:type ontology:abstract_noun . ?t rdf:type ontology:business_enterprise } } GROUP BY ?k } . FILTER ( ?d < ?h ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:legal_form resource:unitary_enterprise . { { ?q rdf:type ontology:business_enterprise } UNION { ?q rdf:type ontology:organization } } } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q22070 Q510785
P47 P1001
Q15617994
USER
Which administrative territories are judicially linked to association without lucrative purpose or share border with Bellinzago Novarese ?
OR((Q510785,P1001,c(Q15617994)), (Q22070,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q510785
relation P1001
action find
entity Q22070
relation P47
type Q15617994
{'OR': [['Q510785', 'P1001', {'concept': 'Q15617994'}], ['Q22070', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q510785 property:P1001 ?m } UNION { resource:Q22070 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Bellinzago Novarese association without lucrative purpose
action filter_type
action union
action find
entity association without lucrative purpose
relation applies to jurisdiction
action find
entity Bellinzago Novarese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['association without lucrative purpose', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Bellinzago Novarese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:association_without_lucrative_purpose property:applies_to_jurisdiction ?m } UNION { resource:Bellinzago_Novarese property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q22129 Q42432 Q22125 Q31 Q22508 Q39432 Q22529
SYSTEM
Cameri, Nosate, Caltignaga, Belgium, Momo, Lonate Pozzolo, Oleggio
Q22129 Q42432 Q22125 Q31 Q22508 Q39432 Q22529
OR((Q510785,P1001,c(Q15617994)), (Q22070,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q510785
relation P1001
action find
entity Q22070
relation P47
type Q15617994
[ANSWERS] are judicially linked to association without lucrative purpose or share border with Bellinzago Novarese
{'OR': [['Q510785', 'P1001', {'concept': 'Q15617994'}], ['Q22070', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q510785 property:P1001 ?m } UNION { resource:Q22070 property:P47 ?m } } . ?m rdf:type ontology:Q15617994 }
Cameri Nosate Caltignaga Belgium Momo Lonate Pozzolo Oleggio
Cameri, Nosate, Caltignaga, Belgium, Momo, Lonate Pozzolo and Oleggio are judicially linked to association without lucrative purpose or share border with Bellinzago Novarese
Cameri Nosate Caltignaga Belgium Momo Lonate Pozzolo Oleggio
action filter_type
action union
action find
entity association without lucrative purpose
relation applies to jurisdiction
action find
entity Bellinzago Novarese
relation shares border with
type designation for an administrative territorial entity
{'OR': [['association without lucrative purpose', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}], ['Bellinzago Novarese', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:association_without_lucrative_purpose property:applies_to_jurisdiction ?m } UNION { resource:Bellinzago_Novarese property:shares_border_with ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q42432
P17
Q15617994
USER
Which administrative territory does that one belong to ?
(Q42432,P17,c(Q15617994))
action filter_type
action find
entity Q42432
relation P17
type Q15617994
['Q42432', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q42432 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Nosate
action filter_type
action find
entity Nosate
relation country
type designation for an administrative territorial entity
['Nosate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Nosate property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q22529
SYSTEM
Did you mean Oleggio ?
Q22129 Q42432 Q22125 Q31 Q22508 Q39432 Q22529
(Q22129,P17,c(Q15617994)) (Q42432,P17,c(Q15617994)) (Q22125,P17,c(Q15617994)) (Q31,P17,c(Q15617994)) (Q22508,P17,c(Q15617994)) (Q39432,P17,c(Q15617994)) (Q22529,P17,c(Q15617994))
[ANSWER]
['Q22129', 'P17', {'concept': 'Q15617994'}] ['Q42432', 'P17', {'concept': 'Q15617994'}] ['Q22125', 'P17', {'concept': 'Q15617994'}] ['Q31', 'P17', {'concept': 'Q15617994'}] ['Q22508', 'P17', {'concept': 'Q15617994'}] ['Q39432', 'P17', {'concept': 'Q15617994'}] ['Q22529', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q42432 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Cameri Nosate Caltignaga Belgium Momo Lonate Pozzolo Oleggio
Did you mean Oleggio ?
Oleggio
['Cameri', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Nosate', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Caltignaga', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Belgium', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Momo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Lonate Pozzolo', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oleggio', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Nosate property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Nosate. Could you tell me the answer for that?
(Q42432,P17,c(Q15617994))
Q42432
['Q42432', 'P17', {'concept': 'Q15617994'}]
['Nosate', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q42432,P17,c(Q15617994))
action filter_type
action find
entity Q42432
relation P17
type Q15617994
That one belongs to the [ANSWER]
['Q42432', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q42432 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Italy
That one belongs to the Italy
Italy
action filter_type
action find
entity Nosate
relation country
type designation for an administrative territorial entity
['Nosate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Nosate property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]