官术网_书友最值得收藏!

Additional SPARQL features

The additional SPARQL features are as follows:

  • Optional matching: Unlike traditional relational data stores, where the database schemas and constraints are predefined for the structured representation of data, in the big data word we deal with unstructured datasets. The attributes of the two resources of the same type may be different. Optional matching comes in handy when handling heterogeneous representations of the entities. The OPTIONAL block is used to select the data elements if they exist. 
  • Alternative matching: Once again, considering the unstructured nature of knowledge assets, alternating matching provides a mechanism to return whichever properties are available. 
  • UNION: This is in contrast to the OPTIONAL pattern. In the case of UNION, at least one of the datasets must find a match given the query criteria. 
  • DISTINCT: This is the equivalent of the DISTINCT SQL clause, which excludes multiple occurrences of the same triple within the result.
  • ORDER BY: Instructs the query to sequence results by a specific variable either in ascending or descending order. This is also equivalent to ORDER BY clause in SQL. 
  • FILTERS and regular expressions: SPARQL provides features to restrict the result set triples by using expressions. Along with mathematical and logical expressions, SPARQL allows for the use of regular expressions to apply filters on datasets based on textual patterns. 
  • GROUP BY: This allows the grouping of the resulting RDF triples based on one or more variables. 
  • HAVING: This facilitates a selection of the query results at the group level. 
  • SUM, COUNTAVGMINMAX, and so on are the functions available to be applied at the group level.
主站蜘蛛池模板: 慈溪市| 雷山县| 全州县| 五大连池市| 闻喜县| 抚松县| 昌都县| 中西区| 青海省| 德江县| 新晃| 南丹县| 峨边| 朝阳县| 周至县| 阳信县| 镇康县| 沁源县| 宝应县| 柘城县| 天全县| 临邑县| 汝城县| 丰城市| 保靖县| 互助| 云林县| 若尔盖县| 泌阳县| 吉林市| 洛浦县| 山东省| 兰州市| 七台河市| 高平市| 东乌珠穆沁旗| 淮阳县| 金乡县| 会宁县| 赤城县| 辽阳市|