Simple Question (Direct)
Simple Question
Q2844865
P58
Q502895
USER
Who wrote the screenplay for An Alligator Named Daisy ?
(Q2844865,P58,c(Q502895))
action filter_type
action find
entity Q2844865
relation P58
type Q502895
['Q2844865', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2844865 property:P58 ?w . ?w rdf:type ontology:Q502895 }
An Alligator Named Daisy
action filter_type
action find
entity An Alligator Named Daisy
relation screenwriter
type common name
['An Alligator Named Daisy', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:An_Alligator_Named_Daisy property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
common name
Q3157159
SYSTEM
Jack Davies
Q3157159
(Q2844865,P58,c(Q502895))
action filter_type
action find
entity Q2844865
relation P58
type Q502895
[ANSWER] wrote the screenplay for An Alligator Named Daisy
['Q2844865', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q2844865 property:P58 ?w . ?w rdf:type ontology:Q502895 }
Jack Davies
Jack Davies wrote the screenplay for An Alligator Named Daisy
Jack Davies
action filter_type
action find
entity An Alligator Named Daisy
relation screenwriter
type common name
['An Alligator Named Daisy', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:An_Alligator_Named_Daisy property:screenwriter ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2844865
P364
Q34770
USER
Which language was used originally for the creation of An Alligator Named Daisy ?
(Q2844865,P364,c(Q34770))
action filter_type
action find
entity Q2844865
relation P364
type Q34770
['Q2844865', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q2844865 property:P364 ?p }
An Alligator Named Daisy
action filter_type
action find
entity An Alligator Named Daisy
relation original language of work
type language
['An Alligator Named Daisy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:An_Alligator_Named_Daisy property:original_language_of_work ?p }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2844865,P364,c(Q34770))
action filter_type
action find
entity Q2844865
relation P364
type Q34770
In [ANSWER] was used originally for the creation of An Alligator Named Daisy
['Q2844865', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q34770 . resource:Q2844865 property:P364 ?p }
English
In English was used originally for the creation of An Alligator Named Daisy
English
action filter_type
action find
entity An Alligator Named Daisy
relation original language of work
type language
['An Alligator Named Daisy', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:language . resource:An_Alligator_Named_Daisy property:original_language_of_work ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2844865
P161
Q502895
USER
Which people are in that work of art ?
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q2844865
relation P161
type Q502895
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q2844865 property:P161 ?n }
An Alligator Named Daisy
action filter_type
action find
entity An Alligator Named Daisy
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:An_Alligator_Named_Daisy property:cast_member ?n }
[]
common name
Q254265 Q549287 Q458755
SYSTEM
James Robertson Justice, Stanley Holloway, Roland Culver
Q254265 Q321943 Q683299 Q1343896 Q432316 Q458755 Q549287 Q239849 Q6172330
(Q1860,P161,c(Q502895))
action filter_type
action find
entity Q2844865
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q1860', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q502895 . resource:Q2844865 property:P161 ?n }
James Robertson Justice Richard Wattis Stephen Boyd Wilfrid Lawson Donald Sinden Roland Culver Stanley Holloway Diana Dors Jeannie Carson
James Robertson Justice, Stanley Holloway and Roland Culver are in that work of art
James Robertson Justice Stanley Holloway Roland Culver
action filter_type
action find
entity An Alligator Named Daisy
relation cast member
type common name
['English', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:common_name . resource:An_Alligator_Named_Daisy property:cast_member ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5111 Q1860
P361
Q5962346
USER
Which classification schemes are English or Abkhaz a part of ?
OR((Q1860,P361,c(Q5962346)), (Q5111,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q5111
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q5111', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1860 property:P361 ?i } UNION { resource:Q5111 property:P361 ?i } } . ?i rdf:type ontology:Q5962346 }
Abkhaz English
action filter_type
action union
action find
entity English
relation part of
action find
entity Abkhaz
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Abkhaz', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?i WHERE { { { resource:English property:part_of ?i } UNION { resource:Abkhaz property:part_of ?i } } . ?i rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q4663617 Q5329170 Q33852
SYSTEM
Anglic languages, Abazgi languages, Anglo-Frisian languages, Northwest Caucasian languages
Q1346342 Q4663617 Q5329170 Q33852
OR((Q1860,P361,c(Q5962346)), (Q5111,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q5111
relation P361
type Q5962346
Languages [ANSWERS] are English or Abkhaz a part of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q5111', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q1860 property:P361 ?i } UNION { resource:Q5111 property:P361 ?i } } . ?i rdf:type ontology:Q5962346 }
Anglic languages Abazgi languages Anglo-Frisian languages Northwest Caucasian languages
Languages Anglic languages, Abazgi languages, Anglo-Frisian languages and Northwest Caucasian languages are English or Abkhaz a part of
Anglic languages Abazgi languages Anglo-Frisian languages Northwest Caucasian languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Abkhaz
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Abkhaz', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?i WHERE { { { resource:English property:part_of ?i } UNION { resource:Abkhaz property:part_of ?i } } . ?i rdf:type ontology:classification_scheme }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15240025
P176
Q4830453 Q43229 Q5962346
USER
How many classification schemes were built by greater number of business enterprises or organizations than Hayashio-class submarine ?
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q15240025
relation P176
type Q4830453
type Q43229
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?r WHERE { VALUES ( ?l ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?m rdf:type ?l } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q15240025 property:P176 ?u . { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } } } . FILTER ( ?g > ?d ) }
Hayashio-class submarine
action count
action greater
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity Hayashio-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?r WHERE { VALUES ( ?l ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?m rdf:type ?l } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Hayashio-class_submarine property:manufacturer ?u . { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } } } } . FILTER ( ?g > ?d ) }
[]
business enterprise organization classification scheme
SYSTEM
7
Q527483 Q663037 Q6675326 Q17478690 Q1068329 Q2707876 Q602196
(c(Q5962346),P176,c(Q4830453)|c(Q43229))
action count
action greater
action union
action find_tuple_counts
relation P176
type Q5962346
type Q4830453
action find_tuple_counts
relation P176
type Q5962346
type Q43229
action count
action filter_multi_types
action find
entity Q15240025
relation P176
type Q4830453
type Q43229
[ANSWER]
[{'concept': 'Q5962346'}, 'P176', [{'concept': 'Q4830453'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?r WHERE { VALUES ( ?l ) { ( ontology:Q43229 ) ( ontology:Q4830453 ) } . ?m rdf:type ?l } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Q15240025 property:P176 ?u . { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:Q4830453 ) ( ontology:Q43229 ) } } } } . FILTER ( ?g > ?d ) }
German Seehund-class submarine Alfa-class submarine Echo II class submarine Draken II-class submarine Golf-class submarine Sjöormen-class submarine German Type XXIII submarine
7
action count
action greater
action union
action find_tuple_counts
relation manufacturer
type classification scheme
type business enterprise
action find_tuple_counts
relation manufacturer
type classification scheme
type organization
action count
action filter_multi_types
action find
entity Hayashio-class submarine
relation manufacturer
type business enterprise
type organization
[{'concept': 'classification scheme'}, 'manufacturer', [{'concept': 'business enterprise'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) ?r WHERE { VALUES ( ?l ) { ( ontology:organization ) ( ontology:business_enterprise ) } . ?m rdf:type ?l } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { resource:Hayashio-class_submarine property:manufacturer ?u . { ?u rdf:type ?j . VALUES ( ?j ) { ( ontology:business_enterprise ) ( ontology:organization ) } } } } . FILTER ( ?g > ?d ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q458755
P607
Q198
USER
What battle was Roland Culver a part of ?
(Q458755,P607,c(Q198))
action filter_type
action find
entity Q458755
relation P607
type Q198
['Q458755', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q458755 property:P607 ?m . ?m rdf:type ontology:Q198 }
Roland Culver
action filter_type
action find
entity Roland Culver
relation conflict
type war
['Roland Culver', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Roland_Culver property:conflict ?m . ?m rdf:type ontology:war }
[]
war
Q361
SYSTEM
World War I
Q361
(Q458755,P607,c(Q198))
action filter_type
action find
entity Q458755
relation P607
type Q198
Roland Culver was in [ANSWER]
['Q458755', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?m WHERE { resource:Q458755 property:P607 ?m . ?m rdf:type ontology:Q198 }
World War I
Roland Culver was in World War I
World War I
action filter_type
action find
entity Roland Culver
relation conflict
type war
['Roland Culver', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?m WHERE { resource:Roland_Culver property:conflict ?m . ?m rdf:type ontology:war }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q9091 Q1860
P361
Q5962346
USER
Which classification schemes are English or Belarusian a portion of ?
OR((Q1860,P361,c(Q5962346)), (Q9091,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q9091
relation P361
type Q5962346
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q9091', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1860 property:P361 ?e } UNION { resource:Q9091 property:P361 ?e } } . ?e rdf:type ontology:Q5962346 }
Belarusian English
action filter_type
action union
action find
entity English
relation part of
action find
entity Belarusian
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Belarusian', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?e WHERE { { { resource:English property:part_of ?e } UNION { resource:Belarusian property:part_of ?e } } . ?e rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q144713 Q5329170 Q147356
SYSTEM
Anglic languages, East Slavic languages, Anglo-Frisian languages, Balto-Slavic languages
Q1346342 Q144713 Q5329170 Q147356
OR((Q1860,P361,c(Q5962346)), (Q9091,P361,c(Q5962346)))
action filter_type
action union
action find
entity Q1860
relation P361
action find
entity Q9091
relation P361
type Q5962346
Languages [ANSWERS] are English or Belarusian a portion of
{'OR': [['Q1860', 'P361', {'concept': 'Q5962346'}], ['Q9091', 'P361', {'concept': 'Q5962346'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q1860 property:P361 ?e } UNION { resource:Q9091 property:P361 ?e } } . ?e rdf:type ontology:Q5962346 }
Anglic languages East Slavic languages Anglo-Frisian languages Balto-Slavic languages
Languages Anglic languages, East Slavic languages, Anglo-Frisian languages and Balto-Slavic languages are English or Belarusian a portion of
Anglic languages East Slavic languages Anglo-Frisian languages Balto-Slavic languages
action filter_type
action union
action find
entity English
relation part of
action find
entity Belarusian
relation part of
type classification scheme
{'OR': [['English', 'part of', {'concept': 'classification scheme'}], ['Belarusian', 'part of', {'concept': 'classification scheme'}]]}
SELECT DISTINCT ?e WHERE { { { resource:English property:part_of ?e } UNION { resource:Belarusian property:part_of ?e } } . ?e rdf:type ontology:classification_scheme }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P361
Q1914636 Q5962346 Q5962346
USER
Which classification schemes are a portion of approximately the same number of activities or classification schemes as that classification scheme ?
(c(Q5962346),P361,c(Q1914636)|c(Q5962346))
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q423229 }
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:activity }
[]
activity classification scheme classification scheme
Comparative|More/Less|Mult. entity type|Clarification
Q1346342
SYSTEM
Did you mean Anglic languages ?
(c(Q5962346),P361,c(Q1914636)|c(Q5962346))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q423229 }
Did you mean Anglic languages ?
Anglic languages
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:activity }
[]
Comparative Reasoning (All)
USER
No, I meant Anglo-Frisian languages. Could you tell me the answer for that?
(c(Q5962346),P361,c(Q1914636)|c(Q5962346))
Q5329170
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
[]
SYSTEM
77
Q905036 Q165838 Q795113 Q2145956 Q856638 Q770723 Q484761 Q715396 Q853915 Q15614122 Q205740 Q831873 Q1056396 Q574273 Q787422 Q2056514 Q938245 Q381496 Q294217 Q126842 Q1380905 Q1193625 Q27660317 Q382113 Q3450906 Q1063076 Q7007379 Q25295 Q621080 Q1412461 Q41217 Q2029930 Q396188 Q7632661 Q1153495 Q812943 Q161272 Q930752 Q1481411 Q1944497 Q335632 Q1908419 Q323936 Q1640108 Q3745514 Q193870 Q2520728 Q407784 Q591763 Q2520723 Q1434048 Q1362435 Q290578 Q396090 Q179805 Q185925 Q735602 Q10387 Q1413406 Q870895 Q840400 Q372449 Q184274 Q624758 Q55640 Q150971 Q1413942 Q456632 Q149584 Q171184 Q828395 Q1421211 Q180592 Q163629 Q44325 Q5381001 Q175002
(c(Q5962346),P361,c(Q1914636)|c(Q5962346))
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', [{'concept': 'Q1914636'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:P361 ?y } UNION { ?z property:P361 ?z } } . ?z rdf:type ontology:Q5962346 . ?y rdf:type ontology:Q423229 }
computational sociology limnology B-physics Capacity management library catalog auxiliary sciences of history philosophy of language Solid-state physics Economic geology measure theory Egyptian mythology Betriebsfestigkeit human resource management municipal law Automatic Control (technology of automation) Active safety Vanguard-class submarine Aero climatology public sector philosophy of law social psychiatry social research Rural geography Admiralty law Behavioural Biology voluntary sector business process management language family Library of Congress Classification psephology mechanics organizational studies Agricultural journalism Dreadnought-class submarine configuration management Civil Service Law social psychology medical specialty IT service management Crop protection mathematical finance mathematical geography pharmacokinetics switching technology Filosofia latinoamericana tribology Administrative Law in Germany child development private sector Administrative Procedure Law Aircraft construction Psychology of learning Radiophysics Agricultural geography political philosophy graphic design quantum optics gerontology technical documentation health informatics evolutionary biology Forest protection celestial mechanics psychopathology primary sector of the economy computer graphics material handling information privacy organizational theory phylogeny social policy Media psychology social philosophy Ethiopian Semitic languages ontology Environment, Health and Safety developmental psychology
77
[{'concept': 'classification scheme'}, 'part of', [{'concept': 'activity'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?z WHERE { { { ?z property:part_of ?y } UNION { ?z property:part_of ?z } } . ?z rdf:type ontology:classification_scheme . ?y rdf:type ontology:activity }
[]