Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH-2333 merge rdf4j-doc master branch #2389

Merged
merged 444 commits into from
Jul 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
444 commits
Select commit Hold shift + click to select a range
8d167f7
documented mixed use of RDF4J Model objects and SparqlBuilder's own i…
abrokenjester Feb 3, 2019
ab4f03f
Added documentation on jdk bug
barthanssens Feb 10, 2019
6ecbe00
Merge pull request #80 from Fedict/issues/#1271-client-cpu
barthanssens Feb 10, 2019
03d142b
Fix link
barthanssens Feb 10, 2019
9771ec8
Merge pull request #81 from Fedict/issues/#1271-client-cpu
barthanssens Feb 10, 2019
08f3c64
Added paragraph on ValidatingValueFactory
barthanssens Feb 13, 2019
c8849fd
Added link to javadoc
barthanssens Feb 13, 2019
5c79b7d
Merge pull request #82 from Fedict/issues/#1292-validation-factory
barthanssens Feb 13, 2019
6b5d8b7
replaced old inferencer with new in docs
abrokenjester Feb 17, 2019
2bcc829
updated shacl documentation
hmottestad Feb 20, 2019
d8a37c1
Merge pull request #84 from eclipse/update_shacl_documentation
hmottestad Feb 22, 2019
09dbbaf
Added info on building/pushing docker
barthanssens Feb 22, 2019
d5d32fa
Merge pull request #85 from Fedict/issues/#1091-docker-doc
barthanssens Feb 22, 2019
e2c0290
Merge pull request #83 from eclipse/issues/GH-1224-inferencer
Feb 22, 2019
7180c4f
Merge pull request #79 from eclipse/issues/GH-1038-sparqlbuilder-changes
Feb 22, 2019
ec355e8
Merge branch 'master' into issues/GH-1154-hugo-migration
abrokenjester Mar 2, 2019
fe66b17
eclipse/rdf4j#1154 reset on basic setup
abrokenjester Mar 3, 2019
5dc1393
eclipse/rdf4j#1154 started porting documentation
abrokenjester Mar 3, 2019
bf07445
further update work [WIP]
abrokenjester Mar 3, 2019
10f315a
trying to get rid of submodule [WIP]
abrokenjester Mar 3, 2019
df4f6ac
re-added theme as normal content
abrokenjester Mar 3, 2019
1572250
ported maven/eclipse tutorial
abrokenjester Mar 3, 2019
6767a95
ported custom function howto
abrokenjester Mar 6, 2019
483ce3f
docs for https://github.com/eclipse/rdf4j/issues/1374
hmottestad Apr 4, 2019
7ae650c
https://github.com/eclipse/rdf4j/issues/1290 updating shacl shapes an…
hmottestad Apr 12, 2019
4663388
Merge pull request #86 from eclipse/updated_shacl_docs_for_3_0
hmottestad Apr 13, 2019
f5e2fbd
migrating all programming docs
abrokenjester Apr 15, 2019
570e602
Merge pull request #87 from eclipse/issues/GH-1154-hugo-migration
Apr 23, 2019
ac30c1b
migrated rest api doco
abrokenjester Apr 27, 2019
e7927b4
migrated more doco
abrokenjester Apr 27, 2019
b40362f
migrated more doco, added javadoc
abrokenjester Apr 27, 2019
54c17da
https://github.com/eclipse/rdf4j/issues/1357 docs for SHACL in server…
hmottestad May 18, 2019
d56693a
Merge pull request #88 from eclipse/issues/1357_shacl_workbench
hmottestad May 19, 2019
3c2cf65
added news, fixed logo
abrokenjester May 20, 2019
b0a822c
added ugly under construction warning
abrokenjester May 21, 2019
ab28b70
layout fixes and added related projects
abrokenjester May 25, 2019
c8c514e
set correct base url
abrokenjester May 25, 2019
ba413f9
clean up footer, jumbotron pops
abrokenjester May 26, 2019
820de92
fix programming subpage
abrokenjester May 26, 2019
ce4f564
direct link to contributor guidelines
abrokenjester May 26, 2019
6c45b29
fix link to issue tracker
abrokenjester May 26, 2019
c986792
update news
abrokenjester May 26, 2019
0d7b4e4
download link added to main menu
abrokenjester May 26, 2019
4069bd8
added setup doco
abrokenjester May 26, 2019
97c06a0
removed under construction
abrokenjester May 26, 2019
042cbcf
removed old content
abrokenjester May 26, 2019
b649313
fix links in readme
abrokenjester May 26, 2019
ae8683f
Merge pull request #89 from eclipse/issues/GH-1154-remove-old-site
May 27, 2019
3305152
Removed superfluous evaluate
barthanssens May 27, 2019
bbe3e02
Indentation in while-block
barthanssens May 27, 2019
b71c52f
added full copy of 2.5.0 javadoc as 'latest'
abrokenjester May 28, 2019
8ee3bc0
correct link domain, use <code> tag
abrokenjester May 28, 2019
31db004
Merge pull request #90 from Fedict/issues/#1430-tuplequery-example
barthanssens May 28, 2019
7a8f6c5
adding javadoc links
abrokenjester May 28, 2019
78c2a31
eclipse/rdf4j#1428 adding more javadoc links [WIP]
abrokenjester May 28, 2019
89483be
Merge pull request #91 from eclipse/issues/GH-1428-javadoc-links
May 28, 2019
5d74be1
eclipse/rdf4j#1428 javadoc links
abrokenjester Jun 1, 2019
5db03ef
Merge pull request #92 from eclipse/issues/GH-1428-javadoc-links
Jun 1, 2019
9eb5cea
Merge branch 'master' into develop
abrokenjester Jun 1, 2019
37c52c2
eclipse/rdf4j#1400 clarified install and added links
abrokenjester Jun 1, 2019
085e3a7
Merge pull request #93 from eclipse/issues/GH-1400-install-instructions
Jun 1, 2019
e803ac1
eclipse/rdf4j#1434 added doco for optional dataset params
abrokenjester Jun 1, 2019
0a065dd
Merge pull request #94 from eclipse/issues/GH-1434-dataset-params
Jun 1, 2019
9eb59dc
Added example on shacl validation
barthanssens Jun 13, 2019
e6184e4
Merge pull request #96 from Fedict/issues/#1365-verify-shacl
barthanssens Jun 13, 2019
3662973
eclipse/rdf4j#1389 documentation for repo creation
abrokenjester Jun 20, 2019
1bd8b3b
Merge pull request #97 from eclipse/issues/GH-1389-rest-create-repo
Jun 22, 2019
63afdcb
news, download, and javadoc for 3.0.0-M1
abrokenjester Jun 29, 2019
d05f448
fixed release notes link
abrokenjester Jun 29, 2019
6e2c6f4
modified invalid link by typing error in getting-started
ho9science Jul 3, 2019
ead6080
release 2.5.3
abrokenjester Jul 3, 2019
cb4b25a
Create rdf4j-300m2.md
hmottestad Jul 23, 2019
50daca6
Updated downloads page with m2
hmottestad Jul 23, 2019
176431e
added release notes page
abrokenjester Jul 28, 2019
d2f2a04
minor typo
abrokenjester Jul 28, 2019
b3cc594
eclipse/rdf4j#1451 re-incorporated basic auth setup docs
abrokenjester Aug 10, 2019
1771b28
Merge pull request #98 from eclipse/develop
Aug 13, 2019
bca660e
Merge pull request #95 from eclipse/master
Aug 13, 2019
d23df60
Merge pull request #99 from ho9science/ho9
Aug 13, 2019
407d7f3
release 2.5.4
abrokenjester Aug 14, 2019
c5eabdf
Merge branch 'master' of github.com:eclipse/rdf4j-doc
abrokenjester Aug 14, 2019
94344d8
Update _index.md
barthanssens Aug 21, 2019
6e8438b
Merge pull request #2 from Fedict/typo-and-links
barthanssens Aug 21, 2019
13ee59e
Merge pull request #100 from Fedict/typo-and-links
barthanssens Aug 21, 2019
9c1b12a
Corrected links in Getting started
barthanssens Aug 21, 2019
4340cab
Merge pull request #101 from eclipse/issues/#1428-links
barthanssens Aug 21, 2019
ac7d5ab
Layout corrections
barthanssens Aug 21, 2019
1819f55
Merge pull request #102 from eclipse/issues/#1509-sparqlbuilder-layout
barthanssens Aug 21, 2019
07a586b
release 3.0.0, javadoc, and a layout change
abrokenjester Aug 23, 2019
2970361
public dir should not be checked in
abrokenjester Aug 24, 2019
52d5a84
hugo build dir added to gitignore
abrokenjester Aug 24, 2019
51db29d
Corrected typo in setting
barthanssens Sep 3, 2019
7e354ee
Merge pull request #3 from Fedict/issues/#1533-doc-rio
barthanssens Sep 3, 2019
e21a199
manual adding of geosparql for server support no longer necessary
abrokenjester Sep 3, 2019
aaa3783
Corrected Servlet/JSP version
barthanssens Sep 6, 2019
2faa3fc
Merge pull request #4 from Fedict/issues/#1539-doc-servlet
barthanssens Sep 6, 2019
dec32fe
Merge remote-tracking branch 'upstream/develop'
barthanssens Sep 9, 2019
500cd63
Merge remote-tracking branch 'upstream/master'
barthanssens Sep 9, 2019
e258e72
Split into server-workbench and console
barthanssens Sep 9, 2019
8e40e20
Removed empty bullet
barthanssens Sep 9, 2019
52dd27d
documented update to repository configuration operations
abrokenjester Oct 5, 2019
9d0af01
Merge pull request #106 from eclipse/issues/GH-1541-repo-config-retri…
Oct 5, 2019
8ee86ad
Merge pull request #104 from Fedict/issues/#1455-split-docs
barthanssens Oct 5, 2019
b63b56f
Merge pull request #107 from eclipse/master
Oct 6, 2019
320d783
Use img and add class
barthanssens Oct 9, 2019
f6afe5a
Merge pull request #108 from Fedict/issues/#1589-screenshots-width
barthanssens Oct 9, 2019
03dcb6d
Corrected title
barthanssens Oct 9, 2019
65f13b9
Merge pull request #109 from Fedict/issues/#1592-typo-server
barthanssens Oct 9, 2019
4ed9b7a
Corrected links and removed old tomcat versions
barthanssens Oct 9, 2019
fd1f02c
Merge pull request #110 from Fedict/issues/#1593-old-tomcat
barthanssens Oct 9, 2019
de6725f
Use init instead of initialize
barthanssens Oct 9, 2019
4b73374
Merge pull request #111 from Fedict/issues/#1594-examples-init
barthanssens Oct 9, 2019
b032387
Removed duplicate link
barthanssens Oct 9, 2019
0afaf9d
Merge pull request #112 from Fedict/issues/#1595-duplicate-sesame
barthanssens Oct 9, 2019
33840b9
release 3.0.1
abrokenjester Oct 12, 2019
ee90d5d
Merge pull request #113 from eclipse/releases/3.0.1
Oct 12, 2019
ea55692
release 2.5.5
abrokenjester Oct 13, 2019
0f968f1
Merge pull request #114 from eclipse/releases/2.5.5
Oct 13, 2019
31ed86c
clarification
abrokenjester Oct 13, 2019
5e29a1f
Merge pull request #115 from eclipse/releases/2.5.5
Oct 13, 2019
38e7279
Merge pull request #117 from eclipse/master
Oct 15, 2019
9c4e4c3
news item about FedX joining RDF4J (#116)
Oct 15, 2019
1f652d2
#1555: Documentation of Federation with FedX
aschwarte10 Oct 19, 2019
3bd83c3
3.0.2 release
hmottestad Oct 26, 2019
5040c40
3.0.2 release
hmottestad Oct 26, 2019
2b2f450
3.0.2 release
hmottestad Oct 26, 2019
da7357a
Merge pull request #118 from eclipse/issues/#1555-documentation-fedx
aschwarte10 Oct 26, 2019
2a68ba2
deprecate spin (#119)
hmottestad Oct 30, 2019
589f747
removed incubation logo from sidebar, small news item (#120)
abrokenjester Nov 1, 2019
9378021
Releases/3.0.3 (#121)
abrokenjester Nov 30, 2019
b0f0cac
Bump mixin-deep from 1.3.1 to 1.3.2 in /site/themes/hugo-solstice-theme
dependabot[bot] Nov 30, 2019
7c856d2
Bump js-yaml from 3.12.2 to 3.13.1 in /site/themes/hugo-solstice-theme
dependabot[bot] Nov 30, 2019
2e51ca6
Bump lodash from 4.17.11 to 4.17.15 in /site/themes/hugo-solstice-theme
dependabot[bot] Nov 30, 2019
ec06e94
Bump jquery from 3.3.1 to 3.4.1 in /site/themes/hugo-solstice-theme
dependabot[bot] Nov 30, 2019
1d33911
Bump fstream from 1.0.11 to 1.0.12 in /site/themes/hugo-solstice-theme
dependabot[bot] Nov 30, 2019
cdf86a9
fixed 3.0.3 javadoc
abrokenjester Nov 30, 2019
74afa04
Merge pull request #128 from eclipse/master
abrokenjester Dec 18, 2019
6922934
https://github.com/eclipse/rdf4j/issues/1662 ElasticsearchStore docs …
hmottestad Dec 18, 2019
3f19452
announcement + links for 3.1 milestone 1
abrokenjester Dec 19, 2019
3768756
Merge pull request #129 from eclipse/develop
abrokenjester Dec 20, 2019
01b2067
Merge pull request #122 from eclipse/dependabot/npm_and_yarn/site/the…
abrokenjester Dec 21, 2019
1e38e19
Merge pull request #123 from eclipse/dependabot/npm_and_yarn/site/the…
abrokenjester Dec 21, 2019
e02e9f4
Merge pull request #124 from eclipse/dependabot/npm_and_yarn/site/the…
abrokenjester Dec 21, 2019
8c12958
Merge pull request #125 from eclipse/dependabot/npm_and_yarn/site/the…
abrokenjester Dec 21, 2019
e65c388
Merge pull request #126 from eclipse/dependabot/npm_and_yarn/site/the…
abrokenjester Dec 21, 2019
371c36a
clarified protocol versions
abrokenjester Dec 21, 2019
4664b23
#1555: Refine documentation for FedX integration
aschwarte10 Dec 28, 2019
231a2b2
Merge pull request #130 from eclipse/issues/#1555-improve-fedx-docume…
abrokenjester Dec 29, 2019
f41804a
cleaned up workflow/release mgmt docs
abrokenjester Jan 11, 2020
a0f8c49
Merge pull request #132 from eclipse/dev-docs-fixes
abrokenjester Jan 11, 2020
9d3374c
Update index.md
hmottestad Jan 12, 2020
bb6bc52
Update _index.md
hmottestad Jan 12, 2020
5b0b942
Create rdf4j-304.md
hmottestad Jan 12, 2020
40ea2c7
javadocs 3.0.4
hmottestad Jan 12, 2020
6adc570
Merge pull request #133 from eclipse/master
hmottestad Jan 12, 2020
8ac10f6
News item and download links for milestone 2
abrokenjester Jan 18, 2020
3c59c65
GH-1747 added code examples for use of results as Iterable
abrokenjester Jan 1, 2020
f27eb5e
GH-1555: FedX documentation improvements w.r.t workbench usage
aschwarte10 Jan 19, 2020
93361c5
updated about page
abrokenjester Jan 28, 2020
f9f5134
added architecture diagram
abrokenjester Jan 28, 2020
a4f9341
added FedX as SAIL extension component
abrokenjester Jan 28, 2020
f3c3cd3
eclipse/rdf4j#1875 extended docs on jaxp and xerces
abrokenjester Feb 2, 2020
356edb8
updated docs
hmottestad Feb 2, 2020
1902638
modified spacing
hmottestad Feb 2, 2020
377cd74
Merge pull request #138 from eclipse/master
abrokenjester Feb 3, 2020
7734ef7
eclipse/rdf4j#1897 release notes for 3.1.0
abrokenjester Feb 3, 2020
fc4ac05
eclipse/rdf4j#1897 news item and download links
abrokenjester Feb 6, 2020
9a573cd
back to hugo-specific code highlighting for now
abrokenjester Feb 6, 2020
c205657
Merge pull request #136 from eclipse/update_shacl_documentation_for_3_1
abrokenjester Feb 6, 2020
cbf06a8
Javadoc for release 3.1.0
abrokenjester Feb 6, 2020
1843a1c
Merge pull request #140 from eclipse/javadoc-3.1.0
abrokenjester Feb 6, 2020
81185d6
Merge pull request #139 from eclipse/develop
abrokenjester Feb 6, 2020
c24d4b2
Merge pull request #137 from eclipse/release-notes-3.1.0
abrokenjester Feb 6, 2020
1c630fb
Merge pull request #141 from eclipse/develop
abrokenjester Feb 6, 2020
a57b5c6
eclipse/rdf4j#1909 release docs update to use Jenkins for SDK
abrokenjester Feb 12, 2020
0a1cf56
release 3.1.1
abrokenjester Feb 27, 2020
b4c34e7
Fix typos (#143)
hmottestad Mar 9, 2020
8625d42
release 3.1.2
abrokenjester Mar 13, 2020
75e69e0
milestone build 3.2.0 M1 (#147)
abrokenjester Apr 1, 2020
9ba530c
eclipse/rdf4j#2032 basic documentation for RDF* (#146)
abrokenjester Apr 1, 2020
827ed85
eclipse/rdf4j#2011 added merge strategy steps and motivation (#145)
abrokenjester Apr 2, 2020
6e51ce2
release 3.1.3
abrokenjester Apr 7, 2020
6293781
release 3.1.4 and 3.2 milestone build 2 (#149)
abrokenjester Apr 25, 2020
6adfa04
GH-1517 Added paragraph on console history
barthanssens Apr 28, 2020
dd6a1dc
Merge pull request #150 from Fedict/issues/#1517-history-console
barthanssens Apr 28, 2020
7fa6c74
eclipse/rdf4j#2101 document use of writable property (#148)
abrokenjester Apr 29, 2020
985cbe7
Merge pull request #151 from eclipse/develop
abrokenjester Apr 29, 2020
3a4cb04
GH-2044 explain query docs
hmottestad May 2, 2020
fb4d02c
typos and other fixes
hmottestad May 3, 2020
c2a020a
GH-2044 explain query docs (#153)
hmottestad May 3, 2020
6d4cbb3
GH-2032 added sections about conversion and SPARQL* (#154)
abrokenjester May 5, 2020
6d3fc07
GH-2044 add docs for "new scope" (#156)
hmottestad May 6, 2020
69d432b
eclipse/rdf4j#2175 added paragraph about thread pool size (#157)
abrokenjester May 6, 2020
39b334b
minor fix to rendering of table in query explain section
abrokenjester May 7, 2020
b85d7d5
news item and release notes for RDF4J 3.2.0
abrokenjester May 7, 2020
c1ced49
javadoc and download links
abrokenjester May 7, 2020
299230f
Merge pull request #155 from eclipse/develop
abrokenjester May 7, 2020
2627ddd
upgrade notes for SAIL implementors
abrokenjester May 7, 2020
5b68002
fix section header version number
abrokenjester May 8, 2020
9fffe0d
eclipse/rdf4j#2201 eclipse/rdf4j#1902 Theme import and update to newe…
abrokenjester May 10, 2020
712bde9
fixed typo in sparql query
hmottestad May 10, 2020
c15c6e4
GH-2222 added link to 3.0 API
barthanssens May 15, 2020
4b0090a
Merge pull request #159 from Fedict/GH-2222-link-javadoc
barthanssens May 15, 2020
cea9d85
GH-2223 fix links
barthanssens May 15, 2020
f8ce0a8
Merge pull request #160 from Fedict/GH-2223-release-links
barthanssens May 15, 2020
944e886
eclipse/rdf4j#2235 first draft of release notes for 3.3.0
abrokenjester May 18, 2020
bad9b96
modified about page conform Eclipse guidelines (#162)
abrokenjester May 21, 2020
187f7b3
eclipse/rdf4j#2249 update for release 3.2.1 (#163)
abrokenjester May 21, 2020
a3ceccb
sh:inversePath support
hmottestad May 27, 2020
e0a0d91
eclipse/rdf4j#2274 fix css layout so links are clickable on mobile (#…
abrokenjester May 27, 2020
a8d105d
GH-2235 added note on jackson dependencies
barthanssens May 28, 2020
c8d7dc6
GH-2235 added names
barthanssens May 28, 2020
2c3b3eb
GH-2234 docs for sh:inversePath (#165)
hmottestad May 29, 2020
60b0f95
GH-2235 added more names
barthanssens May 29, 2020
309ea7d
added signoff flag to squashing method to show how to fix signoff issues
abrokenjester May 30, 2020
526ef3b
Merge branch 'master' of github.com:eclipse/rdf4j-doc
abrokenjester May 30, 2020
88728ab
GH-2235 correction in name
barthanssens May 30, 2020
1bc0b6e
correct site title and base url
abrokenjester Jun 3, 2020
e59e980
eclipse/rdf4j#2235 added pavel to acknowledgments
abrokenjester Jun 6, 2020
9d53071
eclipse/rdf4j#2274 simpler design for docs page (#167)
abrokenjester Jun 6, 2020
06473e0
GH-2269 inital notes + added names (#166)
barthanssens Jun 11, 2020
39ca542
eclipse/rdf4j#2144 blog article on performance (#168)
abrokenjester Jun 14, 2020
98e86bb
eclipse/rdf4j#2318 fix images and code formatting + few minor updates…
abrokenjester Jun 21, 2020
965fad6
initial release documents for 3.3.0-m1 (#170)
hmottestad Jun 25, 2020
a33c41b
fixes https://github.com/eclipse/rdf4j/issues/2335
hmottestad Jun 25, 2020
e809bd8
eclipse/rdf4j#2321 release notes, download, and news item for 3.2.3 (…
abrokenjester Jul 2, 2020
340a927
GH-2326 show toc instead of about in right column (#172)
abrokenjester Jul 6, 2020
307b25a
Merge pull request #173 from eclipse/master
hmottestad Jul 9, 2020
764131f
Gitter news item and link on support page (#175)
abrokenjester Jul 9, 2020
203b4e7
3.3.0-M2 release notes
hmottestad Jul 14, 2020
7076134
Merge pull request #176 from eclipse/3.3.0-M2
hmottestad Jul 14, 2020
ee7472d
updated release notes
hmottestad Jul 14, 2020
7d0df7c
GH-2235 added ack for elad shaked
abrokenjester Jul 14, 2020
13f1cca
eclipse/rdf4j#2235 added a few highlight bullet points
abrokenjester Jul 23, 2020
4792379
Updated SHACL documentation (#174)
hmottestad Jul 24, 2020
a1903dc
Merge pull request #179 from eclipse/develop
hmottestad Jul 24, 2020
01280bd
more updates for release
hmottestad Jul 24, 2020
595393f
Merge branch 'master' into GH-2235-release-notes-3.3.0
hmottestad Jul 24, 2020
60d3273
updated java docs
hmottestad Jul 24, 2020
3d095c7
more 3.3.0 release notes, a news article and also more shacl document…
hmottestad Jul 24, 2020
fe3011f
tab typo fix
hmottestad Jul 24, 2020
214bcc5
eclipse/rdf4j#2235 first draft of release notes for 3.3.0 (#161)
hmottestad Jul 24, 2020
0ea77b0
fixed typo
hmottestad Jul 24, 2020
8732dfa
fixed incorrect link
hmottestad Jul 24, 2020
fc58356
added a link to the rsx spec
hmottestad Jul 24, 2020
3e6dc6c
fixed TODO that I had overseen
hmottestad Jul 24, 2020
04b4d16
eclipse/rdf4j#405 minimal documentation for RDF container utility (#178)
abrokenjester Jul 25, 2020
c058ae9
Merge remote-tracking branch 'rdf4j-doc/master' into GH-2333-merge-rd…
abrokenjester Jul 25, 2020
676ddd7
GH-2333 remove eclipse ui prefs from version control
abrokenjester Jul 25, 2020
1ca34d8
GH-2333 fix formatting of pom file
abrokenjester Jul 25, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "site/themes/hugo-solstice-theme"]
path = site/themes/hugo-solstice-theme
url = https://github.com/EclipseFdn/hugo-solstice-theme.git
48 changes: 48 additions & 0 deletions examples/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>examples</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-bom</artifactId>
<version>2.1.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-runtime</artifactId>
</dependency>
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-queryresultio-text</artifactId>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.10</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>utf8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/*******************************************************************************
* Copyright (c) 2017 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.examples.function;

import org.eclipse.rdf4j.model.Literal;
import org.eclipse.rdf4j.model.Value;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.query.algebra.evaluation.ValueExprEvaluationException;
import org.eclipse.rdf4j.query.algebra.evaluation.function.Function;

/**
* An example custom SPARQL function that detects palindromes
*
* @author Jeen Broekstra
*/
public class PalindromeFunction implements Function {

// define a constant for the namespace of our custom function
public static final String NAMESPACE = "http://example.org/custom-function/";

/**
* return the URI 'http://example.org/custom-function/palindrome' as a
* String
*/
public String getURI() {
return NAMESPACE + "palindrome";
}

/**
* Executes the palindrome function.
*
* @return A boolean literal representing true if the input argument is a
* palindrome, false otherwise.
* @throws ValueExprEvaluationException
* if more than one argument is supplied or if the supplied argument
* is not a literal.
*/
public Value evaluate(ValueFactory valueFactory, Value... args)
throws ValueExprEvaluationException
{
// our palindrome function expects only a single argument, so throw an error
// if there's more than one
if (args.length != 1) {
throw new ValueExprEvaluationException(
"palindrome function requires" + "exactly 1 argument, got "
+ args.length);
}
Value arg = args[0];
// check if the argument is a literal, if not, we throw an error
if (!(arg instanceof Literal)) {
throw new ValueExprEvaluationException(
"invalid argument (literal expected): " + arg);
}

// get the actual string value that we want to check for palindrome-ness.
String label = ((Literal)arg).getLabel();
// we invert our string
String inverted = "";
for (int i = label.length() - 1; i >= 0; i--) {
inverted += label.charAt(i);
}
// a string is a palindrome if it is equal to its own inverse
boolean palindrome = inverted.equalsIgnoreCase(label);

// a function is always expected to return a Value object, so we
// return our boolean result as a Literal
return valueFactory.createLiteral(palindrome);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
/*******************************************************************************
* Copyright (c) 2016 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.examples.model;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
import org.eclipse.rdf4j.model.impl.TreeModel;
import org.eclipse.rdf4j.model.vocabulary.FOAF;
import org.eclipse.rdf4j.model.vocabulary.RDF;

/**
* RDF Tutorial example 01: Building a simple RDF Model using Eclipse RDF4J
*
* @author Jeen Broekstra
*/
public class Example01BuildModel {

public static void main(String[] args) {

// We use a ValueFactory to create the building blocks of our RDF statements: IRIs, blank nodes
// and literals.
ValueFactory vf = SimpleValueFactory.getInstance();

// We want to reuse this namespace when creating several building blocks.
String ex = "http://example.org/";

// Create IRIs for the resources we want to add.
IRI picasso = vf.createIRI(ex, "Picasso");
IRI artist = vf.createIRI(ex, "Artist");

// Create a new, empty Model object.
Model model = new TreeModel();

// add our first statement: Picasso is an Artist
model.add(picasso, RDF.TYPE, artist);

// second statement: Picasso's first name is "Pablo".
model.add(picasso, FOAF.FIRST_NAME, vf.createLiteral("Pablo"));

// to see what's in our model, let's just print it to the screen
for(Statement st: model) {
System.out.println(st);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*******************************************************************************
* Copyright (c) 2016 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.examples.model;

import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.util.ModelBuilder;
import org.eclipse.rdf4j.model.vocabulary.FOAF;
import org.eclipse.rdf4j.model.vocabulary.RDF;

/**
* RDF Tutorial example 02: Building a simple RDF Model using the RDF4J ModelBuilder
*
* @author Jeen Broekstra
*/
public class Example02BuildModel {

public static void main(String[] args) {

// Create a new RDF model containing two statements by using a ModelBuilder
ModelBuilder builder = new ModelBuilder();
Model model = builder
.setNamespace("ex", "http://example.org/")
.subject("ex:Picasso")
.add(RDF.TYPE, "ex:Artist") // Picasso is an Artist
.add(FOAF.FIRST_NAME, "Pablo") // his first name is "Pablo"
.build();

// To see what's in our model, let's just print it to the screen
for(Statement st: model) {
System.out.println(st);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
/*******************************************************************************
* Copyright (c) 2016, 2017 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.examples.model;

import java.util.Date;

import javax.xml.datatype.XMLGregorianCalendar;

import org.eclipse.rdf4j.model.IRI;
import org.eclipse.rdf4j.model.Literal;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.Value;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
import org.eclipse.rdf4j.model.util.ModelBuilder;
import org.eclipse.rdf4j.model.vocabulary.XMLSchema;

/**
* RDF Tutorial example 03: Datatyped literals
*
* @author Jeen Broekstra
*/
public class Example03LiteralDatatypes {

public static void main(String[] args) {

ValueFactory vf = SimpleValueFactory.getInstance();

// Create a new RDF model containing information about the painting "The Potato Eaters"
ModelBuilder builder = new ModelBuilder();
Model model = builder
.setNamespace("ex", "http://example.org/")
.subject("ex:PotatoEaters")
// this painting was created on April 1, 1885
.add("ex:creationDate", vf.createLiteral("1885-04-01T00:00:00Z", XMLSchema.DATETIME))
// You can also pass in a Java Date object directly:
//.add("ex:creationDate", new GregorianCalendar(1885, Calendar.APRIL, 1).getTime())

// the painting shows 5 people
.add("ex:peopleDepicted", 5)
.build();

// To see what's in our model, let's just print stuff to the screen
for(Statement st: model) {
// we want to see the object values of each property
IRI property = st.getPredicate();
Value value = st.getObject();
if (value instanceof Literal) {
Literal literal = (Literal)value;
System.out.println("datatype: " + literal.getDatatype());

// get the value of the literal directly as a Java primitive.
if (property.getLocalName().equals("peopleDepicted")) {
int peopleDepicted = literal.intValue();
System.out.println(peopleDepicted + " people are depicted in this painting");
}
else if (property.getLocalName().equals("creationDate")) {
XMLGregorianCalendar calendar = literal.calendarValue();
Date date = calendar.toGregorianCalendar().getTime();
System.out.println("The painting was created on " + date);
}

// you can also just get the lexical value (a string) without worrying about the datatype
System.out.println("Lexical value: '" + literal.getLabel() + "'");
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*******************************************************************************
* Copyright (c) 2016, 2017 Eclipse RDF4J contributors.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*******************************************************************************/
package org.eclipse.rdf4j.examples.model;

import org.eclipse.rdf4j.model.Literal;
import org.eclipse.rdf4j.model.Model;
import org.eclipse.rdf4j.model.Statement;
import org.eclipse.rdf4j.model.Value;
import org.eclipse.rdf4j.model.ValueFactory;
import org.eclipse.rdf4j.model.impl.SimpleValueFactory;
import org.eclipse.rdf4j.model.util.ModelBuilder;
import org.eclipse.rdf4j.model.vocabulary.DC;

/**
* RDF Tutorial example 04: Language tags
*
* @author Jeen Broekstra
*/
public class Example04LanguageTags {

public static void main(String[] args) {

ValueFactory vf = SimpleValueFactory.getInstance();

// Create a new RDF model containing some information about the painting "The Potato Eaters"
ModelBuilder builder = new ModelBuilder();
Model model = builder
.setNamespace("ex", "http://example.org/")
.subject("ex:PotatoEaters")
// In English, this painting is called "The Potato Eaters"
.add(DC.TITLE, vf.createLiteral("The Potato Eaters", "en"))
// In Dutch, it's called "De Aardappeleters"
.add(DC.TITLE, vf.createLiteral("De Aardappeleters", "nl"))
.build();

// To see what's in our model, let's just print it to the screen
for(Statement st: model) {
// we want to see the object values of each statement
Value value = st.getObject();
if (value instanceof Literal) {
Literal title = (Literal)value;
System.out.println("language: " + title.getLanguage().orElse("unknown"));
System.out.println(" title: " + title.getLabel());
}
}
}
}
Loading