display: >-
  Show me <b>charts from the gallery</b> whose query includes {{id_1}}, along with the title of the chart.
options:
  id_1:
    glass transition temperature: 'nm:glasstransitiontemperature'
    elastic modulus: 'nm:tensilemodulus'
    journal articles: 'dct:bibliographicresource'
    elongation at break: 'nm:elongationatbreak'
    permittivity: 'permittivity'
    tan delta: 'nm:tandelta'
    storage modulus: 'nm:storagemodulus'
    loss modulus: 'nm:lossmodulus'
    electrical conductivity: 'nm:electricalconductivity'
    regular expression filter: 'regex'
    binding of variables: 'bind'
    group_concat aggregate operator: 'group_concat'
    provenance ontology terms: '<http://www.w3.org/ns/prov#>'
SPARQL: |
  PREFIX sio: <http://semanticscience.org/resource/>
  PREFIX schema: <http://schema.org/>
  PREFIX dct: <http://purl.org/dc/terms/>
  SELECT ?Chart ?Title WHERE {
    ?Chart a sio:Chart ;
           schema:query ?Query ;
           dct:title ?Title .
    FILTER(REGEX(LCASE(STR(?Query)), "{{id_1}}"))
  }