[Wikidata-bugs] [Maniphest] T282719: Wikidata tool request: Users can enter an ISBN to see if a Wikidata item exists, if not it makes a new one based on the data available (works like 'Cite' tool on W

2021-05-23 Thread Seppl2013
Seppl2013 added a comment.


  see also https://github.com/fnielsen/scholia/issues/1439

TASK DETAIL
  https://phabricator.wikimedia.org/T282719

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Bodhisattwa, TiagoLubiana, edwardbetts, GFontenelle_WMF, Seppl2013, 
Fuzheado, Pigsonthewing, Gamaliel, Spinster, Rhagfyr, Antoine2711, Jklamo, 
NavinoEvans, Aklapper, John_Cummings, Invadibot, Surya742, maantietaja, 
Mohammed_Sadat_WMDE, Akuckartz, Nandana, Zambujo, Lahi, Gq86, valerio.bozzolan, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, 
Wikidata-bugs, aude, Daniel_Mietchen, Jhernandez, jayvdb, Mbch331, bd808
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T282719: Wikidata tool request: Users can enter an ISBN to see if a Wikidata item exists, if not it makes a new one based on the data available (works like 'Cite' tool on W

2021-05-16 Thread Seppl2013
Seppl2013 added a comment.


  One special case of this is publications of proceeedings of scientific 
conferences. I am intending to have a wikidata backend for my Proceedings Title 
Parser at ptp.bitplan.com <http://ptp.bitplan.com> anyways so i could add an 
"ISBN" input mode.
  
  - First the book information would be fectched e.g. for 
https://www.springer.com/gp/book/9783030454388 the result would be: //Advances 
in Information Retrieval
  
  42nd European Conference on IR Research, ECIR 2020, Lisbon, Portugal, April 
14–17, 2020, Proceedings, Part I
  //
  
  - then this fed to the Proceedings Title Parser 
<http://ptp.bitplan.com/parse?titles=Advances+in+Information+Retrieval%0D%0A42nd+European+Conference+on+IR+Research%2C+ECIR+2020%2C+Lisbon%2C+Portugal%2C+April+14%E2%80%9317%2C+2020%2C+Proceedings%2C+Part+I=example1=html=on>
 which would find the corresponding event
  - The corresponding scientific event series might already be in wikidata see  
https://confident.dbis.rwth-aachen.de/dblpconf/wikidata which points to 
https://www.wikidata.org/wiki/Q5412436
  - now the proceedings and the event could be entered to wikidata
  
  This special usecase might be a good starting point for the feasibility of 
the more general approach to do the entry for any ISBN

TASK DETAIL
  https://phabricator.wikimedia.org/T282719

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Fuzheado, Pigsonthewing, Gamaliel, Spinster, Rhagfyr, 
Antoine2711, Jklamo, NavinoEvans, Aklapper, John_Cummings, Invadibot, 
maantietaja, Mohammed_Sadat_WMDE, Akuckartz, apaskulin, Nandana, lucamauri, 
Zambujo, Lahi, Gq86, valerio.bozzolan, GoranSMilovanovic, Chicocvenancio, 
QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Izno, Wikidata-bugs, 
aude, Daniel_Mietchen, Jhernandez, jayvdb, Mbch331, bd808, Krenair, Tgr
___
Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org
To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org


[Wikidata-bugs] [Maniphest] T263969: Fatal error munging RDF org.openrdf.rio.RDFParseException: Expected '.', found 's' [line 595492] when trying to get local wikidata copy based on blazegraph running

2020-09-29 Thread Seppl2013
Seppl2013 added a comment.


  I tried debugging the line 595492 mentioned in the error message. See my 
stackoverflow answer to How to get few lines from a .gz compressed file without 
uncompressing <https://stackoverflow.com/a/64131082/1497139>
  
gunzip -c latest-all.ttl.gz | awk -v from=595490 -v to=595495 'NR>=from { 
print NR,$0; if (NR>=to) exit 1}'
595490  wdt:P1943 
<http://commons.wikimedia.org/wiki/Special:FilePath/Indonesia%20Bangka%20Belitung%20Islands%20location%20map.svg>
 ;
595491  wdt:P7867 wd:Q84077164 ;
595492  p:P1036 s:Q1866-24430318-4817-45ba-P1036 s:Q3258818 ;
595493  wd66-986-0d0ddac20ed29d01ba-P1036 s:Q3258818 ;
595494  wd66-986-0d0ddac20ed29s://nl.wikiSger ;
595495  
w64"^^xsd:inter:P1://nl.wikiDeng":P7edR:P1:318-s4817-45"2--598196""Bangka 
Belitpwd:Q8s:qP10366-24B52B-3501-4903-999E-28CDCE6B3CA09d01baqP10366-24B52B-3501-4903-999E-28CDCE6B3CA09s://nl.wikiSger
 ;

TASK DETAIL
  https://phabricator.wikimedia.org/T263969

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, CBogen, Akuckartz, darthmon_wmde, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T263969: Fatal error munging RDF org.openrdf.rio.RDFParseException: Expected '.', found 's' [line 595492] when trying to get local wikidata copy based on blazegraph running

2020-09-29 Thread Seppl2013
Seppl2013 added a comment.


  I can't see where the problem is.

TASK DETAIL
  https://phabricator.wikimedia.org/T263969

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, CBogen, Akuckartz, darthmon_wmde, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T263969: Fatal error munging RDF org.openrdf.rio.RDFParseException: Expected '.', found 's' [line 595492] when trying to get local wikidata copy based on blazegraph running

2020-09-29 Thread Seppl2013
Seppl2013 added a comment.


  For me it's a showstopper. I'd love to work on 
https://github.com/somnathrakshit/geograpy3/issues/15 and currently I have the 
following options to run the SPARQL query for it 
<https://github.com/somnathrakshit/geograpy3/blob/f794bc43bad74acbc08a8ffd98e591a6a57ba83a/geograpy/wikidata.py#L19>
  
  1. WikiData Query Service - it barely does not time out on the query but the 
SPARQLWrapper chokes on the result: 
https://github.com/RDFLib/sparqlwrapper/issues/163
  2. Local Wikidata Copy 2020 based on Apache Jena 
<http://wiki.bitplan.com/index.php/WikiData_Import_2020-08-15> - the query runs 
multiple hours and last time i tried i didn't know whether the 10 hour proxy 
timeout would be sufficient
  3. local Wikidata copy 2018 based on blazegraph 
<http://wiki.bitplan.com/index.php/Get_your_own_copy_of_WikiData#First_Attempt_2018-01>
 - thats the one i used - the query takes less than a minute gives me 17.000 
differences to the geonames dataset with same ids - i wonder how many of these 
are just based on the 2 year difference of actuality between the two datasets
  4. Local wikidata copy this issue is about - based on blazegraph - currently 
not working

TASK DETAIL
  https://phabricator.wikimedia.org/T263969

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, CBogen, Akuckartz, darthmon_wmde, Nandana, 
Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, 
EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, 
jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T263969: Fatal error munging RDF org.openrdf.rio.RDFParseException: Expected '.', found 's' [line 595492] when trying to get local wikidata copy based on blazegraph running

2020-09-28 Thread Seppl2013
Seppl2013 created this task.
Seppl2013 added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  https://phabricator.wikimedia.org/T178211 reports a similar error which was 
marked as invalid at the time.
  see http://wiki.bitplan.com/index.php/WikiData_Import_2020-09-11 for a 
description on what I tried. 
  I tried to follow the steps of 
https://github.com/wikimedia/wikidata-query-rdf/blob/master/docs/getting-started.md
  And when doing:
  
nohup ./munge.sh -f data/latest-all.ttl.gz -d data/split -l en,de&
  
  The error message below appears
  
08:56:33.415 [main] ERROR org.wikidata.query.rdf.tool.Munge - Fatal error 
munging RDF
org.openrdf.rio.RDFParseException: Expected '.', found 's' [line 595492]
at 
org.openrdf.rio.helpers.RDFParserHelper.reportFatalError(RDFParserHelper.java:440)
at 
org.openrdf.rio.helpers.RDFParserBase.reportFatalError(RDFParserBase.java:685)
at 
org.openrdf.rio.turtle.TurtleParser.reportFatalError(TurtleParser.java:1405)
at 
org.openrdf.rio.turtle.TurtleParser.verifyCharacterOrFail(TurtleParser.java:1227)
at 
org.openrdf.rio.turtle.TurtleParser.parseStatement(TurtleParser.java:261)
at org.openrdf.rio.turtle.TurtleParser.parse(TurtleParser.java:214)
at org.wikidata.query.rdf.tool.Munge.run(Munge.java:105)
at org.wikidata.query.rdf.tool.Munge.main(Munge.java:59)

TASK DETAIL
  https://phabricator.wikimedia.org/T263969

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T178211: Using Munge script in standalone WDQS: Fatal error munging RDF: RDFParseException: Illegal language tag char: ':'

2020-09-28 Thread Seppl2013
Seppl2013 added a comment.


  I retried the download which took another 16h but the problem persists

TASK DETAIL
  https://phabricator.wikimedia.org/T178211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev, Seppl2013
Cc: Seppl2013, Aklapper, Caliuser, CBogen, Akuckartz, darthmon_wmde, ET4Eva, 
Nandana, Namenlos314, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, _jensen, 
rosalieper, Scott_WUaS, Cirdan, Jonas, FloNight, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Tpt, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T178211: Using Munge script in standalone WDQS: Fatal error munging RDF: RDFParseException: Illegal language tag char: ':'

2020-09-26 Thread Seppl2013
Seppl2013 added a comment.


  I am having a similar issue see 
http://wiki.bitplan.com/index.php/WikiData_Import_2020-09-11#Issue_2

TASK DETAIL
  https://phabricator.wikimedia.org/T178211

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Smalyshev, Seppl2013
Cc: Seppl2013, Aklapper, Caliuser, CBogen, Akuckartz, darthmon_wmde, ET4Eva, 
Nandana, Namenlos314, Lahi, Gq86, Darkminds3113, Lucas_Werkmeister_WMDE, 
GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, Avner, Gehel, _jensen, 
rosalieper, Scott_WUaS, Cirdan, Jonas, FloNight, Xmlizer, jkroll, 
Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Tpt, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T263855: mvn package fails for wikidata-query-rdf on Mac OS 10.13.6 High Sierra

2020-09-25 Thread Seppl2013
Seppl2013 added a comment.


  tried
  
git pull 
mvn package
  
  today and problem persists

TASK DETAIL
  https://phabricator.wikimedia.org/T263855

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs


[Wikidata-bugs] [Maniphest] T263855: mvn package fails for wikidata-query-rdf on Mac OS 10.13.6 High Sierra

2020-09-25 Thread Seppl2013
Seppl2013 created this task.
Seppl2013 added a project: Wikidata.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  see:
  http://wiki.bitplan.com/index.php/WikiData_Import_2020-09-11
  
  Mac Pro Mid 2010
  12 core 3.46 GHz
  64 GB RAM
  macOS High Sierra 10.13.6
  
  Steps:
  
git clone  --recurse-submodules 
https://gerrit.wikimedia.org/r/wikidata/query/rdf wikidata-query-rdf
  
  works
  
# 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 -version
Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 
2018-10-24T20:41:47+02:00)
Maven home: /opt/local/share/java/maven3
Java version: 1.8.0_191, vendor: Oracle Corporation, runtime: 
/Library/Java/JavaVirtualMachines/jdk1.8.0_191.jdk/Contents/Home/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
mvn package
  
  fails
  
  error message:
  
