Simple Question (Direct)
Simple Question
Q18686477
P735
Q82799
USER
What is the firstname of Parker Griggs ?
(Q18686477,P735,c(Q82799))
action filter_type
action find
entity Q18686477
relation P735
type Q82799
['Q18686477', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q18686477 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Parker Griggs
action filter_type
action find
entity Parker Griggs
relation given name
type name
['Parker Griggs', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Parker_Griggs property:given_name ?f . ?f rdf:type ontology:name }
[]
name
Q16280491
SYSTEM
Parker
Q16280491
(Q18686477,P735,c(Q82799))
action filter_type
action find
entity Q18686477
relation P735
type Q82799
The firstname of [ANSWER] Griggs is the [ANSWER]
['Q18686477', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?f WHERE { resource:Q18686477 property:P735 ?f . ?f rdf:type ontology:Q82799 }
Parker
The firstname of Parker Griggs is the Parker
Parker
action filter_type
action find
entity Parker Griggs
relation given name
type name
['Parker Griggs', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?f WHERE { resource:Parker_Griggs property:given_name ?f . ?f rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18686477
P136
Q151885
USER
Which genre does Parker Griggs belong to ?
(Q18686477,P136,c(Q151885))
action filter_type
action find
entity Q18686477
relation P136
type Q151885
['Q18686477', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q18686477 property:P136 ?u . ?u rdf:type ontology:Q151885 }
Parker Griggs
action filter_type
action find
entity Parker Griggs
relation genre
type concept
['Parker Griggs', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Parker_Griggs property:genre ?u . ?u rdf:type ontology:concept }
[]
concept
Q206159
SYSTEM
psychedelic rock
Q206159
(Q18686477,P136,c(Q151885))
action filter_type
action find
entity Q18686477
relation P136
type Q151885
Parker Griggs belongs to [ANSWER]
['Q18686477', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q18686477 property:P136 ?u . ?u rdf:type ontology:Q151885 }
psychedelic rock
Parker Griggs belongs to psychedelic rock
psychedelic rock
action filter_type
action find
entity Parker Griggs
relation genre
type concept
['Parker Griggs', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Parker_Griggs property:genre ?u . ?u rdf:type ontology:concept }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q7737593
P175
Q502895
USER
How many people were presented by The Gravedigger's Song ?
(Q7737593,P175,c(Q502895))
action count
action filter_type
action find
entity Q7737593
relation P175
type Q502895
['Q7737593', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q7737593 property:P175 ?i }
The Gravedigger's Song
action count
action filter_type
action find
entity The Gravedigger's Song
relation performer
type common name
["The Gravedigger's Song", 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:common_name . resource:The_Gravedigger's_Song property:performer ?i }
[]
common name
SYSTEM
1
Q319277
(Q7737593,P175,c(Q502895))
action count
action filter_type
action find
entity Q7737593
relation P175
type Q502895
[ANSWER]
['Q7737593', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:Q502895 . resource:Q7737593 property:P175 ?i }
Mark Lanegan
1
action count
action filter_type
action find
entity The Gravedigger's Song
relation performer
type common name
["The Gravedigger's Song", 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?x ) WHERE { ?i rdf:type ontology:common_name . resource:The_Gravedigger's_Song property:performer ?i }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q940753
Q502895
USER
And how about Jenny from the Block?
(Q940753,P175,c(Q502895))
action count
action filter_type
action find
entity Q940753
relation P175
type Q502895
['Q940753', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q940753 property:P175 ?m . ?m rdf:type ontology:Q502895 }
Jenny from the Block
action count
action filter_type
action find
entity Jenny from the Block
relation performer
type common name
['Jenny from the Block', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Jenny_from_the_Block property:performer ?m . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
3
(Q940753,P175,c(Q502895))
action count
action filter_type
action find
entity Q940753
relation P175
type Q502895
[ANSWER]
['Q940753', 'P175', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Q940753 property:P175 ?m . ?m rdf:type ontology:Q502895 }
3
action count
action filter_type
action find
entity Jenny from the Block
relation performer
type common name
['Jenny from the Block', 'performer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { resource:Jenny_from_the_Block property:performer ?m . ?m rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2133852 Q18686477
P264
Q334453
USER
Which divisions are the record labels of Parker Griggs or Ray Bloch ?
OR((Q18686477,P264,c(Q334453)), (Q2133852,P264,c(Q334453)))
action filter_type
action union
action find
entity Q18686477
relation P264
action find
entity Q2133852
relation P264
type Q334453
{'OR': [['Q18686477', 'P264', {'concept': 'Q334453'}], ['Q2133852', 'P264', {'concept': 'Q334453'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q334453 . { VALUES ( ?k ) { ( resource:Q18686477 ) ( resource:Q2133852 ) } . ?k property:P264 ?j } }
Ray Bloch Parker Griggs
action filter_type
action union
action find
entity Parker Griggs
relation record label
action find
entity Ray Bloch
relation record label
type division
{'OR': [['Parker Griggs', 'record label', {'concept': 'division'}], ['Ray Bloch', 'record label', {'concept': 'division'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:division . { VALUES ( ?k ) { ( resource:Parker_Griggs ) ( resource:Ray_Bloch ) } . ?k property:record_label ?j } }
[]
division
Q837242 Q2837248
SYSTEM
Signature Records, Alive Naturalsound Records
Q837242 Q2837248
OR((Q18686477,P264,c(Q334453)), (Q2133852,P264,c(Q334453)))
action filter_type
action union
action find
entity Q18686477
relation P264
action find
entity Q2133852
relation P264
type Q334453
[ANSWERS] are the record labels of Parker Griggs or Ray Bloch
{'OR': [['Q18686477', 'P264', {'concept': 'Q334453'}], ['Q2133852', 'P264', {'concept': 'Q334453'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q334453 . { VALUES ( ?k ) { ( resource:Q18686477 ) ( resource:Q2133852 ) } . ?k property:P264 ?j } }
Signature Records Alive Naturalsound Records
Signature Records and Alive Naturalsound Records are the record labels of Parker Griggs or Ray Bloch
Signature Records Alive Naturalsound Records
action filter_type
action union
action find
entity Parker Griggs
relation record label
action find
entity Ray Bloch
relation record label
type division
{'OR': [['Parker Griggs', 'record label', {'concept': 'division'}], ['Ray Bloch', 'record label', {'concept': 'division'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:division . { VALUES ( ?k ) { ( resource:Parker_Griggs ) ( resource:Ray_Bloch ) } . ?k property:record_label ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18309769
P138
Q2472587 Q82799 Q82799
USER
How many names come from around the same number of peoples and names as Macdara ?
(c(Q82799),P138,c(Q2472587)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q18309769
relation P138
type Q2472587
type Q82799
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?s WHERE { { ?s property:P138 ?i . ?s rdf:type ontology:Q82799 . ?i rdf:type ontology:Q2472587 } UNION { ?s property:P138 ?i . ?s rdf:type ontology:Q82799 . ?i rdf:type ontology:Q82799 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q18309769 property:P138 ?p . { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2472587 ) ( ontology:Q82799 ) } } } } . FILTER ( ?a = ?y ) }
Macdara
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Macdara
relation named after
type people
type name
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?s WHERE { { ?s property:named_after ?i . ?s rdf:type ontology:name . ?i rdf:type ontology:people } UNION { ?s property:named_after ?i . ?s rdf:type ontology:name . ?i rdf:type ontology:name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Macdara property:named_after ?p . { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:people ) ( ontology:name ) } } } } . FILTER ( ?a = ?y ) }
[]
people name name
SYSTEM
103
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q2472587)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q18309769
relation P138
type Q2472587
type Q82799
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?s WHERE { { ?s property:P138 ?i . ?s rdf:type ontology:Q82799 . ?i rdf:type ontology:Q2472587 } UNION { ?s property:P138 ?i . ?s rdf:type ontology:Q82799 . ?i rdf:type ontology:Q82799 } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Q18309769 property:P138 ?p . { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2472587 ) ( ontology:Q82799 ) } } } } . FILTER ( ?a = ?y ) }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Súla Rosario Meyer Ruby Pseudo-Lucian Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
103
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Macdara
relation named after
type people
type name
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?a ) ?s WHERE { { ?s property:named_after ?i . ?s rdf:type ontology:name . ?i rdf:type ontology:people } UNION { ?s property:named_after ?i . ?s rdf:type ontology:name . ?i rdf:type ontology:name } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { resource:Macdara property:named_after ?p . { ?p rdf:type ?f . VALUES ( ?f ) { ( ontology:people ) ( ontology:name ) } } } } . FILTER ( ?a = ?y ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q24566045
P138
Q2472587 Q82799 Q82799
USER
And what about Pignon?
(c(Q82799),P138,c(Q2472587)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q24566045
relation P138
type Q2472587
type Q82799
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q2472587 ) ( ontology:Q82799 ) } . ?f rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q24566045 property:P138 ?b . { { ?b rdf:type ontology:Q2472587 } UNION { ?b rdf:type ontology:Q82799 } } } } . FILTER ( ?t = ?w ) }
Pignon
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Pignon
relation named after
type people
type name
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { VALUES ( ?v ) { ( ontology:people ) ( ontology:name ) } . ?f rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Pignon property:named_after ?b . { { ?b rdf:type ontology:people } UNION { ?b rdf:type ontology:name } } } } . FILTER ( ?t = ?w ) }
[]
people name name
SYSTEM
103
Q18335877 Q25212228 Q6501864 Q27022433 Q18198499 Q16281329 Q25368020 Q16428618 Q1069827 Q46767 Q1061262 Q19558843 Q16871796 Q23688105 Q23599481 Q1158323 Q1370531 Q16869665 Q1158446 Q1158882 Q8046631 Q11231408 Q24699545 Q13099004 Q15785531 Q21508058 Q16869754 Q5352294 Q20747163 Q813701 Q17847495 Q15629400 Q1746111 Q23885849 Q1812295 Q25343999 Q21161805 Q21449089 Q23783070 Q1643088 Q2909103 Q24529820 Q807882 Q21448754 Q23995126 Q25058808 Q21501910 Q18198433 Q13553585 Q24805372 Q24451619 Q21491852 Q19847573 Q568872 Q25303577 Q1260304 Q714189 Q21493520 Q18309769 Q17643158 Q21506697 Q2160221 Q16865178 Q26985935 Q179234 Q21517798 Q18198435 Q688520 Q928249 Q318363 Q24566045 Q1724227 Q26262632 Q23773623 Q18578754 Q25201582 Q1882407 Q24035235 Q22738156 Q13626156 Q19831835 Q16965278 Q20818054 Q16883336 Q16860286 Q25326750 Q16865812 Q20963077 Q612479 Q1755217 Q17625919 Q26247962 Q22922124 Q24689291 Q16877784 Q23301520 Q16865123 Q16148136 Q20727079 Q16881199 Q21491815 Q19899706 Q24229341
(c(Q82799),P138,c(Q2472587)|c(Q82799))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q2472587
action find_tuple_counts
relation P138
type Q82799
type Q82799
action count
action filter_multi_types
action find
entity Q24566045
relation P138
type Q2472587
type Q82799
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q2472587'}, {'concept': 'Q82799'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q2472587 ) ( ontology:Q82799 ) } . ?f rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q24566045 property:P138 ?b . { { ?b rdf:type ontology:Q2472587 } UNION { ?b rdf:type ontology:Q82799 } } } } . FILTER ( ?t = ?w ) }
Prévot Émile-Louis Kaplan Danziger Elizur Sha'aban Racine Súla Rosario Meyer Ruby Pseudo-Lucian Lancaster de Bragança Bouvier Albrecht Meister (surname) Draper Smith Fisher Yael Fischer Saunier Larsen Barber Delaroche Eastman Fisichella Saccharomyces carlsbergensis Becker Rózsa Dimorphotheca ecklonis Michael Gregorio Achaz Van Leemput Grenier Cain Lebreton Potier Ramos Boissel Rameau Barbus Müller Ahrens Mercier Dumoulin Boulanger Peleg Gold Bigot Métivier Poulain Laserbeak Palmer Vallon Berger Duce Bergmann Macdara If-Jesus-Christ-Had-Not-Died-For-Thee-Thou-Hadst-Been-Damned Lenormand Roche Bureau Froment Cro-Magnon Appenzeller Phanuel Arminia Kelly Abel Pignon Rose Ofer Lamour Voisin Roux MacGowan Kleineidam Zijlstra Ackermann Qutb Wald Giolla Íosa Silver Boucher Février Couture Aryaman Koehler Magowan Du Moulin Master of The Hours of Henri II von Mecklenburg-Schwerin Vigneron Napoli Aonchotheca moraveci Buffet Archer Schultheiss Picard Le Guen Sawyer Toscano
103
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type people
action find_tuple_counts
relation named after
type name
type name
action count
action filter_multi_types
action find
entity Pignon
relation named after
type people
type name
[{'concept': 'name'}, 'named after', [{'concept': 'people'}, {'concept': 'name'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?n ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) ?s WHERE { VALUES ( ?v ) { ( ontology:people ) ( ontology:name ) } . ?f rdf:type ?v } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Pignon property:named_after ?b . { { ?b rdf:type ontology:people } UNION { ?b rdf:type ontology:name } } } } . FILTER ( ?t = ?w ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q2133852
P364 P86
Q15416
USER
Which television programs are Ray Bloch a composer of and were originally created in English language ?
AND((c(Q15416),P86,Q2133852), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2133852
relation P86
action find_reverse
entity Q1860
relation P364
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P86', 'Q2133852'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?x WHERE { ?x property:P364 resource:Q1860 . ?x property:P86 resource:Q2133852 . ?x rdf:type ontology:Q15416 }
English Ray Bloch
action filter_type
action intersection
action find_reverse
entity Ray Bloch
relation composer
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'composer', 'Ray Bloch'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?x WHERE { ?x property:original_language_of_work resource:English . ?x property:composer resource:Ray_Bloch . ?x rdf:type ontology:television_program }
[]
television program
Q3952334
SYSTEM
Science Fiction Theatre
Q3952334
AND((c(Q15416),P86,Q2133852), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q2133852
relation P86
action find_reverse
entity Q1860
relation P364
type Q15416
[ANSWER] is Ray Bloch a composer of and were originally created in English language
{'AND': [[{'concept': 'Q15416'}, 'P86', 'Q2133852'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?x WHERE { ?x property:P364 resource:Q1860 . ?x property:P86 resource:Q2133852 . ?x rdf:type ontology:Q15416 }
Science Fiction Theatre
Science Fiction Theatre is Ray Bloch a composer of and were originally created in English language
Science Fiction Theatre
action filter_type
action intersection
action find_reverse
entity Ray Bloch
relation composer
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'composer', 'Ray Bloch'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?x WHERE { ?x property:original_language_of_work resource:English . ?x property:composer resource:Ray_Bloch . ?x rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3952334
P449
Q4830453
USER
Which business enterprise did that television program originally air in ?
(Q3952334,P449,c(Q4830453))
action filter_type
action find
entity Q3952334
relation P449
type Q4830453
['Q3952334', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?v WHERE { resource:Q3952334 property:P449 ?v . ?v rdf:type ontology:Q4830453 }
Science Fiction Theatre
action filter_type
action find
entity Science Fiction Theatre
relation original network
type business enterprise
['Science Fiction Theatre', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?v WHERE { resource:Science_Fiction_Theatre property:original_network ?v . ?v rdf:type ontology:business_enterprise }
[]
business enterprise
Q1572845
SYSTEM
broadcast syndication
Q1572845
(Q3952334,P449,c(Q4830453))
action filter_type
action find
entity Q3952334
relation P449
type Q4830453
Originally that television program aired in [ANSWER]
['Q3952334', 'P449', {'concept': 'Q4830453'}]
SELECT DISTINCT ?v WHERE { resource:Q3952334 property:P449 ?v . ?v rdf:type ontology:Q4830453 }
broadcast syndication
Originally that television program aired in broadcast syndication
broadcast syndication
action filter_type
action find
entity Science Fiction Theatre
relation original network
type business enterprise
['Science Fiction Theatre', 'original network', {'concept': 'business enterprise'}]
SELECT DISTINCT ?v WHERE { resource:Science_Fiction_Theatre property:original_network ?v . ?v rdf:type ontology:business_enterprise }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P452
Q4830453 Q4830453
USER
How many business enterprises are approximately the same number of business enterprises a part of as that business enterprise ?
(c(Q4830453),P452,c(Q4830453))
action count
action approx
action find_reverse_tuple_counts
relation P452
type Q4830453
type Q4830453
action count
action filter_type
action find
entity Q1572845
relation P452
type Q4830453
[{'concept': 'Q4830453'}, 'P452', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?q ) WHERE { ?d rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q4830453 . ?t property:P452 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q1572845 property:P452 ?m . ?m rdf:type ontology:Q4830453 } } . FILTER ( ?q = ?w ) }
action count
action approx
action find_reverse_tuple_counts
relation industry
type business enterprise
type business enterprise
action count
action filter_type
action find
entity broadcast syndication
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?q ) WHERE { ?d rdf:type ontology:business_enterprise . ?t rdf:type ontology:business_enterprise . ?t property:industry ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:broadcast_syndication property:industry ?m . ?m rdf:type ontology:business_enterprise } } . FILTER ( ?q = ?w ) }
[]
business enterprise business enterprise
SYSTEM
17
Q30022 Q778575 Q11371 Q1974013 Q1326624 Q786803 Q2143354 Q1572845 Q739302 Q20022806 Q697852 Q1266169 Q449067 Q670113 Q20032039 Q20031260 Q11414576
(c(Q4830453),P452,c(Q4830453))
action count
action approx
action find_reverse_tuple_counts
relation P452
type Q4830453
type Q4830453
action count
action filter_type
action find
entity Q1572845
relation P452
type Q4830453
[ANSWER]
[{'concept': 'Q4830453'}, 'P452', {'concept': 'Q4830453'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?q ) WHERE { ?d rdf:type ontology:Q4830453 . ?t rdf:type ontology:Q4830453 . ?t property:P452 ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:Q1572845 property:P452 ?m . ?m rdf:type ontology:Q4830453 } } . FILTER ( ?q = ?w ) }
café conglomerate Internet service provider non-bank financial institution electric utility car dealership assurer broadcast syndication production chocolate company Real estate investment trust telephone company Building society fixed-base operator tire manucfaturer IT consulting company Dōjin shop
17
action count
action approx
action find_reverse_tuple_counts
relation industry
type business enterprise
type business enterprise
action count
action filter_type
action find
entity broadcast syndication
relation industry
type business enterprise
[{'concept': 'business enterprise'}, 'industry', {'concept': 'business enterprise'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?q ) WHERE { ?d rdf:type ontology:business_enterprise . ?t rdf:type ontology:business_enterprise . ?t property:industry ?d } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { resource:broadcast_syndication property:industry ?m . ?m rdf:type ontology:business_enterprise } } . FILTER ( ?q = ?w ) }
[]