<commit_before># SPARQL version: 
# DIKB MP/NP version:
#

# CONTEXT
PREFIX aoOld: <http://purl.org/ao/core/> # needed for AnnotationSet and item until the equivalent is in Open Data Annotation
PREFIX cnt: <http://www.w3.org/2011/content#>
PREFIX dailymed: <http://dbmi-icode-01.dbmi.pitt.edu/linkedSPLs/vocab/resource/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dctypes: <http://purl.org/dc/dcmitype/>
PREFIX dikbD2R: <http://dbmi-icode-01.dbmi.pitt.edu/dikb/vocab/resource/>
PREFIX dikbEvidence: <http://dbmi-icode-01.dbmi.pitt.edu/dikb-evidence/DIKB_evidence_ontology_v1.3.owl#>
PREFIX gcds: <http://www.genomic-cds.org/ont/genomic-cds.owl#>
PREFIX linkedspls: <file:///home/rdb20/Downloads/d2rq-0.8.1/linkedSPLs-dump.nt#structuredProductLabelMetadata/>
PREFIX mp: <http://purl.org/mp/> # namespace for micropublication
PREFIX ncbit: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
PREFIX oa: <http://www.w3.org/ns/oa#>
PREFIX pav: <http://purl.org/pav>
PREFIX poc: <http://purl.org/net/nlprepository/spl-ddi-annotation-poc#>
PREFIX sio: <http://semanticscience.org/resource/>
PREFIX siocns: <http://rdfs.org/sioc/ns#>
PREFIX swande: <http://purl.org/swan/1.2/discourse-elements#>


#### List all the assertions that are supported by exactly one piece of evidence
SELECT ?r1 ?a1
WHERE {
            ?r1 mp:Representation ;
                  mp:supports ?a1 .
            FILTER (COUNT(?r1) AS ?count) = 1) }<commit_msg>remove extra parentheses<commit_after># SPARQL version: 
# DIKB MP/NP version:
#

# CONTEXT
PREFIX aoOld: <http://purl.org/ao/core/> # needed for AnnotationSet and item until the equivalent is in Open Data Annotation
PREFIX cnt: <http://www.w3.org/2011/content#>
PREFIX dailymed: <http://dbmi-icode-01.dbmi.pitt.edu/linkedSPLs/vocab/resource/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dctypes: <http://purl.org/dc/dcmitype/>
PREFIX dikbD2R: <http://dbmi-icode-01.dbmi.pitt.edu/dikb/vocab/resource/>
PREFIX dikbEvidence: <http://dbmi-icode-01.dbmi.pitt.edu/dikb-evidence/DIKB_evidence_ontology_v1.3.owl#>
PREFIX gcds: <http://www.genomic-cds.org/ont/genomic-cds.owl#>
PREFIX linkedspls: <file:///home/rdb20/Downloads/d2rq-0.8.1/linkedSPLs-dump.nt#structuredProductLabelMetadata/>
PREFIX mp: <http://purl.org/mp/> # namespace for micropublication
PREFIX ncbit: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>
PREFIX oa: <http://www.w3.org/ns/oa#>
PREFIX pav: <http://purl.org/pav>
PREFIX poc: <http://purl.org/net/nlprepository/spl-ddi-annotation-poc#>
PREFIX sio: <http://semanticscience.org/resource/>
PREFIX siocns: <http://rdfs.org/sioc/ns#>
PREFIX swande: <http://purl.org/swan/1.2/discourse-elements#>


#### List all the assertions that are supported by exactly one piece of evidence
SELECT ?r1 ?a1
WHERE {
            ?r1 mp:Representation ;
                  mp:supports ?a1 .
            FILTER (COUNT(?r1) AS ?count) = 1
      }
{'fraction_non_alphanumeric': 0.16782006920415224, 'fraction_numerical': 0.020069204152249134, 'mean_word_length': 3.9083191850594226, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1794895', 'n_tokens_mistral': 1186, 'n_tokens_neox': 1133, 'n_words': 202}