Simple Question (Direct)
Simple Question
Q2022061
P1412
Q34770
USER
Which language can Matías Claudio Cuffa read ?
(Q2022061,P1412,c(Q34770))
action filter_type
action find
entity Q2022061
relation P1412
type Q34770
['Q2022061', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q2022061 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Matías Claudio Cuffa
action filter_type
action find
entity Matías Claudio Cuffa
relation languages spoken, written or signed
type language
['Matías Claudio Cuffa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Matías_Claudio_Cuffa property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q2022061,P1412,c(Q34770))
action filter_type
action find
entity Q2022061
relation P1412
type Q34770
Matías Claudio Cuffa can read in [ANSWER]
['Q2022061', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q2022061 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Matías Claudio Cuffa can read in Spanish
Spanish
action filter_type
action find
entity Matías Claudio Cuffa
relation languages spoken, written or signed
type language
['Matías Claudio Cuffa', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Matías_Claudio_Cuffa property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1321
P101
Q502895
USER
Which people have field of work as that language ?
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q1321 . ?g rdf:type ontology:Q502895 }
Spanish
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:Spanish . ?g rdf:type ontology:common_name }
[]
common name
Q6775684 Q7155818 Q21883986
SYSTEM
Martin Hilský, Pavel Šrut, Josef Forbelský
Q19800675 Q16515323 Q7155818 Q6775684 Q21886139 Q21883986 Q11985590 Q12054279 Q10823155 Q12044360 Q17157078
(c(Q502895),P101,Q1321)
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[ANSWERS] have field of work as that language
[{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?g WHERE { ?g property:P101 resource:Q1321 . ?g rdf:type ontology:Q502895 }
Zdeněk Šmíd Blanka Stárková Pavel Šrut Martin Hilský Miloslav Uličný Josef Forbelský Václav Jiřina Simona Binková Anežka Charvátová Pavla Lidmilová Petr Zavadil
Martin Hilský, Pavel Šrut and Josef Forbelský have field of work as that language
Martin Hilský Pavel Šrut Josef Forbelský
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?g WHERE { ?g property:field_of_work resource:Spanish . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atleast 2488 people ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2488
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?p >= 2488 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2488
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?p >= 2488 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2488
[ANSWERS] are played by atleast 2488 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?p >= 2488 ) }
piano violin
Piano and violin are played by atleast 2488 people
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2488
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?h ) AS ?p ) WHERE { ?h property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?p >= 2488 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q888597
P1303
Q502895
USER
Does Joni Fuller play those musical instruments ?
(Q888597,P1303,Q5994) (Q888597,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q888597
relation P1303
['Q888597', 'P1303', 'Q5994'] ['Q888597', 'P1303', 'Q8355']
ASK WHERE { resource:Q888597 property:P1303 ?v . VALUES ( ?v ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Joni Fuller
action is_in
entity prev_answer
action find
entity Joni Fuller
relation instrument
['Joni Fuller', 'instrument', 'piano'] ['Joni Fuller', 'instrument', 'violin']
ASK WHERE { resource:Joni_Fuller property:instrument ?v . VALUES ( ?v ) { ( resource:piano ) ( resource:violin ) } }
[]
common name
SYSTEM
YES
(Q888597,P1303,Q5994) (Q888597,P1303,Q8355)
action is_in
entity prev_answer
action find
entity Q888597
relation P1303
[ANSWER]
['Q888597', 'P1303', 'Q5994'] ['Q888597', 'P1303', 'Q8355']
ASK WHERE { resource:Q888597 property:P1303 ?v . VALUES ( ?v ) { ( resource:Q5994 ) ( resource:Q8355 ) } }
Yes
action is_in
entity prev_answer
action find
entity Joni Fuller
relation instrument
['Joni Fuller', 'instrument', 'piano'] ['Joni Fuller', 'instrument', 'violin']
ASK WHERE { resource:Joni_Fuller property:instrument ?v . VALUES ( ?v ) { ( resource:piano ) ( resource:violin ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P1056
Q43229
USER
Who manufacture piano ?
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?a WHERE { ?a property:P1056 resource:Q5994 . ?a rdf:type ontology:Q43229 }
piano
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?a WHERE { ?a property:product resource:piano . ?a rdf:type ontology:organization }
[]
organization
Q2684841 Q20773716
SYSTEM
Hoffmann, Weber Piano Company
Q2684841 Q20773716
(c(Q43229),P1056,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P1056
type Q43229
[ANSWERS] manufacture piano
[{'concept': 'Q43229'}, 'P1056', 'Q5994']
SELECT DISTINCT ?a WHERE { ?a property:P1056 resource:Q5994 . ?a rdf:type ontology:Q43229 }
Hoffmann Weber Piano Company
Hoffmann and Weber Piano Company manufacture piano
Hoffmann Weber Piano Company
action filter_type
action find_reverse
entity piano
relation product
type organization
[{'concept': 'organization'}, 'product', 'piano']
SELECT DISTINCT ?a WHERE { ?a property:product resource:piano . ?a rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5994
P26
Q502895
USER
Which person has piano as spouse ?
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?x WHERE { ?x property:P26 resource:Q5994 . ?x rdf:type ontology:Q502895 }
piano
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?x WHERE { ?x property:spouse resource:piano . ?x rdf:type ontology:common_name }
[]
common name
Q3161739
SYSTEM
Jan Páleníček
Q3161739
(c(Q502895),P26,Q5994)
action filter_type
action find_reverse
entity Q5994
relation P26
type Q502895
[ANSWER] has piano as spouse
[{'concept': 'Q502895'}, 'P26', 'Q5994']
SELECT DISTINCT ?x WHERE { ?x property:P26 resource:Q5994 . ?x rdf:type ontology:Q502895 }
Jan Páleníček
Jan Páleníček has piano as spouse
Jan Páleníček
action filter_type
action find_reverse
entity piano
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'piano']
SELECT DISTINCT ?x WHERE { ?x property:spouse resource:piano . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7155818
P106
Q12737077
USER
Which occupations have Pavel Šrut as his/her 's career ?
(Q7155818,P106,c(Q12737077))
action filter_type
action find
entity Q7155818
relation P106
type Q12737077
['Q7155818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7155818 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Pavel Šrut
action filter_type
action find
entity Pavel Šrut
relation occupation
type occupation
['Pavel Šrut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Pavel_Šrut property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q333634 Q4853732 Q36180
SYSTEM
translator, children's writer, writer
Q333634 Q4853732 Q36180 Q49757
(Q7155818,P106,c(Q12737077))
action filter_type
action find
entity Q7155818
relation P106
type Q12737077
[ANSWERS] have Pavel Šrut as his/her 's career
['Q7155818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q7155818 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
translator children's writer writer poet
Translator, children's writer and writer have Pavel Šrut as his/her 's career
translator children's writer writer
action filter_type
action find
entity Pavel Šrut
relation occupation
type occupation
['Pavel Šrut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Pavel_Šrut property:occupation ?b . ?b rdf:type ontology:occupation }
[]