<commit_before>#+ summary: occupational status by religion over time and gdp
#+ tags:
#+      - HSN
#+      - religion
#+      - licr
#+      - occupation
#+      - hisco
#+      - hisclass
#+      - clio-infra
#+      - GDP

# NB: hiscam preferable over hisclass, but timed out in earlier versions
# maybe fixable

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX hsndim: <http://data.socialhistory.org/resource/hsn/dimension/>
PREFIX hsn: <http://data.socialhistory.org/resource/hsn/>
PREFIX sdmxdim: <http://purl.org/linked-data/sdmx/2009/dimension#>
PREFIX hsn-hisco: <http://data.socialhistory.org/resource/hsn2013a/>

SELECT ?occentry ?relentry ?idnrhsp ?occvlgnr ?relvlgnr ?hsnocc ?hiscoocc ?hisclass ?religie ?licr ?occyear ?relyear ?gdp
FROM <http://data.socialhistory.org/resource/BEVDYNAP/assertion/7da40d05/2017-03-09T14:25> 
FROM <http://data.socialhistory.org/resource/hsn2013a_hisco_comma/assertion/fbedcdf7/2016-12-12T12:49>
FROM <http://data.socialhistory.org/ns/resource/GDP_Capita-historical/assertion/fd2ce578/2016-08-25T14:25>
FROM <http://data.socialhistory.org/resource/Kerkgenootschap/assertion/42aac555/2017-03-09T14:55>

WHERE {
  ?occentry hsndim:occupationalTitle ?hsnocc .
  ?occentry hsndim:IDNRHSP ?idnrhsp .
  ?occentry hsndim:INGVLGNR ?occvlgnr .
  ?occentry hsndim:INGJAR ?occyear .
  
  ?hsnocc hsn-hisco:hisclass ?hisclass .
  <commit_msg>Update hsn_licrrel_occstatus_gdp.rq<commit_after>#+ summary: occupational status by religion over time and gdp
#+ tags:
#+      - HSN
#+      - religion
#+      - licr
#+      - occupation
#+      - hisco
#+      - hisclass
#+      - clio-infra
#+      - GDP

# NB: hiscam preferable over hisclass, but timed out in earlier versions
# maybe fixable

PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX hsndim: <http://data.socialhistory.org/resource/hsn/dimension/>
PREFIX hsn: <http://data.socialhistory.org/resource/hsn/>
PREFIX sdmxdim: <http://purl.org/linked-data/sdmx/2009/dimension#>
PREFIX hsn-hisco: <http://data.socialhistory.org/resource/hsn2013a/>

SELECT ?occentry ?relentry ?idnrhsp ?occvlgnr ?relvlgnr ?hsnocc ?hisclass ?religie ?licr ?occyear ?relyear ?gdp
FROM <http://data.socialhistory.org/resource/BEVDYNAP/assertion/7da40d05/2017-03-09T14:25> 
FROM <http://data.socialhistory.org/resource/hsn2013a_hisco_comma/assertion/fbedcdf7/2016-12-12T12:49>
FROM <http://data.socialhistory.org/ns/resource/GDP_Capita-historical/assertion/fd2ce578/2016-08-25T14:25>
FROM <http://data.socialhistory.org/resource/Kerkgenootschap/assertion/42aac555/2017-03-09T14:55>

WHERE {
  ?occentry hsndim:occupationalTitle ?hsnocc .
  ?occentry hsndim:IDNRHSP ?idnrhsp .
  ?occentry hsndim:INGVLGNR ?occvlgnr .
  ?occentry hsndim:INGJAR ?occyear .
  
  ?hsnocc hsn-hisco:hisclass ?hisclass .
  
{'fraction_non_alphanumeric': 0.14551724137931035, 'fraction_numerical': 0.06275862068965517, 'mean_word_length': 4.107394366197183, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '2824320', 'n_tokens_mistral': 1293, 'n_tokens_neox': 1162, 'n_words': 176}