display: >-
  Show me <b>characterization devices</b> linked to the method {{id_1}}, as well as a list of research article DOIs linked to that characterization device and method.
options:
  id_1:
    scanning electron microscopy: 'nm:ScanningElectronMicroscopy'
    dynamic mechanical analysis: 'nm:DynamicMechanicalAnalysis'
    transmission electron microscopy: 'nm:TransmissionElectronMicroscopy'
    thermogravimetric analysis: 'nm:ThermogravimetricAnalysis'
    dielectric and impedance spectroscopy analysis: 'nm:DielectricandImpedanceSpectroscopyAnalysis'
    differential scanning calorimetry: 'nm:DifferentialScanningCalorimetry'
    X-ray diffraction and scattering: 'nm:XRayDiffractionAndScattering'
    Fourier transform infrared spectroscopy: 'nm:FourierTransformInfraredSpectroscopy'
    Raman spectroscopy: 'nm:RamanSpectroscopy'
    X-ray photoelectron spectroscopy: 'nm:XRayPhotoelectronSpectroscopy'
    atomic force microscopy: 'nm:AtomicForceMicroscopy'
    optical microscopy: 'nm:OpticalMicroscopy'
    nuclear magnetic resonance: 'nm:NuclearMagneticResonance'
SPARQL: |
  PREFIX nm: <http://nanomine.org/ns/>
  PREFIX prov: <http://www.w3.org/ns/prov#>
  PREFIX sio: <http://semanticscience.org/resource/>
  PREFIX dct: <http://purl.org/dc/terms/>
  SELECT DISTINCT ?DeviceURI (COUNT(DISTINCT ?doi) AS ?ArticleCount) (GROUP_CONCAT(DISTINCT ?doi; SEPARATOR=", ") AS ?ArticleList) WHERE {
    ?x prov:wasQuotedFrom ?doi, [ a dct:BibliographicResource ] ;
       prov:wasGeneratedBy [ a {{id_1}} ;
                             prov:used [ a sio:Device ; a ?DeviceURI ]  ] .
    FILTER(!REGEX(STR(?doi), "unpublished"))
    FILTER(REGEX(STR(?DeviceURI), "nanomine"))
  }
  GROUP BY ?DeviceURI
  ORDER BY DESC (?ArticleCount)