select distinct ?isbn ?bookTitle ?subTitle ?seriesTitle ?seriesSubCategory ?copyrightYear (GROUP_CONCAT(?editorName; SEPARATOR = ",") AS ?editorNames) where
{
{
select distinct ?pointer where {
?bookProfile a smt:BookProfile.
?pointer smt:compiledIn ?bookProfile;
smt:searchLabel ?searchLabel.
filter regex (?searchLabel, "[.]*benzene[.]*", "i")
}
offset 0
limit 20
}
?pointer smt:electronicISBN ?isbn;
smt:title ?bookTitle;
smt:subTitle ?subTitle;
smt:seriesTitle ?seriesTitle;
smt:seriesSubCategory ?seriesSubCategory;
smt:copyrightHolderName ?copyrightHolderName;
smt:copyrightYear ?copyrightYear;
smt:editor ?editor.
?editor smt:name ?editorName.
}
group by ?isbn ?bookTitle ?subTitle ?seriesTitle ?seriesSubCategory ?copyrightYear ?editorNames
{
"head" : {
"vars" : [
"isbn",
"bookTitle",
"subTitle",
"seriesTitle",
"seriesSubCategory",
"copyrightYear",
"editorNames"
]
},
"results" : {
"bindings" : [
{
"editorNames" : {
"type" : "literal",
"value" : ""
}
}
]
}
}