Simple Question (Direct)
Simple Question
Q16203833
P19
Q56061
USER
Where was Jed Davis born ?
(Q16203833,P19,c(Q56061))
action filter_type
action find
entity Q16203833
relation P19
type Q56061
['Q16203833', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q16203833 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Jed Davis
action filter_type
action find
entity Jed Davis
relation place of birth
type administrative territorial entity
['Jed Davis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jed_Davis property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2737048
SYSTEM
Farmingdale
Q2737048
(Q16203833,P19,c(Q56061))
action filter_type
action find
entity Q16203833
relation P19
type Q56061
[ANSWER]
['Q16203833', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q16203833 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Farmingdale
Farmingdale
action filter_type
action find
entity Jed Davis
relation place of birth
type administrative territorial entity
['Jed Davis', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Jed_Davis property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16203833
P136
Q151885
USER
What is the genre of Jed Davis ?
(Q16203833,P136,c(Q151885))
action filter_type
action find
entity Q16203833
relation P136
type Q151885
['Q16203833', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q16203833 property:P136 ?i . ?i rdf:type ontology:Q151885 }
Jed Davis
action filter_type
action find
entity Jed Davis
relation genre
type concept
['Jed Davis', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Jed_Davis property:genre ?i . ?i rdf:type ontology:concept }
[]
concept
Q183504
SYSTEM
indie rock
Q183504
(Q16203833,P136,c(Q151885))
action filter_type
action find
entity Q16203833
relation P136
type Q151885
[ANSWER]
['Q16203833', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?i WHERE { resource:Q16203833 property:P136 ?i . ?i rdf:type ontology:Q151885 }
indie rock
indie rock
action filter_type
action find
entity Jed Davis
relation genre
type concept
['Jed Davis', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?i WHERE { resource:Jed_Davis property:genre ?i . ?i rdf:type ontology:concept }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16203833
P264
Q334453
USER
Which division is the record brand of Jed Davis ?
(Q16203833,P264,c(Q334453))
action filter_type
action find
entity Q16203833
relation P264
type Q334453
['Q16203833', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { resource:Q16203833 property:P264 ?b . ?b rdf:type ontology:Q334453 }
Jed Davis
action filter_type
action find
entity Jed Davis
relation record label
type division
['Jed Davis', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { resource:Jed_Davis property:record_label ?b . ?b rdf:type ontology:division }
[]
division
Q5397167
SYSTEM
Eschatone Records
Q5397167
(Q16203833,P264,c(Q334453))
action filter_type
action find
entity Q16203833
relation P264
type Q334453
[ANSWER]
['Q16203833', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?b WHERE { resource:Q16203833 property:P264 ?b . ?b rdf:type ontology:Q334453 }
Eschatone Records
Eschatone Records
action filter_type
action find
entity Jed Davis
relation record label
type division
['Jed Davis', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?b WHERE { resource:Jed_Davis property:record_label ?b . ?b rdf:type ontology:division }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q3331225
P159
Q486972 Q20667921 Q334453
USER
Which divisions have their HQ location at more number of human settlements or french administrative divisions than My Major Company ?
(c(Q334453),P159,c(Q486972)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q486972
action find_tuple_counts
relation P159
type Q334453
type Q20667921
action count
action filter_multi_types
action find
entity Q3331225
relation P159
type Q486972
type Q20667921
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { { ?i rdf:type ontology:Q486972 } UNION { ?i rdf:type ontology:Q20667921 } } . resource:Q3331225 property:P159 ?i } } . FILTER ( ?n > ?r ) }
My Major Company
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type human settlement
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
action count
action filter_multi_types
action find
entity My Major Company
relation headquarters location
type human settlement
type type of french administrative division
[{'concept': 'division'}, 'headquarters location', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { { ?i rdf:type ontology:human_settlement } UNION { ?i rdf:type ontology:type_of_french_administrative_division } } . resource:My_Major_Company property:headquarters_location ?i } } . FILTER ( ?n > ?r ) }
[]
human settlement type of french administrative division division
Q368535 Q193023 Q1205595
SYSTEM
Four Music, Capitol Records, NBCUniversal Entertainment Japan
Q3909384 Q3509380 Q2868710 Q382189 Q1228353 Q3933535 Q5306793 Q1141124 Q1202628 Q7630655 Q37479 Q7577928 Q1954193 Q3154340 Q20474540 Q2415590 Q1062659 Q193023 Q8194234 Q136549 Q693194 Q4042925 Q427326 Q11787456 Q588095 Q220861 Q11836630 Q6980338 Q3328555 Q280414 Q1150311 Q758878 Q26261236 Q7388243 Q368535 Q942820 Q1183770 Q1186369 Q1216410 Q520454 Q456999 Q1988428 Q1143936 Q726153 Q2538395 Q1064327 Q20829622 Q3122691 Q1205595
(c(Q334453),P159,c(Q486972)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q486972
action find_tuple_counts
relation P159
type Q334453
type Q20667921
action count
action filter_multi_types
action find
entity Q3331225
relation P159
type Q486972
type Q20667921
[ANSWERS]
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { VALUES ( ?j ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { { ?i rdf:type ontology:Q486972 } UNION { ?i rdf:type ontology:Q20667921 } } . resource:Q3331225 property:P159 ?i } } . FILTER ( ?n > ?r ) }
Posh Boy Records Sheffield Tunes At(h)ome Grand Hotel van Cleef DiscReet Records Restless Records Dreamusic CrossCut Records Victor Entertainment Sub City Records Osmose Productions Spirit Zone Records Musea Irfan Last Call Lench Mob Records Lantis Capitol Records Universal Music Japan ZYX Music Napalm Records Limb Music Fonovisa Records My Music Biodro Records Kontor Records Szpadyzor Records Repertoire Records Musidisc Disa Records Toy's Factory Audiolith Records 105 Music S2S Pte. Ltd. Four Music Hopeless Records Del-Fi Records Varèse Sarabande Die Stadt Media Factory Teldec Avex Trax Cuneiform Records Epitaph Records Crypt Records Johnny & Associates Verycords M10 Musidisc distribution service NBCUniversal Entertainment Japan
Four Music Capitol Records NBCUniversal Entertainment Japan
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type human settlement
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
action count
action filter_multi_types
action find
entity My Major Company
relation headquarters location
type human settlement
type type of french administrative division
[{'concept': 'division'}, 'headquarters location', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?n ) ?p WHERE { VALUES ( ?j ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } . ?e rdf:type ?j } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) WHERE { { { ?i rdf:type ontology:human_settlement } UNION { ?i rdf:type ontology:type_of_french_administrative_division } } . resource:My_Major_Company property:headquarters_location ?i } } . FILTER ( ?n > ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q1728690
P159
Q486972 Q20667921 Q334453
USER
And also tell me about Kapp Records?
(c(Q334453),P159,c(Q486972)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q486972
action find_tuple_counts
relation P159
type Q334453
type Q20667921
action count
action filter_multi_types
action find
entity Q1728690
relation P159
type Q486972
type Q20667921
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?o ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?s rdf:type ?o } GROUP BY ?y } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1728690 property:P159 ?l . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } }
Kapp Records
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type human settlement
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
action count
action filter_multi_types
action find
entity Kapp Records
relation headquarters location
type human settlement
type type of french administrative division
[{'concept': 'division'}, 'headquarters location', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?o ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?s rdf:type ?o } GROUP BY ?y } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Kapp_Records property:headquarters_location ?l . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
human settlement type of french administrative division division
Q368535 Q193023 Q1205595
SYSTEM
Four Music, Capitol Records, NBCUniversal Entertainment Japan
Q3909384 Q3509380 Q2868710 Q382189 Q1228353 Q3933535 Q5306793 Q1141124 Q1202628 Q7630655 Q37479 Q7577928 Q1954193 Q3154340 Q20474540 Q2415590 Q1062659 Q193023 Q8194234 Q136549 Q693194 Q4042925 Q427326 Q11787456 Q588095 Q220861 Q11836630 Q6980338 Q3328555 Q280414 Q1150311 Q758878 Q26261236 Q7388243 Q368535 Q942820 Q1183770 Q1186369 Q1216410 Q520454 Q456999 Q1988428 Q1143936 Q726153 Q2538395 Q1064327 Q20829622 Q3122691 Q1205595
(c(Q334453),P159,c(Q486972)|c(Q20667921))
action greater
action union
action find_tuple_counts
relation P159
type Q334453
type Q486972
action find_tuple_counts
relation P159
type Q334453
type Q20667921
action count
action filter_multi_types
action find
entity Q1728690
relation P159
type Q486972
type Q20667921
[ANSWERS]
[{'concept': 'Q334453'}, 'P159', [{'concept': 'Q486972'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?o ) { ( ontology:Q20667921 ) ( ontology:Q486972 ) } . ?s rdf:type ?o } GROUP BY ?y } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Q1728690 property:P159 ?l . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q486972 ) ( ontology:Q20667921 ) } } } } }
Posh Boy Records Sheffield Tunes At(h)ome Grand Hotel van Cleef DiscReet Records Restless Records Dreamusic CrossCut Records Victor Entertainment Sub City Records Osmose Productions Spirit Zone Records Musea Irfan Last Call Lench Mob Records Lantis Capitol Records Universal Music Japan ZYX Music Napalm Records Limb Music Fonovisa Records My Music Biodro Records Kontor Records Szpadyzor Records Repertoire Records Musidisc Disa Records Toy's Factory Audiolith Records 105 Music S2S Pte. Ltd. Four Music Hopeless Records Del-Fi Records Varèse Sarabande Die Stadt Media Factory Teldec Avex Trax Cuneiform Records Epitaph Records Crypt Records Johnny & Associates Verycords M10 Musidisc distribution service NBCUniversal Entertainment Japan
Four Music Capitol Records NBCUniversal Entertainment Japan
action greater
action union
action find_tuple_counts
relation headquarters location
type division
type human settlement
action find_tuple_counts
relation headquarters location
type division
type type of french administrative division
action count
action filter_multi_types
action find
entity Kapp Records
relation headquarters location
type human settlement
type type of french administrative division
[{'concept': 'division'}, 'headquarters location', [{'concept': 'human settlement'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?q ) WHERE { VALUES ( ?o ) { ( ontology:type_of_french_administrative_division ) ( ontology:human_settlement ) } . ?s rdf:type ?o } GROUP BY ?y } . FILTER ( ?q > ?w ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { resource:Kapp_Records property:headquarters_location ?l . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:human_settlement ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P264
Q502895 Q482994
USER
How many people or albums have that division as their record brand ?
(c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q193023) (c(Q482994),P264,Q193023) (c(Q502895),P264,Q1205595) (c(Q482994),P264,Q1205595)
[{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q193023'] [{'concept': 'Q482994'}, 'P264', 'Q193023'] [{'concept': 'Q502895'}, 'P264', 'Q1205595'] [{'concept': 'Q482994'}, 'P264', 'Q1205595']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q193023 } UNION { ?y property:Q18127 resource:Q193023 } UNION { ?z property:Q18127 resource:Q1205595 } UNION { ?y property:Q18127 resource:Q1205595 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q482994 }
[{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Capitol Records'] [{'concept': 'album'}, 'record label', 'Capitol Records'] [{'concept': 'common name'}, 'record label', 'NBCUniversal Entertainment Japan'] [{'concept': 'album'}, 'record label', 'NBCUniversal Entertainment Japan']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Capitol_Records } UNION { ?y property:record_label resource:Capitol_Records } UNION { ?z property:record_label resource:NBCUniversal_Entertainment_Japan } UNION { ?y property:record_label resource:NBCUniversal_Entertainment_Japan } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:album }
[]
common name album
Quantitative|Count|Mult. entity type|Clarification
Q1205595
SYSTEM
Did you mean NBCUniversal Entertainment Japan ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q193023 } UNION { ?y property:Q18127 resource:Q193023 } UNION { ?z property:Q18127 resource:Q1205595 } UNION { ?y property:Q18127 resource:Q1205595 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q482994 }
Did you mean NBCUniversal Entertainment Japan ?
NBCUniversal Entertainment Japan
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Capitol_Records } UNION { ?y property:record_label resource:Capitol_Records } UNION { ?z property:record_label resource:NBCUniversal_Entertainment_Japan } UNION { ?y property:record_label resource:NBCUniversal_Entertainment_Japan } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:album }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Four Music. Could you tell me the answer for that?
(c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q193023) (c(Q482994),P264,Q193023) (c(Q502895),P264,Q1205595) (c(Q482994),P264,Q1205595)
Q368535
[{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q193023'] [{'concept': 'Q482994'}, 'P264', 'Q193023'] [{'concept': 'Q502895'}, 'P264', 'Q1205595'] [{'concept': 'Q482994'}, 'P264', 'Q1205595']
[{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Capitol Records'] [{'concept': 'album'}, 'record label', 'Capitol Records'] [{'concept': 'common name'}, 'record label', 'NBCUniversal Entertainment Japan'] [{'concept': 'album'}, 'record label', 'NBCUniversal Entertainment Japan']
[]
SYSTEM
10
Q73911 Q15824197 Q543531 Q1926915 Q78933 Q324686 Q24236009 Q2410986 Q216271 Q452250
(c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q368535) (c(Q482994),P264,Q368535) (c(Q502895),P264,Q193023) (c(Q482994),P264,Q193023) (c(Q502895),P264,Q1205595) (c(Q482994),P264,Q1205595)
[ANSWER]
[{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q368535'] [{'concept': 'Q482994'}, 'P264', 'Q368535'] [{'concept': 'Q502895'}, 'P264', 'Q193023'] [{'concept': 'Q482994'}, 'P264', 'Q193023'] [{'concept': 'Q502895'}, 'P264', 'Q1205595'] [{'concept': 'Q482994'}, 'P264', 'Q1205595']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q368535 } UNION { ?y property:Q18127 resource:Q368535 } UNION { ?z property:Q18127 resource:Q193023 } UNION { ?y property:Q18127 resource:Q193023 } UNION { ?z property:Q18127 resource:Q1205595 } UNION { ?y property:Q18127 resource:Q1205595 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q482994 }
Afrob Kontra K Joy Denalane Michael Beck Chakuza Casper Kelvin Jones The Dresden Soul Symphony Max Herre Gentleman
10
[{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Four Music'] [{'concept': 'album'}, 'record label', 'Four Music'] [{'concept': 'common name'}, 'record label', 'Capitol Records'] [{'concept': 'album'}, 'record label', 'Capitol Records'] [{'concept': 'common name'}, 'record label', 'NBCUniversal Entertainment Japan'] [{'concept': 'album'}, 'record label', 'NBCUniversal Entertainment Japan']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Four_Music } UNION { ?y property:record_label resource:Four_Music } UNION { ?z property:record_label resource:Capitol_Records } UNION { ?y property:record_label resource:Capitol_Records } UNION { ?z property:record_label resource:NBCUniversal_Entertainment_Japan } UNION { ?y property:record_label resource:NBCUniversal_Entertainment_Japan } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:album }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q193023
P112
Q502895
USER
What is the name of the founder of Capitol Records ?
(Q193023,P112,c(Q502895))
action filter_type
action find
entity Q193023
relation P112
type Q502895
['Q193023', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q193023 property:P112 ?q . ?q rdf:type ontology:Q502895 }
Capitol Records
action filter_type
action find
entity Capitol Records
relation founder
type common name
['Capitol Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Capitol_Records property:founder ?q . ?q rdf:type ontology:common_name }
[]
common name
Q363698
SYSTEM
Johnny Mercer
Q363698
(Q193023,P112,c(Q502895))
action filter_type
action find
entity Q193023
relation P112
type Q502895
[ANSWER]
['Q193023', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q193023 property:P112 ?q . ?q rdf:type ontology:Q502895 }
Johnny Mercer
Johnny Mercer
action filter_type
action find
entity Capitol Records
relation founder
type common name
['Capitol Records', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Capitol_Records property:founder ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1300911
Q502895
USER
And what about Bahá'u'lláh's family?
(Q1300911,P112,c(Q502895))
action filter_type
action find
entity Q1300911
relation P112
type Q502895
['Q1300911', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1300911 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Bahá'u'lláh's family
action filter_type
action find
entity Bahá'u'lláh's family
relation founder
type common name
["Bahá'u'lláh's family", 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bahá'u'lláh's_family property:founder ?a . ?a rdf:type ontology:common_name }
[]
common name
Q101054
SYSTEM
Bahá'u'lláh
Q101054
(Q1300911,P112,c(Q502895))
action filter_type
action find
entity Q1300911
relation P112
type Q502895
[ANSWER]
['Q1300911', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { resource:Q1300911 property:P112 ?a . ?a rdf:type ontology:Q502895 }
Bahá'u'lláh
Bahá'u'lláh
action filter_type
action find
entity Bahá'u'lláh's family
relation founder
type common name
["Bahá'u'lláh's family", 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { resource:Bahá'u'lláh's_family property:founder ?a . ?a rdf:type ontology:common_name }
[]