Simple Question (Direct)
Simple Question
Q641091
P19
Q56061
USER
Which administrative territory is the birthplace of Damian Chmiel ?
(Q641091,P19,c(Q56061))
action filter_type
action find
entity Q641091
relation P19
type Q56061
['Q641091', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q641091 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Damian Chmiel
action filter_type
action find
entity Damian Chmiel
relation place of birth
type administrative territorial entity
['Damian Chmiel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Damian_Chmiel property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q212856
SYSTEM
Wadowice
Q212856
(Q641091,P19,c(Q56061))
action filter_type
action find
entity Q641091
relation P19
type Q56061
[ANSWER] is the birthplace of Damian Chmiel
['Q641091', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q641091 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Wadowice
Wadowice is the birthplace of Damian Chmiel
Wadowice
action filter_type
action find
entity Damian Chmiel
relation place of birth
type administrative territorial entity
['Damian Chmiel', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Damian_Chmiel property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q641091
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q212856,P27,c(Q15617994))
action filter_type
action find
entity Q641091
relation P27
type Q15617994
['Q212856', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q641091 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Damian Chmiel
action filter_type
action find
entity Damian Chmiel
relation country of citizenship
type designation for an administrative territorial entity
['Wadowice', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Damian_Chmiel property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q212856,P27,c(Q15617994))
action filter_type
action find
entity Q641091
relation P27
type Q15617994
The [ANSWER] is the native country of that person
['Q212856', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q641091 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Poland
The Poland is the native country of that person
Poland
action filter_type
action find
entity Damian Chmiel
relation country of citizenship
type designation for an administrative territorial entity
['Wadowice', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Damian_Chmiel property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641091
P641
Q349
USER
What was the sport that Damian Chmiel was a part of ?
(Q641091,P641,c(Q349))
action filter_type
action find
entity Q641091
relation P641
type Q349
['Q641091', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q641091 property:P641 ?r . ?r rdf:type ontology:Q349 }
Damian Chmiel
action filter_type
action find
entity Damian Chmiel
relation sport
type sport
['Damian Chmiel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Damian_Chmiel property:sport ?r . ?r rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q641091,P641,c(Q349))
action filter_type
action find
entity Q641091
relation P641
type Q349
The sport that Damian Chmiel was a part of was the [ANSWER]
['Q641091', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { resource:Q641091 property:P641 ?r . ?r rdf:type ontology:Q349 }
association football
The sport that Damian Chmiel was a part of was the association football
association football
action filter_type
action find
entity Damian Chmiel
relation sport
type sport
['Damian Chmiel', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { resource:Damian_Chmiel property:sport ?r . ?r rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4561065
Q349
USER
And also tell me about 1921 college football season?
(Q4561065,P641,c(Q349))
action filter_type
action find
entity Q4561065
relation P641
type Q349
['Q4561065', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q4561065 property:P641 ?a . ?a rdf:type ontology:Q349 }
1921 college football season
action filter_type
action find
entity 1921 college football season
relation sport
type sport
['1921 college football season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:1921_college_football_season property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q41323
SYSTEM
American football
Q41323
(Q4561065,P641,c(Q349))
action filter_type
action find
entity Q4561065
relation P641
type Q349
[ANSWER]
['Q4561065', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q4561065 property:P641 ?a . ?a rdf:type ontology:Q349 }
American football
American football
action filter_type
action find
entity 1921 college football season
relation sport
type sport
['1921 college football season', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:1921_college_football_season property:sport ?a . ?a rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q39546 Q1076486
USER
Which sports are considered to be the main utilization of exactly 1 tools and sports venues ?
(c(Q39546)|c(Q1076486),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 1
[[{'concept': 'Q39546'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P366 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q1076486 } UNION { ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q39546 . ?r property:P366 ?b } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 1
[[{'concept': 'tool'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:use ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:sports_venue } UNION { ?b rdf:type ontology:sport . ?r rdf:type ontology:tool . ?r property:use ?b } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
[]
sport tool sports venue
Q22857 Q1194269
SYSTEM
climbing, harness racing
Q22857 Q1194269
(c(Q39546)|c(Q1076486),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q39546
action find_reverse_tuple_counts
relation P366
type Q349
type Q1076486
value 1
[ANSWERS] are considered to be the main utilization of exactly 1 tools and sports venues
[[{'concept': 'Q39546'}, {'concept': 'Q1076486'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P366 ?b . ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q1076486 } UNION { ?b rdf:type ontology:Q349 . ?r rdf:type ontology:Q39546 . ?r property:P366 ?b } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
climbing harness racing
Climbing and harness racing are considered to be the main utilization of exactly 1 tools and sports venues
climbing harness racing
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type tool
action find_reverse_tuple_counts
relation use
type sport
type sports venue
value 1
[[{'concept': 'tool'}, {'concept': 'sports venue'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:use ?b . ?b rdf:type ontology:sport . ?r rdf:type ontology:sports_venue } UNION { ?b rdf:type ontology:sport . ?r rdf:type ontology:tool . ?r property:use ?b } } GROUP BY ?b } . FILTER ( ?j = 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P921
Q201658 Q15416
USER
How many film genres or television programs are that sport a main subject of ?
(c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q1194269) (c(Q15416),P921,Q1194269)
[{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q1194269'] [{'concept': 'Q15416'}, 'P921', 'Q1194269']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q1194269 } UNION { ?y property:P921 resource:Q1194269 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15416 }
[{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'harness racing'] [{'concept': 'television program'}, 'main subject', 'harness racing']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:harness_racing } UNION { ?y property:main_subject resource:harness_racing } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:television_program }
[]
film genre television program
Quantitative|Count|Mult. entity type|Clarification
Q22857
SYSTEM
Did you mean climbing ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q1194269 } UNION { ?y property:P921 resource:Q1194269 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15416 }
Did you mean climbing ?
climbing
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:harness_racing } UNION { ?y property:main_subject resource:harness_racing } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q1194269) (c(Q15416),P921,Q1194269)
[{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q1194269'] [{'concept': 'Q15416'}, 'P921', 'Q1194269']
[{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'harness racing'] [{'concept': 'television program'}, 'main subject', 'harness racing']
[]
SYSTEM
3
Q1211003 Q7723400 Q3758609
(c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q22857) (c(Q15416),P921,Q22857) (c(Q201658),P921,Q1194269) (c(Q15416),P921,Q1194269)
[ANSWER]
[{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q22857'] [{'concept': 'Q15416'}, 'P921', 'Q22857'] [{'concept': 'Q201658'}, 'P921', 'Q1194269'] [{'concept': 'Q15416'}, 'P921', 'Q1194269']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q22857 } UNION { ?y property:P921 resource:Q22857 } UNION { ?z property:P921 resource:Q1194269 } UNION { ?y property:P921 resource:Q1194269 } } . ?z rdf:type ontology:Q201658 . ?y rdf:type ontology:Q15416 }
The Alps The Climb The Dark Glow of the Mountains
3
[{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'climbing'] [{'concept': 'television program'}, 'main subject', 'climbing'] [{'concept': 'film genre'}, 'main subject', 'harness racing'] [{'concept': 'television program'}, 'main subject', 'harness racing']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:climbing } UNION { ?y property:main_subject resource:climbing } UNION { ?z property:main_subject resource:harness_racing } UNION { ?y property:main_subject resource:harness_racing } } . ?z rdf:type ontology:film_genre . ?y rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q36
P1532
Q1194951 Q6979593
USER
How many national sports teams and national association football teams play for Poland ?
(c(Q1194951),P1532,Q36) (c(Q6979593),P1532,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q36
relation P1532
type Q6979593
[{'concept': 'Q1194951'}, 'P1532', 'Q36'] [{'concept': 'Q6979593'}, 'P1532', 'Q36']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P1532 resource:Q36 . ?z rdf:type ontology:Q1194951 } UNION { ?z property:P1532 resource:Q36 . ?z rdf:type ontology:Q6979593 } }
Poland
action count
action union
action filter_type
action find_reverse
entity Poland
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Poland
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Poland'] [{'concept': 'national association football team'}, 'country for sport', 'Poland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:country_for_sport resource:Poland . ?z rdf:type ontology:national_sports_team } UNION { ?z property:country_for_sport resource:Poland . ?z rdf:type ontology:national_association_football_team } }
[]
national sports team national association football team
SYSTEM
1 national sports teams and 2 national association football teams
Q1077259 Q166196 Q3073431
(c(Q1194951),P1532,Q36) (c(Q6979593),P1532,Q36)
action count
action union
action filter_type
action find_reverse
entity Q36
relation P1532
type Q1194951
action filter_type
action find_reverse
entity Q36
relation P1532
type Q6979593
[ANSWER]
[{'concept': 'Q1194951'}, 'P1532', 'Q36'] [{'concept': 'Q6979593'}, 'P1532', 'Q36']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P1532 resource:Q36 . ?z rdf:type ontology:Q1194951 } UNION { ?z property:P1532 resource:Q36 . ?z rdf:type ontology:Q6979593 } }
Poland women's national football team Poland national football team Poland Olympic football team
1 national sports teams and 2 national association football teams
action count
action union
action filter_type
action find_reverse
entity Poland
relation country for sport
type national sports team
action filter_type
action find_reverse
entity Poland
relation country for sport
type national association football team
[{'concept': 'national sports team'}, 'country for sport', 'Poland'] [{'concept': 'national association football team'}, 'country for sport', 'Poland']
SELECT DISTINCT ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:country_for_sport resource:Poland . ?z rdf:type ontology:national_sports_team } UNION { ?z property:country_for_sport resource:Poland . ?z rdf:type ontology:national_association_football_team } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q641091
P106
Q12737077
USER
What does Damian Chmiel do for a living ?
(Q641091,P106,c(Q12737077))
action filter_type
action find
entity Q641091
relation P106
type Q12737077
['Q641091', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q641091 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Damian Chmiel
action filter_type
action find
entity Damian Chmiel
relation occupation
type occupation
['Damian Chmiel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Damian_Chmiel property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q641091,P106,c(Q12737077))
action filter_type
action find
entity Q641091
relation P106
type Q12737077
Damian Chmiel does an [ANSWER] for a living
['Q641091', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q641091 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football player
Damian Chmiel does an association football player for a living
association football player
action filter_type
action find
entity Damian Chmiel
relation occupation
type occupation
['Damian Chmiel', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Damian_Chmiel property:occupation ?f . ?f rdf:type ontology:occupation }
[]