<commit_before># Max table Original data
PREFIX swpa_m: <http://swepub.kb.se/SwePubAnalysis/model#>
PREFIX mods_m: <http://swepub.kb.se/mods/model#> 
PREFIX xlink: <http://www.w3.org/1999/xlink#> 
SELECT DISTINCT
?_recordID #Record ID
?_orgCode #Organisation (*)
?_pubYear #Publiceringsår
?_status #Publiceringsstatus #-
?_publicatType #Publikationstyp/output (*)
?_contentType #Innehållstyp #-
?_OA #OA typ (*) #-
?_hsv1 #Ämne nivå 1 (*) #-
?_hsv3 #Ämne nivå 2 (*) 
?_hsv5 #Ämne nivå 3 (*) #-
?_titleValue #Titel (*) #-
?_creatorCount #Totalt antal upphovspersoner
?_numLocalCreator #Totalt antal lokala upphovspersoner
?_name #Upphov (*) #-
?_localID #Lokalt person ID (*) #-
?_orcid #ORCID (*) #-
?_affiliation #Affiliering  (*) #-
?_channel #Värdpublikation (*) #-
?_issn #ISSN (*) #-
?_publisher #Förlag (*) #-
?_uri #Länk till arkiv (*) #-
?_fulltext #Fulltextlänk (*) #-
?_isiValue #ISI ID (*)
?_doiValue #DOI (*)
?_scopusValue #Scopus ID
?_pmidValue #Pubmed ID
?_isbnValue #ISBN (*) 
?_projekt #Projekt #-
?_program #Program #-
?_contract #Kontrakt #-
?_dubblettID # Dublett ID
WHERE
{
?Record a mods_m:Record .
?Mods a mods_m:Mods .

?Mods mods_m:identifierValue ?_recordID .

#START_<?_status>
?Record swpa_m:publicationStatus ?_status . 
#END_<?_status>

#START_<?_creatorCount>
OPTIONAL { ?Record swpa_m:creatorCount ?_creatorCount }
#END_<?_creatorCount>

#START_<?_numLocalCreator>
OPTIONAL { ?Record swpa_m:localCreatorCount ?_numLocalCreator . } 
#END_<?_numLocalCreator>

#START_<?_titleValue>

?Mods mods_m:hasTitleInfo ?TitleInfo .
MINUS { ?TitleInfo mods_m:type 'alternative'^^xsd:string }
?TitleInfo mods_m:hasTitle ?Title .
?Title mods_m:titleValue ?_titleValue .
#END_<?_titleValue>

#START_<?_uri>	
?Record swpa_m:uriRepository ?_uri .
#END_<?_uri>

#START_<?_fulltext>
OPTIONAL { ?Record swpa_m:uriFulltext ?_fulltext . }
#END_<?_fulltext>

#START_<?_doiValue>
OPTIONAL
{
?Mods mods_m:hasIdentifier ?DOI .
?DOI mods_m:doiValue ?_doiValue .<commit_msg>Added Vetenskaplig output (again)<commit_after># Max table Original data
PREFIX swpa_m: <http://swepub.kb.se/SwePubAnalysis/model#>
PREFIX mods_m: <http://swepub.kb.se/mods/model#> 
PREFIX xlink: <http://www.w3.org/1999/xlink#> 
SELECT DISTINCT
?_recordID #Record ID
?_orgCode #Organisation (*)
?_pubYear #Publiceringsår
?_status #Publiceringsstatus #-
?_publicatType #Publikationstyp/output (*)
?_contentType #Innehållstyp #-
?_outputCode  #Vetenskaplig output
?_OA #OA typ (*) #-
?_hsv1 #Ämne nivå 1 (*) #-
?_hsv3 #Ämne nivå 2 (*) 
?_hsv5 #Ämne nivå 3 (*) #-
?_titleValue #Titel (*) #-
?_creatorCount #Totalt antal upphovspersoner
?_numLocalCreator #Totalt antal lokala upphovspersoner
?_name #Upphov (*) #-
?_localID #Lokalt person ID (*) #-
?_orcid #ORCID (*) #-
?_affiliation #Affiliering  (*) #-
?_channel #Värdpublikation (*) #-
?_issn #ISSN (*) #-
?_publisher #Förlag (*) #-
?_uri #Länk till arkiv (*) #-
?_fulltext #Fulltextlänk (*) #-
?_isiValue #ISI ID (*)
?_doiValue #DOI (*)
?_scopusValue #Scopus ID
?_pmidValue #Pubmed ID
?_isbnValue #ISBN (*) 
?_projekt #Projekt #-
?_program #Program #-
?_contract #Kontrakt #-
?_dubblettID # Dublett ID
WHERE
{
?Record a mods_m:Record .
?Mods a mods_m:Mods .

?Mods mods_m:identifierValue ?_recordID .

#START_<?_status>
?Record swpa_m:publicationStatus ?_status . 
#END_<?_status>

#START_<?_creatorCount>
OPTIONAL { ?Record swpa_m:creatorCount ?_creatorCount }
#END_<?_creatorCount>

#START_<?_numLocalCreator>
OPTIONAL { ?Record swpa_m:localCreatorCount ?_numLocalCreator . } 
#END_<?_numLocalCreator>

#START_<?_titleValue>

?Mods mods_m:hasTitleInfo ?TitleInfo .
MINUS { ?TitleInfo mods_m:type 'alternative'^^xsd:string }
?TitleInfo mods_m:hasTitle ?Title .
?Title mods_m:titleValue ?_titleValue .
#END_<?_titleValue>

#START_<?_uri>	
?Record swpa_m:uriRepository ?_uri .
#END_<?_uri>

#START_<?_fulltext>
OPTIONAL { ?Record swpa_m:uriFulltext ?_fulltext . }
#END_<?_fulltext>
#START_<?_outputCode>
OPTIONAL {
?Record swpa_m:hasOutputType ?OutputType .
?OutputType outt_m:code ?_outputCode .
}
#END_<?_outputCode>
#START_<?_doiValue>
OPTIONAL
{
?Mods mods_m:hasIdentifier ?DOI .
?DOI mods_m:doiValue ?_doiValue .
{'fraction_non_alphanumeric': 0.15544291576152547, 'fraction_numerical': 0.005310161718561429, 'mean_word_length': 6.0, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 37, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3633224', 'n_tokens_mistral': 1781, 'n_tokens_neox': 1746, 'n_words': 335}