Simple Question (Direct)
Simple Question
Q54682
P47
Q15617994
USER
Which administrative territories have a shared border with Taurianova ?
(Q54682,P47,c(Q15617994))
action filter_type
action find
entity Q54682
relation P47
type Q15617994
['Q54682', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q54682 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Taurianova
action filter_type
action find
entity Taurianova
relation shares border with
type designation for an administrative territorial entity
['Taurianova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Taurianova property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q54603 Q54631 Q54640
SYSTEM
Cittanova, Oppido Mamertina, Rizziconi
Q54603 Q54631 Q54627 Q54687 Q54685 Q54640
(Q54682,P47,c(Q15617994))
action filter_type
action find
entity Q54682
relation P47
type Q15617994
[ANSWERS] have a shared border with Taurianova
['Q54682', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q54682 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Cittanova Oppido Mamertina Molochio Varapodio Terranova Sappo Minulio Rizziconi
Cittanova, Oppido Mamertina and Rizziconi have a shared border with Taurianova
Cittanova Oppido Mamertina Rizziconi
action filter_type
action find
entity Taurianova
relation shares border with
type designation for an administrative territorial entity
['Taurianova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Taurianova property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q54640
P17
Q15617994
USER
Which administrative territory is that one present in ?
(Q54640,P17,c(Q15617994))
action filter_type
action find
entity Q54640
relation P17
type Q15617994
['Q54640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q54640 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Rizziconi
action filter_type
action find
entity Rizziconi
relation country
type designation for an administrative territorial entity
['Rizziconi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Rizziconi property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q54603
SYSTEM
Did you mean Cittanova ?
Q54603 Q54631 Q54640
(Q54603,P17,c(Q15617994)) (Q54631,P17,c(Q15617994)) (Q54640,P17,c(Q15617994))
[ANSWER]
['Q54603', 'P17', {'concept': 'Q15617994'}] ['Q54631', 'P17', {'concept': 'Q15617994'}] ['Q54640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q54640 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Cittanova Oppido Mamertina Rizziconi
Did you mean Cittanova ?
Cittanova
['Cittanova', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oppido Mamertina', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Rizziconi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Rizziconi property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Rizziconi. Could you tell me the answer for that?
(Q54640,P17,c(Q15617994))
Q54640
['Q54640', 'P17', {'concept': 'Q15617994'}]
['Rizziconi', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q54640,P17,c(Q15617994))
action filter_type
action find
entity Q54640
relation P17
type Q15617994
That one is in [ANSWER]
['Q54640', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q54640 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Italy
That one is in Italy
Italy
action filter_type
action find
entity Rizziconi
relation country
type designation for an administrative territorial entity
['Rizziconi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Rizziconi property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1438
P180
Q15617994 Q3305213 Q838948
USER
How many administrative territories are depicted in approximately the same number of paintings or works of art as Campania ?
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P180
type Q3305213
type Q838948
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?o rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P180 resource:Q1438 . { { ?c rdf:type ontology:Q3305213 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?i = ?z ) }
Campania
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Campania
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?h WHERE { VALUES ( ?w ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?o rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:depicts resource:Campania . { { ?c rdf:type ontology:painting } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?i = ?z ) }
[]
designation for an administrative territorial entity painting work of art
SYSTEM
85
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1438
relation P180
type Q3305213
type Q838948
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?h WHERE { VALUES ( ?w ) { ( ontology:Q3305213 ) ( ontology:Q838948 ) } . ?o rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:P180 resource:Q1438 . { { ?c rdf:type ontology:Q3305213 } UNION { ?c rdf:type ontology:Q838948 } } } } . FILTER ( ?i = ?z ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
85
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Campania
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?i ) ?h WHERE { VALUES ( ?w ) { ( ontology:painting ) ( ontology:work_of_art ) } . ?o rdf:type ?w } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?z ) WHERE { ?c property:depicts resource:Campania . { { ?c rdf:type ontology:painting } UNION { ?c rdf:type ontology:work_of_art } } } } . FILTER ( ?i = ?z ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q12594
P180
Q15617994 Q3305213 Q838948
USER
And what about Marne?
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12594
relation P180
type Q3305213
type Q838948
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?y ) WHERE { { ?q property:P180 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q3305213 } UNION { ?q property:P180 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q838948 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P180 resource:Q12594 . { { ?x rdf:type ontology:Q3305213 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?r ) }
Marne
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Marne
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?y ) WHERE { { ?q property:depicts ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:painting } UNION { ?q property:depicts ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:work_of_art } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:depicts resource:Marne . { { ?x rdf:type ontology:painting } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?r ) }
[]
designation for an administrative territorial entity painting work of art
SYSTEM
85
Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q1016 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q3305213)|c(Q838948),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q12594
relation P180
type Q3305213
type Q838948
[ANSWER]
[[{'concept': 'Q3305213'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?y ) WHERE { { ?q property:P180 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q3305213 } UNION { ?q property:P180 ?s . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q838948 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P180 resource:Q12594 . { { ?x rdf:type ontology:Q3305213 } UNION { ?x rdf:type ontology:Q838948 } } } } . FILTER ( ?y = ?r ) }
Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Libya Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
85
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Marne
relation depicts
type painting
type work of art
[[{'concept': 'painting'}, {'concept': 'work of art'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?l ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?q ) AS ?y ) WHERE { { ?q property:depicts ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:painting } UNION { ?q property:depicts ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:work_of_art } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:depicts resource:Marne . { { ?x rdf:type ontology:painting } UNION { ?x rdf:type ontology:work_of_art } } } } . FILTER ( ?y = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P106
Q502895
USER
Which person has the profession of Italy ?
(c(Q502895),P106,Q38)
action filter_type
action find_reverse
entity Q38
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q38']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q38 . ?z rdf:type ontology:Q502895 }
Italy
action filter_type
action find_reverse
entity Italy
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Italy']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:Italy . ?z rdf:type ontology:common_name }
[]
common name
Q21334720
SYSTEM
Giovanni Marangoni
Q21334720
(c(Q502895),P106,Q38)
action filter_type
action find_reverse
entity Q38
relation P106
type Q502895
[ANSWER] has the profession of Italy
[{'concept': 'Q502895'}, 'P106', 'Q38']
SELECT DISTINCT ?z WHERE { ?z property:P106 resource:Q38 . ?z rdf:type ontology:Q502895 }
Giovanni Marangoni
Giovanni Marangoni has the profession of Italy
Giovanni Marangoni
action filter_type
action find_reverse
entity Italy
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'Italy']
SELECT DISTINCT ?z WHERE { ?z property:occupation resource:Italy . ?z rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54640
P19
Q502895
USER
Which person was born at Rizziconi ?
(c(Q502895),P19,Q54640)
action filter_type
action find_reverse
entity Q54640
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q54640']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q54640 }
Rizziconi
action filter_type
action find_reverse
entity Rizziconi
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rizziconi']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Rizziconi }
[]
common name
Q18224750
SYSTEM
Saverio Ungheri
Q18224750
(c(Q502895),P19,Q54640)
action filter_type
action find_reverse
entity Q54640
relation P19
type Q502895
[ANSWER] was born at Rizziconi
[{'concept': 'Q502895'}, 'P19', 'Q54640']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . ?i property:P19 resource:Q54640 }
Saverio Ungheri
Saverio Ungheri was born at Rizziconi
Saverio Ungheri
action filter_type
action find_reverse
entity Rizziconi
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Rizziconi']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . ?i property:place_of_birth resource:Rizziconi }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q54603
P190
Q56061
USER
Which administrative territory is partner town of Cittanova ?
(Q54603,P190,c(Q56061))
action filter_type
action find
entity Q54603
relation P190
type Q56061
['Q54603', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q54603 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Cittanova
action filter_type
action find
entity Cittanova
relation sister city
type administrative territorial entity
['Cittanova', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cittanova property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q15256
SYSTEM
Ivangorod
Q15256
(Q54603,P190,c(Q56061))
action filter_type
action find
entity Q54603
relation P190
type Q56061
[ANSWER] is partner town of Cittanova
['Q54603', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q54603 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Ivangorod
Ivangorod is partner town of Cittanova
Ivangorod
action filter_type
action find
entity Cittanova
relation sister city
type administrative territorial entity
['Cittanova', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Cittanova property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]