Simple Question (Direct)
Simple Question
Q5718197
P1412
Q34770
USER
Which language is spoken by Henry Bingham Baring ?
(Q5718197,P1412,c(Q34770))
action filter_type
action find
entity Q5718197
relation P1412
type Q34770
['Q5718197', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5718197 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
Henry Bingham Baring
action filter_type
action find
entity Henry Bingham Baring
relation languages spoken, written or signed
type language
['Henry Bingham Baring', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Bingham_Baring property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5718197,P1412,c(Q34770))
action filter_type
action find
entity Q5718197
relation P1412
type Q34770
Is [ANSWER] is spoken by Henry Bingham Baring
['Q5718197', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5718197 property:P1412 ?z . ?z rdf:type ontology:Q34770 }
English
Is English is spoken by Henry Bingham Baring
English
action filter_type
action find
entity Henry Bingham Baring
relation languages spoken, written or signed
type language
['Henry Bingham Baring', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Henry_Bingham_Baring property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a portion of ?
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q1860,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a portion of
['Q1860', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?w WHERE { resource:Q1860 property:P361 ?w . ?w rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a portion of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?w WHERE { resource:English property:part_of ?w . ?w rdf:type ontology:classification_scheme }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1346342 Q5329170
P361
Q5962346
USER
Which classification schemes are those ones a portion of ?
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . VALUES ( ?e ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . ?e property:P361 ?i }
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . VALUES ( ?e ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . ?e property:part_of ?i }
[]
classification scheme
Q5329170 Q26721 Q26721
SYSTEM
West Germanic languages for 2nd, 3rd, Anglo-Frisian languages for 1st
Q26721 Q5329170 Q26721 Q30134
(Q1346342,P361,c(Q5962346)) (Q5329170,P361,c(Q5962346))
action filter_type
action find
entity prev_answer
relation P361
type Q5962346
[ANSWERS]
['Q1346342', 'P361', {'concept': 'Q5962346'}] ['Q5329170', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q5962346 . VALUES ( ?e ) { ( resource:Q1346342 ) ( resource:Q5329170 ) } . ?e property:P361 ?i }
West Germanic languages Anglo-Frisian languages West Germanic languages Ingvaeonic languages
Anglo-Frisian languages, West Germanic languages and West Germanic languages are those ones a portion of
Anglo-Frisian languages West Germanic languages West Germanic languages
action filter_type
action find
entity prev_answer
relation part of
type classification scheme
['Anglic languages', 'part of', {'concept': 'classification scheme'}] ['Anglo-Frisian languages', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:classification_scheme . VALUES ( ?e ) { ( resource:Anglic_languages ) ( resource:Anglo-Frisian_languages ) } . ?e property:part_of ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P629
Q571
USER
Which is an edition or translation of English ?
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q571 . ?s property:P629 resource:Q1860 }
English
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:book . ?s property:edition_or_translation_of resource:English }
[]
book
Q24036077
SYSTEM
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Q24036077
(c(Q571),P629,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P629
type Q571
[ANSWER] is an edition or translation of English
[{'concept': 'Q571'}, 'P629', 'Q1860']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q571 . ?s property:P629 resource:Q1860 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
Two Addresses from the Governour, Council and Convention of the Massachusets Colony is an edition or translation of English
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find_reverse
entity English
relation edition or translation of
type book
[{'concept': 'book'}, 'edition or translation of', 'English']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:book . ?s property:edition_or_translation_of resource:English }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24036077
P921
Q180684
USER
What topic was discussed in that book ?
(Q24036077,P921,c(Q180684))
action filter_type
action find
entity Q24036077
relation P921
type Q180684
['Q24036077', 'P921', {'concept': 'Q180684'}]
SELECT DISTINCT ?z WHERE { resource:Q24036077 property:P921 ?z . ?z rdf:type ontology:Q180684 }
Two Addresses from the Governour, Council and Convention of the Massachusets Colony
action filter_type
action find
entity Two Addresses from the Governour, Council and Convention of the Massachusets Colony
relation main subject
type conflict
['Two Addresses from the Governour, Council and Convention of the Massachusets Colony', 'main subject', {'concept': 'conflict'}]
SELECT DISTINCT ?z WHERE { resource:Two_Addresses_from_the_Governour,_Council_and_Convention_of_the_Massachusets_Colony property:main_subject ?z . ?z rdf:type ontology:conflict }
[]
conflict
Q3136592
SYSTEM
1689 Boston revolt
Q3136592
(Q24036077,P921,c(Q180684))
action filter_type
action find
entity Q24036077
relation P921
type Q180684
The [ANSWER] was discussed in that book
['Q24036077', 'P921', {'concept': 'Q180684'}]
SELECT DISTINCT ?z WHERE { resource:Q24036077 property:P921 ?z . ?z rdf:type ontology:Q180684 }
1689 Boston revolt
The 1689 Boston revolt was discussed in that book
1689 Boston revolt
action filter_type
action find
entity Two Addresses from the Governour, Council and Convention of the Massachusets Colony
relation main subject
type conflict
['Two Addresses from the Governour, Council and Convention of the Massachusets Colony', 'main subject', {'concept': 'conflict'}]
SELECT DISTINCT ?z WHERE { resource:Two_Addresses_from_the_Governour,_Council_and_Convention_of_the_Massachusets_Colony property:main_subject ?z . ?z rdf:type ontology:conflict }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3136592 Q5365769
P276
Q56061
USER
Does Juzaine can 1689 Boston revolt be found ?
(Q3136592,P276,Q5365769)
action is_in
entity Q5365769
action find
entity Q3136592
relation P276
['Q3136592', 'P276', 'Q5365769']
ASK WHERE { resource:Q3136592 property:P276 resource:Q5365769 }
1689 Boston revolt Juzaine
action is_in
entity Juzaine
action find
entity 1689 Boston revolt
relation location
['1689 Boston revolt', 'location', 'Juzaine']
ASK WHERE { resource:1689_Boston_revolt property:location resource:Juzaine }
[]
administrative territorial entity
SYSTEM
NO
(Q3136592,P276,Q5365769)
action is_in
entity Q5365769
action find
entity Q3136592
relation P276
[ANSWER]
['Q3136592', 'P276', 'Q5365769']
ASK WHERE { resource:Q3136592 property:P276 resource:Q5365769 }
No
action is_in
entity Juzaine
action find
entity 1689 Boston revolt
relation location
['1689 Boston revolt', 'location', 'Juzaine']
ASK WHERE { resource:1689_Boston_revolt property:location resource:Juzaine }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P136
Q5962346 Q2342494 Q838948
USER
Which classification schemes do min number of collectables and works of art belong to ?
(c(Q2342494)|c(Q838948),P136,c(Q5962346))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P136 ?h . ?h rdf:type ontology:Q5962346 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P136 ?h . ?b rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q5962346 } } GROUP BY ?h } } }
action argmin
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:genre ?h . ?h rdf:type ontology:classification_scheme . ?b rdf:type ontology:work_of_art } UNION { ?b property:genre ?h . ?b rdf:type ontology:collectable . ?h rdf:type ontology:classification_scheme } } GROUP BY ?h } } }
[]
classification scheme collectable work of art
Q349479 Q1457145 Q21188110
SYSTEM
building industry, cooking show, American television sitcom
Q968679 Q5227671 Q21188110 Q4949058 Q581714 Q1273568 Q338632 Q336181 Q7724161 Q16894224 Q3546572 Q3421644 Q861402 Q29197 Q23745 Q20267837 Q4382232 Q1407245 Q4922471 Q17113138 Q5465514 Q204698 Q2290276 Q20220309 Q6546170 Q4765080 Q349479 Q288608 Q1457145 Q12322867 Q1962634 Q775344 Q6022825 Q482612 Q21232614 Q3951815 Q20652466 Q1413406 Q178840 Q1924856 Q986699 Q5428822 Q7988576
(c(Q2342494)|c(Q838948),P136,c(Q5962346))
action argmin
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2342494
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
[ANSWERS] min number of collectables and works of art belong to
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:P136 ?h . ?h rdf:type ontology:Q5962346 . ?b rdf:type ontology:Q838948 } UNION { ?b property:P136 ?h . ?b rdf:type ontology:Q2342494 . ?h rdf:type ontology:Q5962346 } } GROUP BY ?h } } }
Terza rima dating game show American television sitcom bottle episode animated series children's television series documentary soap opera variety show teleserial sports program tabloid talk show reality show educational television season premiere telenovela historical television series procedural drama television show black sitcom teen sitcom food reality television limerick season finale horror television series light entertainment animated sitcom building industry Scripted Reality cooking show crime television news television series teen drama Indian soap opera Korean drama reality television series sceneggiato black comedy television program technical documentation television series about families metal construction late-night talk show factual television television western
Building industry, cooking show and American television sitcom min number of collectables and works of art belong to
building industry cooking show American television sitcom
action argmin
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type collectable
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:work_of_art ) } } GROUP BY ?m } . { SELECT DISTINCT ( MIN ( ?j ) AS ?q ) { SELECT DISTINCT ?h ( COUNT ( ?b ) AS ?j ) WHERE { { ?b property:genre ?h . ?h rdf:type ontology:classification_scheme . ?b rdf:type ontology:work_of_art } UNION { ?b property:genre ?h . ?b rdf:type ontology:collectable . ?h rdf:type ontology:classification_scheme } } GROUP BY ?h } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q9332 Q11862829 Q5962346
USER
Which classification schemes are a component of lesser number of behaviors or academic disciplines than that classification scheme ?
(c(Q5962346),P361,c(Q9332)|c(Q11862829))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( ?y ) ( ?x ) } . ?z property:P361 ?t } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q9332 . ?x rdf:type ontology:Q11862829 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'behavior'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( ?y ) ( ?x ) } . ?z property:part_of ?t } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:behavior . ?x rdf:type ontology:academic_discipline }
[]
behavior academic discipline classification scheme
Comparative|More/Less|Mult. entity type|Clarification
Q21188110
SYSTEM
Did you mean American television sitcom ?
(c(Q5962346),P361,c(Q9332)|c(Q11862829))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( ?y ) ( ?x ) } . ?z property:P361 ?t } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q9332 . ?x rdf:type ontology:Q11862829 }
Did you mean American television sitcom ?
American television sitcom
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'behavior'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ?z WHERE { { VALUES ( ?t ) { ( ?y ) ( ?x ) } . ?z property:part_of ?t } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:behavior . ?x rdf:type ontology:academic_discipline }
[]
Comparative Reasoning (All)
USER
No, I meant building industry. Could you tell me the answer for that?
(c(Q5962346),P361,c(Q9332)|c(Q11862829))
Q349479
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q11862829'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'behavior'}, {'concept': 'academic discipline'}]]
[]
SYSTEM
0
(c(Q5962346),P361,c(Q9332)|c(Q11862829))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q9332'}, {'concept': 'Q11862829'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?x } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q9332 . ?x rdf:type ontology:Q11862829 }
0
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'behavior'}, {'concept': 'academic discipline'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?x } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:behavior . ?x rdf:type ontology:academic_discipline }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18769871
Q56061
USER
And what about Hemmen-Dodewaard railway station?
(Q18769871,P361,c(Q56061))
action filter_type
action find
entity Q18769871
relation P361
type Q56061
['Q18769871', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q18769871 property:P361 ?r }
Hemmen-Dodewaard railway station
action filter_type
action find
entity Hemmen-Dodewaard railway station
relation part of
type administrative territorial entity
['Hemmen-Dodewaard railway station', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Hemmen-Dodewaard_railway_station property:part_of ?r }
[]
administrative territorial entity
Q130580
SYSTEM
Elst
Q130580
(Q18769871,P361,c(Q56061))
action filter_type
action find
entity Q18769871
relation P361
type Q56061
[ANSWER]
['Q18769871', 'P361', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q56061 . resource:Q18769871 property:P361 ?r }
Elst
Elst
action filter_type
action find
entity Hemmen-Dodewaard railway station
relation part of
type administrative territorial entity
['Hemmen-Dodewaard railway station', 'part of', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:administrative_territorial_entity . resource:Hemmen-Dodewaard_railway_station property:part_of ?r }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q130580 Q5182267
P17
Q15617994
USER
Does that administrative territory belong to Cranston School District ?
(Q130580,P17,Q5182267)
action is_in
entity Q5182267
action find
entity Q130580
relation P17
['Q130580', 'P17', 'Q5182267']
ASK WHERE { resource:Q130580 property:P17 resource:Q5182267 }
Elst Cranston School District
action is_in
entity Cranston School District
action find
entity Elst
relation country
['Elst', 'country', 'Cranston School District']
ASK WHERE { resource:Elst property:country resource:Cranston_School_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q130580,P17,Q5182267)
action is_in
entity Q5182267
action find
entity Q130580
relation P17
[ANSWER]
['Q130580', 'P17', 'Q5182267']
ASK WHERE { resource:Q130580 property:P17 resource:Q5182267 }
No
action is_in
entity Cranston School District
action find
entity Elst
relation country
['Elst', 'country', 'Cranston School District']
ASK WHERE { resource:Elst property:country resource:Cranston_School_District }
[]