Simple Question (Direct)
Simple Question
Q104254
P20
Q486972
USER
Where did the demise of Robert Kraft occur ?
(Q104254,P20,c(Q486972))
action filter_type
action find
entity Q104254
relation P20
type Q486972
['Q104254', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q104254 property:P20 ?d . ?d rdf:type ontology:Q486972 }
Robert Kraft
action filter_type
action find
entity Robert Kraft
relation place of death
type human settlement
['Robert Kraft', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Kraft property:place_of_death ?d . ?d rdf:type ontology:human_settlement }
[]
human settlement
Q1568067
SYSTEM
Haffkrug
Q1568067
(Q104254,P20,c(Q486972))
action filter_type
action find
entity Q104254
relation P20
type Q486972
The demise of Robert Kraft occurred in [ANSWER]
['Q104254', 'P20', {'concept': 'Q486972'}]
SELECT DISTINCT ?d WHERE { resource:Q104254 property:P20 ?d . ?d rdf:type ontology:Q486972 }
Haffkrug
The demise of Robert Kraft occurred in Haffkrug
Haffkrug
action filter_type
action find
entity Robert Kraft
relation place of death
type human settlement
['Robert Kraft', 'place of death', {'concept': 'human settlement'}]
SELECT DISTINCT ?d WHERE { resource:Robert_Kraft property:place_of_death ?d . ?d rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104254
P106
Q12737077
USER
Which occupations have Robert Kraft as his/her 's career ?
(Q104254,P106,c(Q12737077))
action filter_type
action find
entity Q104254
relation P106
type Q12737077
['Q104254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q104254 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Robert Kraft
action filter_type
action find
entity Robert Kraft
relation occupation
type occupation
['Robert Kraft', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Robert_Kraft property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q36180 Q18844224
SYSTEM
writer, science fiction writer
Q36180 Q18844224
(Q104254,P106,c(Q12737077))
action filter_type
action find
entity Q104254
relation P106
type Q12737077
The [ANSWERS] have Robert Kraft as his/her 's career
['Q104254', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q104254 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
writer science fiction writer
The writer and science fiction writer have Robert Kraft as his/her 's career
writer science fiction writer
action filter_type
action find
entity Robert Kraft
relation occupation
type occupation
['Robert Kraft', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Robert_Kraft property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q104254
P19
Q515
USER
Which city was that person born at ?
(Q36180,P19,c(Q515)) (Q18844224,P19,c(Q515))
action filter_type
action find
entity Q104254
relation P19
type Q515
['Q36180', 'P19', {'concept': 'Q515'}] ['Q18844224', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q104254 property:P19 ?e . ?e rdf:type ontology:Q515 }
Robert Kraft
action filter_type
action find
entity Robert Kraft
relation place of birth
type city
['writer', 'place of birth', {'concept': 'city'}] ['science fiction writer', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Kraft property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
city
Q2079
SYSTEM
Leipzig
Q2079
(Q36180,P19,c(Q515)) (Q18844224,P19,c(Q515))
action filter_type
action find
entity Q104254
relation P19
type Q515
That person was born in [ANSWER]
['Q36180', 'P19', {'concept': 'Q515'}] ['Q18844224', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?e WHERE { resource:Q104254 property:P19 ?e . ?e rdf:type ontology:Q515 }
Leipzig
That person was born in Leipzig
Leipzig
action filter_type
action find
entity Robert Kraft
relation place of birth
type city
['writer', 'place of birth', {'concept': 'city'}] ['science fiction writer', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?e WHERE { resource:Robert_Kraft property:place_of_birth ?e . ?e rdf:type ontology:city }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2079
P47
Q1048835
USER
Which political territories are adjacent to that city ?
(Q2079,P47,c(Q1048835))
action filter_type
action find
entity Q2079
relation P47
type Q1048835
['Q2079', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q2079 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Leipzig
action filter_type
action find
entity Leipzig
relation shares border with
type political territorial entity
['Leipzig', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Leipzig property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6301 Q6308
SYSTEM
Nordsachsen, Leipzig
Q6301 Q6308
(Q2079,P47,c(Q1048835))
action filter_type
action find
entity Q2079
relation P47
type Q1048835
[ANSWERS] are adjacent to that city
['Q2079', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?b WHERE { resource:Q2079 property:P47 ?b . ?b rdf:type ontology:Q1048835 }
Nordsachsen Leipzig
Nordsachsen and Leipzig are adjacent to that city
Nordsachsen Leipzig
action filter_type
action find
entity Leipzig
relation shares border with
type political territorial entity
['Leipzig', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Leipzig property:shares_border_with ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q73179
P706
Q2221906 Q82794 Q486972
USER
Which human settlements are located in more number of geographic locations and geographic regions than Silberborn ?
(c(Q486972),P706,c(Q2221906)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q486972
type Q2221906
action find_tuple_counts
relation P706
type Q486972
type Q82794
action count
action filter_multi_types
action find
entity Q73179
relation P706
type Q2221906
type Q82794
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?j } . FILTER ( ?z > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } . resource:Q73179 property:P706 ?h } } }
Silberborn
action greater
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
action count
action filter_multi_types
action find
entity Silberborn
relation located on terrain feature
type geographic location
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?j } . FILTER ( ?z > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } . resource:Silberborn property:located_on_terrain_feature ?h } } }
[]
geographic location geographic region human settlement
Q82500 Q14805 Q881265
SYSTEM
St. Pölten, Kaufbeuren, Ruhlsdorf
Q1543659 Q2282756 Q881265 Q82500 Q1440032 Q2146309 Q1235576 Q1296117 Q1643547 Q303734 Q17468609 Q14805 Q2031633 Q997023 Q1524629 Q1014971 Q649494 Q7131792 Q2168982
(c(Q486972),P706,c(Q2221906)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q486972
type Q2221906
action find_tuple_counts
relation P706
type Q486972
type Q82794
action count
action filter_multi_types
action find
entity Q73179
relation P706
type Q2221906
type Q82794
[ANSWERS] are located in more number of geographic locations and geographic regions than Silberborn
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } GROUP BY ?j } . FILTER ( ?z > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } } . resource:Q73179 property:P706 ?h } } }
Gratzfeld Siefenhoven Ruhlsdorf St. Pölten Neichen Retscheid Eudenbach Efferoth Höhe Aathal Jüngsfeld Kaufbeuren Orscheid Brüngsberg Himberg Burggrub Pfiffelbach Panther Hollow Rottbitze
St. Pölten, Kaufbeuren and Ruhlsdorf are located in more number of geographic locations and geographic regions than Silberborn
St. Pölten Kaufbeuren Ruhlsdorf
action greater
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
action count
action filter_multi_types
action find
entity Silberborn
relation located on terrain feature
type geographic location
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?z ) WHERE { ?i rdf:type ?s . VALUES ( ?s ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } GROUP BY ?j } . FILTER ( ?z > ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { { ?h rdf:type ?g . VALUES ( ?g ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } } . resource:Silberborn property:located_on_terrain_feature ?h } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q20629
P706
Q2221906 Q82794 Q486972
USER
And also tell me about Morsum?
(c(Q486972),P706,c(Q2221906)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q486972
type Q2221906
action find_tuple_counts
relation P706
type Q486972
type Q82794
action count
action filter_multi_types
action find
entity Q20629
relation P706
type Q2221906
type Q82794
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { { ?t property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P706 ?y . ?t rdf:type ontology:Q486972 . ?y rdf:type ontology:Q82794 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q20629 property:P706 ?j . { VALUES ( ?x ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?j rdf:type ?x } } } . FILTER ( ?g > ?e ) }
Morsum
action greater
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
action count
action filter_multi_types
action find
entity Morsum
relation located on terrain feature
type geographic location
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { { ?t property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?t rdf:type ontology:human_settlement } UNION { ?t property:located_on_terrain_feature ?y . ?t rdf:type ontology:human_settlement . ?y rdf:type ontology:geographic_region } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Morsum property:located_on_terrain_feature ?j . { VALUES ( ?x ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?j rdf:type ?x } } } . FILTER ( ?g > ?e ) }
[]
geographic location geographic region human settlement
Q82500 Q14805 Q881265
SYSTEM
St. Pölten, Kaufbeuren, Ruhlsdorf
Q1543659 Q2282756 Q881265 Q82500 Q1440032 Q2146309 Q1235576 Q1296117 Q1643547 Q303734 Q17468609 Q14805 Q2031633 Q997023 Q1524629 Q1014971 Q649494 Q7131792 Q2168982
(c(Q486972),P706,c(Q2221906)|c(Q82794))
action greater
action union
action find_tuple_counts
relation P706
type Q486972
type Q2221906
action find_tuple_counts
relation P706
type Q486972
type Q82794
action count
action filter_multi_types
action find
entity Q20629
relation P706
type Q2221906
type Q82794
[ANSWERS]
[{'concept': 'Q486972'}, 'P706', [{'concept': 'Q2221906'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { { ?t property:P706 ?y . ?y rdf:type ontology:Q2221906 . ?t rdf:type ontology:Q486972 } UNION { ?t property:P706 ?y . ?t rdf:type ontology:Q486972 . ?y rdf:type ontology:Q82794 } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Q20629 property:P706 ?j . { VALUES ( ?x ) { ( ontology:Q2221906 ) ( ontology:Q82794 ) } . ?j rdf:type ?x } } } . FILTER ( ?g > ?e ) }
Gratzfeld Siefenhoven Ruhlsdorf St. Pölten Neichen Retscheid Eudenbach Efferoth Höhe Aathal Jüngsfeld Kaufbeuren Orscheid Brüngsberg Himberg Burggrub Pfiffelbach Panther Hollow Rottbitze
St. Pölten Kaufbeuren Ruhlsdorf
action greater
action union
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic location
action find_tuple_counts
relation located on terrain feature
type human settlement
type geographic region
action count
action filter_multi_types
action find
entity Morsum
relation located on terrain feature
type geographic location
type geographic region
[{'concept': 'human settlement'}, 'located on terrain feature', [{'concept': 'geographic location'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?g ) WHERE { { ?t property:located_on_terrain_feature ?y . ?y rdf:type ontology:geographic_location . ?t rdf:type ontology:human_settlement } UNION { ?t property:located_on_terrain_feature ?y . ?t rdf:type ontology:human_settlement . ?y rdf:type ontology:geographic_region } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { resource:Morsum property:located_on_terrain_feature ?j . { VALUES ( ?x ) { ( ontology:geographic_location ) ( ontology:geographic_region ) } . ?j rdf:type ?x } } } . FILTER ( ?g > ?e ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q82500 Q14805 Q881265
P190
Q56061
USER
Which administrative territories are twin city of St. Pölten, Kaufbeuren and Ruhlsdorf ?
(c(Q56061),P190,Q82500) (c(Q56061),P190,Q14805) (c(Q56061),P190,Q881265)
action union
action filter_type
action find_reverse
entity Q82500
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14805
relation P190
type Q56061
action filter_type
action find_reverse
entity Q881265
relation P190
type Q56061
[{'concept': 'Q56061'}, 'P190', 'Q82500'] [{'concept': 'Q56061'}, 'P190', 'Q14805'] [{'concept': 'Q56061'}, 'P190', 'Q881265']
SELECT DISTINCT ?q WHERE { ?q property:P190 ?c . VALUES ( ?c ) { ( resource:Q82500 ) ( resource:Q14805 ) } }
St. Pölten Kaufbeuren Ruhlsdorf
action union
action filter_type
action find_reverse
entity St. Pölten
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Kaufbeuren
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Ruhlsdorf
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'St. Pölten'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Kaufbeuren'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ruhlsdorf']
SELECT DISTINCT ?q WHERE { ?q property:sister_city ?c . VALUES ( ?c ) { ( resource:St._Pölten ) ( resource:Kaufbeuren ) } }
[]
administrative territorial entity
Q13362 Q130212 Q147607
SYSTEM
Ferrara, Székesfehérvár, Jablonec nad Nisou
Q6869 Q182025 Q130212 Q147607 Q13362 Q554771
(c(Q56061),P190,Q82500) (c(Q56061),P190,Q14805) (c(Q56061),P190,Q881265)
action union
action filter_type
action find_reverse
entity Q82500
relation P190
type Q56061
action filter_type
action find_reverse
entity Q14805
relation P190
type Q56061
action filter_type
action find_reverse
entity Q881265
relation P190
type Q56061
[ANSWERS] are twin city of St. Pölten, Kaufbeuren and Ruhlsdorf
[{'concept': 'Q56061'}, 'P190', 'Q82500'] [{'concept': 'Q56061'}, 'P190', 'Q14805'] [{'concept': 'Q56061'}, 'P190', 'Q881265']
SELECT DISTINCT ?q WHERE { ?q property:P190 ?c . VALUES ( ?c ) { ( resource:Q82500 ) ( resource:Q14805 ) } }
Heidenheim an der Brenz Aksaray Székesfehérvár Jablonec nad Nisou Ferrara Jessen
Ferrara, Székesfehérvár and Jablonec nad Nisou are twin city of St. Pölten, Kaufbeuren and Ruhlsdorf
Ferrara Székesfehérvár Jablonec nad Nisou
action union
action filter_type
action find_reverse
entity St. Pölten
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Kaufbeuren
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Ruhlsdorf
relation sister city
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'sister city', 'St. Pölten'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Kaufbeuren'] [{'concept': 'administrative territorial entity'}, 'sister city', 'Ruhlsdorf']
SELECT DISTINCT ?q WHERE { ?q property:sister_city ?c . VALUES ( ?c ) { ( resource:St._Pölten ) ( resource:Kaufbeuren ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q13362 Q130212 Q147607
P47
Q56061
USER
Who share the border with Ferrara, Székesfehérvár and Jablonec nad Nisou ?
(Q13362,P47,c(Q56061)) (Q130212,P47,c(Q56061)) (Q147607,P47,c(Q56061))
action union
action filter_type
action find
entity Q13362
relation P47
type Q56061
action filter_type
action find
entity Q130212
relation P47
type Q56061
action filter_type
action find
entity Q147607
relation P47
type Q56061
['Q13362', 'P47', {'concept': 'Q56061'}] ['Q130212', 'P47', {'concept': 'Q56061'}] ['Q147607', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { resource:Q13362 property:P47 ?x . ?x rdf:type ontology:Q56061 } UNION { resource:Q130212 property:P47 ?x . ?x rdf:type ontology:Q56061 } }
Ferrara Székesfehérvár Jablonec nad Nisou
action union
action filter_type
action find
entity Ferrara
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Székesfehérvár
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Jablonec nad Nisou
relation shares border with
type administrative territorial entity
['Ferrara', 'shares border with', {'concept': 'administrative territorial entity'}] ['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}] ['Jablonec nad Nisou', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Ferrara property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity } UNION { resource:Székesfehérvár property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
Q146351 Q95093 Q95142
SYSTEM
Liberec, Bondeno, Tresigallo
Q95093 Q95142 Q95109 Q202162 Q146351
(Q13362,P47,c(Q56061)) (Q130212,P47,c(Q56061)) (Q147607,P47,c(Q56061))
action union
action filter_type
action find
entity Q13362
relation P47
type Q56061
action filter_type
action find
entity Q130212
relation P47
type Q56061
action filter_type
action find
entity Q147607
relation P47
type Q56061
[ANSWERS] share the border with Ferrara, Székesfehérvár and Jablonec nad Nisou
['Q13362', 'P47', {'concept': 'Q56061'}] ['Q130212', 'P47', {'concept': 'Q56061'}] ['Q147607', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { { resource:Q13362 property:P47 ?x . ?x rdf:type ontology:Q56061 } UNION { resource:Q130212 property:P47 ?x . ?x rdf:type ontology:Q56061 } }
Bondeno Tresigallo Masi Torello Aba Liberec
Liberec, Bondeno and Tresigallo share the border with Ferrara, Székesfehérvár and Jablonec nad Nisou
Liberec Bondeno Tresigallo
action union
action filter_type
action find
entity Ferrara
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Székesfehérvár
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Jablonec nad Nisou
relation shares border with
type administrative territorial entity
['Ferrara', 'shares border with', {'concept': 'administrative territorial entity'}] ['Székesfehérvár', 'shares border with', {'concept': 'administrative territorial entity'}] ['Jablonec nad Nisou', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { resource:Ferrara property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity } UNION { resource:Székesfehérvár property:shares_border_with ?x . ?x rdf:type ontology:administrative_territorial_entity } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q146351 Q95093 Q95142
P47
Q56061
USER
Which administrative territories are bordered by those ones ?
(c(Q56061),P47,Q146351) (c(Q56061),P47,Q95093) (c(Q56061),P47,Q95142)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q146351'] [{'concept': 'Q56061'}, 'P47', 'Q95093'] [{'concept': 'Q56061'}, 'P47', 'Q95142']
SELECT DISTINCT ?c WHERE { ?o property:P47 ?c . VALUES ( ?o ) { ( resource:Q95093 ) ( resource:Q95142 ) ( resource:Q95109 ) } . ?c rdf:type ontology:Q56061 }
Liberec Bondeno Tresigallo
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Liberec'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Bondeno'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Tresigallo']
SELECT DISTINCT ?c WHERE { ?o property:shares_border_with ?c . VALUES ( ?o ) { ( resource:Bondeno ) ( resource:Tresigallo ) ( resource:Masi_Torello ) } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q13362 Q13362 Q100065
SYSTEM
Ferrara for 1st, 2nd, Mirandola for 3rd
Q147607 Q13362 Q100065 Q13362
(c(Q56061),P47,Q146351) (c(Q56061),P47,Q95093) (c(Q56061),P47,Q95142)
action filter_type
action find
entity prev_answer
relation P47
type Q56061
[ANSWERS]
[{'concept': 'Q56061'}, 'P47', 'Q146351'] [{'concept': 'Q56061'}, 'P47', 'Q95093'] [{'concept': 'Q56061'}, 'P47', 'Q95142']
SELECT DISTINCT ?c WHERE { ?o property:P47 ?c . VALUES ( ?o ) { ( resource:Q95093 ) ( resource:Q95142 ) ( resource:Q95109 ) } . ?c rdf:type ontology:Q56061 }
Jablonec nad Nisou Ferrara Mirandola Ferrara
Ferrara, Ferrara and Mirandola are bordered by those ones
Ferrara Ferrara Mirandola
action filter_type
action find
entity prev_answer
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Liberec'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Bondeno'] [{'concept': 'administrative territorial entity'}, 'shares border with', 'Tresigallo']
SELECT DISTINCT ?c WHERE { ?o property:shares_border_with ?c . VALUES ( ?o ) { ( resource:Bondeno ) ( resource:Tresigallo ) ( resource:Masi_Torello ) } . ?c rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13362
P119
Q502895
USER
Who have that administrative territory as his/her tomb ?
(c(Q502895),P119,Q13362)
action filter_type
action find_reverse
entity Q13362
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q13362']
SELECT DISTINCT ?y WHERE { ?y property:P119 resource:Q13362 . ?y rdf:type ontology:Q502895 }
Ferrara
action filter_type
action find_reverse
entity Ferrara
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Ferrara']
SELECT DISTINCT ?y WHERE { ?y property:place_of_burial resource:Ferrara . ?y rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q13362
SYSTEM
Did you mean Ferrara ?
Q13362 Q13362 Q100065
(c(Q502895),P119,Q13362) (c(Q502895),P119,Q13362) (c(Q502895),P119,Q100065)
[ANSWER]
[{'concept': 'Q502895'}, 'P119', 'Q13362'] [{'concept': 'Q502895'}, 'P119', 'Q13362'] [{'concept': 'Q502895'}, 'P119', 'Q100065']
SELECT DISTINCT ?y WHERE { ?y property:P119 resource:Q13362 . ?y rdf:type ontology:Q502895 }
Ferrara Ferrara Mirandola
Did you mean Ferrara ?
Ferrara
[{'concept': 'common name'}, 'place of burial', 'Ferrara'] [{'concept': 'common name'}, 'place of burial', 'Ferrara'] [{'concept': 'common name'}, 'place of burial', 'Mirandola']
SELECT DISTINCT ?y WHERE { ?y property:place_of_burial resource:Ferrara . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P119,Q13362)
[{'concept': 'Q502895'}, 'P119', 'Q13362']
[{'concept': 'common name'}, 'place of burial', 'Ferrara']
[]
Q3847596 Q645137
SYSTEM
Maria d'Aragona, Isabella del Balzo
Q3847596 Q645137
(c(Q502895),P119,Q13362)
action filter_type
action find_reverse
entity Q13362
relation P119
type Q502895
[ANSWERS] have that administrative territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q13362']
SELECT DISTINCT ?y WHERE { ?y property:P119 resource:Q13362 . ?y rdf:type ontology:Q502895 }
Maria d'Aragona Isabella del Balzo
Maria d'Aragona and Isabella del Balzo have that administrative territory as his/her tomb
Maria d'Aragona Isabella del Balzo
action filter_type
action find_reverse
entity Ferrara
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Ferrara']
SELECT DISTINCT ?y WHERE { ?y property:place_of_burial resource:Ferrara . ?y rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3847596
P26
Q502895
USER
Which person is the life partner of that one ?
(c(Q502895),P26,Q3847596)
action filter_type
action find
entity Q3847596
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q3847596']
SELECT DISTINCT ?g WHERE { resource:Q3847596 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Maria d'Aragona
action filter_type
action find
entity Maria d'Aragona
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', "Maria d'Aragona"]
SELECT DISTINCT ?g WHERE { resource:Maria_d'Aragona property:spouse ?g . ?g rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q3847596
SYSTEM
Did you mean Maria d'Aragona ?
Q3847596 Q645137
(c(Q502895),P26,Q3847596) (c(Q502895),P26,Q645137)
[ANSWER]
[{'concept': 'Q502895'}, 'P26', 'Q3847596'] [{'concept': 'Q502895'}, 'P26', 'Q645137']
SELECT DISTINCT ?g WHERE { resource:Q3847596 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Maria d'Aragona Isabella del Balzo
Did you mean Maria d'Aragona ?
Maria d'Aragona
[{'concept': 'common name'}, 'spouse', "Maria d'Aragona"] [{'concept': 'common name'}, 'spouse', 'Isabella del Balzo']
SELECT DISTINCT ?g WHERE { resource:Maria_d'Aragona property:spouse ?g . ?g rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P26,Q3847596)
[{'concept': 'Q502895'}, 'P26', 'Q3847596']
[{'concept': 'common name'}, 'spouse', "Maria d'Aragona"]
[]
Q1379797
SYSTEM
Leonello d'Este, Marquis of Ferrara
Q1379797
(c(Q502895),P26,Q3847596)
action filter_type
action find
entity Q3847596
relation P26
type Q502895
[ANSWER] is the life partner of that one
[{'concept': 'Q502895'}, 'P26', 'Q3847596']
SELECT DISTINCT ?g WHERE { resource:Q3847596 property:P26 ?g . ?g rdf:type ontology:Q502895 }
Leonello d'Este, Marquis of Ferrara
Leonello d'Este, Marquis of Ferrara is the life partner of that one
Leonello d'Este, Marquis of Ferrara
action filter_type
action find
entity Maria d'Aragona
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', "Maria d'Aragona"]
SELECT DISTINCT ?g WHERE { resource:Maria_d'Aragona property:spouse ?g . ?g rdf:type ontology:common_name }
[]