Simple Question (Direct)
Simple Question
Q6771118
P27
Q15617994
USER
Which administrative territory is Marko Bajić an inhabitant of ?
(Q6771118,P27,c(Q15617994))
action filter_type
action find
entity Q6771118
relation P27
type Q15617994
['Q6771118', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6771118 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Marko Bajić
action filter_type
action find
entity Marko Bajić
relation country of citizenship
type designation for an administrative territorial entity
['Marko Bajić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Marko_Bajić property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q403
SYSTEM
Serbia
Q403
(Q6771118,P27,c(Q15617994))
action filter_type
action find
entity Q6771118
relation P27
type Q15617994
[ANSWER] is Marko Bajić an inhabitant of
['Q6771118', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6771118 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Serbia
Serbia is Marko Bajić an inhabitant of
Serbia
action filter_type
action find
entity Marko Bajić
relation country of citizenship
type designation for an administrative territorial entity
['Marko Bajić', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Marko_Bajić property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6771118
P19
Q56061
USER
Which administrative territory was Marko Bajić born at ?
(Q6771118,P19,c(Q56061))
action filter_type
action find
entity Q6771118
relation P19
type Q56061
['Q6771118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6771118 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Marko Bajić
action filter_type
action find
entity Marko Bajić
relation place of birth
type administrative territorial entity
['Marko Bajić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Bajić property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3711
SYSTEM
Belgrade
Q3711
(Q6771118,P19,c(Q56061))
action filter_type
action find
entity Q6771118
relation P19
type Q56061
Marko Bajić was born in [ANSWER]
['Q6771118', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q6771118 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Belgrade
Marko Bajić was born in Belgrade
Belgrade
action filter_type
action find
entity Marko Bajić
relation place of birth
type administrative territorial entity
['Marko Bajić', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marko_Bajić property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6771118
P106
Q12737077
USER
What is the profession of that person ?
(Q3711,P106,c(Q12737077))
action filter_type
action find
entity Q6771118
relation P106
type Q12737077
['Q3711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6771118 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Marko Bajić
action filter_type
action find
entity Marko Bajić
relation occupation
type occupation
['Belgrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Marko_Bajić property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3711,P106,c(Q12737077))
action filter_type
action find
entity Q6771118
relation P106
type Q12737077
The profession of that person is an [ANSWER]
['Q3711', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6771118 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
The profession of that person is an association football player
association football player
action filter_type
action find
entity Marko Bajić
relation occupation
type occupation
['Belgrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Marko_Bajić property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6771118
P641
Q349
USER
What did Marko Bajić participate in ?
(Q6771118,P641,c(Q349))
action filter_type
action find
entity Q6771118
relation P641
type Q349
['Q6771118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q6771118 property:P641 ?x . ?x rdf:type ontology:Q349 }
Marko Bajić
action filter_type
action find
entity Marko Bajić
relation sport
type sport
['Marko Bajić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Marko_Bajić property:sport ?x . ?x rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6771118,P641,c(Q349))
action filter_type
action find
entity Q6771118
relation P641
type Q349
Marko Bajić participated in [ANSWER]
['Q6771118', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q6771118 property:P641 ?x . ?x rdf:type ontology:Q349 }
association football
Marko Bajić participated in association football
association football
action filter_type
action find
entity Marko Bajić
relation sport
type sport
['Marko Bajić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:Marko_Bajić property:sport ?x . ?x rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q6739942
Q349
USER
And how about Makoto Kitano?
(Q6739942,P641,c(Q349))
action filter_type
action find
entity Q6739942
relation P641
type Q349
['Q6739942', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q6739942 property:P641 ?n . ?n rdf:type ontology:Q349 }
Makoto Kitano
action filter_type
action find
entity Makoto Kitano
relation sport
type sport
['Makoto Kitano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Makoto_Kitano property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6739942,P641,c(Q349))
action filter_type
action find
entity Q6739942
relation P641
type Q349
[ANSWER]
['Q6739942', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q6739942 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
association football
action filter_type
action find
entity Makoto Kitano
relation sport
type sport
['Makoto Kitano', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Makoto_Kitano property:sport ?n . ?n rdf:type ontology:sport }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q349 Q2342494 Q502895
USER
How many sports do greater number of collectables and people belong to than that sport ?
(c(Q2342494)|c(Q502895),P101,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q502895
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P101 ?y . ?y rdf:type ontology:Q349 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P101 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q349 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P101 resource:Q2736 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q502895 } } } } . FILTER ( ?r > ?e ) }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:field_of_work ?y . ?y rdf:type ontology:sport . ?o rdf:type ontology:collectable } UNION { ?o property:field_of_work ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:sport } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:field_of_work resource:association_football . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:common_name } } } } . FILTER ( ?r > ?e ) }
[]
sport collectable common name
SYSTEM
2
Q4543 Q500050
(c(Q2342494)|c(Q502895),P101,c(Q349))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q349
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q2736
relation P101
type Q2342494
type Q502895
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P101 ?y . ?y rdf:type ontology:Q349 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P101 ?y . ?o rdf:type ontology:Q502895 . ?y rdf:type ontology:Q349 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:P101 resource:Q2736 . { { ?d rdf:type ontology:Q2342494 } UNION { ?d rdf:type ontology:Q502895 } } } } . FILTER ( ?r > ?e ) }
beach volleyball cross country running
2
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action find_reverse_tuple_counts
relation field of work
type sport
type common name
action count
action filter_multi_types
action find_reverse
entity association football
relation field of work
type collectable
type common name
[[{'concept': 'collectable'}, {'concept': 'common name'}], 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:field_of_work ?y . ?y rdf:type ontology:sport . ?o rdf:type ontology:collectable } UNION { ?o property:field_of_work ?y . ?o rdf:type ontology:common_name . ?y rdf:type ontology:sport } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { ?d property:field_of_work resource:association_football . { { ?d rdf:type ontology:collectable } UNION { ?d rdf:type ontology:common_name } } } } . FILTER ( ?r > ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q403
P463
Q484652
USER
What were Serbia a member of ?
(Q403,P463,c(Q484652))
action filter_type
action find
entity Q403
relation P463
type Q484652
['Q403', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { resource:Q403 property:P463 ?t . ?t rdf:type ontology:Q484652 }
Serbia
action filter_type
action find
entity Serbia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { resource:Serbia property:member_of ?t . ?t rdf:type ontology:international_organization }
[]
international organization
Q81299 Q1065 Q1043527
SYSTEM
Organization for Security and Co-operation in Europe, United Nations, Multilateral Investment Guarantee Agency
Q81299 Q1065 Q1043527
(Q403,P463,c(Q484652))
action filter_type
action find
entity Q403
relation P463
type Q484652
Serbia a member of were the [ANSWERS]
['Q403', 'P463', {'concept': 'Q484652'}]
SELECT DISTINCT ?t WHERE { resource:Q403 property:P463 ?t . ?t rdf:type ontology:Q484652 }
Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
Serbia a member of were the Organization for Security and Co-operation in Europe, United Nations and Multilateral Investment Guarantee Agency
Organization for Security and Co-operation in Europe United Nations Multilateral Investment Guarantee Agency
action filter_type
action find
entity Serbia
relation member of
type international organization
['Serbia', 'member of', {'concept': 'international organization'}]
SELECT DISTINCT ?t WHERE { resource:Serbia property:member_of ?t . ?t rdf:type ontology:international_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3711
P206
Q355304
USER
Which watercourses are situated nearby Belgrade ?
(Q3711,P206,c(Q355304))
action filter_type
action find
entity Q3711
relation P206
type Q355304
['Q3711', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q3711 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Belgrade
action filter_type
action find
entity Belgrade
relation located next to body of water
type watercourse
['Belgrade', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Belgrade property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
watercourse
Q14383 Q1653
SYSTEM
Sava, Danube
Q14383 Q1653
(Q3711,P206,c(Q355304))
action filter_type
action find
entity Q3711
relation P206
type Q355304
[ANSWERS] are situated nearby Belgrade
['Q3711', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?s WHERE { resource:Q3711 property:P206 ?s . ?s rdf:type ontology:Q355304 }
Sava Danube
Sava and Danube are situated nearby Belgrade
Sava Danube
action filter_type
action find
entity Belgrade
relation located next to body of water
type watercourse
['Belgrade', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?s WHERE { resource:Belgrade property:located_next_to_body_of_water ?s . ?s rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q14383 Q1653
P17
Q15617994
USER
Which administrative territories are those watercourses a part of ?
(Q14383,P17,c(Q15617994)) (Q1653,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
['Q14383', 'P17', {'concept': 'Q15617994'}] ['Q1653', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?c property:P17 ?e . ?e rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q14383 ) ( resource:Q1653 ) } }
Sava Danube
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?c property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Sava ) ( resource:Danube ) } }
[]
designation for an administrative territorial entity
Q43 Q218 Q225
SYSTEM
Turkey, Romania, Bosnia and Herzegovina
Q225 Q224 Q43 Q215 Q399 Q403 Q212 Q224 Q214 Q218 Q219 Q403 Q28 Q217
(Q14383,P17,c(Q15617994)) (Q1653,P17,c(Q15617994))
action filter_type
action find
entity prev_answer
relation P17
type Q15617994
[ANSWERS] are those watercourses a part of
['Q14383', 'P17', {'concept': 'Q15617994'}] ['Q1653', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { ?c property:P17 ?e . ?e rdf:type ontology:Q15617994 . VALUES ( ?c ) { ( resource:Q14383 ) ( resource:Q1653 ) } }
Bosnia and Herzegovina Croatia Turkey Slovenia Armenia Serbia Ukraine Croatia Slovakia Romania Bulgaria Serbia Hungary Republic of Moldova
Turkey, Romania and Bosnia and Herzegovina are those watercourses a part of
Turkey Romania Bosnia and Herzegovina
action filter_type
action find
entity prev_answer
relation country
type designation for an administrative territorial entity
['Sava', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Danube', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { ?c property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . VALUES ( ?c ) { ( resource:Sava ) ( resource:Danube ) } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q43 Q218 Q225
P159
Q874405
USER
Which social groups have their HQ location at those administrative territories ?
(c(Q874405),P159,Q43) (c(Q874405),P159,Q218) (c(Q874405),P159,Q225)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q874405
[{'concept': 'Q874405'}, 'P159', 'Q43'] [{'concept': 'Q874405'}, 'P159', 'Q218'] [{'concept': 'Q874405'}, 'P159', 'Q225']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q874405 . VALUES ( ?m ) { ( resource:Q225 ) ( resource:Q224 ) ( resource:Q43 ) } . ?r property:P159 ?m }
Turkey Romania Bosnia and Herzegovina
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Turkey'] [{'concept': 'social group'}, 'headquarters location', 'Romania'] [{'concept': 'social group'}, 'headquarters location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:social_group . VALUES ( ?m ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Croatia ) ( resource:Turkey ) } . ?r property:headquarters_location ?m }
[]
social group
Q16958484 Q6509096 Q16211549
SYSTEM
Türkiye Scholarships, League of Romanian Students Abroad, Reaching Out Romania
Q16958484 Q6509096 Q16211549 Q7238545 Q19840143
(c(Q874405),P159,Q43) (c(Q874405),P159,Q218) (c(Q874405),P159,Q225)
action filter_type
action find_reverse
entity prev_answer
relation P159
type Q874405
Türkiye Scholarships, League of Romanian Students Abroad and reaching Out Romania have their HQ location at those administrative territories
[{'concept': 'Q874405'}, 'P159', 'Q43'] [{'concept': 'Q874405'}, 'P159', 'Q218'] [{'concept': 'Q874405'}, 'P159', 'Q225']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q874405 . VALUES ( ?m ) { ( resource:Q225 ) ( resource:Q224 ) ( resource:Q43 ) } . ?r property:P159 ?m }
Türkiye Scholarships League of Romanian Students Abroad Reaching Out Romania Praskozorje Green cadres
Türkiye Scholarships, League of Romanian Students Abroad and reaching Out Romania have their HQ location at those administrative territories
Türkiye Scholarships League of Romanian Students Abroad Reaching Out Romania
action filter_type
action find_reverse
entity prev_answer
relation headquarters location
type social group
[{'concept': 'social group'}, 'headquarters location', 'Turkey'] [{'concept': 'social group'}, 'headquarters location', 'Romania'] [{'concept': 'social group'}, 'headquarters location', 'Bosnia and Herzegovina']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:social_group . VALUES ( ?m ) { ( resource:Bosnia_and_Herzegovina ) ( resource:Croatia ) ( resource:Turkey ) } . ?r property:headquarters_location ?m }
[]