Difference between revisions of "WikiData Import 2020-09-11"

From BITPlan Wiki
Jump to navigation Jump to search
Line 17: Line 17:
 
<source lang='bash'>
 
<source lang='bash'>
 
# Mac OS X  
 
# Mac OS X  
/usr/libexec/java_home -v 1.8.0_191
+
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0_191)
cd cd wikidata-query-rdf
+
java -version
 +
java version "1.8.0_191"
 +
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
 +
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
 +
cd wikidata-query-rdf
 
mvn package
 
mvn package
 
+
</source>
 
[[Category:WikiData]]
 
[[Category:WikiData]]

Revision as of 12:41, 11 September 2020

Goal

replicate original blazegraph environment see https://github.com/wikimedia/wikidata-query-rdf/blob/master/docs/getting-started.md == Git clone ===java

git clone  --recurse-submodules https://gerrit.wikimedia.org/r/wikidata/query/rdf wikidata-query-rdf
Cloning into 'wikidata-query-rdf'...
remote: Counting objects: 195, done
remote: Finding sources: 100% (161/161)
remote: Getting sizes: 100% (146/146)
remote: Compressing objects: 100% (131311/131311)
remote: Total 17957 (delta 17), reused 17930 (delta 9)
Receiving objects: 100% (17957/17957), 2.98 MiB | 3.37 MiB/s, done.
Resolving deltas: 100% (8953/8953), done.

mvn package

# Mac OS X 
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0_191)
java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
cd wikidata-query-rdf
mvn package