display: >-
  Show me the <b>count</b> of distinct {{id_1}} in the knowledge graph.
options:
  id_1:
    polymer nanocomposite samples: 'nm:PolymerNanocomposite'
    research articles: 'dct:BibliographicResource'
    procedures: 'sio:Procedure'
    control samples: 'sio:ControlRole'
    units of measure: 'sio:UnitOfMeasurement'
    glass transition temperature values: 'nm:GlassTransitionTemperature'
    classes: 'owl:Class'
    nanopublications: 'npub:Nanopublication'
    images: 'sio:Image'
    XML files: 'nm:NanomineXMLFile'
SPARQL: |
  PREFIX sio: <http://semanticscience.org/resource/>
  PREFIX nm: <http://nanomine.org/ns/>
  PREFIX dct: <http://purl.org/dc/terms/>
  PREFIX owl: <http://www.w3.org/2002/07/owl#>
  PREFIX npub: <http://www.nanopub.org/nschema#>
  SELECT (COUNT(DISTINCT ?instance) as ?count) WHERE {
    ?instance a {{id_1}} 
  }