Learning SPARQL: querying and updating with SPARQL 1.1
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Beijing [u.a.]
O'Reilly
2013
|
Ausgabe: | 2. ed. |
Schlagworte: | |
Online-Zugang: | Inhaltstext Inhaltsverzeichnis Klappentext |
Beschreibung: | XVIII, 366 S. graph. Darst. |
ISBN: | 9781449371432 1449371434 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV041194664 | ||
003 | DE-604 | ||
005 | 20140110 | ||
007 | t | ||
008 | 130730s2013 d||| |||| 00||| eng d | ||
015 | |a 13,N28 |2 dnb | ||
016 | 7 | |a 1036704092 |2 DE-101 | |
020 | |a 9781449371432 |c : EUR 31.99 (DE) (freier Pr.), EUR 32.90 (AT) (freier Pr.) |9 978-1-449-37143-2 | ||
020 | |a 1449371434 |9 1-449-37143-4 | ||
024 | 3 | |a 9781449371432 | |
035 | |a (OCoLC)856865423 | ||
035 | |a (DE-599)DNB1036704092 | ||
040 | |a DE-604 |b ger |e rakddb | ||
041 | 0 | |a eng | |
049 | |a DE-Aug4 |a DE-525 |a DE-83 |a DE-20 |a DE-739 |a DE-473 |a DE-19 |a DE-N2 | ||
082 | 0 | |a 005.74/1 | |
084 | |a ST 270 |0 (DE-625)143638: |2 rvk | ||
084 | |a ST 271 |0 (DE-625)143639: |2 rvk | ||
084 | |a 004 |2 sdnb | ||
100 | 1 | |a DuCharme, Bob |e Verfasser |0 (DE-588)1017622256 |4 aut | |
245 | 1 | 0 | |a Learning SPARQL |b querying and updating with SPARQL 1.1 |c Bob DuCharme |
250 | |a 2. ed. | ||
264 | 1 | |a Beijing [u.a.] |b O'Reilly |c 2013 | |
300 | |a XVIII, 366 S. |b graph. Darst. | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
650 | 0 | 7 | |a Semantic Web |0 (DE-588)4688372-1 |2 gnd |9 rswk-swf |
650 | 0 | 7 | |a SPARQL |0 (DE-588)7693644-2 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a SPARQL |0 (DE-588)7693644-2 |D s |
689 | 0 | 1 | |a Semantic Web |0 (DE-588)4688372-1 |D s |
689 | 0 | |5 DE-604 | |
856 | 4 | 2 | |m X:MVB |q text/html |u http://deposit.dnb.de/cgi-bin/dokserv?id=4376841&prov=M&dok_var=1&dok_ext=htm |3 Inhaltstext |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000003&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000004&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA |3 Klappentext |
943 | 1 | |a oai:aleph.bib-bvb.de:BVB01-026169675 |
Datensatz im Suchindex
_version_ | 1806325482413621248 |
---|---|
adam_text |
Table
of
Contents
Preface
. xiii
1.
Jumping Right In: Some Data and Some Queries
. 1
The Data to Query
2
Querying the Data
3
More Realistic Data and Matching on Multiple Triples
8
Searching for Strings
12
What Could Go Wrong?
13
Querying a Public Data Source
14
Summary
17
2.
The Semantic Web, RDF, and Linked Data (and SPARQL)
.19
What Exactly Is the "Semantic Web"?
19
URLs, URIs, IRIs, and Namespaces
21
The Resource Description Framework (RDF)
24
Storing RDF in Files
24
Storing RDF in Databases
29
Data Typing
30
Making RDF More Readable with Language Tags and Labels
31
Blank Nodes and Why They're Useful
33
Named Graphs
35
Reusing and Creating Vocabularies: RDF Schema and OWL
36
Linked Data
41
SPARQL's Past, Present, and Future
43
The SPARQL Specifications
44
Summary
45
3.
SPARQL Queries: A Deeper Dive
.47
More Readable Query Results
48
Using the Labels Provided by DBpedia
50
Getting Labels from
Schemas
and Ontologies
53
VII
Data That Might Not Be There
55
Finding Data That Doesn't Meet Certain Conditions
59
Searching Further in the Data
61
Searching with Blank Nodes
68
Eliminating Redundant Output
69
Combining Different Search Conditions
72
FILTERing Data Based on Conditions
75
Retrieving a Specific Number of Results
78
Querying Named Graphs
80
Queries in Your Queries
87
Combining Values and Assigning Values to Variables
88
Creating Tables of Values in Your Queries
91
Sorting, Aggregating, Finding the Biggest and Smallest and.
95
Sorting Data
96
Finding the Smallest, the Biggest, the Count, the Average.
98
Grouping Data and Finding Aggregate Values within Groups
100
Querying a Remote SPARQL Service
102
Federated Queries: Searching Multiple
Datasets
with One Query
105
Summary
107
4.
Copying, Creating, and Converting Data (and Finding Bad Data)
.109
Query Forms: SELECT, DESCRIBE, ASK, and CONSTRUCT
110
Copying Data 111
Creating New Data
115
Converting Data
120
Finding Bad Data
123
Defining Rules with SPARQL
124
Generating Data About Broken Rules
127
Using Existing SPARQL Rules Vocabularies
131
Asking for a Description of a Resource
133
Summary
134
5.
Datatypes and Functions
.135
Datatypes and Queries
135
Representing Strings
141
Comparing Values and Doing Arithmetic
142
Functions
145
Program Logic Functions
146
Node Type and Datatype Checking Functions
150
Node Type Conversion Functions
153
Datatype Conversion
158
Checking, Adding, and Removing Spoken Language Tags
164
String Functions
171
viii
Table of Contents
Numeric
Functions
175
Date and Time Functions
177
Hash Functions
179
Extension Functions
182
Summary
183
6.
Updating Data with SPARQL
. 185
Getting Started with Fuseki
186
Adding Data to
a
Dataset
188
Deleting Data
194
Changing Existing Data
196
Named Graphs
201
Dropping Graphs
204
Named Graph Syntax Shortcuts: WITH and USING
206
Copying and Moving Entire Graphs
209
Deleting and Replacing Triples in Named Graphs
210
Summary
215
7.
Query Efficiency and Debugging
.217
Efficiency Inside the WHERE Clause
217
Reduce the Search Space
218
OPTIONAL Is Very Optional
219
Triple Pattern Order Matters
220
FILTERs: Where and What
221
Property Paths Can Be Expensive
225
Efficiency Outside the WHERE Clause
226
Debugging
227
Manual Debugging
227
SPARQL Algebra
229
Debugging Tools
231
Summary
232
8.
Working with SPARQL Query Result Formats
.235
SPARQL Query Results XML Format
238
Processing XML Query Results
241
SPARQL Query Results JSON Format
244
Processing JSON Query Results
247
SPARQL Query Results CSV and
TSV
Formats
249
Using CSV Query Results
250
TSV
Query Results
251
Summary
252
Table of Contents I
ix
9.
RDF Schema, OWL, and Inferencing
.253
What Is Inferencing?
254
Inferred Triples and Your Query
256
More than RDFS, Less than Full OWL
257
SPARQL and RDFS Inferencing
258
SPARQL and OWL Inferencing
263
Using SPARQL to Do Your Inferencing
269
Querying
Schemas 271
Summary
273
10.
Building Applications with SPARQL
. 275
Applications and Triples
277
Property Functions
277
Model-Driven Development
279
SPARQL and Web Application Development
282
SPARQL Processors
291
Standalone Processors
292
Triplestore SPARQL Support
292
Middleware SPARQL Support
293
Public
Endpoints,
Private
Endpoints 294
SPARQL and HTTP
295
GET a Graph of Triples
298
PUT a Graph of Triples
300
POST a Graph of Triples
300
DELETE a Graph of Triples
301
Summary
301
11.
A SPARQL Cookbook
.303
Themes and Variations
303
Exploring the Data
306
How Do I Look at All the Data at Once?
306
What Classes Are Declared?
308
What Properties Are Declared?
310
Which Classes Have Instances?
313
What Properties Are Used?
314
Which Classes Use a Particular Property?
316
How Much Was a Given Property Used?
317
How Much Was a Given Class Used?
320
A Given Class Has Lots of Instances. What Are These Things?
321
What Data Is Stored About a Class's Instances?
324
What Values Does a Given Property Have?
326
A Certain Property's Values Are Resources. What Data Do We Have
About Them?
328
Table of Contents
How Do I Find Undeclared Properties?
330
How Do I Treat
a URI
as a String?
333
Which Data or Property Name Includes a Certain Substring?
334
How Do I Convert a String to
a URI?
336
How Do
1
Query a Remote
Endpoint? 338
How Do I Retrieve Triples from a Remote
Endpoint? 339
Creating and Updating Data
341
How Do I Delete All the Data?
341
How Do I Globally Replace a Property Value?
342
How Do I Replace One Property with Another?
343
How Do I Change the Datatype of a Certain Property's Values?
345
How Do I Turn Resources into Instances of Declared Classes?
347
Summary
349
Glossary
.351
Index
. 357
Table of Contents I
xi
Learning SPARQL
Gain hands-on experience with SPARQL, the RDF query language
that's bringing new possibilities to semantic web, linked data, and
big data projects. This updated and expanded edition shows you
how to use SPARQL
1.1
with a variety of tools to retrieve, manipulate,
and federate data from the public web as well as from private
sources.
With this book, youll start writing queries right away. Author Bob
DuCharme then shows you the bigger picture of how SPARQL fits
into RDF technologies. Using short examples that you can run
yourself with open source software, youll learn how to update,
add to, and delete data in RDF
datasets.
■
Get the big picture on RDF, linked data, and the semantic web
■
Use SPARQL to find bad data and create new data from
existing data
■
Use datatype metadata and functions in your queries
■
Learn techniques and tools to help your queries run more
efficiently
■
Use RDF
Schemas
and OWL ontologies to extend the power
ofyour queries
■
Discover the roles that SPARQL can play in your applications
Purchase the ebook edition of this O'Reilly title at oreilly.com
and get free updates for the life of the edition. Our ebooks are
optimized for several electronic formats, including PDF, EPUB,
Mobi,
and DAISY—all DRM-free.
Strata
Making Data Work
Strata is the emerging ecosystem of people,
tools, and technologies that turn big data
into smart decisions. Find information and
resources at oreillyxom/data. |
any_adam_object | 1 |
author | DuCharme, Bob |
author_GND | (DE-588)1017622256 |
author_facet | DuCharme, Bob |
author_role | aut |
author_sort | DuCharme, Bob |
author_variant | b d bd |
building | Verbundindex |
bvnumber | BV041194664 |
classification_rvk | ST 270 ST 271 |
ctrlnum | (OCoLC)856865423 (DE-599)DNB1036704092 |
dewey-full | 005.74/1 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.74/1 |
dewey-search | 005.74/1 |
dewey-sort | 15.74 11 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | 2. ed. |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV041194664</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20140110</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">130730s2013 d||| |||| 00||| eng d</controlfield><datafield tag="015" ind1=" " ind2=" "><subfield code="a">13,N28</subfield><subfield code="2">dnb</subfield></datafield><datafield tag="016" ind1="7" ind2=" "><subfield code="a">1036704092</subfield><subfield code="2">DE-101</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781449371432</subfield><subfield code="c">: EUR 31.99 (DE) (freier Pr.), EUR 32.90 (AT) (freier Pr.)</subfield><subfield code="9">978-1-449-37143-2</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">1449371434</subfield><subfield code="9">1-449-37143-4</subfield></datafield><datafield tag="024" ind1="3" ind2=" "><subfield code="a">9781449371432</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)856865423</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)DNB1036704092</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rakddb</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-525</subfield><subfield code="a">DE-83</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-739</subfield><subfield code="a">DE-473</subfield><subfield code="a">DE-19</subfield><subfield code="a">DE-N2</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.74/1</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 270</subfield><subfield code="0">(DE-625)143638:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 271</subfield><subfield code="0">(DE-625)143639:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">004</subfield><subfield code="2">sdnb</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">DuCharme, Bob</subfield><subfield code="e">Verfasser</subfield><subfield code="0">(DE-588)1017622256</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Learning SPARQL</subfield><subfield code="b">querying and updating with SPARQL 1.1</subfield><subfield code="c">Bob DuCharme</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">2. ed.</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Beijing [u.a.]</subfield><subfield code="b">O'Reilly</subfield><subfield code="c">2013</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">XVIII, 366 S.</subfield><subfield code="b">graph. Darst.</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Semantic Web</subfield><subfield code="0">(DE-588)4688372-1</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">SPARQL</subfield><subfield code="0">(DE-588)7693644-2</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">SPARQL</subfield><subfield code="0">(DE-588)7693644-2</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2="1"><subfield code="a">Semantic Web</subfield><subfield code="0">(DE-588)4688372-1</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">X:MVB</subfield><subfield code="q">text/html</subfield><subfield code="u">http://deposit.dnb.de/cgi-bin/dokserv?id=4376841&prov=M&dok_var=1&dok_ext=htm</subfield><subfield code="3">Inhaltstext</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000003&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000004&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Klappentext</subfield></datafield><datafield tag="943" ind1="1" ind2=" "><subfield code="a">oai:aleph.bib-bvb.de:BVB01-026169675</subfield></datafield></record></collection> |
id | DE-604.BV041194664 |
illustrated | Illustrated |
indexdate | 2024-08-03T00:50:18Z |
institution | BVB |
isbn | 9781449371432 1449371434 |
language | English |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-026169675 |
oclc_num | 856865423 |
open_access_boolean | |
owner | DE-Aug4 DE-525 DE-83 DE-20 DE-739 DE-473 DE-BY-UBG DE-19 DE-BY-UBM DE-N2 |
owner_facet | DE-Aug4 DE-525 DE-83 DE-20 DE-739 DE-473 DE-BY-UBG DE-19 DE-BY-UBM DE-N2 |
physical | XVIII, 366 S. graph. Darst. |
publishDate | 2013 |
publishDateSearch | 2013 |
publishDateSort | 2013 |
publisher | O'Reilly |
record_format | marc |
spelling | DuCharme, Bob Verfasser (DE-588)1017622256 aut Learning SPARQL querying and updating with SPARQL 1.1 Bob DuCharme 2. ed. Beijing [u.a.] O'Reilly 2013 XVIII, 366 S. graph. Darst. txt rdacontent n rdamedia nc rdacarrier Semantic Web (DE-588)4688372-1 gnd rswk-swf SPARQL (DE-588)7693644-2 gnd rswk-swf SPARQL (DE-588)7693644-2 s Semantic Web (DE-588)4688372-1 s DE-604 X:MVB text/html http://deposit.dnb.de/cgi-bin/dokserv?id=4376841&prov=M&dok_var=1&dok_ext=htm Inhaltstext Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000003&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000004&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA Klappentext |
spellingShingle | DuCharme, Bob Learning SPARQL querying and updating with SPARQL 1.1 Semantic Web (DE-588)4688372-1 gnd SPARQL (DE-588)7693644-2 gnd |
subject_GND | (DE-588)4688372-1 (DE-588)7693644-2 |
title | Learning SPARQL querying and updating with SPARQL 1.1 |
title_auth | Learning SPARQL querying and updating with SPARQL 1.1 |
title_exact_search | Learning SPARQL querying and updating with SPARQL 1.1 |
title_full | Learning SPARQL querying and updating with SPARQL 1.1 Bob DuCharme |
title_fullStr | Learning SPARQL querying and updating with SPARQL 1.1 Bob DuCharme |
title_full_unstemmed | Learning SPARQL querying and updating with SPARQL 1.1 Bob DuCharme |
title_short | Learning SPARQL |
title_sort | learning sparql querying and updating with sparql 1 1 |
title_sub | querying and updating with SPARQL 1.1 |
topic | Semantic Web (DE-588)4688372-1 gnd SPARQL (DE-588)7693644-2 gnd |
topic_facet | Semantic Web SPARQL |
url | http://deposit.dnb.de/cgi-bin/dokserv?id=4376841&prov=M&dok_var=1&dok_ext=htm http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000003&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=026169675&sequence=000004&line_number=0002&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT ducharmebob learningsparqlqueryingandupdatingwithsparql11 |