Simple Question (Direct)
Simple Question
Q6758802
P136
Q151885
USER
What is the genre of Marek Bliziński ?
(Q6758802,P136,c(Q151885))
action filter_type
action find
entity Q6758802
relation P136
type Q151885
['Q6758802', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . resource:Q6758802 property:P136 ?g }
Marek Bliziński
action filter_type
action find
entity Marek Bliziński
relation genre
type concept
['Marek Bliziński', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . resource:Marek_Bliziński property:genre ?g }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q6758802,P136,c(Q151885))
action filter_type
action find
entity Q6758802
relation P136
type Q151885
The genre of Marek Bliziński is a [ANSWER]
['Q6758802', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q151885 . resource:Q6758802 property:P136 ?g }
jazz
The genre of Marek Bliziński is a jazz
jazz
action filter_type
action find
entity Marek Bliziński
relation genre
type concept
['Marek Bliziński', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:concept . resource:Marek_Bliziński property:genre ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6758802
P19
Q56061
USER
Where was Marek Bliziński born ?
(Q6758802,P19,c(Q56061))
action filter_type
action find
entity Q6758802
relation P19
type Q56061
['Q6758802', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q6758802 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Marek Bliziński
action filter_type
action find
entity Marek Bliziński
relation place of birth
type administrative territorial entity
['Marek Bliziński', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Marek_Bliziński property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q270
SYSTEM
Warsaw
Q270
(Q6758802,P19,c(Q56061))
action filter_type
action find
entity Q6758802
relation P19
type Q56061
Marek Bliziński was born in [ANSWER]
['Q6758802', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q6758802 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Warsaw
Marek Bliziński was born in Warsaw
Warsaw
action filter_type
action find
entity Marek Bliziński
relation place of birth
type administrative territorial entity
['Marek Bliziński', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Marek_Bliziński property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6758802
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q270,P27,c(Q15617994))
action filter_type
action find
entity Q6758802
relation P27
type Q15617994
['Q270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6758802 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Marek Bliziński
action filter_type
action find
entity Marek Bliziński
relation country of citizenship
type designation for an administrative territorial entity
['Warsaw', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Marek_Bliziński property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q36
SYSTEM
Poland
Q36
(Q270,P27,c(Q15617994))
action filter_type
action find
entity Q6758802
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q270', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q6758802 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Poland
Poland is that person a civilian of
Poland
action filter_type
action find
entity Marek Bliziński
relation country of citizenship
type designation for an administrative territorial entity
['Warsaw', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Marek_Bliziński property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q36 Q5522054
P17
Q486972
USER
Is Garbów, Sieradz County present in that administrative territory ?
(Q5522054,P17,Q36)
action is_in
entity Q36
action find
entity Q5522054
relation P17
['Q5522054', 'P17', 'Q36']
ASK WHERE { resource:Q5522054 property:P17 resource:Q36 }
Poland Garbów, Sieradz County
action is_in
entity Poland
action find
entity Garbów, Sieradz County
relation country
['Garbów, Sieradz County', 'country', 'Poland']
ASK WHERE { resource:Garbów,_Sieradz_County property:country resource:Poland }
[]
human settlement
SYSTEM
YES
(Q5522054,P17,Q36)
action is_in
entity Q36
action find
entity Q5522054
relation P17
[ANSWER]
['Q5522054', 'P17', 'Q36']
ASK WHERE { resource:Q5522054 property:P17 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Garbów, Sieradz County
relation country
['Garbów, Sieradz County', 'country', 'Poland']
ASK WHERE { resource:Garbów,_Sieradz_County property:country resource:Poland }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q151885 Q2088357 Q838948
USER
How many concepts can be considered as category for atleast 2535 musical ensembles and works of art ?
(c(Q2088357)|c(Q838948),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
value 2535
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?z WHERE { VALUES ( ?a ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?r rdf:type ?a } GROUP BY ?z } . FILTER ( ?p >= 2535 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type work of art
value 2535
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?z WHERE { VALUES ( ?a ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?r rdf:type ?a } GROUP BY ?z } . FILTER ( ?p >= 2535 ) }
[]
concept musical ensemble work of art
SYSTEM
2
Q11366 Q3071
(c(Q2088357)|c(Q838948),P136,c(Q151885))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P136
type Q151885
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q151885
type Q838948
value 2535
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?z WHERE { VALUES ( ?a ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } . ?r rdf:type ?a } GROUP BY ?z } . FILTER ( ?p >= 2535 ) }
alternative rock punk rock
2
action count
action atleast
action union
action find_reverse_tuple_counts
relation genre
type concept
type musical ensemble
action find_reverse_tuple_counts
relation genre
type concept
type work of art
value 2535
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'genre', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) ?z WHERE { VALUES ( ?a ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } . ?r rdf:type ?a } GROUP BY ?z } . FILTER ( ?p >= 2535 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q270
P119
Q502895
USER
Who have Warsaw as his/her tomb ?
(c(Q502895),P119,Q270)
action filter_type
action find_reverse
entity Q270
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q270']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q270 . ?l rdf:type ontology:Q502895 }
Warsaw
action filter_type
action find_reverse
entity Warsaw
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Warsaw']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Warsaw . ?l rdf:type ontology:common_name }
[]
common name
Q16532899 Q20973595 Q16584054
SYSTEM
Bolesław Gierych, Wanda Leopold, Olgierd Wołczek
Q16532899 Q20973595 Q16584054 Q9343433 Q9199012 Q11725782
(c(Q502895),P119,Q270)
action filter_type
action find_reverse
entity Q270
relation P119
type Q502895
[ANSWERS] have Warsaw as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q270']
SELECT DISTINCT ?l WHERE { ?l property:P119 resource:Q270 . ?l rdf:type ontology:Q502895 }
Bolesław Gierych Wanda Leopold Olgierd Wołczek Stanisław Zalewski Czesław Bajer Jerzy Ślaski
Bolesław Gierych, Wanda Leopold and Olgierd Wołczek have Warsaw as his/her tomb
Bolesław Gierych Wanda Leopold Olgierd Wołczek
action filter_type
action find_reverse
entity Warsaw
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Warsaw']
SELECT DISTINCT ?l WHERE { ?l property:place_of_burial resource:Warsaw . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q20973595
P21
Q290
USER
What is the sex of that person ?
(Q20973595,P21,c(Q290))
action filter_type
action find
entity Q20973595
relation P21
type Q290
['Q20973595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20973595 property:P21 ?z . ?z rdf:type ontology:Q290 }
Wanda Leopold
action filter_type
action find
entity Wanda Leopold
relation gender
type sex
['Wanda Leopold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Wanda_Leopold property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q16532899
SYSTEM
Did you mean Bolesław Gierych ?
Q16532899 Q20973595 Q16584054
(Q16532899,P21,c(Q290)) (Q20973595,P21,c(Q290)) (Q16584054,P21,c(Q290))
[ANSWER]
['Q16532899', 'P21', {'concept': 'Q290'}] ['Q20973595', 'P21', {'concept': 'Q290'}] ['Q16584054', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20973595 property:P21 ?z . ?z rdf:type ontology:Q290 }
Bolesław Gierych Wanda Leopold Olgierd Wołczek
Did you mean Bolesław Gierych ?
Bolesław Gierych
['Bolesław Gierych', 'gender', {'concept': 'sex'}] ['Wanda Leopold', 'gender', {'concept': 'sex'}] ['Olgierd Wołczek', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Wanda_Leopold property:gender ?z . ?z rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Wanda Leopold. Could you tell me the answer for that?
(Q20973595,P21,c(Q290))
Q20973595
['Q20973595', 'P21', {'concept': 'Q290'}]
['Wanda Leopold', 'gender', {'concept': 'sex'}]
[]
Q6581072
SYSTEM
female
Q6581072
(Q20973595,P21,c(Q290))
action filter_type
action find
entity Q20973595
relation P21
type Q290
The sex of that person is the [ANSWER]
['Q20973595', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q20973595 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
The sex of that person is the female
female
action filter_type
action find
entity Wanda Leopold
relation gender
type sex
['Wanda Leopold', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Wanda_Leopold property:gender ?z . ?z rdf:type ontology:sex }
[]