Complex SPARQL Examples. Alexiev, V. Github gist, March, 2024.
URL abstract bibtex Examples of complex SPARQL queries that I've written in my practice as a Knowledge Graph engineer. Dun and Bradstreet Companies: a TARQL conversion from a DnB tabular data format with 160 columns to a semantic model based on FIBO; the query is 480 lines, 110 prefixes, 110 binds; and makes 33 nodes, 250 triples. Wikidata Org Mapping: extracts selected WD data about one organization (denoted "?it") and simplifies it to a "Company Graph" KG format, which is an extension of the euBusinessGraph Ontology; the query is rather complex: 1118 lines, 58 prefixes, 108 binds; 29 nodes, 90 triples; So it was developed in Literate Programming style in Emacs Orgmode (wd-mapping.org), then tangled (wd-mapping.m4) and finally processed with the M4 macro processor. CHIN Nomenclature Restructuring: a thesaurus of museum object types. The query is the core of an ETL process that converts from an internal (SKOS+custom) to public (SKOS+SKOSXL+schema etc) representaion; it is a complex Federated SPARQL Update of 231 lines, 13.9k chars, 18 prefixes, 50 binds; and makes 18 nodes, 99 triples. It is described in detail, going line by line.
@Misc{Alexiev2024-Complex-SPARQL,
author = {Vladimir Alexiev},
title = {{Complex SPARQL Examples}},
howpublished = {Github gist},
month = mar,
year = 2024,
url = {https://gist.github.com/VladimirAlexiev/cf2de89b692bbc2ae70917aae021ec07},
keywords = {SPARQL, SPARQL transformation, TARQL, complex queries, Wikidata, DnB, Dun & Bradstreet, company graph, organization data, CHIN, Canadian Heritage, Nomenclature for Museum Cataloging},
abstract = {Examples of complex SPARQL queries that I've written in my practice as a Knowledge Graph engineer. Dun and Bradstreet Companies: a TARQL conversion from a DnB tabular data format with 160 columns to a semantic model based on FIBO; the query is 480 lines, 110 prefixes, 110 binds; and makes 33 nodes, 250 triples. Wikidata Org Mapping: extracts selected WD data about one organization (denoted "?it") and simplifies it to a "Company Graph" KG format, which is an extension of the euBusinessGraph Ontology; the query is rather complex: 1118 lines, 58 prefixes, 108 binds; 29 nodes, 90 triples; So it was developed in Literate Programming style in Emacs Orgmode (wd-mapping.org), then tangled (wd-mapping.m4) and finally processed with the M4 macro processor. CHIN Nomenclature Restructuring: a thesaurus of museum object types. The query is the core of an ETL process that converts from an internal (SKOS+custom) to public (SKOS+SKOSXL+schema etc) representaion; it is a complex Federated SPARQL Update of 231 lines, 13.9k chars, 18 prefixes, 50 binds; and makes 18 nodes, 99 triples. It is described in detail, going line by line.},
}
Downloads: 0
{"_id":"KmunN5wiCceKBkzLu","bibbaseid":"alexiev-complexsparqlexamples-2024","author_short":["Alexiev, V."],"bibdata":{"bibtype":"misc","type":"misc","author":[{"firstnames":["Vladimir"],"propositions":[],"lastnames":["Alexiev"],"suffixes":[]}],"title":"Complex SPARQL Examples","howpublished":"Github gist","month":"March","year":"2024","url":"https://gist.github.com/VladimirAlexiev/cf2de89b692bbc2ae70917aae021ec07","keywords":"SPARQL, SPARQL transformation, TARQL, complex queries, Wikidata, DnB, Dun & Bradstreet, company graph, organization data, CHIN, Canadian Heritage, Nomenclature for Museum Cataloging","abstract":"Examples of complex SPARQL queries that I've written in my practice as a Knowledge Graph engineer. Dun and Bradstreet Companies: a TARQL conversion from a DnB tabular data format with 160 columns to a semantic model based on FIBO; the query is 480 lines, 110 prefixes, 110 binds; and makes 33 nodes, 250 triples. Wikidata Org Mapping: extracts selected WD data about one organization (denoted \"?it\") and simplifies it to a \"Company Graph\" KG format, which is an extension of the euBusinessGraph Ontology; the query is rather complex: 1118 lines, 58 prefixes, 108 binds; 29 nodes, 90 triples; So it was developed in Literate Programming style in Emacs Orgmode (wd-mapping.org), then tangled (wd-mapping.m4) and finally processed with the M4 macro processor. CHIN Nomenclature Restructuring: a thesaurus of museum object types. The query is the core of an ETL process that converts from an internal (SKOS+custom) to public (SKOS+SKOSXL+schema etc) representaion; it is a complex Federated SPARQL Update of 231 lines, 13.9k chars, 18 prefixes, 50 binds; and makes 18 nodes, 99 triples. It is described in detail, going line by line.","bibtex":"@Misc{Alexiev2024-Complex-SPARQL,\n author = {Vladimir Alexiev},\n title = {{Complex SPARQL Examples}},\n howpublished = {Github gist},\n month = mar,\n year = 2024,\n url = {https://gist.github.com/VladimirAlexiev/cf2de89b692bbc2ae70917aae021ec07},\n keywords = {SPARQL, SPARQL transformation, TARQL, complex queries, Wikidata, DnB, Dun & Bradstreet, company graph, organization data, CHIN, Canadian Heritage, Nomenclature for Museum Cataloging},\n abstract = {Examples of complex SPARQL queries that I've written in my practice as a Knowledge Graph engineer. Dun and Bradstreet Companies: a TARQL conversion from a DnB tabular data format with 160 columns to a semantic model based on FIBO; the query is 480 lines, 110 prefixes, 110 binds; and makes 33 nodes, 250 triples. Wikidata Org Mapping: extracts selected WD data about one organization (denoted \"?it\") and simplifies it to a \"Company Graph\" KG format, which is an extension of the euBusinessGraph Ontology; the query is rather complex: 1118 lines, 58 prefixes, 108 binds; 29 nodes, 90 triples; So it was developed in Literate Programming style in Emacs Orgmode (wd-mapping.org), then tangled (wd-mapping.m4) and finally processed with the M4 macro processor. CHIN Nomenclature Restructuring: a thesaurus of museum object types. The query is the core of an ETL process that converts from an internal (SKOS+custom) to public (SKOS+SKOSXL+schema etc) representaion; it is a complex Federated SPARQL Update of 231 lines, 13.9k chars, 18 prefixes, 50 binds; and makes 18 nodes, 99 triples. It is described in detail, going line by line.},\n}\n\n\n","author_short":["Alexiev, V."],"key":"Alexiev2024-Complex-SPARQL","id":"Alexiev2024-Complex-SPARQL","bibbaseid":"alexiev-complexsparqlexamples-2024","role":"author","urls":{"URL":"https://gist.github.com/VladimirAlexiev/cf2de89b692bbc2ae70917aae021ec07"},"keyword":["SPARQL","SPARQL transformation","TARQL","complex queries","Wikidata","DnB","Dun & Bradstreet","company graph","organization data","CHIN","Canadian Heritage","Nomenclature for Museum Cataloging"],"metadata":{"authorlinks":{}}},"bibtype":"misc","biburl":"https://vladimiralexiev.github.io/my/Alexiev-bibliography.bib","dataSources":["qQ4QyF9WbfwAyRcSb"],"keywords":["sparql","sparql transformation","tarql","complex queries","wikidata","dnb","dun & bradstreet","company graph","organization data","chin","canadian heritage","nomenclature for museum cataloging"],"search_terms":["complex","sparql","examples","alexiev"],"title":"Complex SPARQL Examples","year":2024}