Simple Question (Direct)
Simple Question
Q2018032
P1196
Q1931388
USER
What manner did Mike Evans die ?
(Q2018032,P1196,c(Q1931388))
action filter_type
action find
entity Q2018032
relation P1196
type Q1931388
['Q2018032', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?m WHERE { resource:Q2018032 property:P1196 ?m . ?m rdf:type ontology:Q1931388 }
Mike Evans
action filter_type
action find
entity Mike Evans
relation manner of death
type cause of death
['Mike Evans', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?m WHERE { resource:Mike_Evans property:manner_of_death ?m . ?m rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q2018032,P1196,c(Q1931388))
action filter_type
action find
entity Q2018032
relation P1196
type Q1931388
Mike Evans died of [ANSWER]
['Q2018032', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?m WHERE { resource:Q2018032 property:P1196 ?m . ?m rdf:type ontology:Q1931388 }
natural causes
Mike Evans died of natural causes
natural causes
action filter_type
action find
entity Mike Evans
relation manner of death
type cause of death
['Mike Evans', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?m WHERE { resource:Mike_Evans property:manner_of_death ?m . ?m rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2018032
P170
Q15416
USER
Which television program was created by Mike Evans ?
(c(Q15416),P170,Q2018032)
action filter_type
action find_reverse
entity Q2018032
relation P170
type Q15416
[{'concept': 'Q15416'}, 'P170', 'Q2018032']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15416 . ?s property:P170 resource:Q2018032 }
Mike Evans
action filter_type
action find_reverse
entity Mike Evans
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Mike Evans']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:television_program . ?s property:creator resource:Mike_Evans }
[]
television program
Q1248045
SYSTEM
Good Times
Q1248045
(c(Q15416),P170,Q2018032)
action filter_type
action find_reverse
entity Q2018032
relation P170
type Q15416
The [ANSWER] was created by Mike Evans
[{'concept': 'Q15416'}, 'P170', 'Q2018032']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15416 . ?s property:P170 resource:Q2018032 }
Good Times
The Good Times was created by Mike Evans
Good Times
action filter_type
action find_reverse
entity Mike Evans
relation creator
type television program
[{'concept': 'television program'}, 'creator', 'Mike Evans']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:television_program . ?s property:creator resource:Mike_Evans }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2018032
P20
Q56061
USER
Where did the demise of Mike Evans occur ?
(Q2018032,P20,c(Q56061))
action filter_type
action find
entity Q2018032
relation P20
type Q56061
['Q2018032', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2018032 property:P20 ?d }
Mike Evans
action filter_type
action find
entity Mike Evans
relation place of death
type administrative territorial entity
['Mike Evans', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Mike_Evans property:place_of_death ?d }
[]
administrative territorial entity
Q846582
SYSTEM
Twentynine Palms
Q846582
(Q2018032,P20,c(Q56061))
action filter_type
action find
entity Q2018032
relation P20
type Q56061
The demise of Mike Evans occurred in [ANSWER]
['Q2018032', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q2018032 property:P20 ?d }
Twentynine Palms
The demise of Mike Evans occurred in Twentynine Palms
Twentynine Palms
action filter_type
action find
entity Mike Evans
relation place of death
type administrative territorial entity
['Mike Evans', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Mike_Evans property:place_of_death ?d }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2018032
P509
Q2057971
USER
What was the cause of death of that person ?
(Q846582,P509,c(Q2057971))
action filter_type
action find
entity Q2018032
relation P509
type Q2057971
['Q846582', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q2018032 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
Mike Evans
action filter_type
action find
entity Mike Evans
relation cause of death
type health problem
['Twentynine Palms', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Mike_Evans property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
health problem
Q372701
SYSTEM
esophageal cancer
Q372701
(Q846582,P509,c(Q2057971))
action filter_type
action find
entity Q2018032
relation P509
type Q2057971
The cause of death of that person was of [ANSWER]
['Q846582', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?n WHERE { resource:Q2018032 property:P509 ?n . ?n rdf:type ontology:Q2057971 }
esophageal cancer
The cause of death of that person was of esophageal cancer
esophageal cancer
action filter_type
action find
entity Mike Evans
relation cause of death
type health problem
['Twentynine Palms', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?n WHERE { resource:Mike_Evans property:cause_of_death ?n . ?n rdf:type ontology:health_problem }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q154878
P921
Q2057971 Q386724 Q838948
USER
How many health problems were discussed in more number of works and works of art than toxoplasmosis ?
(c(Q386724)|c(Q838948),P921,c(Q2057971))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q154878
relation P921
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { FILTER ( ?s > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } . ?p property:P921 resource:Q154878 } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?g WHERE { { ?r property:P921 ?g . ?g rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P921 ?g . ?g rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q386724 } } GROUP BY ?g } }
toxoplasmosis
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action count
action filter_multi_types
action find_reverse
entity toxoplasmosis
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { FILTER ( ?s > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:work ) } } . ?p property:main_subject resource:toxoplasmosis } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?g WHERE { { ?r property:main_subject ?g . ?g rdf:type ontology:health_problem . ?r rdf:type ontology:work_of_art } UNION { ?r property:main_subject ?g . ?g rdf:type ontology:health_problem . ?r rdf:type ontology:work } } GROUP BY ?g } }
[]
health problem work work of art
SYSTEM
23
Q637816 Q10874 Q131755 Q18657 Q222634 Q12174 Q268667 Q213098 Q12135 Q26882978 Q1369020 Q202387 Q38404 Q4116663 Q11072 Q182413 Q161790 Q595010 Q128581 Q18556308 Q12199 Q12195 Q190965
(c(Q386724)|c(Q838948),P921,c(Q2057971))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q154878
relation P921
type Q386724
type Q838948
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { FILTER ( ?s > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:Q838948 ) ( ontology:Q386724 ) } } . ?p property:P921 resource:Q154878 } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?g WHERE { { ?r property:P921 ?g . ?g rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P921 ?g . ?g rdf:type ontology:Q2057971 . ?r rdf:type ontology:Q386724 } } GROUP BY ?g } }
occupational disease blindness bipolar disorder multiple personality disorder orofacial cleft obesity atopic dermatitis progeria mental disorder occupational traumatic injury von Economo's disease post-traumatic stress disorder autism musculoskeletal system disease amnestic disorder substance dependence Asperger syndrome hypertrichosis breast cancer occupational dermatitis acquired immunodeficiency syndrome poliomyelitis transsexualism
23
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action count
action filter_multi_types
action find_reverse
entity toxoplasmosis
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) WHERE { FILTER ( ?s > ?d ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { { ?p rdf:type ?m . VALUES ( ?m ) { ( ontology:work_of_art ) ( ontology:work ) } } . ?p property:main_subject resource:toxoplasmosis } } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?s ) ?g WHERE { { ?r property:main_subject ?g . ?g rdf:type ontology:health_problem . ?r rdf:type ontology:work_of_art } UNION { ?r property:main_subject ?g . ?g rdf:type ontology:health_problem . ?r rdf:type ontology:work } } GROUP BY ?g } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1030785
P921
Q2057971 Q386724 Q838948
USER
And how about demodicosis?
(c(Q386724)|c(Q838948),P921,c(Q2057971))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1030785
relation P921
type Q386724
type Q838948
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?j ) WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?n rdf:type ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P921 resource:Q1030785 . { { ?e rdf:type ontology:Q386724 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?j > ?p ) }
demodicosis
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action count
action filter_multi_types
action find_reverse
entity demodicosis
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?j ) WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:work_of_art ) } . ?n rdf:type ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:main_subject resource:demodicosis . { { ?e rdf:type ontology:work } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?j > ?p ) }
[]
health problem work work of art
SYSTEM
23
Q637816 Q10874 Q131755 Q18657 Q222634 Q12174 Q268667 Q213098 Q12135 Q26882978 Q1369020 Q202387 Q38404 Q4116663 Q11072 Q182413 Q161790 Q595010 Q128581 Q18556308 Q12199 Q12195 Q190965
(c(Q386724)|c(Q838948),P921,c(Q2057971))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q386724
action find_reverse_tuple_counts
relation P921
type Q2057971
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q1030785
relation P921
type Q386724
type Q838948
[ANSWER]
[[{'concept': 'Q386724'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q2057971'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?j ) WHERE { VALUES ( ?q ) { ( ontology:Q386724 ) ( ontology:Q838948 ) } . ?n rdf:type ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:P921 resource:Q1030785 . { { ?e rdf:type ontology:Q386724 } UNION { ?e rdf:type ontology:Q838948 } } } } . FILTER ( ?j > ?p ) }
occupational disease blindness bipolar disorder multiple personality disorder orofacial cleft obesity atopic dermatitis progeria mental disorder occupational traumatic injury von Economo's disease post-traumatic stress disorder autism musculoskeletal system disease amnestic disorder substance dependence Asperger syndrome hypertrichosis breast cancer occupational dermatitis acquired immunodeficiency syndrome poliomyelitis transsexualism
23
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type health problem
type work
action find_reverse_tuple_counts
relation main subject
type health problem
type work of art
action count
action filter_multi_types
action find_reverse
entity demodicosis
relation main subject
type work
type work of art
[[{'concept': 'work'}, {'concept': 'work of art'}], 'main subject', {'concept': 'health problem'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?d ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?j ) WHERE { VALUES ( ?q ) { ( ontology:work ) ( ontology:work_of_art ) } . ?n rdf:type ?q } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?p ) WHERE { ?e property:main_subject resource:demodicosis . { { ?e rdf:type ontology:work } UNION { ?e rdf:type ontology:work_of_art } } } } . FILTER ( ?j > ?p ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1248045
P86
Q502895
USER
Who composed Good Times ?
(Q1248045,P86,c(Q502895))
action filter_type
action find
entity Q1248045
relation P86
type Q502895
['Q1248045', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1248045 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Good Times
action filter_type
action find
entity Good Times
relation composer
type common name
['Good Times', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Good_Times property:composer ?w . ?w rdf:type ontology:common_name }
[]
common name
Q502923
SYSTEM
Dave Grusin
Q502923
(Q1248045,P86,c(Q502895))
action filter_type
action find
entity Q1248045
relation P86
type Q502895
[ANSWER] composed Good Times
['Q1248045', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q1248045 property:P86 ?w . ?w rdf:type ontology:Q502895 }
Dave Grusin
Dave Grusin composed Good Times
Dave Grusin
action filter_type
action find
entity Good Times
relation composer
type common name
['Good Times', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Good_Times property:composer ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q502923 Q6797841 Q26696362
P106
Q12737077
USER
Does that person have the profession as Mayor of Watford and mayor of Moral de Sayago ?
(Q502923,P106,Q6797841) (Q502923,P106,Q26696362)
action is_in
entity Q502923
action intersection
action find_reverse
entity Q6797841
relation P106
action find_reverse
entity Q26696362
relation P106
['Q502923', 'P106', 'Q6797841'] ['Q502923', 'P106', 'Q26696362']
ASK WHERE { resource:Q502923 property:P106 resource:Q6797841 . resource:Q502923 property:P106 resource:Q26696362 }
Dave Grusin Mayor of Watford mayor of Moral de Sayago
action is_in
entity Dave Grusin
action intersection
action find_reverse
entity Mayor of Watford
relation occupation
action find_reverse
entity mayor of Moral de Sayago
relation occupation
['Dave Grusin', 'occupation', 'Mayor of Watford'] ['Dave Grusin', 'occupation', 'mayor of Moral de Sayago']
ASK WHERE { resource:Dave_Grusin property:occupation resource:Mayor_of_Watford . resource:Dave_Grusin property:occupation resource:mayor_of_Moral_de_Sayago }
[]
occupation
SYSTEM
NO
(Q502923,P106,Q6797841) (Q502923,P106,Q26696362)
action is_in
entity Q502923
action intersection
action find_reverse
entity Q6797841
relation P106
action find_reverse
entity Q26696362
relation P106
[ANSWER]
['Q502923', 'P106', 'Q6797841'] ['Q502923', 'P106', 'Q26696362']
ASK WHERE { resource:Q502923 property:P106 resource:Q6797841 . resource:Q502923 property:P106 resource:Q26696362 }
No
action is_in
entity Dave Grusin
action intersection
action find_reverse
entity Mayor of Watford
relation occupation
action find_reverse
entity mayor of Moral de Sayago
relation occupation
['Dave Grusin', 'occupation', 'Mayor of Watford'] ['Dave Grusin', 'occupation', 'mayor of Moral de Sayago']
ASK WHERE { resource:Dave_Grusin property:occupation resource:Mayor_of_Watford . resource:Dave_Grusin property:occupation resource:mayor_of_Moral_de_Sayago }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q502923
P175
Q2031291
USER
Which releases presented that person ?
action filter_type
action find_reverse
entity Q502923
relation P175
type Q2031291
SELECT DISTINCT ?n WHERE { ?n property:P175 resource:Q502923 . ?n rdf:type ontology:Q2031291 }
Dave Grusin
action filter_type
action find_reverse
entity Dave Grusin
relation performer
type release
SELECT DISTINCT ?n WHERE { ?n property:performer resource:Dave_Grusin . ?n rdf:type ontology:release }
[]
release
Q14177733 Q7093529 Q17038724
SYSTEM
Two Worlds, One of A Kind, Sticks and Stones
Q17038724 Q15980244 Q7093529 Q17060981 Q14177733
action filter_type
action find_reverse
entity Q502923
relation P175
type Q2031291
[ANSWERS] presented that person
SELECT DISTINCT ?n WHERE { ?n property:P175 resource:Q502923 . ?n rdf:type ontology:Q2031291 }
Sticks and Stones Migration One of A Kind Out of the Shadows Two Worlds
Two Worlds, One of A Kind and Sticks and Stones presented that person
Two Worlds One of A Kind Sticks and Stones
action filter_type
action find_reverse
entity Dave Grusin
relation performer
type release
SELECT DISTINCT ?n WHERE { ?n property:performer resource:Dave_Grusin . ?n rdf:type ontology:release }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7093529
P264
Q334453
USER
Who sponsored the recoding of that release ?
(Q7093529,P264,c(Q334453))
action filter_type
action find
entity Q7093529
relation P264
type Q334453
['Q7093529', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?c WHERE { resource:Q7093529 property:P264 ?c . ?c rdf:type ontology:Q334453 }
One of A Kind
action filter_type
action find
entity One of A Kind
relation record label
type division
['One of A Kind', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?c WHERE { resource:One_of_A_Kind property:record_label ?c . ?c rdf:type ontology:division }
[]
division
Clarification for simple ques.
Q14177733
SYSTEM
Did you mean Two Worlds ?
Q14177733 Q7093529 Q17038724
(Q14177733,P264,c(Q334453)) (Q7093529,P264,c(Q334453)) (Q17038724,P264,c(Q334453))
[ANSWER]
['Q14177733', 'P264', {'concept': 'Q334453'}] ['Q7093529', 'P264', {'concept': 'Q334453'}] ['Q17038724', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?c WHERE { resource:Q7093529 property:P264 ?c . ?c rdf:type ontology:Q334453 }
Two Worlds One of A Kind Sticks and Stones
Did you mean Two Worlds ?
Two Worlds
['Two Worlds', 'record label', {'concept': 'division'}] ['One of A Kind', 'record label', {'concept': 'division'}] ['Sticks and Stones', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?c WHERE { resource:One_of_A_Kind property:record_label ?c . ?c rdf:type ontology:division }
[]
Simple Question (Coreferenced)
USER
No, I meant One of A Kind. Could you tell me the answer for that?
(Q7093529,P264,c(Q334453))
Q7093529
['Q7093529', 'P264', {'concept': 'Q334453'}]
['One of A Kind', 'record label', {'concept': 'division'}]
[]
Q155152
SYSTEM
Polydor Records
Q155152
(Q7093529,P264,c(Q334453))
action filter_type
action find
entity Q7093529
relation P264
type Q334453
[ANSWER] sponsored the recoding of that release
['Q7093529', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?c WHERE { resource:Q7093529 property:P264 ?c . ?c rdf:type ontology:Q334453 }
Polydor Records
Polydor Records sponsored the recoding of that release
Polydor Records
action filter_type
action find
entity One of A Kind
relation record label
type division
['One of A Kind', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?c WHERE { resource:One_of_A_Kind property:record_label ?c . ?c rdf:type ontology:division }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q155152 Q145
P17
Q15617994
USER
Does that division belong to United Kingdom ?
(Q155152,P17,Q145)
action is_in
entity Q145
action find
entity Q155152
relation P17
['Q155152', 'P17', 'Q145']
ASK WHERE { resource:Q155152 property:P17 resource:Q145 }
Polydor Records United Kingdom
action is_in
entity United Kingdom
action find
entity Polydor Records
relation country
['Polydor Records', 'country', 'United Kingdom']
ASK WHERE { resource:Polydor_Records property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q155152,P17,Q145)
action is_in
entity Q145
action find
entity Q155152
relation P17
[ANSWER]
['Q155152', 'P17', 'Q145']
ASK WHERE { resource:Q155152 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Polydor Records
relation country
['Polydor Records', 'country', 'United Kingdom']
ASK WHERE { resource:Polydor_Records property:country resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q2031291 Q482994 Q7725634
USER
Which releases are approximately 15 albums and literary works a portion of ?
(c(Q482994)|c(Q7725634),P361,c(Q2031291))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q7725634
value 15
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?e = 15 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } } GROUP BY ?c } }
action approx
action union
action find_reverse_tuple_counts
relation part of
type release
type album
action find_reverse_tuple_counts
relation part of
type release
type literary work
value 15
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?e = 15 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:album ) } } GROUP BY ?c } }
[]
release album literary work
Q128455 Q17319538 Q6455943
SYSTEM
Walking on Locusts, The Endless River, L'homme qui me ressemble
Q128455 Q17319538 Q6455943
(c(Q482994)|c(Q7725634),P361,c(Q2031291))
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q482994
action find_reverse_tuple_counts
relation P361
type Q2031291
type Q7725634
value 15
[ANSWERS] are approximately 15 albums and literary works a portion of
[[{'concept': 'Q482994'}, {'concept': 'Q7725634'}], 'P361', {'concept': 'Q2031291'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?e = 15 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:Q7725634 ) ( ontology:Q482994 ) } } GROUP BY ?c } }
Walking on Locusts The Endless River L'homme qui me ressemble
Walking on Locusts, The Endless River and L'homme qui me ressemble are approximately 15 albums and literary works a portion of
Walking on Locusts The Endless River L'homme qui me ressemble
action approx
action union
action find_reverse_tuple_counts
relation part of
type release
type album
action find_reverse_tuple_counts
relation part of
type release
type literary work
value 15
[[{'concept': 'album'}, {'concept': 'literary work'}], 'part of', {'concept': 'release'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?e = 15 ) . { SELECT DISTINCT ?c ( COUNT ( ?r ) AS ?e ) WHERE { ?r rdf:type ?s . VALUES ( ?s ) { ( ontology:literary_work ) ( ontology:album ) } } GROUP BY ?c } }
[]