Simple Question (Direct)
Simple Question
Q16989037
P364
Q11028
USER
Which information was used originally for the creation of Kif Tebbi ?
(Q16989037,P364,c(Q11028))
action filter_type
action find
entity Q16989037
relation P364
type Q11028
['Q16989037', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?w WHERE { resource:Q16989037 property:P364 ?w . ?w rdf:type ontology:Q11028 }
Kif Tebbi
action filter_type
action find
entity Kif Tebbi
relation original language of work
type information
['Kif Tebbi', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?w WHERE { resource:Kif_Tebbi property:original_language_of_work ?w . ?w rdf:type ontology:information }
[]
information
Q21686005
SYSTEM
n/a (silent film)
Q21686005
(Q16989037,P364,c(Q11028))
action filter_type
action find
entity Q16989037
relation P364
type Q11028
[ANSWER] was used originally for the creation of Kif Tebbi
['Q16989037', 'P364', {'concept': 'Q11028'}]
SELECT DISTINCT ?w WHERE { resource:Q16989037 property:P364 ?w . ?w rdf:type ontology:Q11028 }
n/a (silent film)
N/a (silent film) was used originally for the creation of Kif Tebbi
n/a (silent film)
action filter_type
action find
entity Kif Tebbi
relation original language of work
type information
['Kif Tebbi', 'original language of work', {'concept': 'information'}]
SELECT DISTINCT ?w WHERE { resource:Kif_Tebbi property:original_language_of_work ?w . ?w rdf:type ontology:information }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16989037
P57
Q502895
USER
Which person served as the directed of Kif Tebbi ?
(Q16989037,P57,c(Q502895))
action filter_type
action find
entity Q16989037
relation P57
type Q502895
['Q16989037', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q16989037 property:P57 ?w }
Kif Tebbi
action filter_type
action find
entity Kif Tebbi
relation director
type common name
['Kif Tebbi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Kif_Tebbi property:director ?w }
[]
common name
Q53013
SYSTEM
Mario Camerini
Q53013
(Q16989037,P57,c(Q502895))
action filter_type
action find
entity Q16989037
relation P57
type Q502895
[ANSWER] served as the directed of Kif Tebbi
['Q16989037', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q502895 . resource:Q16989037 property:P57 ?w }
Mario Camerini
Mario Camerini served as the directed of Kif Tebbi
Mario Camerini
action filter_type
action find
entity Kif Tebbi
relation director
type common name
['Kif Tebbi', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:common_name . resource:Kif_Tebbi property:director ?w }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1230318
P361
Q838948 Q6619679 Q482994
USER
How many works of art are more number of fictional humanoids or albums a component of than Carefree ?
(c(Q6619679)|c(Q482994),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q1230318
relation P361
type Q6619679
type Q482994
[[{'concept': 'Q6619679'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P361 ?y . ?y rdf:type ontology:Q838948 . ?n rdf:type ontology:Q482994 } UNION { ?n property:P361 ?y . ?y rdf:type ontology:Q838948 . ?n rdf:type ontology:Q6619679 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P361 resource:Q1230318 . { { ?q rdf:type ontology:Q482994 } UNION { ?q rdf:type ontology:Q6619679 } } } } . FILTER ( ?c > ?g ) }
Carefree
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type album
action count
action filter_multi_types
action find_reverse
entity Carefree
relation part of
type fictional humanoid
type album
[[{'concept': 'fictional humanoid'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:part_of ?y . ?y rdf:type ontology:work_of_art . ?n rdf:type ontology:album } UNION { ?n property:part_of ?y . ?y rdf:type ontology:work_of_art . ?n rdf:type ontology:fictional_humanoid } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:part_of resource:Carefree . { { ?q rdf:type ontology:album } UNION { ?q rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?c > ?g ) }
[]
work of art fictional humanoid album
SYSTEM
15
Q4143086 Q15624215 Q1209853 Q284184 Q161687 Q1534737 Q205028 Q332368 Q478748 Q103569 Q971109 Q7572454 Q463313 Q232009 Q152185
(c(Q6619679)|c(Q482994),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q1230318
relation P361
type Q6619679
type Q482994
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P361 ?y . ?y rdf:type ontology:Q838948 . ?n rdf:type ontology:Q482994 } UNION { ?n property:P361 ?y . ?y rdf:type ontology:Q838948 . ?n rdf:type ontology:Q6619679 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:P361 resource:Q1230318 . { { ?q rdf:type ontology:Q482994 } UNION { ?q rdf:type ontology:Q6619679 } } } } . FILTER ( ?c > ?g ) }
Ride Lucy Dick Tracy Ra.One Harry Potter and the Half-Blood Prince Life Iron Man 2 A View to a Kill The Holiday Alien Inferno Space Pirate Captain Harlock Romeo + Juliet Harry Potter and the Deathly Hallows – Part 2 The Legend of Lucy Keyes
15
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type album
action count
action filter_multi_types
action find_reverse
entity Carefree
relation part of
type fictional humanoid
type album
[[{'concept': 'fictional humanoid'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:part_of ?y . ?y rdf:type ontology:work_of_art . ?n rdf:type ontology:album } UNION { ?n property:part_of ?y . ?y rdf:type ontology:work_of_art . ?n rdf:type ontology:fictional_humanoid } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?g ) WHERE { ?q property:part_of resource:Carefree . { { ?q rdf:type ontology:album } UNION { ?q rdf:type ontology:fictional_humanoid } } } } . FILTER ( ?c > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q19393199
P361
Q838948 Q6619679 Q482994
USER
And how about Life of Humanity?
(c(Q6619679)|c(Q482994),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q19393199
relation P361
type Q6619679
type Q482994
[[{'concept': 'Q6619679'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?c WHERE { VALUES ( ?p ) { ( ontology:Q6619679 ) ( ontology:Q482994 ) } . ?n rdf:type ?p } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P361 resource:Q19393199 . { { ?l rdf:type ontology:Q6619679 } UNION { ?l rdf:type ontology:Q482994 } } } } . FILTER ( ?i > ?h ) }
Life of Humanity
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type album
action count
action filter_multi_types
action find_reverse
entity Life of Humanity
relation part of
type fictional humanoid
type album
[[{'concept': 'fictional humanoid'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?c WHERE { VALUES ( ?p ) { ( ontology:fictional_humanoid ) ( ontology:album ) } . ?n rdf:type ?p } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:part_of resource:Life_of_Humanity . { { ?l rdf:type ontology:fictional_humanoid } UNION { ?l rdf:type ontology:album } } } } . FILTER ( ?i > ?h ) }
[]
work of art fictional humanoid album
SYSTEM
15
Q4143086 Q15624215 Q1209853 Q284184 Q161687 Q1534737 Q205028 Q332368 Q478748 Q103569 Q971109 Q7572454 Q463313 Q232009 Q152185
(c(Q6619679)|c(Q482994),P361,c(Q838948))
action count
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q838948
type Q6619679
action find_reverse_tuple_counts
relation P361
type Q838948
type Q482994
action count
action filter_multi_types
action find_reverse
entity Q19393199
relation P361
type Q6619679
type Q482994
[ANSWER]
[[{'concept': 'Q6619679'}, {'concept': 'Q482994'}], 'P361', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?c WHERE { VALUES ( ?p ) { ( ontology:Q6619679 ) ( ontology:Q482994 ) } . ?n rdf:type ?p } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:P361 resource:Q19393199 . { { ?l rdf:type ontology:Q6619679 } UNION { ?l rdf:type ontology:Q482994 } } } } . FILTER ( ?i > ?h ) }
Ride Lucy Dick Tracy Ra.One Harry Potter and the Half-Blood Prince Life Iron Man 2 A View to a Kill The Holiday Alien Inferno Space Pirate Captain Harlock Romeo + Juliet Harry Potter and the Deathly Hallows – Part 2 The Legend of Lucy Keyes
15
action count
action greater
action union
action find_reverse_tuple_counts
relation part of
type work of art
type fictional humanoid
action find_reverse_tuple_counts
relation part of
type work of art
type album
action count
action filter_multi_types
action find_reverse
entity Life of Humanity
relation part of
type fictional humanoid
type album
[[{'concept': 'fictional humanoid'}, {'concept': 'album'}], 'part of', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?c WHERE { VALUES ( ?p ) { ( ontology:fictional_humanoid ) ( ontology:album ) } . ?n rdf:type ?p } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { ?l property:part_of resource:Life_of_Humanity . { { ?l rdf:type ontology:fictional_humanoid } UNION { ?l rdf:type ontology:album } } } } . FILTER ( ?i > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53013
P162
Q838948
USER
What has been developed by Mario Camerini ?
(c(Q838948),P162,Q53013)
action filter_type
action find_reverse
entity Q53013
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q53013']
SELECT DISTINCT ?s WHERE { ?s property:P162 resource:Q53013 . ?s rdf:type ontology:Q838948 }
Mario Camerini
action filter_type
action find_reverse
entity Mario Camerini
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Mario Camerini']
SELECT DISTINCT ?s WHERE { ?s property:producer resource:Mario_Camerini . ?s rdf:type ontology:work_of_art }
[]
work of art
Q1163570
SYSTEM
Sunday Heroes
Q1163570
(c(Q838948),P162,Q53013)
action filter_type
action find_reverse
entity Q53013
relation P162
type Q838948
Super [ANSWER] has been developed by Mario Camerini
[{'concept': 'Q838948'}, 'P162', 'Q53013']
SELECT DISTINCT ?s WHERE { ?s property:P162 resource:Q53013 . ?s rdf:type ontology:Q838948 }
Sunday Heroes
Super Sunday Heroes has been developed by Mario Camerini
Sunday Heroes
action filter_type
action find_reverse
entity Mario Camerini
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Mario Camerini']
SELECT DISTINCT ?s WHERE { ?s property:producer resource:Mario_Camerini . ?s rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q53013
P26
Q502895
USER
Who is the spouse of that one ?
(c(Q502895),P26,Q1163570)
action filter_type
action find
entity Q53013
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1163570']
SELECT DISTINCT ?k WHERE { resource:Q53013 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Mario Camerini
action filter_type
action find
entity Mario Camerini
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sunday Heroes']
SELECT DISTINCT ?k WHERE { resource:Mario_Camerini property:spouse ?k . ?k rdf:type ontology:common_name }
[]
common name
Q438413
SYSTEM
Assia Noris
Q438413
(c(Q502895),P26,Q1163570)
action filter_type
action find
entity Q53013
relation P26
type Q502895
The spouse of that one is of [ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q1163570']
SELECT DISTINCT ?k WHERE { resource:Q53013 property:P26 ?k . ?k rdf:type ontology:Q502895 }
Assia Noris
The spouse of that one is of Assia Noris
Assia Noris
action filter_type
action find
entity Mario Camerini
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Sunday Heroes']
SELECT DISTINCT ?k WHERE { resource:Mario_Camerini property:spouse ?k . ?k rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q53013
P26 P21
Q502895
USER
Which people are the life partner of Mario Camerini and have the gender as female ?
AND((c(Q502895),P26,Q53013), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q53013
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q53013'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?c WHERE { ?c property:P26 resource:Q53013 . ?c property:P21 resource:Q6581072 . ?c rdf:type ontology:Q502895 }
female Mario Camerini
action filter_type
action intersection
action find_reverse
entity Mario Camerini
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Mario Camerini'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?c WHERE { ?c property:spouse resource:Mario_Camerini . ?c property:gender resource:female . ?c rdf:type ontology:common_name }
[]
common name
Q438413
SYSTEM
Assia Noris
Q438413
AND((c(Q502895),P26,Q53013), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q53013
relation P26
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] is the life partner of Mario Camerini and have the gender as female
{'AND': [[{'concept': 'Q502895'}, 'P26', 'Q53013'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?c WHERE { ?c property:P26 resource:Q53013 . ?c property:P21 resource:Q6581072 . ?c rdf:type ontology:Q502895 }
Assia Noris
Assia Noris is the life partner of Mario Camerini and have the gender as female
Assia Noris
action filter_type
action intersection
action find_reverse
entity Mario Camerini
relation spouse
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'spouse', 'Mario Camerini'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?c WHERE { ?c property:spouse resource:Mario_Camerini . ?c property:gender resource:female . ?c rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53013
P20
Q15617994
USER
Where did the expiration of Mario Camerini occur ?
(Q53013,P20,c(Q15617994))
action filter_type
action find
entity Q53013
relation P20
type Q15617994
['Q53013', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q53013 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Mario Camerini
action filter_type
action find
entity Mario Camerini
relation place of death
type designation for an administrative territorial entity
['Mario Camerini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mario_Camerini property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q104619
SYSTEM
Gardone Riviera
Q104619
(Q53013,P20,c(Q15617994))
action filter_type
action find
entity Q53013
relation P20
type Q15617994
The expiration of Mario Camerini occurred in [ANSWER]
['Q53013', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q53013 property:P20 ?a . ?a rdf:type ontology:Q15617994 }
Gardone Riviera
The expiration of Mario Camerini occurred in Gardone Riviera
Gardone Riviera
action filter_type
action find
entity Mario Camerini
relation place of death
type designation for an administrative territorial entity
['Mario Camerini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Mario_Camerini property:place_of_death ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3724395
Q15617994
USER
And what about Emilio Dulio?
(Q3724395,P20,c(Q15617994))
action filter_type
action find
entity Q3724395
relation P20
type Q15617994
['Q3724395', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3724395 property:P20 ?q . ?q rdf:type ontology:Q15617994 }
Emilio Dulio
action filter_type
action find
entity Emilio Dulio
relation place of death
type designation for an administrative territorial entity
['Emilio Dulio', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Emilio_Dulio property:place_of_death ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q22111
SYSTEM
Borgomanero
Q22111
(Q3724395,P20,c(Q15617994))
action filter_type
action find
entity Q3724395
relation P20
type Q15617994
[ANSWER]
['Q3724395', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3724395 property:P20 ?q . ?q rdf:type ontology:Q15617994 }
Borgomanero
Borgomanero
action filter_type
action find
entity Emilio Dulio
relation place of death
type designation for an administrative territorial entity
['Emilio Dulio', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Emilio_Dulio property:place_of_death ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q124836
P417
Q1445650 Q502895 Q15617994
USER
How many administrative territories have around the same number of holidays or people as their patron saint as San Paolo di Jesi ?
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q124836
relation P417
type Q1445650
type Q502895
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:P417 ?q . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?q . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q124836 property:P417 ?r . { { ?r rdf:type ontology:Q1445650 } UNION { ?r rdf:type ontology:Q502895 } } } } . FILTER ( ?w = ?m ) }
San Paolo di Jesi
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Paolo di Jesi
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:patron_saint ?q . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:holiday } UNION { ?e property:patron_saint ?q . ?q rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:San_Paolo_di_Jesi property:patron_saint ?r . { { ?r rdf:type ontology:holiday } UNION { ?r rdf:type ontology:common_name } } } } . FILTER ( ?w = ?m ) }
[]
holiday common name designation for an administrative territorial entity
SYSTEM
528
Q102547 Q103832 Q46304 Q55000 Q55009 Q22497 Q103572 Q328037 Q20208 Q53164 Q99937 Q391326 Q111749 Q58491 Q46939 Q72069 Q51294 Q224131 Q47238 Q20067 Q17677 Q116604 Q41058 Q53524 Q10212 Q9044 Q52085 Q47342 Q45 Q52244 Q111113 Q101067 Q80554 Q112143 Q42972 Q17674 Q51207 Q13470 Q9148 Q54742 Q295538 Q9000 Q13378 Q34742 Q101526 Q10307 Q112131 Q52019 Q10302 Q94644 Q17313 Q17312 Q9400 Q117368 Q390854 Q243371 Q223504 Q34603 Q17822 Q54587 Q42977 Q34360 Q40379 Q285089 Q42476 Q20247 Q53124 Q34684 Q111800 Q18206 Q48114 Q95095 Q128060 Q111966 Q39701 Q9370 Q242126 Q52200 Q9373 Q490416 Q100654 Q25009 Q157673 Q53235 Q48027 Q18377 Q53339 Q101651 Q176292 Q72728 Q340610 Q22173 Q55852 Q242692 Q123981 Q47368 Q279682 Q221900 Q101151 Q105045 Q43092 Q22571 Q123505 Q116731 Q278237 Q42942 Q40127 Q100829 Q104653 Q17862 Q17861 Q477537 Q9031 Q53694 Q6558 Q10336 Q10337 Q10331 Q53496 Q17321 Q19918 Q53886 Q34324 Q53284 Q25179 Q42306 Q279247 Q267183 Q17816 Q52110 Q34547 Q51417 Q47585 Q17368 Q39403 Q47429 Q24997 Q295602 Q42885 Q18080 Q104963 Q489881 Q40937 Q51349 Q100973 Q34423 Q53177 Q242139 Q18400 Q22655 Q46168 Q51288 Q55104 Q123941 Q9432 Q270058 Q17777 Q123540 Q217391 Q17779 Q111972 Q33 Q265651 Q37 Q94588 Q25056 Q101057 Q9153 Q490851 Q101358 Q17686 Q54746 Q9076 Q23632 Q100365 Q51851 Q42167 Q20122 Q56210 Q9489 Q56063 Q80883 Q58844 Q117211 Q54521 Q81687 Q53992 Q224272 Q81138 Q42269 Q91199 Q50128 Q17659 Q124836 Q17851 Q17854 Q10207 Q17257 Q23217 Q23662 Q219641 Q10208 Q10209 Q53874 Q53877 Q18040 Q53879 Q81755 Q39985 Q42580 Q50157 Q47671 Q123763 Q73218 Q495734 Q42466 Q34406 Q241780 Q53136 Q2107 Q46320 Q51405 Q55956 Q128170 Q23669 Q103465 Q388085 Q102562 Q52213 Q42513 Q55890 Q9508 Q53225 Q42752 Q54708 Q54701 Q59234 Q105142 Q51473 Q279302 Q20166 Q18356 Q80753 Q22543 Q10338 Q72036 Q36198 Q17741 Q477423 Q23226 Q23224 Q72146 Q101187 Q101182 Q47093 Q91096 Q389292 Q80574 Q19209 Q22468 Q47500 Q25216 Q52282 Q53884 Q17290 Q101269 Q10328 Q101699 Q277474 Q252320 Q9352 Q128226 Q51304 Q50059 Q53882 Q34545 Q42259 Q493491 Q160262 Q100199 Q270968 Q9451 Q99962 Q99969 Q81622 Q20284 Q47371 Q40985 Q128134 Q48090 Q42413 Q8983 Q42553 Q100125 Q56081 Q56086 Q94754 Q56088 Q101423 Q18385 Q55053 Q51435 Q168670 Q42379 Q40851 Q278952 Q39884 Q53313 Q17666 Q52227 Q49605 Q9167 Q54736 Q9048 Q268291 Q54739 Q9169 Q53720 Q269134 Q102677 Q42983 Q42986 Q17695 Q20036 Q10284 Q52661 Q10281 Q17409 Q278199 Q52133 Q51861 Q18380 Q17404 Q51867 Q17691 Q117342 Q244185 Q266630 Q267134 Q56207 Q100394 Q100396 Q58690 Q492625 Q53967 Q478357 Q53961 Q9194 Q19279 Q19925 Q17244 Q24883 Q104007 Q53865 Q53864 Q13660 Q42456 Q99956 Q42450 Q25155 Q22039 Q42757 Q20507 Q46334 Q9019 Q478703 Q40951 Q52184 Q128161 Q490431 Q40408 Q101770 Q22079 Q17627 Q43031 Q17628 Q72527 Q9050 Q478906 Q18357 Q34972 Q103891 Q101519 Q20604 Q22155 Q55901 Q224048 Q41046 Q47341 Q46793 Q95066 Q52073 Q52072 Q100916 Q39783 Q182689 Q103155 Q100854 Q102780 Q58433 Q72009 Q391241 Q17757 Q17753 Q101205 Q9017 Q40539 Q116573 Q101194 Q101759 Q82766 Q17883 Q17287 Q34759 Q17283 Q17281 Q51181 Q20105 Q20103 Q390160 Q42812 Q40036 Q40033 Q100135 Q40216 Q42241 Q390865 Q17371 Q54500 Q54503 Q223513 Q52959 Q17833 Q20425 Q59225 Q42397 Q20197 Q23607 Q46935 Q58898 Q432678 Q116404 Q581 Q111906 Q59236 Q19948 Q53852 Q207448 Q9363 Q40690 Q20551 Q40699 Q22626 Q214691 Q55097 Q254139 Q55042 Q101382 Q123965 Q101388 Q128057 Q46693 Q51423 Q269788 Q339993 Q43049 Q120399 Q40967 Q40965 Q390609 Q34598 Q101702 Q17654 Q55284 Q257357 Q47835 Q72221 Q269943 Q55958 Q10361 Q51258 Q34440 Q117621 Q20386 Q111888 Q20028 Q9467 Q71832 Q10364 Q52125 Q266259 Q157720 Q50148 Q101148 Q388325 Q496878 Q17877 Q100141 Q58901 Q243022 Q270299 Q478346 Q6662 Q34702 Q42366 Q42192 Q95090 Q20095 Q10226 Q42298 Q9298 Q271236 Q100044 Q100040 Q17749 Q24918 Q177713 Q47125 Q34568 Q13657 Q42680 Q42723 Q491724 Q20517 Q42219 Q46293 Q40396 Q6244
(c(Q15617994),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q15617994
type Q1445650
action find_tuple_counts
relation P417
type Q15617994
type Q502895
action count
action filter_multi_types
action find
entity Q124836
relation P417
type Q1445650
type Q502895
[ANSWER]
[{'concept': 'Q15617994'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:P417 ?q . ?e rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?q . ?q rdf:type ontology:Q502895 . ?e rdf:type ontology:Q15617994 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:Q124836 property:P417 ?r . { { ?r rdf:type ontology:Q1445650 } UNION { ?r rdf:type ontology:Q502895 } } } } . FILTER ( ?w = ?m ) }
Abetone Castelcovati Foza Ariano Irpino Cairano Meina Borgosatollo Villa Lagarina Monterosso Grana Clauzetto Cesenatico Pozzomaggiore Seniga Carinaro Enego Comiziano Scerni Fara in Sabina Trissino Gaiola Spineto Scrivia Castelliri Galliavola Gagliato Quassolo Barone Canavese Marciano della Chiana Arzignano Portugal Zeri Brescello Foppolo Alfano Urago d'Oglio Cusano Milanino Solonghello Civitella Messer Raimondo Barletta Candiolo Soriano Calabro Orosei Alpignano Arezzo Arquà Polesine Rovetta Sparone Trenzano Manduria Sestriere Casalfiumanese Casal Cermelli Cartosio Ingria Sgurgola Ittireddu San Polo dei Cavalieri Casperia Abano Terme Mombaruzzo Campo Calabro Zelo Buon Persico Cartura Siziano Sestu Cappella de' Picenardi Narzole Cormons Battaglia Terme Cattolica Castelmagno Thiene Codigoro Campodimele Torriana Mello Front Castelnuovo di Porto Squinzano Frossasco Merì Curno Collobiano Bibbona Carlino Legnago Bosia Rigolato Terno d'Isola Lucito Tufino Talana Cavallirio Baselice Gerano Cupramontana Vigonovo Sesto Campano Pozzilli Grassobbio Longhena Meleti Pombia Agugliano Colfelice Spinete Lierna Gerola Alta Langhirano Gussago San Marzano Oliveto San Martino Alfieri Marianopoli Banchette Satriano Belluno Valprato Soana Varisella Valgioie Belcastro Cassine Castiglione Falletto Grimaldi, Calabria Pozzonovo Moggio Udinese Quarona Bertonico Macchiagodena Carasco Isola d'Asti Alessano Bagnolo di Po Alba Adriatica Garda Gavi, Piedmont Borgarello Ramponio Verna Civiasco Mezzolombardo Isola Dovarese Massazza Leno Santa Marina Salina Zeme Cappelle sul Tavo Valmozzola Castelbaldo Montereale Valcellina Cerreto Laziale Alatri Vinzaglio Montegalda San Salvo Santa Lucia di Serino Chiaravalle, Marche Lombriasco Brugnato Castel Rocchero Arcevia Giuncugnano Castellero Verucchio Finland Cavedine Lithuania Borgo Tossignano Fobello Fiorano al Serio Canischio Termini Imerese Palosco Tortona Stefanaconi Brandizzo Massiola Chiuduno Santeramo in Colle Dovera Lisio Regalbuto Montanaro Folignano Conca dei Marini San Gregorio Matese Roccasecca Scandale Serramezzana Santa Sofia d'Epiro Orvinio Nocera Inferiore Cusago Gaiole in Chianti Prata d'Ansidonia Sala Monferrato San Paolo di Jesi Roatto Roccaverano Prarostino Arquata Scrivia San Ferdinando di Puglia Omegna San Romano in Garfagnana Prascorsano Pratiglione Dipignano Fagnano Castello Candelo Figline Vegliaturo Torre Orsaia Brugherio Dairago Sulmona Citta' Mezzane di Sotto Castel Colonna Belforte del Chienti Alcara li Fusi Veroli Urbana Bellegra Romans d'Isonzo Wuppertal Chiampo Tocco da Casauria San Giorgio La Molara San Felice Circeo Pallanzeno Bagolino Sedilo Alseno Trepuzzi Liscate Castelvenere Nomaglio Bertiolo Crotta d'Adda Filandari Cessaniti Magliano di Tenna Manerba del Garda Valle Castellana Montenero Val Cocchiara Margarita Barolo Casalbuono Paruzzaro Vauda Canavese Cicciano Siligo Agliano Terme Campofranco Baceno Aurano Liveri Lallio Isso, Lombardy Anversa degli Abruzzi Abbadia San Salvatore Tramatza Aquara Caprauna Grignasco Dolcè Varallo Sesia Cirigliano Fuscaldo Brignano-Frascata Nembro Usseglio Valbondione Colle d'Anchise Pleinfeld Fenestrelle Terracina Torrebruna Campo di Giove Francavilla Marittima Vò Corte Palasio Castel di Lucio Caprarola Cenate Sopra Noli Marentino Barbata Blello Sant'Egidio del Monte Albino Paesana Tarzo Rocca Pietore Ponza, Lazio Marostica Noviglio Alice Superiore Settala Calcio, Lombardy Montegallo Ripatransone Castel Guelfo di Bologna Roccafluvione Ponte Nossa Briga Alta Mercogliano Castiglione Messer Raimondo Maccastorna Crespiatica Garlasco Castel del Giudice Albuzzano Povoletto Sardigliano Aulla Montecatini Terme Caprie San Gregorio d'Ippona Beinasco Carpasio Serra San Bruno Caravino Settingiano Lucinasco Pieve a Nievole Agnadello Grezzago Villadeati Envie Sangano San Costantino Albanese San Secondo di Pinerolo Morsasco Sant'Angelo Limosano Copertino Ceglie Messapica Boves Montemarzino Latiano Vignale Monferrato Santopadre Cadorago Sori, Liguria Borzonasca Nissoria Cologno al Serio Colzate Macerata Campania Basicò San Giorgio Albanese Maletto San Demetrio Corone Casalborgone Aversa Cavallerleone Acqui Terme Borgo Vercelli Cigole Cerzeto Cervicati Carbonia Motta Baluffi Sarsina Ripalta Guerina Motta de' Conti Ameno San Martino del Lago Torre Bormida Camisano Vicentino Baldissero Canavese Motta Sant'Anastasia Bema Salice Salentino Roccagorga Reitano San Gregorio nelle Alpi Villa di Serio Boca Orsara Bormida Casalmaiocco Ottiglio San Sebastiano al Vesuvio Bibiana Santa Venerina Bastia Mondovì Cogne Cerveno Roncola Trevi Casalvolone Dugenta Collalto Sabino Bregano Laglio Marano Vicentino Alzano Lombardo Castiglion Fibocchi Castelfranco di Sopra Salsomaggiore Terme Mel Sillano Monteverdi Marittimo Noceto Serravalle Pistoiese Alife, Campania Casoria Perfugas Bubbio Berzano di San Pietro Lurano Balangero Agrate Brianza Casalattico Lenna, Lombardy Villa d'Adda Montelupo Fiorentino Villafranca d'Asti Bosio Arvier Bosco Marengo Borgoratto Alessandrino Ari, Abruzzo Guarene Assisi Banari Capralba Tromello Cesiomaggiore Canonica d'Adda Sappada Morimondo Ittiri Gremiasco Cerenzia Cotronei Castel di Tora Bagnara di Romagna Montechiaro d'Asti Roddi Campofilone Massalengo Montaldo di Mondovì Macugnaga Lazise Sessa Aurunca Sant'Angelo Muxaro Anagni Canegrate San Clemente, Emilia-Romagna Monsampietro Morico Chiusa di Pesio Casole Bruzio Monreale Forno Canavese Forcola Vezza d'Alba Sesto Calende Sillavengo Magliano in Toscana San Sossio Baronia Levanto, Liguria Guardia Lombardi Piario Corinaldo Piazza Brembana Bassiano Caprino Veronese Bellante Santo Stefano al Mare Jerzu Esino Lario Carloforte Civo Romagnese Bultei Stienta Valbrembo Rocca Grimalda Sedini Caldonazzo Selva di Progno Marano di Napoli Ameglia San Giorgio del Sannio Vinovo Palena, Abruzzo Villafranca Padovana Viticuso Castel Ritaldi Riccione Entracque Meugliano Bacoli Vische Casarano Tiglieto Capoliveri Scanno, Abruzzo Gorno Siamaggiore Capaci Vesime Capriate San Gervasio Sparanise Morlupo Rocchetta di Vara Licodia Eubea Cesena Tribano Livraga San Donato Milanese Argenta, Emilia–Romagna Barasso Rivarolo Canavese Codogno Coazze Spotorno Castelnuovo Rangone Camposanto Azzano d'Asti Campertogno San Lorenzo Nuovo Avezzano Melara Lanusei Cumignano sul Naviglio Torlino Vimercati Sant'Agata di Militello Treiso Montanaso Lombardo Asigliano Veneto Limbiate Lodi
528
action count
action approx
action union
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type designation for an administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity San Paolo di Jesi
relation patron saint
type holiday
type common name
[{'concept': 'designation for an administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?w ) WHERE { { ?e property:patron_saint ?q . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:holiday } UNION { ?e property:patron_saint ?q . ?q rdf:type ontology:common_name . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?m ) WHERE { resource:San_Paolo_di_Jesi property:patron_saint ?r . { { ?r rdf:type ontology:holiday } UNION { ?r rdf:type ontology:common_name } } } } . FILTER ( ?w = ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q104619
P20
Q502895
USER
How many people expired at Gardone Riviera ?
(c(Q502895),P20,Q104619)
action count
action filter_type
action find_reverse
entity Q104619
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q104619']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P20 resource:Q104619 }
Gardone Riviera
action count
action filter_type
action find_reverse
entity Gardone Riviera
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gardone Riviera']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_death resource:Gardone_Riviera }
[]
common name
SYSTEM
10
Q544750 Q3749941 Q1850160 Q3695100 Q53013 Q649457 Q3847323 Q193236 Q3629650 Q1336993
(c(Q502895),P20,Q104619)
action count
action filter_type
action find_reverse
entity Q104619
relation P20
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P20', 'Q104619']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:Q502895 . ?x property:P20 resource:Q104619 }
Ernesto Nathan Rogers Francesco Ercole Michelangelo Abbado Cosimo Canovetti Mario Camerini Pieter Lodewijk Muller Maria Hardouin Gabriele D'Annunzio Augusto Lozzia Emil Weyerbusch
10
action count
action filter_type
action find_reverse
entity Gardone Riviera
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'Gardone Riviera']
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { ?x rdf:type ontology:common_name . ?x property:place_of_death resource:Gardone_Riviera }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22111
P47
Q15617994
USER
Who share the border with Borgomanero ?
(Q22111,P47,c(Q15617994))
action filter_type
action find
entity Q22111
relation P47
type Q15617994
['Q22111', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q22111 property:P47 ?c }
Borgomanero
action filter_type
action find
entity Borgomanero
relation shares border with
type designation for an administrative territorial entity
['Borgomanero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Borgomanero property:shares_border_with ?c }
[]
designation for an administrative territorial entity
Q22472 Q22266 Q22462
SYSTEM
Invorio, Fontaneto d'Agogna, Gozzano, Italy
Q22191 Q22197 Q22088 Q22472 Q22454 Q22648 Q22116 Q22450 Q22266 Q22482 Q22462
(Q22111,P47,c(Q15617994))
action filter_type
action find
entity Q22111
relation P47
type Q15617994
[ANSWERS]
['Q22111', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q22111 property:P47 ?c }
Cressa Cureggio Bogogno Invorio Gattico Veruno Briga Novarese Gargallo Fontaneto d'Agogna Maggiora Gozzano, Italy
Invorio, Fontaneto d'Agogna and Gozzano, Italy share the border with Borgomanero
Invorio Fontaneto d'Agogna Gozzano, Italy
action filter_type
action find
entity Borgomanero
relation shares border with
type designation for an administrative territorial entity
['Borgomanero', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Borgomanero property:shares_border_with ?c }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17804
Q15617994
USER
And how about Cortiglione?
(Q17804,P47,c(Q15617994))
action filter_type
action find
entity Q17804
relation P47
type Q15617994
['Q17804', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17804 property:P47 ?q }
Cortiglione
action filter_type
action find
entity Cortiglione
relation shares border with
type designation for an administrative territorial entity
['Cortiglione', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cortiglione property:shares_border_with ?q }
[]
designation for an administrative territorial entity
Q17858 Q17815 Q17379
SYSTEM
Rocchetta Tanaro, Incisa Scapaccino, Masio
Q17858 Q17815 Q17874 Q17379 Q17886 Q17752
(Q17804,P47,c(Q15617994))
action filter_type
action find
entity Q17804
relation P47
type Q15617994
[ANSWERS]
['Q17804', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . resource:Q17804 property:P47 ?q }
Rocchetta Tanaro Incisa Scapaccino Vaglio Serra Masio Vinchio Belveglio
Rocchetta Tanaro Incisa Scapaccino Masio
action filter_type
action find
entity Cortiglione
relation shares border with
type designation for an administrative territorial entity
['Cortiglione', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Cortiglione property:shares_border_with ?q }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17804
P47
Q15617994
USER
Does Cortiglione share border with those ones ?
(Q17804,P47,Q17858) (Q17804,P47,Q17815) (Q17804,P47,Q17379)
action is_in
entity prev_answer
action find
entity Q17804
relation P47
['Q17804', 'P47', 'Q17858'] ['Q17804', 'P47', 'Q17815'] ['Q17804', 'P47', 'Q17379']
ASK WHERE { resource:Q17804 property:P47 ?s . VALUES ( ?s ) { ( resource:Q17858 ) ( resource:Q17815 ) ( resource:Q17874 ) } }
Cortiglione
action is_in
entity prev_answer
action find
entity Cortiglione
relation shares border with
['Cortiglione', 'shares border with', 'Rocchetta Tanaro'] ['Cortiglione', 'shares border with', 'Incisa Scapaccino'] ['Cortiglione', 'shares border with', 'Masio']
ASK WHERE { resource:Cortiglione property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Rocchetta_Tanaro ) ( resource:Incisa_Scapaccino ) ( resource:Vaglio_Serra ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q17804,P47,Q17858) (Q17804,P47,Q17815) (Q17804,P47,Q17379)
action is_in
entity prev_answer
action find
entity Q17804
relation P47
[ANSWER]
['Q17804', 'P47', 'Q17858'] ['Q17804', 'P47', 'Q17815'] ['Q17804', 'P47', 'Q17379']
ASK WHERE { resource:Q17804 property:P47 ?s . VALUES ( ?s ) { ( resource:Q17858 ) ( resource:Q17815 ) ( resource:Q17874 ) } }
Yes
action is_in
entity prev_answer
action find
entity Cortiglione
relation shares border with
['Cortiglione', 'shares border with', 'Rocchetta Tanaro'] ['Cortiglione', 'shares border with', 'Incisa Scapaccino'] ['Cortiglione', 'shares border with', 'Masio']
ASK WHERE { resource:Cortiglione property:shares_border_with ?s . VALUES ( ?s ) { ( resource:Rocchetta_Tanaro ) ( resource:Incisa_Scapaccino ) ( resource:Vaglio_Serra ) } }
[]