Simple Question (Direct)
Simple Question
Q1442810
P937
Q515
USER
What is the location where Frank-Michael Schober worked ?
(Q1442810,P937,c(Q515))
action filter_type
action find
entity Q1442810
relation P937
type Q515
['Q1442810', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1442810 property:P937 ?b . ?b rdf:type ontology:Q515 }
Frank-Michael Schober
action filter_type
action find
entity Frank-Michael Schober
relation work location
type city
['Frank-Michael Schober', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Frank-Michael_Schober property:work_location ?b . ?b rdf:type ontology:city }
[]
city
Q1711
SYSTEM
Potsdam
Q1711
(Q1442810,P937,c(Q515))
action filter_type
action find
entity Q1442810
relation P937
type Q515
The location Frank-Michael Schober worked is in [ANSWER]
['Q1442810', 'P937', {'concept': 'Q515'}]
SELECT DISTINCT ?b WHERE { resource:Q1442810 property:P937 ?b . ?b rdf:type ontology:Q515 }
Potsdam
The location Frank-Michael Schober worked is in Potsdam
Potsdam
action filter_type
action find
entity Frank-Michael Schober
relation work location
type city
['Frank-Michael Schober', 'work location', {'concept': 'city'}]
SELECT DISTINCT ?b WHERE { resource:Frank-Michael_Schober property:work_location ?b . ?b rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1711
P610
Q14524493
USER
What is the highest point of that city ?
(Q1711,P610,c(Q14524493))
action filter_type
action find
entity Q1711
relation P610
type Q14524493
['Q1711', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q1711 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Potsdam
action filter_type
action find
entity Potsdam
relation highest point
type terrain
['Potsdam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Potsdam property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
terrain
Q569145
SYSTEM
Kleiner Ravensberg
Q569145
(Q1711,P610,c(Q14524493))
action filter_type
action find
entity Q1711
relation P610
type Q14524493
The highest point of that city is [ANSWER]
['Q1711', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?u WHERE { resource:Q1711 property:P610 ?u . ?u rdf:type ontology:Q14524493 }
Kleiner Ravensberg
The highest point of that city is Kleiner Ravensberg
Kleiner Ravensberg
action filter_type
action find
entity Potsdam
relation highest point
type terrain
['Potsdam', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?u WHERE { resource:Potsdam property:highest_point ?u . ?u rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2605247
Q14524493
USER
And how about Massif des Trois-Évêchés?
(Q2605247,P610,c(Q14524493))
action filter_type
action find
entity Q2605247
relation P610
type Q14524493
['Q2605247', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?w WHERE { resource:Q2605247 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
Massif des Trois-Évêchés
action filter_type
action find
entity Massif des Trois-Évêchés
relation highest point
type terrain
['Massif des Trois-Évêchés', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?w WHERE { resource:Massif_des_Trois-Évêchés property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
terrain
Q2544155
SYSTEM
Tête de l'Estrop
Q2544155
(Q2605247,P610,c(Q14524493))
action filter_type
action find
entity Q2605247
relation P610
type Q14524493
[ANSWER]
['Q2605247', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?w WHERE { resource:Q2605247 property:P610 ?w . ?w rdf:type ontology:Q14524493 }
Tête de l'Estrop
Tête de l'Estrop
action filter_type
action find
entity Massif des Trois-Évêchés
relation highest point
type terrain
['Massif des Trois-Évêchés', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?w WHERE { resource:Massif_des_Trois-Évêchés property:highest_point ?w . ?w rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2605247
P361
Q14524493
USER
Which terrains are a component of Massif des Trois-Évêchés ?
(c(Q14524493),P361,Q2605247)
action filter_type
action find_reverse
entity Q2605247
relation P361
type Q14524493
[{'concept': 'Q14524493'}, 'P361', 'Q2605247']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2605247 . ?b rdf:type ontology:Q14524493 }
Massif des Trois-Évêchés
action filter_type
action find_reverse
entity Massif des Trois-Évêchés
relation part of
type terrain
[{'concept': 'terrain'}, 'part of', 'Massif des Trois-Évêchés']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Massif_des_Trois-Évêchés . ?b rdf:type ontology:terrain }
[]
terrain
Q2544155 Q209064 Q1470001
SYSTEM
Tête de l'Estrop, Mont Ventoux, Grande Séolane
Q1470001 Q2544155 Q209064 Q2444848
(c(Q14524493),P361,Q2605247)
action filter_type
action find_reverse
entity Q2605247
relation P361
type Q14524493
[ANSWERS] are a component of Massif des Trois-Évêchés
[{'concept': 'Q14524493'}, 'P361', 'Q2605247']
SELECT DISTINCT ?b WHERE { ?b property:P361 resource:Q2605247 . ?b rdf:type ontology:Q14524493 }
Grande Séolane Tête de l'Estrop Mont Ventoux Trois-Évêchés
Tête de l'Estrop, Mont Ventoux and Grande Séolane are a component of Massif des Trois-Évêchés
Tête de l'Estrop Mont Ventoux Grande Séolane
action filter_type
action find_reverse
entity Massif des Trois-Évêchés
relation part of
type terrain
[{'concept': 'terrain'}, 'part of', 'Massif des Trois-Évêchés']
SELECT DISTINCT ?b WHERE { ?b property:part_of resource:Massif_des_Trois-Évêchés . ?b rdf:type ontology:terrain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711
P6
Q502895
USER
Who is the head of the government of Potsdam ?
(Q1711,P6,c(Q502895))
action filter_type
action find
entity Q1711
relation P6
type Q502895
['Q1711', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1711 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Potsdam
action filter_type
action find
entity Potsdam
relation head of government
type common name
['Potsdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Potsdam property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
common name
Q1682855
SYSTEM
Jann Jakobs
Q1682855
(Q1711,P6,c(Q502895))
action filter_type
action find
entity Q1711
relation P6
type Q502895
The head of the government of Potsdam is Peter [ANSWER]
['Q1711', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q1711 property:P6 ?n . ?n rdf:type ontology:Q502895 }
Jann Jakobs
The head of the government of Potsdam is Peter Jann Jakobs
Jann Jakobs
action filter_type
action find
entity Potsdam
relation head of government
type common name
['Potsdam', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Potsdam property:head_of_government ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1711
P47
Q1048835
USER
Which political territories are adjacent to Potsdam ?
(Q1711,P47,c(Q1048835))
action filter_type
action find
entity Q1711
relation P47
type Q1048835
['Q1711', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1711 property:P47 ?f }
Potsdam
action filter_type
action find
entity Potsdam
relation shares border with
type political territorial entity
['Potsdam', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Potsdam property:shares_border_with ?f }
[]
political territorial entity
Q6142 Q6139
SYSTEM
Potsdam-Mittelmark, Havelland
Q6142 Q6139
(Q1711,P47,c(Q1048835))
action filter_type
action find
entity Q1711
relation P47
type Q1048835
Brandenburg [ANSWERS] are adjacent to Potsdam
['Q1711', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q1048835 . resource:Q1711 property:P47 ?f }
Potsdam-Mittelmark Havelland
Brandenburg Potsdam-Mittelmark and Havelland are adjacent to Potsdam
Potsdam-Mittelmark Havelland
action filter_type
action find
entity Potsdam
relation shares border with
type political territorial entity
['Potsdam', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:political_territorial_entity . resource:Potsdam property:shares_border_with ?f }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6142
P793
Q1190554
USER
What is a significant event associated with that political territory ?
(Q6142,P793,c(Q1190554))
action filter_type
action find
entity Q6142
relation P793
type Q1190554
['Q6142', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q6142 property:P793 ?x . ?x rdf:type ontology:Q1190554 }
Potsdam-Mittelmark
action filter_type
action find
entity Potsdam-Mittelmark
relation significant event
type event
['Potsdam-Mittelmark', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Potsdam-Mittelmark property:significant_event ?x . ?x rdf:type ontology:event }
[]
event
Clarification for simple ques.
Q6139
SYSTEM
Did you mean Havelland ?
Q6142 Q6139
(Q6142,P793,c(Q1190554)) (Q6139,P793,c(Q1190554))
[ANSWER]
['Q6142', 'P793', {'concept': 'Q1190554'}] ['Q6139', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q6142 property:P793 ?x . ?x rdf:type ontology:Q1190554 }
Potsdam-Mittelmark Havelland
Did you mean Havelland ?
Havelland
['Potsdam-Mittelmark', 'significant event', {'concept': 'event'}] ['Havelland', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Potsdam-Mittelmark property:significant_event ?x . ?x rdf:type ontology:event }
[]
Simple Question (Coreferenced)
USER
No, I meant Potsdam-Mittelmark. Could you tell me the answer for that?
(Q6142,P793,c(Q1190554))
Q6142
['Q6142', 'P793', {'concept': 'Q1190554'}]
['Potsdam-Mittelmark', 'significant event', {'concept': 'event'}]
[]
Q1497011
SYSTEM
communal reorganisation
Q1497011
(Q6142,P793,c(Q1190554))
action filter_type
action find
entity Q6142
relation P793
type Q1190554
A significant event associated with that political territory is a [ANSWER]
['Q6142', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?x WHERE { resource:Q6142 property:P793 ?x . ?x rdf:type ontology:Q1190554 }
communal reorganisation
A significant event associated with that political territory is a communal reorganisation
communal reorganisation
action filter_type
action find
entity Potsdam-Mittelmark
relation significant event
type event
['Potsdam-Mittelmark', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?x WHERE { resource:Potsdam-Mittelmark property:significant_event ?x . ?x rdf:type ontology:event }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1497011
P793
Q1048835
USER
Which political territory is that one a significant event of ?
(c(Q1048835),P793,Q1497011)
action filter_type
action find_reverse
entity Q1497011
relation P793
type Q1048835
[{'concept': 'Q1048835'}, 'P793', 'Q1497011']
SELECT DISTINCT ?r WHERE { ?r property:P793 resource:Q1497011 . ?r rdf:type ontology:Q1048835 }
communal reorganisation
action filter_type
action find_reverse
entity communal reorganisation
relation significant event
type political territorial entity
[{'concept': 'political territorial entity'}, 'significant event', 'communal reorganisation']
SELECT DISTINCT ?r WHERE { ?r property:significant_event resource:communal_reorganisation . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6142
SYSTEM
Potsdam-Mittelmark
Q6142
(c(Q1048835),P793,Q1497011)
action filter_type
action find_reverse
entity Q1497011
relation P793
type Q1048835
[ANSWER] is that one a significant event of
[{'concept': 'Q1048835'}, 'P793', 'Q1497011']
SELECT DISTINCT ?r WHERE { ?r property:P793 resource:Q1497011 . ?r rdf:type ontology:Q1048835 }
Potsdam-Mittelmark
Potsdam-Mittelmark is that one a significant event of
Potsdam-Mittelmark
action filter_type
action find_reverse
entity communal reorganisation
relation significant event
type political territorial entity
[{'concept': 'political territorial entity'}, 'significant event', 'communal reorganisation']
SELECT DISTINCT ?r WHERE { ?r property:significant_event resource:communal_reorganisation . ?r rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q40
P122
Q4164871 Q56061 Q1048835
USER
How many political territories have greater number of positions and administrative territories as the form of government than Austria ?
(c(Q1048835),P122,c(Q4164871)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q40
relation P122
type Q4164871
type Q56061
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?l ) { ( ontology:Q4164871 ) ( ontology:Q56061 ) } . ?j rdf:type ?l } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { { ?q rdf:type ontology:Q4164871 } UNION { ?q rdf:type ontology:Q56061 } } . resource:Q40 property:P122 ?q } } }
Austria
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Austria
relation basic form of government
type position
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?l ) { ( ontology:position ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?l } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { { ?q rdf:type ontology:position } UNION { ?q rdf:type ontology:administrative_territorial_entity } } . resource:Austria property:basic_form_of_government ?q } } }
[]
position administrative territorial entity political territorial entity
SYSTEM
4
Q641138 Q38610 Q468378 Q151938
(c(Q1048835),P122,c(Q4164871)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q40
relation P122
type Q4164871
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?l ) { ( ontology:Q4164871 ) ( ontology:Q56061 ) } . ?j rdf:type ?l } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { { ?q rdf:type ontology:Q4164871 } UNION { ?q rdf:type ontology:Q56061 } } . resource:Q40 property:P122 ?q } } }
Duchy of Cleves Dominion of Newfoundland County of Hoya Neutral Moresnet
4
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Austria
relation basic form of government
type position
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?y ) WHERE { VALUES ( ?l ) { ( ontology:position ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?l } GROUP BY ?g } . FILTER ( ?y > ?r ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) WHERE { { { ?q rdf:type ontology:position } UNION { ?q rdf:type ontology:administrative_territorial_entity } } . resource:Austria property:basic_form_of_government ?q } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q183
P122
Q4164871 Q56061 Q1048835
USER
And how about Germany?
(c(Q1048835),P122,c(Q4164871)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q183
relation P122
type Q4164871
type Q56061
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { { ?k property:P122 ?m . ?k rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q4164871 } UNION { ?k property:P122 ?m . ?k rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q56061 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q183 property:P122 ?f . { { ?f rdf:type ontology:Q4164871 } UNION { ?f rdf:type ontology:Q56061 } } } } . FILTER ( ?c > ?g ) }
Germany
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Germany
relation basic form of government
type position
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { { ?k property:basic_form_of_government ?m . ?k rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:position } UNION { ?k property:basic_form_of_government ?m . ?k rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Germany property:basic_form_of_government ?f . { { ?f rdf:type ontology:position } UNION { ?f rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?c > ?g ) }
[]
position administrative territorial entity political territorial entity
SYSTEM
4
Q641138 Q38610 Q468378 Q151938
(c(Q1048835),P122,c(Q4164871)|c(Q56061))
action count
action greater
action union
action find_tuple_counts
relation P122
type Q1048835
type Q4164871
action find_tuple_counts
relation P122
type Q1048835
type Q56061
action count
action filter_multi_types
action find
entity Q183
relation P122
type Q4164871
type Q56061
[ANSWER]
[{'concept': 'Q1048835'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q56061'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { { ?k property:P122 ?m . ?k rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q4164871 } UNION { ?k property:P122 ?m . ?k rdf:type ontology:Q1048835 . ?m rdf:type ontology:Q56061 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Q183 property:P122 ?f . { { ?f rdf:type ontology:Q4164871 } UNION { ?f rdf:type ontology:Q56061 } } } } . FILTER ( ?c > ?g ) }
Duchy of Cleves Dominion of Newfoundland County of Hoya Neutral Moresnet
4
action count
action greater
action union
action find_tuple_counts
relation basic form of government
type political territorial entity
type position
action find_tuple_counts
relation basic form of government
type political territorial entity
type administrative territorial entity
action count
action filter_multi_types
action find
entity Germany
relation basic form of government
type position
type administrative territorial entity
[{'concept': 'political territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?k WHERE { { ?k property:basic_form_of_government ?m . ?k rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:position } UNION { ?k property:basic_form_of_government ?m . ?k rdf:type ontology:political_territorial_entity . ?m rdf:type ontology:administrative_territorial_entity } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { resource:Germany property:basic_form_of_government ?f . { { ?f rdf:type ontology:position } UNION { ?f rdf:type ontology:administrative_territorial_entity } } } } . FILTER ( ?c > ?g ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q6142
P47
Q56061
USER
How many administrative territories share border with Potsdam-Mittelmark ?
(Q6142,P47,c(Q56061))
action count
action filter_type
action find
entity Q6142
relation P47
type Q56061
['Q6142', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q6142 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Potsdam-Mittelmark
action count
action filter_type
action find
entity Potsdam-Mittelmark
relation shares border with
type administrative territorial entity
['Potsdam-Mittelmark', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Potsdam-Mittelmark property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q64
(Q6142,P47,c(Q56061))
action count
action filter_type
action find
entity Q6142
relation P47
type Q56061
[ANSWER]
['Q6142', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Q6142 property:P47 ?x . ?x rdf:type ontology:Q56061 }
Berlin
1
action count
action filter_type
action find
entity Potsdam-Mittelmark
relation shares border with
type administrative territorial entity
['Potsdam-Mittelmark', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { resource:Potsdam-Mittelmark property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q124029
P47
Q56061
USER
And what about Filottrano?
(Q124029,P47,c(Q56061))
action count
action filter_type
action find
entity Q124029
relation P47
type Q56061
['Q124029', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q124029 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Filottrano
action count
action filter_type
action find
entity Filottrano
relation shares border with
type administrative territorial entity
['Filottrano', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Filottrano property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q80451
(Q124029,P47,c(Q56061))
action count
action filter_type
action find
entity Q124029
relation P47
type Q56061
[ANSWER]
['Q124029', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q124029 property:P47 ?j . ?j rdf:type ontology:Q56061 }
Appignano
1
action count
action filter_type
action find
entity Filottrano
relation shares border with
type administrative territorial entity
['Filottrano', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Filottrano property:shares_border_with ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]