Simple Question (Direct)
Simple Question
Q2085704
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Norbert Hrnčár ?
(Q2085704,P27,c(Q15617994))
action filter_type
action find
entity Q2085704
relation P27
type Q15617994
['Q2085704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2085704 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Norbert Hrnčár
action filter_type
action find
entity Norbert Hrnčár
relation country of citizenship
type designation for an administrative territorial entity
['Norbert Hrnčár', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Norbert_Hrnčár property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q214
SYSTEM
Slovakia
Q214
(Q2085704,P27,c(Q15617994))
action filter_type
action find
entity Q2085704
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Norbert Hrnčár
['Q2085704', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2085704 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Slovakia
Slovakia is the country of citizenship of Norbert Hrnčár
Slovakia
action filter_type
action find
entity Norbert Hrnčár
relation country of citizenship
type designation for an administrative territorial entity
['Norbert Hrnčár', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Norbert_Hrnčár property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P463
Q56061
USER
What was that administrative territory a member of ?
(Q214,P463,c(Q56061))
action filter_type
action find
entity Q214
relation P463
type Q56061
['Q214', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q214 property:P463 ?c }
Slovakia
action filter_type
action find
entity Slovakia
relation member of
type administrative territorial entity
['Slovakia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Slovakia property:member_of ?c }
[]
administrative territorial entity
Q458
SYSTEM
European Union
Q458
(Q214,P463,c(Q56061))
action filter_type
action find
entity Q214
relation P463
type Q56061
That administrative territory a member of was the [ANSWER]
['Q214', 'P463', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q56061 . resource:Q214 property:P463 ?c }
European Union
That administrative territory a member of was the European Union
European Union
action filter_type
action find
entity Slovakia
relation member of
type administrative territorial entity
['Slovakia', 'member of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:administrative_territorial_entity . resource:Slovakia property:member_of ?c }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q214
Q874405
USER
And which social group?
(Q214,P463,c(Q874405))
action filter_type
action find
entity Q214
relation P463
type Q874405
['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q874405 . resource:Q214 property:P463 ?r }
Slovakia
action filter_type
action find
entity Slovakia
relation member of
type social group
['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:social_group . resource:Slovakia property:member_of ?r }
[]
social group
Q782942
SYSTEM
Australia Group
Q782942
(Q214,P463,c(Q874405))
action filter_type
action find
entity Q214
relation P463
type Q874405
[ANSWER]
['Q214', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q874405 . resource:Q214 property:P463 ?r }
Australia Group
Australia Group
action filter_type
action find
entity Slovakia
relation member of
type social group
['Slovakia', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:social_group . resource:Slovakia property:member_of ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q214
P1532
Q502895
USER
Who play for Slovakia ?
(c(Q502895),P1532,Q214)
action filter_type
action find_reverse
entity Q214
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q214']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q214 . ?x rdf:type ontology:Q502895 }
Slovakia
action filter_type
action find_reverse
entity Slovakia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Slovakia']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Slovakia . ?x rdf:type ontology:common_name }
[]
common name
Q115804 Q17138549 Q12762117
SYSTEM
Gabriela Sedláková, Alexandra Bezeková, Alexandra Štuková
Q17138549 Q115804 Q23418992 Q12762117
(c(Q502895),P1532,Q214)
action filter_type
action find_reverse
entity Q214
relation P1532
type Q502895
[ANSWERS] play for Slovakia
[{'concept': 'Q502895'}, 'P1532', 'Q214']
SELECT DISTINCT ?x WHERE { ?x property:P1532 resource:Q214 . ?x rdf:type ontology:Q502895 }
Alexandra Bezeková Gabriela Sedláková Ján Volko Alexandra Štuková
Gabriela Sedláková, Alexandra Bezeková and Alexandra Štuková play for Slovakia
Gabriela Sedláková Alexandra Bezeková Alexandra Štuková
action filter_type
action find_reverse
entity Slovakia
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Slovakia']
SELECT DISTINCT ?x WHERE { ?x property:country_for_sport resource:Slovakia . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q214
P206
Q355304
USER
Which watercourses are situated nearby that administrative territory ?
(Q115804,P206,c(Q355304)) (Q17138549,P206,c(Q355304)) (Q12762117,P206,c(Q355304))
action filter_type
action find
entity Q214
relation P206
type Q355304
['Q115804', 'P206', {'concept': 'Q355304'}] ['Q17138549', 'P206', {'concept': 'Q355304'}] ['Q12762117', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q214 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Slovakia
action filter_type
action find
entity Slovakia
relation located next to body of water
type watercourse
['Gabriela Sedláková', 'located next to body of water', {'concept': 'watercourse'}] ['Alexandra Bezeková', 'located next to body of water', {'concept': 'watercourse'}] ['Alexandra Štuková', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Slovakia property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q179251 Q1653 Q840694
SYSTEM
Morava, Danube, Dunajec
Q756302 Q179251 Q840694 Q4176549 Q748872 Q1653 Q134350
(Q115804,P206,c(Q355304)) (Q17138549,P206,c(Q355304)) (Q12762117,P206,c(Q355304))
action filter_type
action find
entity Q214
relation P206
type Q355304
[ANSWERS] are situated nearby that administrative territory
['Q115804', 'P206', {'concept': 'Q355304'}] ['Q17138549', 'P206', {'concept': 'Q355304'}] ['Q12762117', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q214 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Poprad Morava Dunajec Białka Ipoly Danube Tisza
Morava, Danube and Dunajec are situated nearby that administrative territory
Morava Danube Dunajec
action filter_type
action find
entity Slovakia
relation located next to body of water
type watercourse
['Gabriela Sedláková', 'located next to body of water', {'concept': 'watercourse'}] ['Alexandra Bezeková', 'located next to body of water', {'concept': 'watercourse'}] ['Alexandra Štuková', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Slovakia property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P17
Q15617994 Q1048835
USER
How many administrative territories and political territories are that watercourse situated in ?
(Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q1653,P17,c(Q15617994)) (Q1653,P17,c(Q1048835)) (Q840694,P17,c(Q15617994)) (Q840694,P17,c(Q1048835))
['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q1653', 'P17', {'concept': 'Q15617994'}] ['Q1653', 'P17', {'concept': 'Q1048835'}] ['Q840694', 'P17', {'concept': 'Q15617994'}] ['Q840694', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q2232293 property:Q6256 ?z } UNION { resource:Q2232293 property:Q6256 ?y } UNION { resource:Q21162024 property:Q6256 ?z } UNION { resource:Q21162024 property:Q6256 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Danube', 'country', {'concept': 'political territorial entity'}] ['Dunajec', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dunajec', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Danube property:country ?z } UNION { resource:Danube property:country ?y } UNION { resource:Dunajec property:country ?z } UNION { resource:Dunajec property:country ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
designation for an administrative territorial entity political territorial entity
Quantitative|Count|Mult. entity type|Clarification
Q179251
SYSTEM
Did you mean Morava ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q2232293 property:Q6256 ?z } UNION { resource:Q2232293 property:Q6256 ?y } UNION { resource:Q21162024 property:Q6256 ?z } UNION { resource:Q21162024 property:Q6256 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Did you mean Morava ?
Morava
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Danube property:country ?z } UNION { resource:Danube property:country ?y } UNION { resource:Dunajec property:country ?z } UNION { resource:Dunajec property:country ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q1653,P17,c(Q15617994)) (Q1653,P17,c(Q1048835)) (Q840694,P17,c(Q15617994)) (Q840694,P17,c(Q1048835))
['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q1653', 'P17', {'concept': 'Q15617994'}] ['Q1653', 'P17', {'concept': 'Q1048835'}] ['Q840694', 'P17', {'concept': 'Q15617994'}] ['Q840694', 'P17', {'concept': 'Q1048835'}]
['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Danube', 'country', {'concept': 'political territorial entity'}] ['Dunajec', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dunajec', 'country', {'concept': 'political territorial entity'}]
[]
SYSTEM
2 administrative territories and 1 political territories
Q213 Q40 Q214
(Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q179251,P17,c(Q15617994)) (Q179251,P17,c(Q1048835)) (Q1653,P17,c(Q15617994)) (Q1653,P17,c(Q1048835)) (Q840694,P17,c(Q15617994)) (Q840694,P17,c(Q1048835))
[ANSWER]
['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q179251', 'P17', {'concept': 'Q15617994'}] ['Q179251', 'P17', {'concept': 'Q1048835'}] ['Q1653', 'P17', {'concept': 'Q15617994'}] ['Q1653', 'P17', {'concept': 'Q1048835'}] ['Q840694', 'P17', {'concept': 'Q15617994'}] ['Q840694', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q228912 property:Q6256 ?z } UNION { resource:Q228912 property:Q6256 ?y } UNION { resource:Q2232293 property:Q6256 ?z } UNION { resource:Q2232293 property:Q6256 ?y } UNION { resource:Q21162024 property:Q6256 ?z } UNION { resource:Q21162024 property:Q6256 ?y } } . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 }
Czech Republic Austria Slovakia
2 administrative territories and 1 political territories
['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Morava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Morava', 'country', {'concept': 'political territorial entity'}] ['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Danube', 'country', {'concept': 'political territorial entity'}] ['Dunajec', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Dunajec', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Morava property:country ?z } UNION { resource:Morava property:country ?y } UNION { resource:Danube property:country ?z } UNION { resource:Danube property:country ?y } UNION { resource:Dunajec property:country ?z } UNION { resource:Dunajec property:country ?y } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P3173
Q355304 Q811979
USER
How many architectural structures offer view of around 1 watercourse ?
(c(Q811979),P3173,c(Q355304))
action count
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?i ) WHERE { ?q rdf:type ontology:Q811979 . ?m rdf:type ontology:Q355304 . ?q property:P3173 ?m } GROUP BY ?q } }
action count
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?i ) WHERE { ?q rdf:type ontology:architectural_structure . ?m rdf:type ontology:watercourse . ?q property:offers_view_on ?m } GROUP BY ?q } }
[]
watercourse architectural structure
SYSTEM
1
Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action approx
action find_tuple_counts
relation P3173
type Q811979
type Q355304
value 1
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?i ) WHERE { ?q rdf:type ontology:Q811979 . ?m rdf:type ontology:Q355304 . ?q property:P3173 ?m } GROUP BY ?q } }
Tunnel View
1
action count
action approx
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
value 1
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ?q ( COUNT ( ?m ) AS ?i ) WHERE { ?q rdf:type ontology:architectural_structure . ?m rdf:type ontology:watercourse . ?q property:offers_view_on ?m } GROUP BY ?q } }
[]