Simple Question (Direct)
Simple Question
Q11765696
P54
Q1194951
USER
What is Maciej Wilusz a member of ?
(Q11765696,P54,c(Q1194951))
action filter_type
action find
entity Q11765696
relation P54
type Q1194951
['Q11765696', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q11765696 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Maciej Wilusz
action filter_type
action find
entity Maciej Wilusz
relation member of sports team
type national sports team
['Maciej Wilusz', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Maciej_Wilusz property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
national sports team
Q166196
SYSTEM
Poland national football team
Q166196
(Q11765696,P54,c(Q1194951))
action filter_type
action find
entity Q11765696
relation P54
type Q1194951
Maciej Wilusz a member of is the [ANSWER]
['Q11765696', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?y WHERE { resource:Q11765696 property:P54 ?y . ?y rdf:type ontology:Q1194951 }
Poland national football team
Maciej Wilusz a member of is the Poland national football team
Poland national football team
action filter_type
action find
entity Maciej Wilusz
relation member of sports team
type national sports team
['Maciej Wilusz', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?y WHERE { resource:Maciej_Wilusz property:member_of_sports_team ?y . ?y rdf:type ontology:national_sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11765696
P19
Q486972
USER
Which human settlement was Maciej Wilusz born in ?
(Q11765696,P19,c(Q486972))
action filter_type
action find
entity Q11765696
relation P19
type Q486972
['Q11765696', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q11765696 property:P19 ?v . ?v rdf:type ontology:Q486972 }
Maciej Wilusz
action filter_type
action find
entity Maciej Wilusz
relation place of birth
type human settlement
['Maciej Wilusz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Maciej_Wilusz property:place_of_birth ?v . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q1799
SYSTEM
Wrocław
Q1799
(Q11765696,P19,c(Q486972))
action filter_type
action find
entity Q11765696
relation P19
type Q486972
Which human settlement was Maciej Wilusz born in
['Q11765696', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { resource:Q11765696 property:P19 ?v . ?v rdf:type ontology:Q486972 }
Wrocław
Which human settlement was Maciej Wilusz born in
Wrocław
action filter_type
action find
entity Maciej Wilusz
relation place of birth
type human settlement
['Maciej Wilusz', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { resource:Maciej_Wilusz property:place_of_birth ?v . ?v rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11765696
P641
Q349
USER
Which sport was that person a part of ?
(Q1799,P641,c(Q349))
action filter_type
action find
entity Q11765696
relation P641
type Q349
['Q1799', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q11765696 property:P641 ?e . ?e rdf:type ontology:Q349 }
Maciej Wilusz
action filter_type
action find
entity Maciej Wilusz
relation sport
type sport
['Wrocław', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Maciej_Wilusz property:sport ?e . ?e rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1799,P641,c(Q349))
action filter_type
action find
entity Q11765696
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q1799', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?e WHERE { resource:Q11765696 property:P641 ?e . ?e rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Maciej Wilusz
relation sport
type sport
['Wrocław', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?e WHERE { resource:Maciej_Wilusz property:sport ?e . ?e rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q502895 Q18608583
USER
Which sports were approximately 12921 people or recurring sporting events a part of ?
(c(Q502895)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 12921
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } } GROUP BY ?t } . FILTER ( ?w = 12921 ) }
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 12921
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } } GROUP BY ?t } . FILTER ( ?w = 12921 ) }
[]
sport common name recurring sporting event
Q10962 Q4543 Q7707
SYSTEM
rugby league, beach volleyball, water polo
Q10962 Q4543 Q12100 Q7707 Q108429 Q133201 Q847 Q83462 Q11420 Q41323 Q7291 Q7856 Q5372 Q5375 Q5377 Q206989 Q5369 Q8418 Q41466 Q221635 Q1455 Q2215841 Q61465 Q3930 Q213934 Q201965 Q134211 Q1734 Q31920 Q177275 Q32112
(c(Q502895)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 12921
[ANSWERS] were approximately 12921 people or recurring sporting events a part of
[[{'concept': 'Q502895'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:Q502895 ) ( ontology:Q18608583 ) } } GROUP BY ?t } . FILTER ( ?w = 12921 ) }
rugby league beach volleyball fencing water polo archery squash tennis weightlifting judo American football badminton rallying basketball cricket golf shooting sport baseball handball ice hockey track cycling field hockey cycle sport rhythmic gymnastics table tennis canoeing and kayaking Nordic combined polo volleyball swimming bobsleigh boxing
Rugby league, beach volleyball and water polo were approximately 12921 people or recurring sporting events a part of
rugby league beach volleyball water polo
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type common name
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 12921
[[{'concept': 'common name'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?s ) AS ?w ) WHERE { ?s rdf:type ?j . VALUES ( ?j ) { ( ontology:common_name ) ( ontology:recurring_sporting_event ) } } GROUP BY ?t } . FILTER ( ?w = 12921 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10962 Q4543 Q7707
P425
Q12737077
USER
Which occupations do rugby league, beach volleyball and water polo belong to ?
(c(Q12737077),P425,Q10962) (c(Q12737077),P425,Q4543) (c(Q12737077),P425,Q7707)
action union
action filter_type
action find_reverse
entity Q10962
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q4543
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q10962'] [{'concept': 'Q12737077'}, 'P425', 'Q4543'] [{'concept': 'Q12737077'}, 'P425', 'Q7707']
SELECT DISTINCT ?z WHERE { VALUES ( ?g ) { ( resource:Q10962 ) ( resource:Q4543 ) } . ?z property:P425 ?g }
rugby league beach volleyball water polo
action union
action filter_type
action find_reverse
entity rugby league
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity beach volleyball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'rugby league'] [{'concept': 'occupation'}, 'field of this occupation', 'beach volleyball'] [{'concept': 'occupation'}, 'field of this occupation', 'water polo']
SELECT DISTINCT ?z WHERE { VALUES ( ?g ) { ( resource:rugby_league ) ( resource:beach_volleyball ) } . ?z property:field_of_this_occupation ?g }
[]
occupation
Q14373094 Q17361156 Q13382191
SYSTEM
rugby league player, beach volleyball player, water polo referee
Q14373094 Q17361156 Q13382191 Q17524364
(c(Q12737077),P425,Q10962) (c(Q12737077),P425,Q4543) (c(Q12737077),P425,Q7707)
action union
action filter_type
action find_reverse
entity Q10962
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q4543
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q7707
relation P425
type Q12737077
Rugby league , beach volleyball and water polo belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q10962'] [{'concept': 'Q12737077'}, 'P425', 'Q4543'] [{'concept': 'Q12737077'}, 'P425', 'Q7707']
SELECT DISTINCT ?z WHERE { VALUES ( ?g ) { ( resource:Q10962 ) ( resource:Q4543 ) } . ?z property:P425 ?g }
rugby league player beach volleyball player water polo referee water polo player
Rugby league , beach volleyball and water polo belong to the rugby league player, beach volleyball player and water polo referee
rugby league player beach volleyball player water polo referee
action union
action filter_type
action find_reverse
entity rugby league
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity beach volleyball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity water polo
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'rugby league'] [{'concept': 'occupation'}, 'field of this occupation', 'beach volleyball'] [{'concept': 'occupation'}, 'field of this occupation', 'water polo']
SELECT DISTINCT ?z WHERE { VALUES ( ?g ) { ( resource:rugby_league ) ( resource:beach_volleyball ) } . ?z property:field_of_this_occupation ?g }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10962
P921
Q2342494
USER
Which collectable was mainly based on that sport ?
(c(Q2342494),P921,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q10962']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q10962 . ?c rdf:type ontology:Q2342494 }
rugby league
action filter_type
action find_reverse
entity rugby league
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'rugby league']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:rugby_league . ?c rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q10962
SYSTEM
Did you mean rugby league ?
Q14373094 Q17361156 Q13382191
(c(Q2342494),P921,Q14373094) (c(Q2342494),P921,Q17361156) (c(Q2342494),P921,Q13382191)
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q14373094'] [{'concept': 'Q2342494'}, 'P921', 'Q17361156'] [{'concept': 'Q2342494'}, 'P921', 'Q13382191']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q10962 . ?c rdf:type ontology:Q2342494 }
rugby league player beach volleyball player water polo referee
Did you mean rugby league ?
rugby league
[{'concept': 'collectable'}, 'main subject', 'rugby league player'] [{'concept': 'collectable'}, 'main subject', 'beach volleyball player'] [{'concept': 'collectable'}, 'main subject', 'water polo referee']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:rugby_league . ?c rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q2342494),P921,Q10962)
[{'concept': 'Q2342494'}, 'P921', 'Q10962']
[{'concept': 'collectable'}, 'main subject', 'rugby league']
[]
Q22266377
SYSTEM
The British Rugby League records book
Q22266377
(c(Q2342494),P921,Q10962)
action filter_type
action find_reverse
entity Q10962
relation P921
type Q2342494
[ANSWER] was mainly based on that sport
[{'concept': 'Q2342494'}, 'P921', 'Q10962']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q10962 . ?c rdf:type ontology:Q2342494 }
The British Rugby League records book
The British Rugby League records book was mainly based on that sport
The British Rugby League records book
action filter_type
action find_reverse
entity rugby league
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'rugby league']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:rugby_league . ?c rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q22266377
P921
Q349
USER
Which sport was the main subject of that collectable 's work ?
(Q22266377,P921,c(Q349))
action filter_type
action find
entity Q22266377
relation P921
type Q349
['Q22266377', 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q22266377 property:P921 ?x . ?x rdf:type ontology:Q349 }
The British Rugby League records book
action filter_type
action find
entity The British Rugby League records book
relation main subject
type sport
['The British Rugby League records book', 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:The_British_Rugby_League_records_book property:main_subject ?x . ?x rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q22266377,P921,c(Q349))
action filter_type
action find
entity Q22266377
relation P921
type Q349
[ANSWER] was the main subject of that collectable 's work
['Q22266377', 'P921', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { resource:Q22266377 property:P921 ?x . ?x rdf:type ontology:Q349 }
rugby league
Rugby league was the main subject of that collectable 's work
rugby league
action filter_type
action find
entity The British Rugby League records book
relation main subject
type sport
['The British Rugby League records book', 'main subject', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { resource:The_British_Rugby_League_records_book property:main_subject ?x . ?x rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q27570116 Q22266377
P921 P641
Q349
USER
Which sports were the main subjects of The British Rugby League records book 's work or were 1977 Denmark Open Badminton Championships – Men's doubles a part of ?
OR((Q22266377,P921,c(Q349)), (Q27570116,P641,c(Q349)))
action filter_type
action union
action find
entity Q22266377
relation P921
action find
entity Q27570116
relation P641
type Q349
{'OR': [['Q22266377', 'P921', {'concept': 'Q349'}], ['Q27570116', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . { { resource:Q22266377 property:P921 ?m } UNION { resource:Q27570116 property:P641 ?m } } }
1977 Denmark Open Badminton Championships – Men's doubles The British Rugby League records book
action filter_type
action union
action find
entity The British Rugby League records book
relation main subject
action find
entity 1977 Denmark Open Badminton Championships – Men's doubles
relation sport
type sport
{'OR': [['The British Rugby League records book', 'main subject', {'concept': 'sport'}], ["1977 Denmark Open Badminton Championships – Men's doubles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . { { resource:The_British_Rugby_League_records_book property:main_subject ?m } UNION { resource:1977_Denmark_Open_Badminton_Championships_–_Men's_doubles property:sport ?m } } }
[]
sport
Q10962 Q7291
SYSTEM
rugby league, badminton
Q10962 Q7291
OR((Q22266377,P921,c(Q349)), (Q27570116,P641,c(Q349)))
action filter_type
action union
action find
entity Q22266377
relation P921
action find
entity Q27570116
relation P641
type Q349
[ANSWERS] were the main subjects of The British Rugby League records book 's work or were 1977 Denmark Open Badminton Championships – Men's doubles a part of
{'OR': [['Q22266377', 'P921', {'concept': 'Q349'}], ['Q27570116', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . { { resource:Q22266377 property:P921 ?m } UNION { resource:Q27570116 property:P641 ?m } } }
rugby league badminton
Rugby league and badminton were the main subjects of The British Rugby League records book 's work or were 1977 Denmark Open Badminton Championships – Men's doubles a part of
rugby league badminton
action filter_type
action union
action find
entity The British Rugby League records book
relation main subject
action find
entity 1977 Denmark Open Badminton Championships – Men's doubles
relation sport
type sport
{'OR': [['The British Rugby League records book', 'main subject', {'concept': 'sport'}], ["1977 Denmark Open Badminton Championships – Men's doubles", 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . { { resource:The_British_Rugby_League_records_book property:main_subject ?m } UNION { resource:1977_Denmark_Open_Badminton_Championships_–_Men's_doubles property:sport ?m } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q987501
P106
Q12737077
USER
What is the profession of Marco Babini ?
(Q987501,P106,c(Q12737077))
action filter_type
action find
entity Q987501
relation P106
type Q12737077
['Q987501', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q987501 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Marco Babini
action filter_type
action find
entity Marco Babini
relation occupation
type occupation
['Marco Babini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Marco_Babini property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q987501,P106,c(Q12737077))
action filter_type
action find
entity Q987501
relation P106
type Q12737077
The profession of Marco Babini is an [ANSWER]
['Q987501', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q987501 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
The profession of Marco Babini is an association football player
association football player
action filter_type
action find
entity Marco Babini
relation occupation
type occupation
['Marco Babini', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Marco_Babini property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q987501
P27
Q15617994
USER
Which administrative territory is the native country of Marco Babini ?
(Q987501,P27,c(Q15617994))
action filter_type
action find
entity Q987501
relation P27
type Q15617994
['Q987501', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q987501 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Marco Babini
action filter_type
action find
entity Marco Babini
relation country of citizenship
type designation for an administrative territorial entity
['Marco Babini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Marco_Babini property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q987501,P27,c(Q15617994))
action filter_type
action find
entity Q987501
relation P27
type Q15617994
The [ANSWER] is the native country of Marco Babini
['Q987501', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q987501 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Italy
The Italy is the native country of Marco Babini
Italy
action filter_type
action find
entity Marco Babini
relation country of citizenship
type designation for an administrative territorial entity
['Marco Babini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Marco_Babini property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4015700
Q15617994
USER
And what about Vivian Lamarque?
(Q4015700,P27,c(Q15617994))
action filter_type
action find
entity Q4015700
relation P27
type Q15617994
['Q4015700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4015700 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Vivian Lamarque
action filter_type
action find
entity Vivian Lamarque
relation country of citizenship
type designation for an administrative territorial entity
['Vivian Lamarque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Vivian_Lamarque property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q4015700,P27,c(Q15617994))
action filter_type
action find
entity Q4015700
relation P27
type Q15617994
[ANSWER]
['Q4015700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q4015700 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Vivian Lamarque
relation country of citizenship
type designation for an administrative territorial entity
['Vivian Lamarque', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Vivian_Lamarque property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]