Simple Question (Direct)
Simple Question
Q54006
P47
Q15617994
USER
Which administrative territories are bordered by Spezzano Piccolo ?
(Q54006,P47,c(Q15617994))
action filter_type
action find
entity Q54006
relation P47
type Q15617994
['Q54006', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q54006 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Spezzano Piccolo
action filter_type
action find
entity Spezzano Piccolo
relation shares border with
type designation for an administrative territorial entity
['Spezzano Piccolo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Spezzano_Piccolo property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53896 Q53969 Q53852
SYSTEM
Longobucco, San Giovanni in Fiore, Casole Bruzio
Q53932 Q53896 Q54003 Q53969 Q53852 Q54008
(Q54006,P47,c(Q15617994))
action filter_type
action find
entity Q54006
relation P47
type Q15617994
[ANSWERS] are bordered by Spezzano Piccolo
['Q54006', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q54006 property:P47 ?b . ?b rdf:type ontology:Q15617994 }
Pedace Longobucco Serra Pedace San Giovanni in Fiore Casole Bruzio Spezzano della Sila
Longobucco, San Giovanni in Fiore and Casole Bruzio are bordered by Spezzano Piccolo
Longobucco San Giovanni in Fiore Casole Bruzio
action filter_type
action find
entity Spezzano Piccolo
relation shares border with
type designation for an administrative territorial entity
['Spezzano Piccolo', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Spezzano_Piccolo property:shares_border_with ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53896
P17
Q15617994
USER
Which administrative territory is Longobucco situated in ?
(Q53896,P17,c(Q15617994))
action filter_type
action find
entity Q53896
relation P17
type Q15617994
['Q53896', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q53896 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Longobucco
action filter_type
action find
entity Longobucco
relation country
type designation for an administrative territorial entity
['Longobucco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Longobucco property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q53896,P17,c(Q15617994))
action filter_type
action find
entity Q53896
relation P17
type Q15617994
Longobucco is situated in [ANSWER]
['Q53896', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q53896 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Italy
Longobucco is situated in Italy
Italy
action filter_type
action find
entity Longobucco
relation country
type designation for an administrative territorial entity
['Longobucco', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Longobucco property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P530
Q515 Q5589178
USER
How many cities and regimes have diplomatic relations with Italy ?
(c(Q515),P530,Q38) (c(Q5589178),P530,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q515
action filter_type
action find_reverse
entity Q38
relation P530
type Q5589178
[{'concept': 'Q515'}, 'P530', 'Q38'] [{'concept': 'Q5589178'}, 'P530', 'Q38']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q5589178 ) } . ?b rdf:type ?z }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type city
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type regime
[{'concept': 'city'}, 'diplomatic relation', 'Italy'] [{'concept': 'regime'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:regime ) } . ?b rdf:type ?z }
[]
city regime
SYSTEM
1 cities and 1 regimes
Q235 Q1246
(c(Q515),P530,Q38) (c(Q5589178),P530,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P530
type Q515
action filter_type
action find_reverse
entity Q38
relation P530
type Q5589178
[ANSWER]
[{'concept': 'Q515'}, 'P530', 'Q38'] [{'concept': 'Q5589178'}, 'P530', 'Q38']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:Q515 ) ( ontology:Q5589178 ) } . ?b rdf:type ?z }
Monaco Kosovo
1 cities and 1 regimes
action count
action union
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type city
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type regime
[{'concept': 'city'}, 'diplomatic relation', 'Italy'] [{'concept': 'regime'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { VALUES ( ?z ) { ( ontology:city ) ( ontology:regime ) } . ?b rdf:type ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with approximately 105 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?s } GROUP BY ?o } . FILTER ( ?h = 105 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?s } GROUP BY ?o } . FILTER ( ?h = 105 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 105
[ANSWERS] are known to have diplomatic connections with approximately 105 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 . ?o property:P530 ?s } GROUP BY ?o } . FILTER ( ?h = 105 ) }
Germany Australia
Germany and Australia are known to have diplomatic connections with approximately 105 administrative territories
Germany Australia
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 105
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity . ?o property:diplomatic_relation ?s } GROUP BY ?o } . FILTER ( ?h = 105 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q40
P530
Q1048835 Q1048835
USER
Which political territories have ambassadorial relations with approximately the same number of political territories as Austria ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?l ) WHERE { ?s property:P530 ?w . ?s rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?q ) }
Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?l ) WHERE { ?s property:diplomatic_relation ?w . ?s rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?q ) }
[]
political territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q40
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with approximately the same number of political territories as Austria
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?l ) WHERE { ?s property:P530 ?w . ?s rdf:type ontology:Q1048835 . ?w rdf:type ontology:Q1048835 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q40 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?q ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with approximately the same number of political territories as Austria
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Austria
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?w ) AS ?l ) WHERE { ?s property:diplomatic_relation ?w . ?s rdf:type ontology:political_territorial_entity . ?w rdf:type ontology:political_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Austria property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q766
P530
Q1048835 Q1048835
USER
And also tell me about Jamaica?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:P530 ?n . ?d rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q766 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?q ) }
Jamaica
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:diplomatic_relation ?n . ?d rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Jamaica property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?q ) }
[]
political territorial entity political territorial entity
Q35 Q40 Q664
SYSTEM
Denmark, Austria, New Zealand
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q664 Q766
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
action count
action filter_type
action find
entity Q766
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:P530 ?n . ?d rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q1048835 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Q766 property:P530 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?v = ?q ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea New Zealand Jamaica
Denmark Austria New Zealand
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
action count
action filter_type
action find
entity Jamaica
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?v ) WHERE { ?d property:diplomatic_relation ?n . ?d rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?q ) WHERE { resource:Jamaica property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?v = ?q ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7108210
P530
Q15617994
USER
Are Oswayo Valley School District known to have diplomatic connections with those political territories ?
(Q7108210,P530,Q35) (Q7108210,P530,Q40) (Q7108210,P530,Q664)
action is_in
entity prev_answer
action find
entity Q7108210
relation P530
['Q7108210', 'P530', 'Q35'] ['Q7108210', 'P530', 'Q40'] ['Q7108210', 'P530', 'Q664']
ASK WHERE { VALUES ( ?t ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q7108210 property:P530 ?t }
Oswayo Valley School District
action is_in
entity prev_answer
action find
entity Oswayo Valley School District
relation diplomatic relation
['Oswayo Valley School District', 'diplomatic relation', 'Denmark'] ['Oswayo Valley School District', 'diplomatic relation', 'Austria'] ['Oswayo Valley School District', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?t ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Oswayo_Valley_School_District property:diplomatic_relation ?t }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7108210,P530,Q35) (Q7108210,P530,Q40) (Q7108210,P530,Q664)
action is_in
entity prev_answer
action find
entity Q7108210
relation P530
[ANSWER]
['Q7108210', 'P530', 'Q35'] ['Q7108210', 'P530', 'Q40'] ['Q7108210', 'P530', 'Q664']
ASK WHERE { VALUES ( ?t ) { ( resource:Q1000 ) ( resource:Q40 ) ( resource:Q781 ) } . resource:Q7108210 property:P530 ?t }
No
action is_in
entity prev_answer
action find
entity Oswayo Valley School District
relation diplomatic relation
['Oswayo Valley School District', 'diplomatic relation', 'Denmark'] ['Oswayo Valley School District', 'diplomatic relation', 'Austria'] ['Oswayo Valley School District', 'diplomatic relation', 'New Zealand']
ASK WHERE { VALUES ( ?t ) { ( resource:Gabon ) ( resource:Austria ) ( resource:Antigua_and_Barbuda ) } . resource:Oswayo_Valley_School_District property:diplomatic_relation ?t }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q53852 Q515300
P47
Q15617994
USER
Does Welcherath share the border with Casole Bruzio ?
(Q53852,P47,Q515300)
action is_in
entity Q515300
action find
entity Q53852
relation P47
['Q53852', 'P47', 'Q515300']
ASK WHERE { resource:Q53852 property:P47 resource:Q515300 }
Casole Bruzio Welcherath
action is_in
entity Welcherath
action find
entity Casole Bruzio
relation shares border with
['Casole Bruzio', 'shares border with', 'Welcherath']
ASK WHERE { resource:Casole_Bruzio property:shares_border_with resource:Welcherath }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q53852,P47,Q515300)
action is_in
entity Q515300
action find
entity Q53852
relation P47
[ANSWER]
['Q53852', 'P47', 'Q515300']
ASK WHERE { resource:Q53852 property:P47 resource:Q515300 }
No
action is_in
entity Welcherath
action find
entity Casole Bruzio
relation shares border with
['Casole Bruzio', 'shares border with', 'Welcherath']
ASK WHERE { resource:Casole_Bruzio property:shares_border_with resource:Welcherath }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q53852
P417
Q502895
USER
Which person is the patron saint of Casole Bruzio ?
action filter_type
action find
entity Q53852
relation P417
type Q502895
SELECT DISTINCT ?n WHERE { resource:Q53852 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Casole Bruzio
action filter_type
action find
entity Casole Bruzio
relation patron saint
type common name
SELECT DISTINCT ?n WHERE { resource:Casole_Bruzio property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
common name
Q543320
SYSTEM
Marina the Monk
Q543320
action filter_type
action find
entity Q53852
relation P417
type Q502895
[ANSWER] is the patron saint of Casole Bruzio
SELECT DISTINCT ?n WHERE { resource:Q53852 property:P417 ?n . ?n rdf:type ontology:Q502895 }
Marina the Monk
Marina the Monk is the patron saint of Casole Bruzio
Marina the Monk
action filter_type
action find
entity Casole Bruzio
relation patron saint
type common name
SELECT DISTINCT ?n WHERE { resource:Casole_Bruzio property:patron_saint ?n . ?n rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q543320 Q373189
P19
Q15617994
USER
Is Bithynia the birthplace of Marina the Monk ?
(Q543320,P19,Q373189)
action is_in
entity Q373189
action find
entity Q543320
relation P19
['Q543320', 'P19', 'Q373189']
ASK WHERE { resource:Q543320 property:P19 resource:Q373189 }
Marina the Monk Bithynia
action is_in
entity Bithynia
action find
entity Marina the Monk
relation place of birth
['Marina the Monk', 'place of birth', 'Bithynia']
ASK WHERE { resource:Marina_the_Monk property:place_of_birth resource:Bithynia }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q543320,P19,Q373189)
action is_in
entity Q373189
action find
entity Q543320
relation P19
[ANSWER]
['Q543320', 'P19', 'Q373189']
ASK WHERE { resource:Q543320 property:P19 resource:Q373189 }
Yes
action is_in
entity Bithynia
action find
entity Marina the Monk
relation place of birth
['Marina the Monk', 'place of birth', 'Bithynia']
ASK WHERE { resource:Marina_the_Monk property:place_of_birth resource:Bithynia }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q40 Q78490 Q13014
P35
Q502895
USER
Did Austria elect Thomas Klestil and Franz Jonas as its head of state ?
(Q40,P35,Q78490) (Q40,P35,Q13014)
action is_in
entity Q40
action intersection
action find_reverse
entity Q78490
relation P35
action find_reverse
entity Q13014
relation P35
['Q40', 'P35', 'Q78490'] ['Q40', 'P35', 'Q13014']
ASK WHERE { resource:Q40 property:P35 resource:Q78490 . resource:Q40 property:P35 resource:Q13014 }
Austria Thomas Klestil Franz Jonas
action is_in
entity Austria
action intersection
action find_reverse
entity Thomas Klestil
relation head of state
action find_reverse
entity Franz Jonas
relation head of state
['Austria', 'head of state', 'Thomas Klestil'] ['Austria', 'head of state', 'Franz Jonas']
ASK WHERE { resource:Austria property:head_of_state resource:Thomas_Klestil . resource:Austria property:head_of_state resource:Franz_Jonas }
[]
common name
SYSTEM
YES
(Q40,P35,Q78490) (Q40,P35,Q13014)
action is_in
entity Q40
action intersection
action find_reverse
entity Q78490
relation P35
action find_reverse
entity Q13014
relation P35
[ANSWER]
['Q40', 'P35', 'Q78490'] ['Q40', 'P35', 'Q13014']
ASK WHERE { resource:Q40 property:P35 resource:Q78490 . resource:Q40 property:P35 resource:Q13014 }
Yes
action is_in
entity Austria
action intersection
action find_reverse
entity Thomas Klestil
relation head of state
action find_reverse
entity Franz Jonas
relation head of state
['Austria', 'head of state', 'Thomas Klestil'] ['Austria', 'head of state', 'Franz Jonas']
ASK WHERE { resource:Austria property:head_of_state resource:Thomas_Klestil . resource:Austria property:head_of_state resource:Franz_Jonas }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q54006 Q161716
P17
Q15617994
USER
Is Spezzano Piccolo a part of Grotte di Castro ?
(Q54006,P17,Q161716)
action is_in
entity Q161716
action find
entity Q54006
relation P17
['Q54006', 'P17', 'Q161716']
ASK WHERE { resource:Q54006 property:P17 resource:Q161716 }
Spezzano Piccolo Grotte di Castro
action is_in
entity Grotte di Castro
action find
entity Spezzano Piccolo
relation country
['Spezzano Piccolo', 'country', 'Grotte di Castro']
ASK WHERE { resource:Spezzano_Piccolo property:country resource:Grotte_di_Castro }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q54006,P17,Q161716)
action is_in
entity Q161716
action find
entity Q54006
relation P17
[ANSWER]
['Q54006', 'P17', 'Q161716']
ASK WHERE { resource:Q54006 property:P17 resource:Q161716 }
No
action is_in
entity Grotte di Castro
action find
entity Spezzano Piccolo
relation country
['Spezzano Piccolo', 'country', 'Grotte di Castro']
ASK WHERE { resource:Spezzano_Piccolo property:country resource:Grotte_di_Castro }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q35 Q1713862 Q94941
P35
Q502895
USER
Does Denmark have Jurgis Razma and Frederick VII of Denmark as its chief of state ?
(Q35,P35,Q1713862) (Q35,P35,Q94941)
action is_in
entity Q35
action intersection
action find_reverse
entity Q1713862
relation P35
action find_reverse
entity Q94941
relation P35
['Q35', 'P35', 'Q1713862'] ['Q35', 'P35', 'Q94941']
ASK WHERE { resource:Q35 property:P35 resource:Q94941 . resource:Q35 property:P35 resource:Q1713862 }
Denmark Jurgis Razma Frederick VII of Denmark
action is_in
entity Denmark
action intersection
action find_reverse
entity Jurgis Razma
relation head of state
action find_reverse
entity Frederick VII of Denmark
relation head of state
['Denmark', 'head of state', 'Jurgis Razma'] ['Denmark', 'head of state', 'Frederick VII of Denmark']
ASK WHERE { resource:Denmark property:head_of_state resource:Frederick_VII_of_Denmark . resource:Denmark property:head_of_state resource:Jurgis_Razma }
[]
common name
SYSTEM
NO and YES respectively
(Q35,P35,Q1713862) (Q35,P35,Q94941)
action is_in
entity Q35
action intersection
action find_reverse
entity Q1713862
relation P35
action find_reverse
entity Q94941
relation P35
[ANSWER]
['Q35', 'P35', 'Q1713862'] ['Q35', 'P35', 'Q94941']
ASK WHERE { resource:Q35 property:P35 resource:Q94941 . resource:Q35 property:P35 resource:Q1713862 }
NO and YES respectively
action is_in
entity Denmark
action intersection
action find_reverse
entity Jurgis Razma
relation head of state
action find_reverse
entity Frederick VII of Denmark
relation head of state
['Denmark', 'head of state', 'Jurgis Razma'] ['Denmark', 'head of state', 'Frederick VII of Denmark']
ASK WHERE { resource:Denmark property:head_of_state resource:Frederick_VII_of_Denmark . resource:Denmark property:head_of_state resource:Jurgis_Razma }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q35
P206
Q15324
USER
Which body of water is located in the neighbourhood of that political territory ?
action filter_type
action find
entity Q35
relation P206
type Q15324
SELECT DISTINCT ?l WHERE { resource:Q35 property:P206 ?l . ?l rdf:type ontology:Q15324 }
Denmark
action filter_type
action find
entity Denmark
relation located next to body of water
type body of water
SELECT DISTINCT ?l WHERE { resource:Denmark property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]
body of water
Q1693
SYSTEM
North Sea
Q1693
action filter_type
action find
entity Q35
relation P206
type Q15324
The [ANSWER] is located in the neighbourhood of that political territory
SELECT DISTINCT ?l WHERE { resource:Q35 property:P206 ?l . ?l rdf:type ontology:Q15324 }
North Sea
The North Sea is located in the neighbourhood of that political territory
North Sea
action filter_type
action find
entity Denmark
relation located next to body of water
type body of water
SELECT DISTINCT ?l WHERE { resource:Denmark property:located_next_to_body_of_water ?l . ?l rdf:type ontology:body_of_water }
[]