Simple Question (Direct)
Simple Question
Q105994
P800
Q25379
USER
What was notable work done by Patrick Süskind ?
(Q105994,P800,c(Q25379))
action filter_type
action find
entity Q105994
relation P800
type Q25379
['Q105994', 'P800', {'concept': 'Q25379'}]
SELECT DISTINCT ?c WHERE { resource:Q105994 property:P800 ?c . ?c rdf:type ontology:Q25379 }
Patrick Süskind
action filter_type
action find
entity Patrick Süskind
relation notable work
type play
['Patrick Süskind', 'notable work', {'concept': 'play'}]
SELECT DISTINCT ?c WHERE { resource:Patrick_Süskind property:notable_work ?c . ?c rdf:type ontology:play }
[]
play
Q1194921
SYSTEM
Der Kontrabaß
Q1194921
(Q105994,P800,c(Q25379))
action filter_type
action find
entity Q105994
relation P800
type Q25379
Notable work done by Patrick Süskind was in [ANSWER]
['Q105994', 'P800', {'concept': 'Q25379'}]
SELECT DISTINCT ?c WHERE { resource:Q105994 property:P800 ?c . ?c rdf:type ontology:Q25379 }
Der Kontrabaß
Notable work done by Patrick Süskind was in Der Kontrabaß
Der Kontrabaß
action filter_type
action find
entity Patrick Süskind
relation notable work
type play
['Patrick Süskind', 'notable work', {'concept': 'play'}]
SELECT DISTINCT ?c WHERE { resource:Patrick_Süskind property:notable_work ?c . ?c rdf:type ontology:play }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q105994
P21
Q290
USER
Which sex does Patrick Süskind have ?
(Q105994,P21,c(Q290))
action filter_type
action find
entity Q105994
relation P21
type Q290
['Q105994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q105994 property:P21 ?z . ?z rdf:type ontology:Q290 }
Patrick Süskind
action filter_type
action find
entity Patrick Süskind
relation gender
type sex
['Patrick Süskind', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Patrick_Süskind property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q105994,P21,c(Q290))
action filter_type
action find
entity Q105994
relation P21
type Q290
Patrick Süskind has a [ANSWER]
['Q105994', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?z WHERE { resource:Q105994 property:P21 ?z . ?z rdf:type ontology:Q290 }
male
Patrick Süskind has a male
male
action filter_type
action find
entity Patrick Süskind
relation gender
type sex
['Patrick Süskind', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?z WHERE { resource:Patrick_Süskind property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q2088357 Q1936581
USER
How many musical ensembles or mineral groups come from that sex ?
(c(Q2088357),P138,Q6581097) (c(Q1936581),P138,Q6581097) (c(Q2088357),P138,Q6581097) (c(Q1936581),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1936581 ) ( ontology:Q2088357 ) } }
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity male
relation named after
type mineral group
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:mineral_group ) ( ontology:musical_ensemble ) } }
[]
musical ensemble mineral group
SYSTEM
2
Q15181127 Q3844522
(c(Q2088357),P138,Q6581097) (c(Q1936581),P138,Q6581097) (c(Q2088357),P138,Q6581097) (c(Q1936581),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q2088357
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q1936581
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097'] [{'concept': 'Q2088357'}, 'P138', 'Q6581097'] [{'concept': 'Q1936581'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:Q1936581 ) ( ontology:Q2088357 ) } }
Ausekarane tweddillite
2
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type musical ensemble
action filter_type
action find_reverse
entity male
relation named after
type mineral group
[{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male'] [{'concept': 'musical ensemble'}, 'named after', 'male'] [{'concept': 'mineral group'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { ?v rdf:type ?a . VALUES ( ?a ) { ( ontology:mineral_group ) ( ontology:musical_ensemble ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2555171 Q105994
P1346
Q618779
USER
Which awards were Patrick Süskind or Tonie Marshall decalred as a victor of ?
OR((c(Q618779),P1346,Q105994), (c(Q618779),P1346,Q2555171))
action filter_type
action union
action find_reverse
entity Q105994
relation P1346
action find_reverse
entity Q2555171
relation P1346
type Q618779
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q105994'], [{'concept': 'Q618779'}, 'P1346', 'Q2555171']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P1346 resource:Q105994 } UNION { ?o property:P1346 resource:Q2555171 } } . ?o rdf:type ontology:Q618779 }
Tonie Marshall Patrick Süskind
action filter_type
action union
action find_reverse
entity Patrick Süskind
relation winner
action find_reverse
entity Tonie Marshall
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Patrick Süskind'], [{'concept': 'award'}, 'winner', 'Tonie Marshall']]}
SELECT DISTINCT ?o WHERE { { { ?o property:winner resource:Patrick_Süskind } UNION { ?o property:winner resource:Tonie_Marshall } } . ?o rdf:type ontology:award }
[]
award
Q24137 Q645595 Q900369 Q898527
SYSTEM
César Award for Best Director, César Award for Best Film, César Award for Best Writing, World Fantasy Award for Best Novel
Q24137 Q645595 Q900369 Q898527
OR((c(Q618779),P1346,Q105994), (c(Q618779),P1346,Q2555171))
action filter_type
action union
action find_reverse
entity Q105994
relation P1346
action find_reverse
entity Q2555171
relation P1346
type Q618779
Patrick Süskind or Tonie Marshall were decalred as a victor of the [ANSWERS]
{'OR': [[{'concept': 'Q618779'}, 'P1346', 'Q105994'], [{'concept': 'Q618779'}, 'P1346', 'Q2555171']]}
SELECT DISTINCT ?o WHERE { { { ?o property:P1346 resource:Q105994 } UNION { ?o property:P1346 resource:Q2555171 } } . ?o rdf:type ontology:Q618779 }
César Award for Best Director César Award for Best Film César Award for Best Writing World Fantasy Award for Best Novel
Patrick Süskind or Tonie Marshall were decalred as a victor of the César Award for Best Director, César Award for Best Film, César Award for Best Writing and World Fantasy Award for Best Novel
César Award for Best Director César Award for Best Film César Award for Best Writing World Fantasy Award for Best Novel
action filter_type
action union
action find_reverse
entity Patrick Süskind
relation winner
action find_reverse
entity Tonie Marshall
relation winner
type award
{'OR': [[{'concept': 'award'}, 'winner', 'Patrick Süskind'], [{'concept': 'award'}, 'winner', 'Tonie Marshall']]}
SELECT DISTINCT ?o WHERE { { { ?o property:winner resource:Patrick_Süskind } UNION { ?o property:winner resource:Tonie_Marshall } } . ?o rdf:type ontology:award }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q106740 Q105994
P800
Q2342494
USER
Which collectables were done by Patrick Süskind or Dorothy L. Sayers ?
OR((Q105994,P800,c(Q2342494)), (Q106740,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q105994
relation P800
action find
entity Q106740
relation P800
type Q2342494
{'OR': [['Q105994', 'P800', {'concept': 'Q2342494'}], ['Q106740', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . { { resource:Q106740 property:P800 ?t } UNION { resource:Q105994 property:P800 ?t } } }
Dorothy L. Sayers Patrick Süskind
action filter_type
action union
action find
entity Patrick Süskind
relation notable work
action find
entity Dorothy L. Sayers
relation notable work
type collectable
{'OR': [['Patrick Süskind', 'notable work', {'concept': 'collectable'}], ['Dorothy L. Sayers', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . { { resource:Dorothy_L._Sayers property:notable_work ?t } UNION { resource:Patrick_Süskind property:notable_work ?t } } }
[]
collectable
Q2544560 Q2564588 Q459303 Q1228867 Q2796032 Q1815880 Q2464821 Q2855327 Q2052076 Q2182784
SYSTEM
Some of them are Strong Poison, Five Red Herrings, Perfume, Clouds of Witness, The Unpleasantness at the Bellona Club, The Nine Tailors, Gaudy Night, Murder Must Advertise, Busman's Honeymoon, Have His Carcase
Q2544560 Q6679852 Q1815880 Q459303 Q1228867 Q2564588 Q1566420 Q2855327 Q2182784 Q1197575 Q2464821 Q7623716 Q2796032 Q2052076
OR((Q105994,P800,c(Q2342494)), (Q106740,P800,c(Q2342494)))
action filter_type
action union
action find
entity Q105994
relation P800
action find
entity Q106740
relation P800
type Q2342494
[ANSWERS]
{'OR': [['Q105994', 'P800', {'concept': 'Q2342494'}], ['Q106740', 'P800', {'concept': 'Q2342494'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q2342494 . { { resource:Q106740 property:P800 ?t } UNION { resource:Q105994 property:P800 ?t } } }
Strong Poison Lord Peter Views the Body The Nine Tailors Perfume Clouds of Witness Five Red Herrings Unnatural Death Murder Must Advertise Have His Carcase Whose Body? Gaudy Night Striding Folly The Unpleasantness at the Bellona Club Busman's Honeymoon
Murder must Advertise, Busman's Honeymoon and Have His Carcase were done by Patrick Süskind or Dorothy L. Sayers
Strong Poison Five Red Herrings Perfume Clouds of Witness The Unpleasantness at the Bellona Club The Nine Tailors Gaudy Night Murder Must Advertise Busman's Honeymoon Have His Carcase
action filter_type
action union
action find
entity Patrick Süskind
relation notable work
action find
entity Dorothy L. Sayers
relation notable work
type collectable
{'OR': [['Patrick Süskind', 'notable work', {'concept': 'collectable'}], ['Dorothy L. Sayers', 'notable work', {'concept': 'collectable'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:collectable . { { resource:Dorothy_L._Sayers property:notable_work ?t } UNION { resource:Patrick_Süskind property:notable_work ?t } } }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P800
Q502895
USER
How many people are accredited with being the author of the notable work that collectable ?
(c(Q502895),P800,Q2796032)
[{'concept': 'Q502895'}, 'P800', 'Q2796032']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q2796032 . ?z rdf:type ontology:Q502895 }
[{'concept': 'common name'}, 'notable work', 'The Unpleasantness at the Bellona Club']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Unpleasantness_at_the_Bellona_Club . ?z rdf:type ontology:common_name }
[]
common name
Quantitative|Count|Single entity type|Clarification
Q2855327
SYSTEM
Did you mean Murder Must Advertise ?
(c(Q502895),P800,Q2544560) (c(Q502895),P800,Q2564588) (c(Q502895),P800,Q459303) (c(Q502895),P800,Q1228867) (c(Q502895),P800,Q2796032) (c(Q502895),P800,Q1815880) (c(Q502895),P800,Q2464821) (c(Q502895),P800,Q2855327) (c(Q502895),P800,Q2052076) (c(Q502895),P800,Q2182784)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2544560'] [{'concept': 'Q502895'}, 'P800', 'Q2564588'] [{'concept': 'Q502895'}, 'P800', 'Q459303'] [{'concept': 'Q502895'}, 'P800', 'Q1228867'] [{'concept': 'Q502895'}, 'P800', 'Q2796032'] [{'concept': 'Q502895'}, 'P800', 'Q1815880'] [{'concept': 'Q502895'}, 'P800', 'Q2464821'] [{'concept': 'Q502895'}, 'P800', 'Q2855327'] [{'concept': 'Q502895'}, 'P800', 'Q2052076'] [{'concept': 'Q502895'}, 'P800', 'Q2182784']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q2796032 . ?z rdf:type ontology:Q502895 }
Did you mean Murder Must Advertise ?
Murder Must Advertise
[{'concept': 'common name'}, 'notable work', 'Strong Poison'] [{'concept': 'common name'}, 'notable work', 'Five Red Herrings'] [{'concept': 'common name'}, 'notable work', 'Perfume'] [{'concept': 'common name'}, 'notable work', 'Clouds of Witness'] [{'concept': 'common name'}, 'notable work', 'The Unpleasantness at the Bellona Club'] [{'concept': 'common name'}, 'notable work', 'The Nine Tailors'] [{'concept': 'common name'}, 'notable work', 'Gaudy Night'] [{'concept': 'common name'}, 'notable work', 'Murder Must Advertise'] [{'concept': 'common name'}, 'notable work', "Busman's Honeymoon"] [{'concept': 'common name'}, 'notable work', 'Have His Carcase']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Unpleasantness_at_the_Bellona_Club . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant The Unpleasantness at the Bellona Club. Could you tell me the answer for that?
(c(Q502895),P800,Q2796032)
Q2796032
[{'concept': 'Q502895'}, 'P800', 'Q2796032']
[{'concept': 'common name'}, 'notable work', 'The Unpleasantness at the Bellona Club']
[]
SYSTEM
1
Q106740
(c(Q502895),P800,Q2796032)
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q2796032']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P800 resource:Q2796032 . ?z rdf:type ontology:Q502895 }
Dorothy L. Sayers
1
[{'concept': 'common name'}, 'notable work', 'The Unpleasantness at the Bellona Club']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:notable_work resource:The_Unpleasantness_at_the_Bellona_Club . ?z rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q502895 Q3895768
USER
Which collectables are approximately 4 people or fictional locations present in ?
(c(Q502895)|c(Q3895768),P1441,c(Q2342494))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
value 4
[[{'concept': 'Q502895'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q3895768 ) } . ?f rdf:type ?a } GROUP BY ?k } . FILTER ( ?c = 4 ) }
action approx
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
value 4
[[{'concept': 'common name'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_location ) } . ?f rdf:type ?a } GROUP BY ?k } . FILTER ( ?c = 4 ) }
[]
collectable common name fictional location
Q208460 Q181488 Q74287
SYSTEM
Nineteen Eighty-Four, Gulliver's Travels, The Hobbit
Q6511 Q74287 Q16998127 Q19867004 Q208460 Q181488
(c(Q502895)|c(Q3895768),P1441,c(Q2342494))
action approx
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q502895
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
value 4
[ANSWERS] are approximately 4 people or fictional locations present in
[[{'concept': 'Q502895'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:Q502895 ) ( ontology:Q3895768 ) } . ?f rdf:type ?a } GROUP BY ?k } . FILTER ( ?c = 4 ) }
Ulysses The Hobbit Kara-Tur: The Eastern Realms Baldur's Gate Nineteen Eighty-Four Gulliver's Travels
Nineteen Eighty-Four, Gulliver's Travels and The Hobbit are approximately 4 people or fictional locations present in
Nineteen Eighty-Four Gulliver's Travels The Hobbit
action approx
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type common name
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
value 4
[[{'concept': 'common name'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?c ) WHERE { VALUES ( ?a ) { ( ontology:common_name ) ( ontology:fictional_location ) } . ?f rdf:type ?a } GROUP BY ?k } . FILTER ( ?c = 4 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q15690353
P275
Q3943414 Q93288 Q2342494
USER
How many collectables are protected against piracy with around the same number of free software licenses or contracts as Hoyle's Games Modernized ?
(c(Q2342494),P275,c(Q3943414)|c(Q93288))
action count
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action count
action filter_multi_types
action find
entity Q15690353
relation P275
type Q3943414
type Q93288
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q3943414'}, {'concept': 'Q93288'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?c = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q15690353 property:P275 ?y . { { ?y rdf:type ontology:Q3943414 } UNION { ?y rdf:type ontology:Q93288 } } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q3943414 ) ( ontology:Q93288 ) } . ?m rdf:type ?q } GROUP BY ?h } }
Hoyle's Games Modernized
action count
action approx
action union
action find_tuple_counts
relation license
type collectable
type free software license
action find_tuple_counts
relation license
type collectable
type contract
action count
action filter_multi_types
action find
entity Hoyle's Games Modernized
relation license
type free software license
type contract
[{'concept': 'collectable'}, 'license', [{'concept': 'free software license'}, {'concept': 'contract'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?c = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Hoyle's_Games_Modernized property:license ?y . { { ?y rdf:type ontology:free_software_license } UNION { ?y rdf:type ontology:contract } } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?h WHERE { VALUES ( ?q ) { ( ontology:free_software_license ) ( ontology:contract ) } . ?m rdf:type ?q } GROUP BY ?h } }
[]
free software license contract collectable
SYSTEM
25
Q15682257 Q979108 Q830186 Q19066964 Q19040158 Q16726210 Q18059128 Q202975 Q3906638 Q15829731 Q16725717 Q15677438 Q4996905 Q27777485 Q722594 Q15690353 Q7402500 Q19962833 Q19020035 Q10888409 Q19904509 Q1130535 Q1168727 Q15705162 Q2182
(c(Q2342494),P275,c(Q3943414)|c(Q93288))
action count
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action count
action filter_multi_types
action find
entity Q15690353
relation P275
type Q3943414
type Q93288
[ANSWER]
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q3943414'}, {'concept': 'Q93288'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?c = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q15690353 property:P275 ?y . { { ?y rdf:type ontology:Q3943414 } UNION { ?y rdf:type ontology:Q93288 } } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?h WHERE { VALUES ( ?q ) { ( ontology:Q3943414 ) ( ontology:Q93288 ) } . ?m rdf:type ?q } GROUP BY ?h } }
The Czar: A Tale of the Time of the First Napoleon Rights of Man Linux From Scratch Guidelines for Open Educational Resources in Higher Education An Annotated Bibliography of the Apollo Program Mahayana-Sutralamkara The illegal press 1940-1945 Wuthering Heights Plena Manlibro de Esperanta Gramatiko GEOKOD - a list of codes for the administrative division of Sweden 1862-1951 Bhâminî-Vilasa English Folk-Carols Indian Home Rule Open Digital Projects: NMW Collections and Wikipedia The Hour of the Dragon Hoyle's Games Modernized Sair Tjerita Siti Akbari Introductory Lecture of the One Hundred and Ninth Session of the Medical Department of the University of Pennsylvania A Basic Guide to Open Educational Resources Kidnapped in London First Medical College in Vermont: Castleton 1818–1862 PlanetMath Sarvodaya Elemoont QRpedia
25
action count
action approx
action union
action find_tuple_counts
relation license
type collectable
type free software license
action find_tuple_counts
relation license
type collectable
type contract
action count
action filter_multi_types
action find
entity Hoyle's Games Modernized
relation license
type free software license
type contract
[{'concept': 'collectable'}, 'license', [{'concept': 'free software license'}, {'concept': 'contract'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { FILTER ( ?c = ?p ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Hoyle's_Games_Modernized property:license ?y . { { ?y rdf:type ontology:free_software_license } UNION { ?y rdf:type ontology:contract } } } } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?c ) ?h WHERE { VALUES ( ?q ) { ( ontology:free_software_license ) ( ontology:contract ) } . ?m rdf:type ?q } GROUP BY ?h } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q202975
P275
Q3943414 Q93288 Q2342494
USER
And also tell me about Wuthering Heights?
(c(Q2342494),P275,c(Q3943414)|c(Q93288))
action count
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action count
action filter_multi_types
action find
entity Q202975
relation P275
type Q3943414
type Q93288
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q3943414'}, {'concept': 'Q93288'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { { ?o property:P275 ?i . ?i rdf:type ontology:Q3943414 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P275 ?i . ?o rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q93288 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q202975 property:P275 ?q . { { ?q rdf:type ontology:Q3943414 } UNION { ?q rdf:type ontology:Q93288 } } } } . FILTER ( ?u = ?f ) }
Wuthering Heights
action count
action approx
action union
action find_tuple_counts
relation license
type collectable
type free software license
action find_tuple_counts
relation license
type collectable
type contract
action count
action filter_multi_types
action find
entity Wuthering Heights
relation license
type free software license
type contract
[{'concept': 'collectable'}, 'license', [{'concept': 'free software license'}, {'concept': 'contract'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { { ?o property:license ?i . ?i rdf:type ontology:free_software_license . ?o rdf:type ontology:collectable } UNION { ?o property:license ?i . ?o rdf:type ontology:collectable . ?i rdf:type ontology:contract } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Wuthering_Heights property:license ?q . { { ?q rdf:type ontology:free_software_license } UNION { ?q rdf:type ontology:contract } } } } . FILTER ( ?u = ?f ) }
[]
free software license contract collectable
SYSTEM
25
Q15682257 Q979108 Q830186 Q19066964 Q19040158 Q16726210 Q18059128 Q202975 Q3906638 Q15829731 Q16725717 Q15677438 Q4996905 Q27777485 Q722594 Q15690353 Q7402500 Q19962833 Q19020035 Q10888409 Q19904509 Q1130535 Q1168727 Q15705162 Q2182
(c(Q2342494),P275,c(Q3943414)|c(Q93288))
action count
action approx
action union
action find_tuple_counts
relation P275
type Q2342494
type Q3943414
action find_tuple_counts
relation P275
type Q2342494
type Q93288
action count
action filter_multi_types
action find
entity Q202975
relation P275
type Q3943414
type Q93288
[ANSWER]
[{'concept': 'Q2342494'}, 'P275', [{'concept': 'Q3943414'}, {'concept': 'Q93288'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { { ?o property:P275 ?i . ?i rdf:type ontology:Q3943414 . ?o rdf:type ontology:Q2342494 } UNION { ?o property:P275 ?i . ?o rdf:type ontology:Q2342494 . ?i rdf:type ontology:Q93288 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Q202975 property:P275 ?q . { { ?q rdf:type ontology:Q3943414 } UNION { ?q rdf:type ontology:Q93288 } } } } . FILTER ( ?u = ?f ) }
The Czar: A Tale of the Time of the First Napoleon Rights of Man Linux From Scratch Guidelines for Open Educational Resources in Higher Education An Annotated Bibliography of the Apollo Program Mahayana-Sutralamkara The illegal press 1940-1945 Wuthering Heights Plena Manlibro de Esperanta Gramatiko GEOKOD - a list of codes for the administrative division of Sweden 1862-1951 Bhâminî-Vilasa English Folk-Carols Indian Home Rule Open Digital Projects: NMW Collections and Wikipedia The Hour of the Dragon Hoyle's Games Modernized Sair Tjerita Siti Akbari Introductory Lecture of the One Hundred and Ninth Session of the Medical Department of the University of Pennsylvania A Basic Guide to Open Educational Resources Kidnapped in London First Medical College in Vermont: Castleton 1818–1862 PlanetMath Sarvodaya Elemoont QRpedia
25
action count
action approx
action union
action find_tuple_counts
relation license
type collectable
type free software license
action find_tuple_counts
relation license
type collectable
type contract
action count
action filter_multi_types
action find
entity Wuthering Heights
relation license
type free software license
type contract
[{'concept': 'collectable'}, 'license', [{'concept': 'free software license'}, {'concept': 'contract'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?j ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?i ) AS ?u ) WHERE { { ?o property:license ?i . ?i rdf:type ontology:free_software_license . ?o rdf:type ontology:collectable } UNION { ?o property:license ?i . ?o rdf:type ontology:collectable . ?i rdf:type ontology:contract } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?f ) WHERE { resource:Wuthering_Heights property:license ?q . { { ?q rdf:type ontology:free_software_license } UNION { ?q rdf:type ontology:contract } } } } . FILTER ( ?u = ?f ) }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q3739104 Q898527
P1411 P1196
Q502895
USER
Which people were nominated for World Fantasy Award for Best Novel and did not die because of natural causes ?
AND((c(Q502895),P1411,Q898527), NOT((c(Q502895),P1196,Q3739104)))
action filter_type
action difference
action find_reverse
entity Q898527
relation P1411
action find_reverse
entity Q3739104
relation P1196
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q898527'], {'NOT': [[{'concept': 'Q502895'}, 'P1196', 'Q3739104']]}]}
SELECT DISTINCT ?y WHERE { ?y property:P1411 resource:Q898527 . FILTER NOT EXISTS { ?y property:P1196 resource:Q3739104 } . ?y rdf:type ontology:Q502895 }
natural causes World Fantasy Award for Best Novel
action filter_type
action difference
action find_reverse
entity World Fantasy Award for Best Novel
relation nominated for
action find_reverse
entity natural causes
relation manner of death
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'World Fantasy Award for Best Novel'], {'NOT': [[{'concept': 'common name'}, 'manner of death', 'natural causes']]}]}
SELECT DISTINCT ?y WHERE { ?y property:nominated_for resource:World_Fantasy_Award_for_Best_Novel . FILTER NOT EXISTS { ?y property:manner_of_death resource:natural_causes } . ?y rdf:type ontology:common_name }
[]
common name
Q363810 Q297538 Q979465 Q190220 Q2495863 Q457185 Q727079 Q659017 Q1038440 Q707796
SYSTEM
Some of them are Tim Powers, Dan Simmons, James Blaylock, Philip Pullman, Jeffrey Ford, Stephen R. Donaldson, Jonathan Carroll, Ian R. MacLeod, Jeff VanderMeer, Christopher Priest
Q363810 Q40640 Q190220 Q1066587 Q1038440 Q940958 Q364189 Q297538 Q1095977 Q3138815 Q707796 Q659017 Q285007 Q319196 Q2495863 Q979465 Q457185 Q210059 Q727079 Q601304 Q181659 Q434138 Q11341737 Q361149
AND((c(Q502895),P1411,Q898527), NOT((c(Q502895),P1196,Q3739104)))
action filter_type
action difference
action find_reverse
entity Q898527
relation P1411
action find_reverse
entity Q3739104
relation P1196
type Q502895
[ANSWERS] were nominated for World Fantasy Award for Best Novel and did not die because of natural causes
{'AND': [[{'concept': 'Q502895'}, 'P1411', 'Q898527'], {'NOT': [[{'concept': 'Q502895'}, 'P1196', 'Q3739104']]}]}
SELECT DISTINCT ?y WHERE { ?y property:P1411 resource:Q898527 . FILTER NOT EXISTS { ?y property:P1196 resource:Q3739104 } . ?y rdf:type ontology:Q502895 }
Tim Powers Ray Bradbury Philip Pullman Charles de Lint Jeff VanderMeer Geoff Ryman Peter Straub Dan Simmons Lewis Shiner Kij Johnson Christopher Priest Ian R. MacLeod Peter S. Beagle China Miéville Jeffrey Ford James Blaylock Stephen R. Donaldson Neil Gaiman Jonathan Carroll Elizabeth Hand Ursula K. Le Guin Rachel Pollack Margo Lanagan Gene Wolfe
Tim Powers, Dan Simmons, James Blaylock, Philip Pullman, Jeffrey Ford, Stephen R. Donaldson, Jonathan Carroll, Ian R. MacLeod, Jeff VanderMeer and Christopher Priest were nominated for World Fantasy Award for Best Novel and did not die because of natural causes
Tim Powers Dan Simmons James Blaylock Philip Pullman Jeffrey Ford Stephen R. Donaldson Jonathan Carroll Ian R. MacLeod Jeff VanderMeer Christopher Priest
action filter_type
action difference
action find_reverse
entity World Fantasy Award for Best Novel
relation nominated for
action find_reverse
entity natural causes
relation manner of death
type common name
{'AND': [[{'concept': 'common name'}, 'nominated for', 'World Fantasy Award for Best Novel'], {'NOT': [[{'concept': 'common name'}, 'manner of death', 'natural causes']]}]}
SELECT DISTINCT ?y WHERE { ?y property:nominated_for resource:World_Fantasy_Award_for_Best_Novel . FILTER NOT EXISTS { ?y property:manner_of_death resource:natural_causes } . ?y rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1214341 Q181488
P144
Q1001378
USER
Which cinematic techniques are an extension Gulliver's Travels or Guardians of Ga'Hoole ?
OR((c(Q1001378),P144,Q181488), (c(Q1001378),P144,Q1214341))
action filter_type
action union
action find_reverse
entity Q181488
relation P144
action find_reverse
entity Q1214341
relation P144
type Q1001378
{'OR': [[{'concept': 'Q1001378'}, 'P144', 'Q181488'], [{'concept': 'Q1001378'}, 'P144', 'Q1214341']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P144 resource:Q1214341 } UNION { ?c property:P144 resource:Q181488 } } . ?c rdf:type ontology:Q1001378 }
Guardians of Ga'Hoole Gulliver's Travels
action filter_type
action union
action find_reverse
entity Gulliver's Travels
relation based on
action find_reverse
entity Guardians of Ga'Hoole
relation based on
type cinematic technique
{'OR': [[{'concept': 'cinematic technique'}, 'based on', "Gulliver's Travels"], [{'concept': 'cinematic technique'}, 'based on', "Guardians of Ga'Hoole"]]}
SELECT DISTINCT ?c WHERE { { { ?c property:based_on resource:Guardians_of_Ga'Hoole } UNION { ?c property:based_on resource:Gulliver's_Travels } } . ?c rdf:type ontology:cinematic_technique }
[]
cinematic technique
Q3225036 Q622763
SYSTEM
The New Gulliver, Legend of the Guardians: The Owls of Ga'Hoole
Q3225036 Q622763
OR((c(Q1001378),P144,Q181488), (c(Q1001378),P144,Q1214341))
action filter_type
action union
action find_reverse
entity Q181488
relation P144
action find_reverse
entity Q1214341
relation P144
type Q1001378
[ANSWERS] are an extension Gulliver's Travels or Guardians of Ga'Hoole
{'OR': [[{'concept': 'Q1001378'}, 'P144', 'Q181488'], [{'concept': 'Q1001378'}, 'P144', 'Q1214341']]}
SELECT DISTINCT ?c WHERE { { { ?c property:P144 resource:Q1214341 } UNION { ?c property:P144 resource:Q181488 } } . ?c rdf:type ontology:Q1001378 }
The New Gulliver Legend of the Guardians: The Owls of Ga'Hoole
The New Gulliver and Legend of the Guardians: The Owls of Ga'Hoole are an extension Gulliver's Travels or Guardians of Ga'Hoole
The New Gulliver Legend of the Guardians: The Owls of Ga'Hoole
action filter_type
action union
action find_reverse
entity Gulliver's Travels
relation based on
action find_reverse
entity Guardians of Ga'Hoole
relation based on
type cinematic technique
{'OR': [[{'concept': 'cinematic technique'}, 'based on', "Gulliver's Travels"], [{'concept': 'cinematic technique'}, 'based on', "Guardians of Ga'Hoole"]]}
SELECT DISTINCT ?c WHERE { { { ?c property:based_on resource:Guardians_of_Ga'Hoole } UNION { ?c property:based_on resource:Gulliver's_Travels } } . ?c rdf:type ontology:cinematic_technique }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3225036 Q622763
P58
Q502895
USER
Who served as the screenwriter for those cinematic techniques ?
(Q3225036,P58,c(Q502895)) (Q622763,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
['Q3225036', 'P58', {'concept': 'Q502895'}] ['Q622763', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?h property:P58 ?l . VALUES ( ?h ) { ( resource:Q3225036 ) ( resource:Q622763 ) } . ?l rdf:type ontology:Q502895 }
The New Gulliver Legend of the Guardians: The Owls of Ga'Hoole
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['The New Gulliver', 'screenwriter', {'concept': 'common name'}] ["Legend of the Guardians: The Owls of Ga'Hoole", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?h property:screenwriter ?l . VALUES ( ?h ) { ( resource:The_New_Gulliver ) ( resource:Legend_of_the_Guardians:_The_Owls_of_Ga'Hoole ) } . ?l rdf:type ontology:common_name }
[]
common name
Q4398777 Q3809522
SYSTEM
Serafima Roshal, John Orloff
Q4398777 Q3809522
(Q3225036,P58,c(Q502895)) (Q622763,P58,c(Q502895))
action filter_type
action find
entity prev_answer
relation P58
type Q502895
[ANSWERS] served as the screenwriter for those cinematic techniques
['Q3225036', 'P58', {'concept': 'Q502895'}] ['Q622763', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?h property:P58 ?l . VALUES ( ?h ) { ( resource:Q3225036 ) ( resource:Q622763 ) } . ?l rdf:type ontology:Q502895 }
Serafima Roshal John Orloff
Serafima Roshal and John Orloff served as the screenwriter for those cinematic techniques
Serafima Roshal John Orloff
action filter_type
action find
entity prev_answer
relation screenwriter
type common name
['The New Gulliver', 'screenwriter', {'concept': 'common name'}] ["Legend of the Guardians: The Owls of Ga'Hoole", 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?h property:screenwriter ?l . VALUES ( ?h ) { ( resource:The_New_Gulliver ) ( resource:Legend_of_the_Guardians:_The_Owls_of_Ga'Hoole ) } . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3225036
P57
Q502895
USER
Who directed The New Gulliver?
(Q4398777,P57,c(Q502895)) (Q3809522,P57,c(Q502895))
action filter_type
action find
entity Q3225036
relation P57
type Q502895
['Q4398777', 'P57', {'concept': 'Q502895'}] ['Q3809522', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3225036 property:P57 ?s . ?s rdf:type ontology:Q502895 }
The New Gulliver
action filter_type
action find
entity The New Gulliver
relation director
type common name
['Serafima Roshal', 'director', {'concept': 'common name'}] ['John Orloff', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_New_Gulliver property:director ?s . ?s rdf:type ontology:common_name }
[]
common name
Q465640
SYSTEM
Aleksandr Ptushko
Q465640
(Q4398777,P57,c(Q502895)) (Q3809522,P57,c(Q502895))
action filter_type
action find
entity Q3225036
relation P57
type Q502895
[ANSWER] directed The New Gulliver
['Q4398777', 'P57', {'concept': 'Q502895'}] ['Q3809522', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q3225036 property:P57 ?s . ?s rdf:type ontology:Q502895 }
Aleksandr Ptushko
Aleksandr Ptushko directed The New Gulliver
Aleksandr Ptushko
action filter_type
action find
entity The New Gulliver
relation director
type common name
['Serafima Roshal', 'director', {'concept': 'common name'}] ['John Orloff', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:The_New_Gulliver property:director ?s . ?s rdf:type ontology:common_name }
[]