Semantic query
Template:Short descriptionLua error in package.lua at line 80: module 'Module:Sidebar/configuration' not found.
Semantic queries allow for queries and analytics of associative and contextual nature. Semantic queries enable the retrieval of both explicitly and implicitly derived information based on syntactic, semantic and structural information contained in data. They are designed to deliver precise results (possibly the distinctive selection of one single piece of information) or to answer more fuzzy and wide open questions through pattern matching and digital reasoning.
Semantic queries work on named graphs, linked data or triples. This enables the query to process the actual relationships between information and infer the answers from the network of data. This is in contrast to semantic search, which uses semantics (meaning of language constructs) in unstructured text to produce a better search result. (See natural language processing.)
From a technical point of view, semantic queries are precise relational-type operations much like a database query. They work on structured data and therefore have the possibility to utilize comprehensive features like operators (e.g. >, < and =), namespaces, pattern matching, subclassing, transitive relations, semantic rules and contextual full text search. The semantic web technology stack of the W3C is offering SPARQL[1][2] to formulate semantic queries in a syntax similar to SQL. Semantic queries are used in triplestores, graph databases, semantic wikis, natural language and artificial intelligence systems.
Background
Relational databases represent all relationships between data in an implicit manner only.[3][4] For example, the relationships between customers and products (stored in two content-tables and connected with an additional link-table) only come into existence in a query statement (SQL in the case of relational databases) written by a developer. Writing the query demands exact knowledge of the database schema.[5][6]
Linked-Data represent all relationships between data in an explicit manner. In the above example, no query code needs to be written. The correct product for each customer can be fetched automatically. Whereas this simple example is trivial, the real power of linked-data comes into play when a network of information is created (customers with their geo-spatial information like city, state and country; products with their categories within sub- and super-categories). Now the system can automatically answer more complex queries and analytics that look for the connection of a particular location with a product category. The development effort for this query is omitted. Executing a semantic query is conducted by walking the network of information and finding matches (also called Data Graph Traversal).[7]
Another important aspect of semantic queries is that the type of the relationship can be used to incorporate intelligence into the system. The relationship between a customer and a product has a fundamentally different nature than the relationship between a neighbourhood and its city. The latter enables the semantic query engine to infer that a customer living in Manhattan is also living in New York City whereas other relationships might have more complicated patterns and "contextual analytics". This process is called inference or reasoning and is the ability of the software to derive new information based on given facts.
Articles
- Page Module:Citation/CS1/styles.css has no content.Velez, Golda (2008). "Semantics Help Wall Street Cope With Data Overload". Wall Street & Technology. wallstreetandtech.com.
- Page Module:Citation/CS1/styles.css has no content.Zhifeng, Xiao (2009). "Spatial information semantic query based on SPARQL". In Liu, Yaolin; Tang, Xinming (eds.). International Symposium on Spatial Analysis, Spatial-Temporal Data Modeling, and Data Mining. Vol. 7492. SPIE. pp. 74921P. Bibcode:2009SPIE.7492E..60X. doi:10.1117/12.838556. S2CID 62191842.
- Page Module:Citation/CS1/styles.css has no content.Aquin, Mathieu (2010). "Watson, more than a Semantic Web search engine" (PDF). Semantic Web Journal.
- Page Module:Citation/CS1/styles.css has no content.Dworetzky, Tom (2011). "How Siri Works: iPhone's 'Brain' Comes from Natural Language Processing". International Business Times.
- Page Module:Citation/CS1/styles.css has no content.Horwitt, Elisabeth (2011). "The semantic Web gets down to business". computerworld.com.
- Page Module:Citation/CS1/styles.css has no content.Rodriguez, Marko (2011). "Graph Pattern Matching with Gremlin". Marko A. Rodriguez. markorodriguez.com on Graph Computing.
- Page Module:Citation/CS1/styles.css has no content.Sequeda, Juan (2011). "SPARQL Nuts & Bolts". Cambridge Semantics.
- Page Module:Citation/CS1/styles.css has no content.Freitas, Andre (2012). "Querying Heterogeneous Datasets on the Linked Data Web" (PDF). IEEE Internet Computing.
- Page Module:Citation/CS1/styles.css has no content.Kauppinen, Tomi (2012). "Using the SPARQL Package in R to handle Spatial Linked Data". linkedscience.org.
- Page Module:Citation/CS1/styles.css has no content.Lorentz, Alissa (2013). "With Big Data, Context is a Big Issue". Wired.
See also
- Attention
- Dataspaces
- Knowledge Representation
- Linked Data
- Ontology alignment
- Philosophy
- Semantic Integration
- Semantic publishing
- Semantics of Business Vocabulary and Business Rules
- SPARQL
References
Page Template:Reflist/styles.css has no content.
- ^ Page Module:Citation/CS1/styles.css has no content."Introducing SPARQL: Querying the Semantic Web". XML.com. 2005.
- ^ Page Module:Citation/CS1/styles.css has no content."SPARQL Query Language for RDF". W3C. 2008.
- ^ Page Module:Citation/CS1/styles.css has no content.Semantic queries in databases: problems and challenges. Cikm '09. ACM Digital Library. 2009. pp. 1505–1508. doi:10.1145/1645953.1646157. ISBN 9781605585123. S2CID 1578867.
- ^ Page Module:Citation/CS1/styles.css has no content."Karma: A System for Mapping Structured Sources into the Semantic Web" (PDF). eswc-conferences.org. 2012.
- ^ Page Module:Citation/CS1/styles.css has no content."A Scalable Approach to Learn Semantic Models of Structured Sources" (PDF). 8th IEEE International Conference on Semantic Computing. 2014. Archived from the original (PDF) on 2017-09-22. Retrieved 2014-12-07.
- ^ Page Module:Citation/CS1/styles.css has no content."Semantics for Big Data Integration and Analysis" (PDF). AAAI Fall Symposium on Semantics for Big Data. 2013.
- ^ Page Module:Citation/CS1/styles.css has no content."Introduction to Graph Query Languages. From SPARQL to Gremlin". Graph.build. Retrieved 11 August 2025.
Further reading
Page Template:Refbegin/styles.css has no content.
- Page Module:Citation/CS1/styles.css has no content.Calvanese, Diego; De Giacomo, Giuseppe; Lembo, Domenico; Lenzerini, Maurizio; Rosati, Riccardo (2007). "Tractable reasoning and efficient query answering in description logics: The DL-Lite family". Journal of Automated Reasoning. 39 (3): 385–429. doi:10.1007/s10817-007-9078-x.
- Page Module:Citation/CS1/styles.css has no content.Fensel, Dieter; Hendler, James; Lieberman, Henry; Wahlster, Wolfgang, eds. (2003). Spinning the Semantic Web: Bringing the World Wide Web to Its Full Potential. MIT Press. ISBN 9780262062329.
- Page Module:Citation/CS1/styles.css has no content.López, Vanessa; Sabou, Marta; Motta, Enrico (2006). PowerAqua: Open Question Answering on the Semantic Web. Proceedings of the European Semantic Web Conference (ESWC). pp. 424–439. doi:10.1007/11762256_32.
- Page Module:Citation/CS1/styles.css has no content.Shekarpour, Saeedeh; Marx, Edgard; Auer, Sören (2017). "Question answering on interlinked data". Journal of Web Semantics. 41: 100–117. doi:10.1016/j.websem.2016.10.001.
- Page Module:Citation/CS1/styles.css has no content.Zhang, Shuai; Wang, Ke; Zhang, Yue (2021). "Enriching query semantics for code search with reinforcement learning". arXiv:2105.09630 [cs.SE].
- Page Module:Citation/CS1/styles.css has no content.Tiwari, Vivek; Singh, Anjali (2025). "Semantic approaches for query expansion: A comprehensive review". PeerJ Computer Science. 2025: 2664. doi:10.7717/peerj-cs.2664. PMC 11935759. PMID 40134880.
- Page Module:Citation/CS1/styles.css has no content.Haase, Peter; Motik, Boris (2005). A mapping system for query answering over ontologies. Proceedings of the International Semantic Web Conference (ISWC). pp. 446–461. doi:10.1007/11574620_32.
External links
- Page Module:Citation/CS1/styles.css has no content."W3C Semantic Web Standards - Query". W3C. Retrieved 11 August 2025.
- Page Module:Citation/CS1/styles.css has no content."SPARQL 1.1 Query Language". W3C. 21 March 2013. Retrieved 11 August 2025.