Simple Question (Direct)
Simple Question
Q5290087
P27
Q15617994
USER
Which administrative territory is the native country of Domenico Danti ?
(Q5290087,P27,c(Q15617994))
action filter_type
action find
entity Q5290087
relation P27
type Q15617994
['Q5290087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q5290087 property:P27 ?d }
Domenico Danti
action filter_type
action find
entity Domenico Danti
relation country of citizenship
type designation for an administrative territorial entity
['Domenico Danti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Domenico_Danti property:country_of_citizenship ?d }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q5290087,P27,c(Q15617994))
action filter_type
action find
entity Q5290087
relation P27
type Q15617994
[ANSWER] is the native country of Domenico Danti
['Q5290087', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q15617994 . resource:Q5290087 property:P27 ?d }
Italy
Italy is the native country of Domenico Danti
Italy
action filter_type
action find
entity Domenico Danti
relation country of citizenship
type designation for an administrative territorial entity
['Domenico Danti', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Domenico_Danti property:country_of_citizenship ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5290087
P19
Q15617994
USER
Where was Domenico Danti born ?
(Q5290087,P19,c(Q15617994))
action filter_type
action find
entity Q5290087
relation P19
type Q15617994
['Q5290087', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5290087 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
Domenico Danti
action filter_type
action find
entity Domenico Danti
relation place of birth
type designation for an administrative territorial entity
['Domenico Danti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Domenico_Danti property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53969
SYSTEM
San Giovanni in Fiore
Q53969
(Q5290087,P19,c(Q15617994))
action filter_type
action find
entity Q5290087
relation P19
type Q15617994
Domenico Danti was born in [ANSWER]
['Q5290087', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q5290087 property:P19 ?y . ?y rdf:type ontology:Q15617994 }
San Giovanni in Fiore
Domenico Danti was born in San Giovanni in Fiore
San Giovanni in Fiore
action filter_type
action find
entity Domenico Danti
relation place of birth
type designation for an administrative territorial entity
['Domenico Danti', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Domenico_Danti property:place_of_birth ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5290087
P21
Q290
USER
What is the sex of Domenico Danti ?
(Q5290087,P21,c(Q290))
action filter_type
action find
entity Q5290087
relation P21
type Q290
['Q5290087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q5290087 property:P21 ?t . ?t rdf:type ontology:Q290 }
Domenico Danti
action filter_type
action find
entity Domenico Danti
relation gender
type sex
['Domenico Danti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Domenico_Danti property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5290087,P21,c(Q290))
action filter_type
action find
entity Q5290087
relation P21
type Q290
The sex of Domenico Danti is the [ANSWER]
['Q5290087', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q5290087 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Domenico Danti is the male
male
action filter_type
action find
entity Domenico Danti
relation gender
type sex
['Domenico Danti', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Domenico_Danti property:gender ?t . ?t rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5290087
P106
Q12737077
USER
Which occupation has Domenico Danti as his/her 's career ?
(Q5290087,P106,c(Q12737077))
action filter_type
action find
entity Q5290087
relation P106
type Q12737077
['Q5290087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5290087 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Domenico Danti
action filter_type
action find
entity Domenico Danti
relation occupation
type occupation
['Domenico Danti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Domenico_Danti property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q5290087,P106,c(Q12737077))
action filter_type
action find
entity Q5290087
relation P106
type Q12737077
The [ANSWER] has Domenico Danti as his/her 's career
['Q5290087', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q5290087 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
association football player
The association football player has Domenico Danti as his/her 's career
association football player
action filter_type
action find
entity Domenico Danti
relation occupation
type occupation
['Domenico Danti', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Domenico_Danti property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3022612
Q12737077
USER
And what about Denis Cuniot?
(Q3022612,P106,c(Q12737077))
action filter_type
action find
entity Q3022612
relation P106
type Q12737077
['Q3022612', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3022612 property:P106 ?z }
Denis Cuniot
action filter_type
action find
entity Denis Cuniot
relation occupation
type occupation
['Denis Cuniot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Denis_Cuniot property:occupation ?z }
[]
occupation
Q639669
SYSTEM
musician
Q639669
(Q3022612,P106,c(Q12737077))
action filter_type
action find
entity Q3022612
relation P106
type Q12737077
[ANSWER]
['Q3022612', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q3022612 property:P106 ?z }
musician
musician
action filter_type
action find
entity Denis Cuniot
relation occupation
type occupation
['Denis Cuniot', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Denis_Cuniot property:occupation ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q340169 Q1792379
USER
How many occupations are depicted in around 3 medias and art genres ?
(c(Q340169)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 3
[[{'concept': 'Q340169'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q1792379 } } GROUP BY ?e } . FILTER ( ?y = 3 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 3
[[{'concept': 'media'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:depicts ?e . ?e rdf:type ontology:occupation . ?b rdf:type ontology:media } UNION { ?b property:depicts ?e . ?e rdf:type ontology:occupation . ?b rdf:type ontology:art_genre } } GROUP BY ?e } . FILTER ( ?y = 3 ) }
[]
occupation media art genre
SYSTEM
2
Q4991371 Q20489032
(c(Q340169)|c(Q1792379),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 3
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q340169 } UNION { ?b property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q1792379 } } GROUP BY ?e } . FILTER ( ?y = 3 ) }
soldier salt pan worker
2
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type media
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 3
[[{'concept': 'media'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?y ) WHERE { { ?b property:depicts ?e . ?e rdf:type ontology:occupation . ?b rdf:type ontology:media } UNION { ?b property:depicts ?e . ?e rdf:type ontology:occupation . ?b rdf:type ontology:art_genre } } GROUP BY ?e } . FILTER ( ?y = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q811122
P180
Q12737077 Q18783400 Q3516658
USER
How many occupations are depicted in more number of genres of sculpture and heraldic symbols than construction worker ?
(c(Q18783400)|c(Q3516658),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q811122
relation P180
type Q18783400
type Q3516658
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q18783400 ) ( ontology:Q3516658 ) } . ?g rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P180 resource:Q811122 . { VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?b rdf:type ?k } } } . FILTER ( ?v > ?c ) }
construction worker
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity construction worker
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:genre_of_sculpture ) ( ontology:heraldic_symbol ) } . ?g rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:depicts resource:construction_worker . { VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?b rdf:type ?k } } } . FILTER ( ?v > ?c ) }
[]
occupation genre of sculpture heraldic symbol
SYSTEM
3
Q131512 Q1250916 Q4991371
(c(Q18783400)|c(Q3516658),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q811122
relation P180
type Q18783400
type Q3516658
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:Q18783400 ) ( ontology:Q3516658 ) } . ?g rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:P180 resource:Q811122 . { VALUES ( ?k ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?b rdf:type ?k } } } . FILTER ( ?v > ?c ) }
farmer warrior soldier
3
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity construction worker
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?u ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?v ) WHERE { VALUES ( ?p ) { ( ontology:genre_of_sculpture ) ( ontology:heraldic_symbol ) } . ?g rdf:type ?p } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?c ) WHERE { ?b property:depicts resource:construction_worker . { VALUES ( ?k ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?b rdf:type ?k } } } . FILTER ( ?v > ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q152355
P180
Q12737077 Q18783400 Q3516658
USER
And also tell me about cobbler?
(c(Q18783400)|c(Q3516658),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q152355
relation P180
type Q18783400
type Q3516658
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P180 resource:Q152355 . { VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?u rdf:type ?d } } } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?g WHERE { { ?s property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q18783400 } UNION { ?s property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q3516658 } } GROUP BY ?g } }
cobbler
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity cobbler
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:depicts resource:cobbler . { VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?u rdf:type ?d } } } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?g WHERE { { ?s property:depicts ?g . ?g rdf:type ontology:occupation . ?s rdf:type ontology:genre_of_sculpture } UNION { ?s property:depicts ?g . ?g rdf:type ontology:occupation . ?s rdf:type ontology:heraldic_symbol } } GROUP BY ?g } }
[]
occupation genre of sculpture heraldic symbol
SYSTEM
3
Q131512 Q1250916 Q4991371
(c(Q18783400)|c(Q3516658),P180,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q152355
relation P180
type Q18783400
type Q3516658
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:P180 resource:Q152355 . { VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?u rdf:type ?d } } } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?g WHERE { { ?s property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q18783400 } UNION { ?s property:P180 ?g . ?g rdf:type ontology:Q12737077 . ?s rdf:type ontology:Q3516658 } } GROUP BY ?g } }
farmer warrior soldier
3
action count
action greater
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type occupation
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity cobbler
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { ?u property:depicts resource:cobbler . { VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?u rdf:type ?d } } } . FILTER ( ?z > ?y ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) ?g WHERE { { ?s property:depicts ?g . ?g rdf:type ontology:occupation . ?s rdf:type ontology:genre_of_sculpture } UNION { ?s property:depicts ?g . ?g rdf:type ontology:occupation . ?s rdf:type ontology:heraldic_symbol } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53969
P47
Q15617994
USER
Which administrative territories do San Giovanni in Fiore share a border with ?
(c(Q15617994),P47,Q53969)
action filter_type
action find
entity Q53969
relation P47
type Q15617994
[{'concept': 'Q15617994'}, 'P47', 'Q53969']
SELECT DISTINCT ?y WHERE { resource:Q53969 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
San Giovanni in Fiore
action filter_type
action find
entity San Giovanni in Fiore
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Giovanni in Fiore']
SELECT DISTINCT ?y WHERE { resource:San_Giovanni_in_Fiore property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53896 Q53830 Q53730
SYSTEM
Longobucco, Aprigliano, Taverna, Calabria
Q53932 Q53896 Q53830 Q54496 Q54006 Q54520 Q54003 Q53841 Q54500 Q54503 Q53730 Q54499
(c(Q15617994),P47,Q53969)
action filter_type
action find
entity Q53969
relation P47
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P47', 'Q53969']
SELECT DISTINCT ?y WHERE { resource:Q53969 property:P47 ?y . ?y rdf:type ontology:Q15617994 }
Pedace Longobucco Aprigliano Caccuri Spezzano Piccolo Savelli Serra Pedace Bocchigliero Cerenzia Cotronei Taverna, Calabria Castelsilano
San Giovanni in Fiore share a border with Longobucco, Aprigliano and Taverna, Calabria
Longobucco Aprigliano Taverna, Calabria
action filter_type
action find
entity San Giovanni in Fiore
relation shares border with
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'shares border with', 'San Giovanni in Fiore']
SELECT DISTINCT ?y WHERE { resource:San_Giovanni_in_Fiore property:shares_border_with ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q53896
P190
Q15617994
USER
Which administrative territory is sister town of that one ?
(Q53896,P190,c(Q15617994))
action filter_type
action find
entity Q53896
relation P190
type Q15617994
['Q53896', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53896 property:P190 ?p . ?p rdf:type ontology:Q15617994 }
Longobucco
action filter_type
action find
entity Longobucco
relation sister city
type designation for an administrative territorial entity
['Longobucco', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Longobucco property:sister_city ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q53830
SYSTEM
Did you mean Aprigliano ?
Q53896 Q53830 Q53730
(Q53896,P190,c(Q15617994)) (Q53830,P190,c(Q15617994)) (Q53730,P190,c(Q15617994))
[ANSWER]
['Q53896', 'P190', {'concept': 'Q15617994'}] ['Q53830', 'P190', {'concept': 'Q15617994'}] ['Q53730', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53896 property:P190 ?p . ?p rdf:type ontology:Q15617994 }
Longobucco Aprigliano Taverna, Calabria
Did you mean Aprigliano ?
Aprigliano
['Longobucco', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Aprigliano', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Taverna, Calabria', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Longobucco property:sister_city ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Longobucco. Could you tell me the answer for that?
(Q53896,P190,c(Q15617994))
Q53896
['Q53896', 'P190', {'concept': 'Q15617994'}]
['Longobucco', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
[]
Q53900
SYSTEM
Luzzi
Q53900
(Q53896,P190,c(Q15617994))
action filter_type
action find
entity Q53896
relation P190
type Q15617994
[ANSWER] is sister town of that one
['Q53896', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q53896 property:P190 ?p . ?p rdf:type ontology:Q15617994 }
Luzzi
Luzzi is sister town of that one
Luzzi
action filter_type
action find
entity Longobucco
relation sister city
type designation for an administrative territorial entity
['Longobucco', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Longobucco property:sister_city ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P47
Q15617994 Q56061
USER
How many administrative territories and administrative territories are adjacent to that administrative territory ?
(Q53900,P47,c(Q15617994)) (Q53900,P47,c(Q56061)) (Q53900,P47,c(Q15617994)) (Q53900,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q53900
relation P47
type Q15617994
action filter_type
action find
entity Q53900
relation P47
type Q56061
['Q53900', 'P47', {'concept': 'Q15617994'}] ['Q53900', 'P47', {'concept': 'Q56061'}] ['Q53900', 'P47', {'concept': 'Q15617994'}] ['Q53900', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Q53900 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q53900 property:P47 ?m . ?m rdf:type ontology:Q56061 } }
action count
action union
action filter_type
action find
entity Luzzi
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Luzzi
relation shares border with
type administrative territorial entity
['Luzzi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Luzzi property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Luzzi property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
designation for an administrative territorial entity administrative territorial entity
SYSTEM
5
Q53840 Q53950 Q53917 Q53893 Q53819
(Q53900,P47,c(Q15617994)) (Q53900,P47,c(Q56061)) (Q53900,P47,c(Q15617994)) (Q53900,P47,c(Q56061))
action count
action union
action filter_type
action find
entity Q53900
relation P47
type Q15617994
action filter_type
action find
entity Q53900
relation P47
type Q56061
[ANSWER]
['Q53900', 'P47', {'concept': 'Q15617994'}] ['Q53900', 'P47', {'concept': 'Q56061'}] ['Q53900', 'P47', {'concept': 'Q15617994'}] ['Q53900', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Q53900 property:P47 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q53900 property:P47 ?m . ?m rdf:type ontology:Q56061 } }
Bisignano Rose, Calabria Montalto Uffugo Lattarico Acri
5
action count
action union
action filter_type
action find
entity Luzzi
relation shares border with
type designation for an administrative territorial entity
action filter_type
action find
entity Luzzi
relation shares border with
type administrative territorial entity
['Luzzi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'designation for an administrative territorial entity'}] ['Luzzi', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { { resource:Luzzi property:shares_border_with ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Luzzi property:shares_border_with ?m . ?m rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53896
P190
Q56061
USER
Which administrative territory is sister town of Longobucco ?
(Q53896,P190,c(Q56061))
action filter_type
action find
entity Q53896
relation P190
type Q56061
['Q53896', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q53896 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Longobucco
action filter_type
action find
entity Longobucco
relation sister city
type administrative territorial entity
['Longobucco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Longobucco property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q82869
SYSTEM
Signa
Q82869
(Q53896,P190,c(Q56061))
action filter_type
action find
entity Q53896
relation P190
type Q56061
[ANSWER] is sister town of Longobucco
['Q53896', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q53896 property:P190 ?f . ?f rdf:type ontology:Q56061 }
Signa
Signa is sister town of Longobucco
Signa
action filter_type
action find
entity Longobucco
relation sister city
type administrative territorial entity
['Longobucco', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Longobucco property:sister_city ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]