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

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.
主站蜘蛛池模板: 嘉峪关市| 诸暨市| 望都县| 田阳县| 天长市| 千阳县| 双江| 花垣县| 平潭县| 涿鹿县| 醴陵市| 汽车| 清镇市| 南通市| 四川省| 康保县| 专栏| 南和县| 高密市| 新乡县| 金山区| 阳曲县| 北辰区| 锡林郭勒盟| 马鞍山市| 临海市| 阿图什市| 兴仁县| 铜鼓县| 时尚| 南岸区| 樟树市| 金昌市| 建瓯市| 许昌市| 泰兴市| 河池市| 孟津县| 白朗县| 阿尔山市| 改则县|