Simple Question (Direct)
Simple Question
Q977135
P641
Q349
USER
What was the sport that Horace Jenkins was a part of ?
(Q977135,P641,c(Q349))
action filter_type
action find
entity Q977135
relation P641
type Q349
['Q977135', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q977135 property:P641 ?n }
Horace Jenkins
action filter_type
action find
entity Horace Jenkins
relation sport
type sport
['Horace Jenkins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Horace_Jenkins property:sport ?n }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q977135,P641,c(Q349))
action filter_type
action find
entity Q977135
relation P641
type Q349
The sport that Horace Jenkins was a part of was h [ANSWER]
['Q977135', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q349 . resource:Q977135 property:P641 ?n }
basketball
The sport that Horace Jenkins was a part of was h basketball
basketball
action filter_type
action find
entity Horace Jenkins
relation sport
type sport
['Horace Jenkins', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:sport . resource:Horace_Jenkins property:sport ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q977135
P106
Q12737077
USER
Which occupation has Horace Jenkins as his/her 's career ?
(Q977135,P106,c(Q12737077))
action filter_type
action find
entity Q977135
relation P106
type Q12737077
['Q977135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q977135 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
Horace Jenkins
action filter_type
action find
entity Horace Jenkins
relation occupation
type occupation
['Horace Jenkins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Horace_Jenkins property:occupation ?u . ?u rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q977135,P106,c(Q12737077))
action filter_type
action find
entity Q977135
relation P106
type Q12737077
Player [ANSWER] has Horace Jenkins as his/her 's career
['Q977135', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { resource:Q977135 property:P106 ?u . ?u rdf:type ontology:Q12737077 }
basketball player
Player basketball player has Horace Jenkins as his/her 's career
basketball player
action filter_type
action find
entity Horace Jenkins
relation occupation
type occupation
['Horace Jenkins', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { resource:Horace_Jenkins property:occupation ?u . ?u rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4717130
Q12737077
USER
And what about Alex Hamilton?
(Q4717130,P106,c(Q12737077))
action filter_type
action find
entity Q4717130
relation P106
type Q12737077
['Q4717130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4717130 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Alex Hamilton
action filter_type
action find
entity Alex Hamilton
relation occupation
type occupation
['Alex Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Alex_Hamilton property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q4717130,P106,c(Q12737077))
action filter_type
action find
entity Q4717130
relation P106
type Q12737077
[ANSWERS]
['Q4717130', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q4717130 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football manager association football player
association football manager association football player
action filter_type
action find
entity Alex Hamilton
relation occupation
type occupation
['Alex Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Alex_Hamilton property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q209076
P106
Q502895
USER
Do Sören Åkeby have the profession as those occupations ?
(Q209076,P106,Q628099) (Q209076,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q209076
relation P106
['Q209076', 'P106', 'Q628099'] ['Q209076', 'P106', 'Q937857']
ASK WHERE { resource:Q209076 property:P106 ?x . VALUES ( ?x ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Sören Åkeby
action is_in
entity prev_answer
action find
entity Sören Åkeby
relation occupation
['Sören Åkeby', 'occupation', 'association football manager'] ['Sören Åkeby', 'occupation', 'association football player']
ASK WHERE { resource:Sören_Åkeby property:occupation ?x . VALUES ( ?x ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
YES
(Q209076,P106,Q628099) (Q209076,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q209076
relation P106
[ANSWER]
['Q209076', 'P106', 'Q628099'] ['Q209076', 'P106', 'Q937857']
ASK WHERE { resource:Q209076 property:P106 ?x . VALUES ( ?x ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Yes
action is_in
entity prev_answer
action find
entity Sören Åkeby
relation occupation
['Sören Åkeby', 'occupation', 'association football manager'] ['Sören Åkeby', 'occupation', 'association football player']
ASK WHERE { resource:Sören_Åkeby property:occupation ?x . VALUES ( ?x ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q22246886 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated fields of occupation and were Alexander Mashin a part of ?
AND((Q937857,P425,c(Q349)), (Q22246886,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q22246886
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q22246886', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q937857 property:P425 ?o . resource:Q22246886 property:P641 ?o }
Alexander Mashin association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Alexander Mashin
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Alexander Mashin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?o . resource:Alexander_Mashin property:sport ?o }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q22246886,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q22246886
relation P641
type Q349
Field [ANSWER] have [ANSWER] player as the associated fields of occupation and were Alexander Mashin a part of
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q22246886', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q349 . resource:Q937857 property:P425 ?o . resource:Q22246886 property:P641 ?o }
association football
Field association football have association football player as the associated fields of occupation and were Alexander Mashin a part of
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Alexander Mashin
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Alexander Mashin', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:sport . resource:association_football_player property:field_of_this_occupation ?o . resource:Alexander_Mashin property:sport ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3320942 Q937857
P425 P641
Q349
USER
Which sports have association football player as the associated field of occupation or were Monique Venner a part of ?
OR((Q937857,P425,c(Q349)), (Q3320942,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q3320942
relation P641
type Q349
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3320942', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q937857 property:P425 ?b } UNION { resource:Q3320942 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
Monique Venner association football player
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Monique Venner
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Monique Venner', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:association_football_player property:field_of_this_occupation ?b } UNION { resource:Monique_Venner property:sport ?b } } . ?b rdf:type ontology:sport }
[]
sport
Q11420 Q2736
SYSTEM
judo, association football
Q11420 Q2736
OR((Q937857,P425,c(Q349)), (Q3320942,P641,c(Q349)))
action filter_type
action union
action find
entity Q937857
relation P425
action find
entity Q3320942
relation P641
type Q349
[ANSWERS] have association football player as the associated field of occupation or were Monique Venner a part of
{'OR': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3320942', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q937857 property:P425 ?b } UNION { resource:Q3320942 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
judo association football
Judo and association football have association football player as the associated field of occupation or were Monique Venner a part of
judo association football
action filter_type
action union
action find
entity association football player
relation field of this occupation
action find
entity Monique Venner
relation sport
type sport
{'OR': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Monique Venner', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:association_football_player property:field_of_this_occupation ?b } UNION { resource:Monique_Venner property:sport ?b } } . ?b rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q977571
P417
Q502895 Q12737077
USER
Which people are the patron saints of more number of occupations than Caprasius of Lérins ?
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q977571
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P417 ?h . ?q rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q977571 property:P417 ?k } } . FILTER ( ?p > ?t ) }
Caprasius of Lérins
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Caprasius of Lérins
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:patron_saint ?h . ?q rdf:type ontology:occupation . ?h rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:common_name . resource:Caprasius_of_Lérins property:patron_saint ?k } } . FILTER ( ?p > ?t ) }
[]
common name occupation
Q9438 Q60059 Q166876
SYSTEM
Thomas Aquinas, Albertus Magnus, Isidore of Seville
Q453698 Q229190 Q152457 Q43689 Q328804 Q166876 Q163900 Q170547 Q212850 Q374822 Q9438 Q130997 Q312758 Q5575577 Q191107 Q242274 Q128538 Q183240 Q119289 Q360798 Q298845 Q48438 Q119512 Q44281 Q170164 Q43399 Q196653 Q508214 Q9200 Q193507 Q463600 Q43669 Q44265 Q192816 Q43982 Q179718 Q40662 Q332656 Q320171 Q137947 Q80513 Q43600 Q324700 Q744884 Q44015 Q151967 Q149727 Q232427 Q60059 Q17590 Q271474 Q200895 Q44248 Q276148
(c(Q12737077),P417,c(Q502895))
action greater
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q977571
relation P417
type Q502895
[ANSWERS] are the patron saints of more number of occupations than Caprasius of Lérins
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:P417 ?h . ?q rdf:type ontology:Q12737077 . ?h rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:Q502895 . resource:Q977571 property:P417 ?k } } . FILTER ( ?p > ?t ) }
Saint Amand Catherine of Siena Saint Roch Ambrose John the Evangelist Isidore of Seville Saint Francis Xavier Anthony the Great Vitus Adrian of Nicomedia Thomas Aquinas Damasus I Jean-Baptiste de La Salle Gobnait Clare of Assisi Dorothea of Caesarea Luke the Evangelist Saint Lucy Leonard of Port Maurice Saint Eligius Saint Florian Saint George William of Maleval Ignatius of Loyola Helena of Constantinople Andrew Saint Veronica Cyriacus Paul Saint Christopher Saint Petronilla Thomas the Apostle Benedict of Nursia Saint Barbara Bartholomew the Apostle Catherine of Alexandria John the Baptist Camillus de Lellis John of God Alexius of Rome Saint Cecilia Matthew the Apostle Urban of Langres Zita John the Apostle Saint Blaise Saint Giles Saint Apollonia Albertus Magnus Lawrence of Rome Joseph of Arimathea Agatha of Sicily Jerome Charalampus
Thomas Aquinas, Albertus Magnus and Isidore of Seville are the patron saints of more number of occupations than Caprasius of Lérins
Thomas Aquinas Albertus Magnus Isidore of Seville
action greater
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Caprasius of Lérins
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?p ) WHERE { ?q property:patron_saint ?h . ?q rdf:type ontology:occupation . ?h rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ontology:common_name . resource:Caprasius_of_Lérins property:patron_saint ?k } } . FILTER ( ?p > ?t ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P674
Q223393
USER
How many literary genres are that person a character of ?
(c(Q223393),P674,Q60059)
[{'concept': 'Q223393'}, 'P674', 'Q60059']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q60059 . ?z rdf:type ontology:Q223393 }
[{'concept': 'literary genre'}, 'characters', 'Albertus Magnus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Albertus_Magnus . ?z rdf:type ontology:literary_genre }
[]
literary genre
Quantitative|Count|Single entity type|Clarification
Q9438
SYSTEM
Did you mean Thomas Aquinas ?
(c(Q223393),P674,Q9438) (c(Q223393),P674,Q60059) (c(Q223393),P674,Q166876)
[ANSWER]
[{'concept': 'Q223393'}, 'P674', 'Q9438'] [{'concept': 'Q223393'}, 'P674', 'Q60059'] [{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q60059 . ?z rdf:type ontology:Q223393 }
Did you mean Thomas Aquinas ?
Thomas Aquinas
[{'concept': 'literary genre'}, 'characters', 'Thomas Aquinas'] [{'concept': 'literary genre'}, 'characters', 'Albertus Magnus'] [{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Albertus_Magnus . ?z rdf:type ontology:literary_genre }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Albertus Magnus. Could you tell me the answer for that?
(c(Q223393),P674,Q60059)
Q60059
[{'concept': 'Q223393'}, 'P674', 'Q60059']
[{'concept': 'literary genre'}, 'characters', 'Albertus Magnus']
[]
SYSTEM
1
Q40185
(c(Q223393),P674,Q60059)
[ANSWER]
[{'concept': 'Q223393'}, 'P674', 'Q60059']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P674 resource:Q60059 . ?z rdf:type ontology:Q223393 }
The Divine Comedy
1
[{'concept': 'literary genre'}, 'characters', 'Albertus Magnus']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:characters resource:Albertus_Magnus . ?z rdf:type ontology:literary_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9438
P19
Q15617994
USER
Which administrative territory was Thomas Aquinas born in ?
(Q9438,P19,c(Q15617994))
action filter_type
action find
entity Q9438
relation P19
type Q15617994
['Q9438', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q9438 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Thomas Aquinas
action filter_type
action find
entity Thomas Aquinas
relation place of birth
type designation for an administrative territorial entity
['Thomas Aquinas', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_Aquinas property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q117211
SYSTEM
Roccasecca
Q117211
(Q9438,P19,c(Q15617994))
action filter_type
action find
entity Q9438
relation P19
type Q15617994
Thomas Aquinas was born in [ANSWER]
['Q9438', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q9438 property:P19 ?a . ?a rdf:type ontology:Q15617994 }
Roccasecca
Thomas Aquinas was born in Roccasecca
Roccasecca
action filter_type
action find
entity Thomas Aquinas
relation place of birth
type designation for an administrative territorial entity
['Thomas Aquinas', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Thomas_Aquinas property:place_of_birth ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q117211
P47
Q15617994
USER
Which administrative territories are bordered by that one ?
(Q117211,P47,c(Q15617994))
action filter_type
action find
entity Q117211
relation P47
type Q15617994
['Q117211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q117211 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Roccasecca
action filter_type
action find
entity Roccasecca
relation shares border with
type designation for an administrative territorial entity
['Roccasecca', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Roccasecca property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q117242 Q117186 Q117342
SYSTEM
San Giovanni Incarico, Pontecorvo, Santopadre
Q116698 Q117342 Q117204 Q117242 Q116742 Q117186 Q116731
(Q117211,P47,c(Q15617994))
action filter_type
action find
entity Q117211
relation P47
type Q15617994
[ANSWERS] are bordered by that one
['Q117211', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q117211 property:P47 ?r . ?r rdf:type ontology:Q15617994 }
Castrocielo Santopadre Rocca d'Arce San Giovanni Incarico Colle San Magno Pontecorvo Colfelice
San Giovanni Incarico, Pontecorvo and Santopadre are bordered by that one
San Giovanni Incarico Pontecorvo Santopadre
action filter_type
action find
entity Roccasecca
relation shares border with
type designation for an administrative territorial entity
['Roccasecca', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Roccasecca property:shares_border_with ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q117186
P47
Q486972 Q15617994
USER
How many human settlements or administrative territories share border with Pontecorvo ?
(Q117186,P47,c(Q486972)) (Q117186,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q117186
relation P47
type Q486972
action filter_type
action find
entity Q117186
relation P47
type Q15617994
['Q117186', 'P47', {'concept': 'Q486972'}] ['Q117186', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { resource:Q117186 property:P47 ?o . ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q15617994 . resource:Q117186 property:P47 ?o } }
Pontecorvo
action count
action union
action filter_type
action find
entity Pontecorvo
relation shares border with
type human settlement
action filter_type
action find
entity Pontecorvo
relation shares border with
type designation for an administrative territorial entity
['Pontecorvo', 'shares border with', {'concept': 'human settlement'}] ['Pontecorvo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { resource:Pontecorvo property:shares_border_with ?o . ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pontecorvo property:shares_border_with ?o } }
[]
human settlement designation for an administrative territorial entity
SYSTEM
8
Q117135 Q117211 Q116698 Q116819 Q116415 Q128060 Q117032 Q117242
(Q117186,P47,c(Q486972)) (Q117186,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q117186
relation P47
type Q486972
action filter_type
action find
entity Q117186
relation P47
type Q15617994
[ANSWER]
['Q117186', 'P47', {'concept': 'Q486972'}] ['Q117186', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { resource:Q117186 property:P47 ?o . ?o rdf:type ontology:Q486972 } UNION { ?o rdf:type ontology:Q15617994 . resource:Q117186 property:P47 ?o } }
Pignataro Interamna Roccasecca Castrocielo Esperia Aquino Campodimele Pico, Lazio San Giovanni Incarico
8
action count
action union
action filter_type
action find
entity Pontecorvo
relation shares border with
type human settlement
action filter_type
action find
entity Pontecorvo
relation shares border with
type designation for an administrative territorial entity
['Pontecorvo', 'shares border with', {'concept': 'human settlement'}] ['Pontecorvo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?x ) WHERE { { resource:Pontecorvo property:shares_border_with ?o . ?o rdf:type ontology:human_settlement } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Pontecorvo property:shares_border_with ?o } }
[]