Simple Question (Direct)
Simple Question
Q632311
P1376
Q20667921
USER
Which french administrative division has Maillezais has its first city ?
(Q632311,P1376,c(Q20667921))
action filter_type
action find
entity Q632311
relation P1376
type Q20667921
['Q632311', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . resource:Q632311 property:P1376 ?w }
Maillezais
action filter_type
action find
entity Maillezais
relation capital of
type type of french administrative division
['Maillezais', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . resource:Maillezais property:capital_of ?w }
[]
type of french administrative division
Q1726047
SYSTEM
canton of Maillezais
Q1726047
(Q632311,P1376,c(Q20667921))
action filter_type
action find
entity Q632311
relation P1376
type Q20667921
The [ANSWER] has Maillezais has its first city
['Q632311', 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q20667921 . resource:Q632311 property:P1376 ?w }
canton of Maillezais
The canton of Maillezais has Maillezais has its first city
canton of Maillezais
action filter_type
action find
entity Maillezais
relation capital of
type type of french administrative division
['Maillezais', 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:type_of_french_administrative_division . resource:Maillezais property:capital_of ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1726047
P36
Q20667921
USER
Which french administrative division is known as the capital of that one ?
(Q1726047,P36,c(Q20667921))
action filter_type
action find
entity Q1726047
relation P36
type Q20667921
['Q1726047', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1726047 property:P36 ?p . ?p rdf:type ontology:Q20667921 }
canton of Maillezais
action filter_type
action find
entity canton of Maillezais
relation capital
type type of french administrative division
['canton of Maillezais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:canton_of_Maillezais property:capital ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q632311
SYSTEM
Maillezais
Q632311
(Q1726047,P36,c(Q20667921))
action filter_type
action find
entity Q1726047
relation P36
type Q20667921
[ANSWER] is known as the capital of that one
['Q1726047', 'P36', {'concept': 'Q20667921'}]
SELECT DISTINCT ?p WHERE { resource:Q1726047 property:P36 ?p . ?p rdf:type ontology:Q20667921 }
Maillezais
Maillezais is known as the capital of that one
Maillezais
action filter_type
action find
entity canton of Maillezais
relation capital
type type of french administrative division
['canton of Maillezais', 'capital', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?p WHERE { resource:canton_of_Maillezais property:capital ?p . ?p rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1726047
P17
Q15617994
USER
Which administrative territory does canton of Maillezais belong to ?
(Q1726047,P17,c(Q15617994))
action filter_type
action find
entity Q1726047
relation P17
type Q15617994
['Q1726047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1726047 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
canton of Maillezais
action filter_type
action find
entity canton of Maillezais
relation country
type designation for an administrative territorial entity
['canton of Maillezais', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:canton_of_Maillezais property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1726047,P17,c(Q15617994))
action filter_type
action find
entity Q1726047
relation P17
type Q15617994
Canton of Maillezais belongs to [ANSWER]
['Q1726047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1726047 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
France
Canton of Maillezais belongs to France
France
action filter_type
action find
entity canton of Maillezais
relation country
type designation for an administrative territorial entity
['canton of Maillezais', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:canton_of_Maillezais property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q355304 Q1267889 Q15617994
USER
Which administrative territories are situated in the neighbourhood of around 8 watercourses or waterways ?
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
value 8
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?x WHERE { { ?x property:P206 ?k . ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q355304 } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 . ?x property:P206 ?k } } GROUP BY ?x } . FILTER ( ?v = 8 ) }
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?x WHERE { { ?x property:located_next_to_body_of_water ?k . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:watercourse } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway . ?x property:located_next_to_body_of_water ?k } } GROUP BY ?x } . FILTER ( ?v = 8 ) }
[]
watercourse waterway designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(c(Q15617994),P206,c(Q355304)|c(Q1267889))
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
value 8
[ANSWER] is situated in the neighbourhood of around 8 watercourses or waterways
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?x WHERE { { ?x property:P206 ?k . ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q355304 } UNION { ?x rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 . ?x property:P206 ?k } } GROUP BY ?x } . FILTER ( ?v = 8 ) }
Slovakia
Slovakia is situated in the neighbourhood of around 8 watercourses or waterways
Slovakia
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'waterway'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?v ) ?x WHERE { { ?x property:located_next_to_body_of_water ?k . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:watercourse } UNION { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway . ?x property:located_next_to_body_of_water ?k } } GROUP BY ?x } . FILTER ( ?v = 8 ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q214 Q5436542
P47
Q15617994
USER
Does Farwell Independent School District share border with that one ?
(Q214,P47,Q5436542)
action is_in
entity Q5436542
action find
entity Q214
relation P47
['Q214', 'P47', 'Q5436542']
ASK WHERE { resource:Q214 property:P47 resource:Q5436542 }
Slovakia Farwell Independent School District
action is_in
entity Farwell Independent School District
action find
entity Slovakia
relation shares border with
['Slovakia', 'shares border with', 'Farwell Independent School District']
ASK WHERE { resource:Slovakia property:shares_border_with resource:Farwell_Independent_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q214,P47,Q5436542)
action is_in
entity Q5436542
action find
entity Q214
relation P47
[ANSWER]
['Q214', 'P47', 'Q5436542']
ASK WHERE { resource:Q214 property:P47 resource:Q5436542 }
No
action is_in
entity Farwell Independent School District
action find
entity Slovakia
relation shares border with
['Slovakia', 'shares border with', 'Farwell Independent School District']
ASK WHERE { resource:Slovakia property:shares_border_with resource:Farwell_Independent_School_District }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214
P495
Q15416
USER
What are Slovakia a country of origin of ?
action filter_type
action find_reverse
entity Q214
relation P495
type Q15416
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . ?q property:P495 resource:Q214 }
Slovakia
action filter_type
action find_reverse
entity Slovakia
relation country of origin
type television program
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . ?q property:country_of_origin resource:Slovakia }
[]
television program
Q12043700 Q3283179 Q6532274
SYSTEM
Panelák, VyVolení, Let's Dance
Q3283179 Q3487802 Q6532274 Q12043700
action filter_type
action find_reverse
entity Q214
relation P495
type Q15416
Slovakia a country of origin of are the [ANSWERS]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15416 . ?q property:P495 resource:Q214 }
VyVolení Mesto tieňov Let's Dance Panelák
Slovakia a country of origin of are the Panelák, VyVolení and Let's Dance
Panelák VyVolení Let's Dance
action filter_type
action find_reverse
entity Slovakia
relation country of origin
type television program
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:television_program . ?q property:country_of_origin resource:Slovakia }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q214
P530
Q1048835 Q15617994
USER
How many political territories and administrative territories have diplomatic relations with Slovakia ?
(Q214,P530,c(Q1048835)) (Q214,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q214
relation P530
type Q1048835
action filter_type
action find
entity Q214
relation P530
type Q15617994
['Q214', 'P530', {'concept': 'Q1048835'}] ['Q214', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ontology:Q1048835 . resource:Q214 property:P530 ?s } UNION { resource:Q214 property:P530 ?s . ?s rdf:type ontology:Q15617994 } }
Slovakia
action count
action union
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovakia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ontology:political_territorial_entity . resource:Slovakia property:diplomatic_relation ?s } UNION { resource:Slovakia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
1 political territories and 1 administrative territories
Q38 Q183
(Q214,P530,c(Q1048835)) (Q214,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q214
relation P530
type Q1048835
action filter_type
action find
entity Q214
relation P530
type Q15617994
[ANSWER]
['Q214', 'P530', {'concept': 'Q1048835'}] ['Q214', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ontology:Q1048835 . resource:Q214 property:P530 ?s } UNION { resource:Q214 property:P530 ?s . ?s rdf:type ontology:Q15617994 } }
Italy Germany
1 political territories and 1 administrative territories
action count
action union
action filter_type
action find
entity Slovakia
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Slovakia
relation diplomatic relation
type designation for an administrative territorial entity
['Slovakia', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Slovakia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s rdf:type ontology:political_territorial_entity . resource:Slovakia property:diplomatic_relation ?s } UNION { resource:Slovakia property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]