Semantic web services were an idea from the 2000s: describe each online service in machine-readable terms drawn from an ontology, so that software could find it, combine it with others and call it without a person in the loop. Public administration was one of the hoped-for beneficiaries, because so many public services span several agencies. Fully automatic composition never became the way government works, but several of the building blocks, above all shared vocabularies, are now part of everyday digital government.
The idea: services that software could find and combine
Web services of that period were typically described in WSDL (the Web Services Description Language), which sets out the messages a service accepts and returns but not what they mean. Semantic web services set out to add that meaning by linking each part of a description to concepts in a shared semantic model, such as an ontology3. The OWL-S proposal named three tasks this would make possible1:
- Automatic discovery: software locates services that offer a given capability and meet the user's constraints.
- Automatic invocation: a program calls a service using only its declarative description, without being pre-programmed for that particular service.
- Automatic composition and interoperation: software selects and combines several services to reach a high-level objective.
Its examples were commercial, such as buying an airline ticket or arranging travel to a conference1. The public-sector version is easy to picture: a request to register a new business, answered by software that finds and chains the registration, tax and social security services involved.
OWL-S, WSMO and SAWSDL
Three specifications published by the World Wide Web Consortium (W3C) mark the main lines of work.
| Approach | W3C status and date | Main idea |
|---|---|---|
| OWL-S | Member Submission, 22 November 2004 | An ontology of services in three parts: a profile for advertising and discovery, a process model, and a grounding that says how to exchange messages |
| WSMO (Web Service Modeling Ontology) | Member Submission, 3 June 2005 | Four elements: ontologies, web service descriptions, goals that state what users want, and mediators that resolve mismatches |
| SAWSDL (Semantic Annotations for WSDL and XML Schema) | Recommendation, 28 August 2007 | Annotations in WSDL and XML Schema that point to concepts in any semantic model |
Sources for the table: OWL-S1, WSMO2 and SAWSDL3. The difference in status matters. A Member Submission is a proposal from W3C members that W3C publishes, and W3C states that doing so "indicates no endorsement of its content"1.
SAWSDL went through the full standards process and deliberately did less. It "does not specify a language for representing the semantic models", and only gives a way to reference their concepts from existing service descriptions3.
Why it appealed to e-government
The WSMO submission put public administration alongside business from its first sentence, citing the promise of "dynamic, scalable and cost-effective infrastructure for electronic transactions in business and public administration"2. On paper, public services fit the idea well. A single life event, such as a birth, a move or starting a business, can involve several agencies, each with its own systems, its own terms and, across borders, its own language.
WSMO's mediators were designed for that problem: resolving mismatches between terminologies, between ways of communicating and in how services are combined2. Its goals described what the user wanted rather than which service to call2. In principle, a citizen could state an outcome and software would assemble the services, across agencies and, through semantic interoperability, across countries.
Example
A small firm moves its registered office to another EU country. In the semantic web services vision, the owner states a goal such as "register my business in the new country", and software finds the business register, tax and social security services there, maps the firm's records onto their terms through mediators, and calls them in the right order.
In practice today, the owner uses each country's portals and forms, and agencies exchange data through interfaces that people have designed, agreed and tested.
What happened instead
Fully automatic discovery and composition did not become the normal way public services were built. Several practical obstacles help explain why. Writing and maintaining formal descriptions of every service needed scarce skills in logic and ontology design, and agreeing shared ontologies across agencies proved as hard as agreeing the data standards they were meant to bridge. Arguably the most basic obstacle was legal: handing a citizen's case to services chosen by software, with no official deciding, raises questions of responsibility, consent and trust that technology alone cannot settle.
Meanwhile, the wider web moved to simpler interfaces. The UK government's API standards tell teams to use the REST (representational state transfer) style, to return JSON (JavaScript Object Notation) where possible, and to describe each API with the OpenAPI Specification, which the government's Open Standards Board recommends4. An OpenAPI document is "both machine and human readable" and describes an API's formats and responses, while the same guidance calls XML (Extensible Markup Language) "increasingly uncommon"4.
Discovery became a job for people, supported by catalogues. The standards tell teams to look for existing APIs in internal catalogues and in the cross-government UK API Catalogue before building, and to add their own API once it has been tested4. Composition happens in code written by service teams, and portals present the result to citizens.
What survived
The part of the idea that lasted is shared, machine-readable description, used to help people find and build services rather than to let software do it alone. Four pieces stand out.
- Shared vocabularies. The EU Core Vocabularies give agencies common terms for people, businesses, places and public organisations.
- The Core Public Service Vocabulary. Its application profile, CPSV-AP, describes a service's inputs, outputs, responsible public authority and the events that trigger its use, and is designed for user-centric catalogues of public services from regional level up to a European federated catalogue6.
- Schema.org. This shared vocabulary for structured data on web pages has a GovernmentService type, "a service provided by a government organization", with properties for its jurisdiction and its operator5.
- Catalogues. API catalogues such as the UK's4, and data catalogues whose records can describe data services as well as datasets, covered in the guide to DCAT-AP.
SAWSDL's modest approach, pointing from an ordinary service description to a concept that others share, is close to how these tools are used today. The interface stays simple, and the meaning lives in a vocabulary that many public bodies agree on and maintain together.
In practice: Semantic web services
What it fixes
- Shared descriptions show people and software what a service does, not just how to call it.
- Common vocabularies reduce the mapping needed when a service spans several agencies.
- API and service catalogues make existing services easy to find before anyone builds a new one.
What gets in the way
- Formal service descriptions take specialist skills to write and to keep current.
- Agencies rarely agree on one ontology for a whole subject.
- Legal responsibility and consent rule out fully automatic choices about a citizen's case.
- Catalogue entries go out of date unless someone owns them.
Where to start: Describe your public services with CPSV-AP and your APIs with OpenAPI, and list both in the relevant catalogues before attempting anything more automated.
Sources
- OWL-S: Semantic Markup for Web Services, W3C (Member Submission). Accessed 17 October 2026.
- Web Service Modeling Ontology (WSMO), W3C (Member Submission). Accessed 17 October 2026.
- Semantic Annotations for WSDL and XML Schema, W3C. Accessed 17 October 2026.
- API technical and data standards, Government Digital Service and Central Digital and Data Office (GOV.UK). Accessed 17 October 2026.
- GovernmentService, Schema.org. Accessed 17 October 2026.
- Core Public Service Vocabulary Application Profile (CPSV-AP), European Commission, Interoperable Europe (SEMIC). Accessed 17 October 2026.