Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct errors with houses getting values for sex #2

Open
albertmeronyo opened this issue Jun 21, 2016 · 1 comment
Open

Correct errors with houses getting values for sex #2

albertmeronyo opened this issue Jun 21, 2016 · 1 comment

Comments

@albertmeronyo
Copy link
Member

Check out results with this query:

PREFIX qb: http://purl.org/linked-data/cube#
PREFIX cedar: http://lod.cedar-project.nl/vocab/cedar#
PREFIX sdmx-dimension: http://purl.org/linked-data/sdmx/2009/dimension#
PREFIX sdmx-code: http://purl.org/linked-data/sdmx/2009/code#

SELECT *
FROM urn:graph:cedar-mini:release
WHERE { ?obs a qb:Observation .
?obs cedar:population ?pop .
?obs sdmx-dimension:refArea ?municipality .
?obs sdmx-dimension:sex ?sex .
?obs cedar:residenceStatus http://lod.cedar-project.nl/vocab/cedar-residenceStatus#TijdelijkAanwezig .
?obs cedar:houseType ?house .
?slice a qb:Slice.
?slice qb:observation ?obs.
?slice sdmx-dimension:refPeriod ?year .
FILTER (NOT EXISTS {?obs cedar:isTotal ?total }) .
FILTER (?year IN (1859, 1869, 1879, 1889, 1899, 1909, 1920)) .
FILTER (?sex IN (sdmx-code:sex-M, sdmx-code:sex-F)) .
}

@AshkanA
Copy link
Contributor

AshkanA commented Jun 21, 2016

just had a look at the results for bewoonde schepen tijdelijk aanwezig in the dump and this issue (the need to avoid a specific filter excluding the demographic variables) results in incorrect mappings for e.g. 1879 (municipality 10004) and other years where this problem occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants