User:JavierMunozF
Jump to navigation
Jump to search
Importación de Centros Docentes Comunidad Valenciana[edit]
Origen: https://ceice.gva.es/es/web/centros-docentes/descarga-base-de-datos
Ejemplo fila origen[edit]
Codigo | Denominacion_Generica_ES | Denominacion_Generica_VAL | Denominacion_Especifica | Denominacion | Regimen | Tipo_Via | Direccion | Num | Codigo_postal | Localidad | Provincia | Telefono | Fax | COD_EDIFICACION | long | lat | CIF | Comarca | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
46006458 | COLEGIO DE EDUCACIÓN INFANTIL Y PRIMARIA | COL·LEGI D'EDUCACIÓ INFANTIL I PRIMÀRIA | MIGUEL DE CERVANTES | CEIP MIGUEL DE CERVANTES | Púb. | CL | MAESTRO RAMON RAMIA | 2 | 46980 | PATERNA | València | 961205535 | 961205536 | 1 | -0,438842 | 39,500779 | GENERALITAT VALENCIANA | Q9655713G |
Mapeo a entidades Wikidata[edit]
- Label
- Si contiene palabras en catalán "ca", sino "es"
- instance of (P31)
- private school (Q423208) o state school (Q1080794) según “Regimen”
- center for early childhood and primary education (Q53566453), professional conservatory of music (Q47252234), Higher Conservatory of Music (Q16707841), IES (Q3807410), Escuela Oficial de Idiomas (Q3322548), Colegios rurales agrupados (Q5777122) según Denominacion_Generica_ES
- coordinate location (P625)
- lat + long
- located in the administrative territorial entity (P131)
- Entidad según "Localidad"
- street address (P6375)
- Tipo_Via + Direccion + Num + Localidad + Codigo_postal
- located on street (P669)
- Direccion
- postal code (P281)
- Codigo_postal
- phone number (P1329)
- Telefono
Ejemplo CSV QuickStatements[edit]
quid,Les,Lca,P31,P625,P131,P6375,P669,P281,P17,P1329,P2900,P3608
,CEIP MIGUEL DE CERVANTES,,Q423208,@39.500779/-0.438842,Q23042,"CL MAESTRO RAMON RAMIA 2, PATERNA 46980",MAESTRO RAMON RAMIA,46980,Q29,961205535,961205536,Q9655713G
Ejemplo de entidades resultado[edit]
- Q108088856
- Q108089042
- Q108089189
- Conservatorio Profesional de Música Fco. Casanovas (Q108094348)
- Q108094470
- Q108094679
Consultas SPARQL útiles[edit]
Entidades sin image (P18) located in the administrative territorial entity (P131) de la Provincia de Castellón (Q54942)
SELECT ?item ?itemLabel ?title WHERE {
?item (wdt:P131*) wd:Q54942; # Q54942 es la provincia de Castellón
FILTER NOT EXISTS { ?item wdt:P18 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "es,ca,en". }
}
ORDER BY DESC (?item)