[Wikidata-bugs] [Maniphest] [Commented On] T244341: Wikibase RDF dump: stop using blank nodes for encoding SomeValue and OWL constraints

2020-03-04 Thread Luitzen
Luitzen added a comment.


  In order it make it possible to update the graph without querying, you could 
probably adapt/tailor the 
`com.bigdata.rdf.store.AbstractTripleStore.Options.STORE_BLAN‌​K_NODES` 
Blazegraph option.

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

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

To: Luitzen
Cc: Luitzen, VladimirAlexiev, Lea_Lacroix_WMDE, Jheald, Daniel_Mietchen, 
mkroetzsch, Denny, Lucas_Werkmeister_WMDE, Aklapper, dcausse, darthmon_wmde, 
Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, 
_jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Smalyshev, 
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] [Edited] T214260: Get value of page_image_free using MWAPI

2019-01-20 Thread Luitzen
Luitzen updated the task description. (Show Details)
CHANGES TO TASK DESCRIPTION...The `?page_image_free` variable is not bound in the results. For comparison, `?wikidata_item` is bound:



```
|  title  | wikidata_item | page_image_free |
|-|---|-|
| Wadosiw | wd:Q3047546   | |
```

API call: https://atj.wikipedia.org/w/api.php?action="">.

API call: https://atj.wikipedia.org/w/api.php?action="">XML output:


```

  

  

  

  

```TASK DETAILhttps://phabricator.wikimedia.org/T214260EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LuitzenCc: Aklapper, Wikidata-bugs, Luitzen, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, Jonas, Xmlizer, jkroll, Smalyshev, 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] [Created] T214260: Get value of page_image_free using MWAPI

2019-01-20 Thread Luitzen
Luitzen created this task.Luitzen added a project: Wikidata-Query-Service.Restricted Application added a subscriber: Aklapper.Restricted Application added a project: Wikidata.
TASK DESCRIPTIONSELECT * WHERE {
SERVICE wikibase:mwapi {
bd:serviceParam wikibase:endpoint "atj.wikipedia.org" .
bd:serviceParam wikibase:api "Generator" .
bd:serviceParam mwapi:generator "allpages" .
bd:serviceParam mwapi:prop "pageprops" .
bd:serviceParam mwapi:gapfrom "Wadosiw" .
bd:serviceParam mwapi:gapto "Wadosiw" .
?title wikibase:apiOutput "@title" .
?wikidata_item wikibase:apiOutputItem "pageprops/@wikibase_item" .
?page_image_free wikibase:apiOutput "pageprops/@page_image_free" .   
}
}

The ?page_image_free variable is not bound in the results. For comparison, ?wikidata_item is bound.

API call: https://atj.wikipedia.org/w/api.php?action="">TASK DETAILhttps://phabricator.wikimedia.org/T214260EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: LuitzenCc: Aklapper, Wikidata-bugs, Luitzen, Nandana, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, Jonas, Xmlizer, jkroll, Smalyshev, 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] [Commented On] T177275: Add ordinal variable to MWAPI service calls

2018-10-01 Thread Luitzen
Luitzen added a comment.
It seems that ORDER BY ?ordinal in combination with mwapi:srlimit leads to perfomance degradation. Try the following with and without bd:serviceParam mwapi:srlimit 20 (or "20"):

SELECT * WHERE {
  SERVICE wikibase:mwapi {
  bd:serviceParam wikibase:api "Search" .
  bd:serviceParam wikibase:endpoint "www.wikidata.org"  .
  bd:serviceParam mwapi:srsearch "Merkel" .
  bd:serviceParam mwapi:srlimit 20 .
  ?item wikibase:apiOutputItem "@title" .
  ?ordinal wikibase:apiOrdinal true .
  }
  ?item wdt:P31 ?type .
} ORDER BY ASC (?ordinal) LIMIT 10TASK DETAILhttps://phabricator.wikimedia.org/T177275EMAIL PREFERENCEShttps://phabricator.wikimedia.org/settings/panel/emailpreferences/To: Smalyshev, LuitzenCc: Luitzen, gerritbot, Eloquence, Aklapper, Smalyshev, Nandana, NebulousIris, Gaboe420, Versusxo, Majesticalreaper22, Giuliamocci, Adrian1985, Cpaulf30, Lahi, Gq86, Baloch007, Darkminds3113, Bsandipan, Lordiis, Lucas_Werkmeister_WMDE, GoranSMilovanovic, Adik2382, Th3d3v1ls, Ramalepe, Liugev6, QZanden, EBjune, merbst, LawExplorer, Avner, Lewizho99, Maathavan, Gehel, Jonas, FloNight, 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