2020-09-11 13:45:39 INFO  RocksDBStateBackend:899 - Attempting to load 
RocksDB native library and store it under 
'/var/folders/2t/2g54bjr10830rv00508_y13wgn/T/flink-io-6ec39247-613e-410a-a83f-712f841ce3a8'
dyld: lazy symbol binding failed: Symbol not found: chkstk_darwin
  Referenced from: 
/private/var/folders/2t/2g54bjr10830rv00508_y13wgn/T/flink-io-6ec39247-613e-410a-a83f-712f841ce3a8/rocksdb-lib-396871de50f5fa7595c1071b59c34498/librocksdbjni-osx.jnilib
 (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: chkstk_darwin
  Referenced from: 
/private/var/folders/2t/2g54bjr10830rv00508_y13wgn/T/flink-io-6ec39247-613e-410a-a83f-712f841ce3a8/rocksdb-lib-396871de50f5fa7595c1071b59c34498/librocksdbjni-osx.jnilib
 (which was built for Mac OS X 10.15)
  Expected in: /usr/lib/libSystem.B.dylib

TASK DETAIL
  https://phabricator.wikimedia.org/T263855

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Seppl2013
Cc: Seppl2013, Aklapper, Akuckartz, darthmon_wmde, Nandana, Lahi, Gq86, 
GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, 
Wikidata-bugs, aude, Mbch331
___
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs