Difference between revisions of "User talk:Addshore"

From Wikibase Registry
Jump to navigation Jump to search
m
m
 
(8 intermediate revisions by 5 users not shown)
Line 8: Line 8:
 
[[User:Johentsch|Johentsch]]
 
[[User:Johentsch|Johentsch]]
  
 +
:Done! [[User:Addshore|Addshore]] ([[User talk:Addshore|talk]]) 19:01, 25 September 2020 (UTC)
  
 
== Hi ==
 
== Hi ==
Line 16: Line 17:
  
 
What do you think of it? [[User:A|A]] ([[User talk:A|talk]]) 16:19, 23 September 2018 (UTC)
 
What do you think of it? [[User:A|A]] ([[User talk:A|talk]]) 16:19, 23 September 2018 (UTC)
 +
 +
== Trusted user group - Luca Mauri ==
 +
Dear Addshore, since the email is not working on this site, is there any way you can reset the password for my user "lucamauri"?
 +
I'd like to add my own WikiBase instance to Registry, can you please add my user to the "trusted" group, so I can create the item? If there is not way to recever "lucamauri", I created this new user.
 +
Thanks! --[[User:Lucamauricom|Lucamauricom]] ([[User talk:Lucamauricom|talk]]) 22:20, 1 November 2020 (UTC)
 +
:Done! [[User:Addshore|Addshore]] ([[User talk:Addshore|talk]]) 12:04, 7 November 2020 (UTC)
 +
 +
== Properties for linking to Exact Match Property URI and Equivalent Property Property URI ==
 +
I think this project is really cool! One thing that I think that could be added that could help with querying wikibases in a structured way that doesn't require learning the ontology of each wikibase is to have two properties linking to the Exact Match Property URI and Equivalent Property Property URI. This can make it so people can query the wikibase with a popular well understood ontology such as wikidata.
 +
 +
first query on the wikibase registry end point:
 +
<pre>
 +
PREFIX wrt: <https:wikibase-registry.wmflabs.org/prop/direct/>
 +
SELECT ?sparqlEndPoint ?exactMatch ?equivalentProperty {
 +
  <wikibase-URI> wrt:P4 ?sparqlEndPoint.
 +
  <wikibase-URI> wrt:PX ?exactMatch. #exact match property URI of <wikibase-URI>.
 +
  <wikibase-URI> wrt:PY ?equivalentProperty. #equivalent property property URI of <wikibase-URI>.
 +
}
 +
</pre>
 +
 +
second query on the selected wikibase's end point:
 +
<pre>
 +
SELECT ?human {
 +
  ?humanClass [?exactMatch] <http://www.wikidata.org/entity/Q5>.
 +
  ?instanceOfEntity [?equivalentProperty] <http://www.wikidata.org/prop/direct/P31>.
 +
  ?instanceOfEntity wikibase:directClaim ?instanceOf. #cconvert entity representation to prop/direct
 +
  ?human ?instanceOf ?humanClass.
 +
}
 +
</pre>
 +
-[[User:Bayugoon|Bayugoon]] ([[User talk:Bayugoon|talk]]) 18:27, 26 September 2022 (UTC)

Latest revision as of 14:34, 27 September 2022

Trusted user group

Hi Addshore,

At the last Wikibase Live Session we agreed to put our Wikibases into this registry but we are at least two new users who cannot create a new item: Nothing happens after hitting the Create button. Do we have to be added to the Trusted user group first?

Thanks and kind regards, Johentsch

Done! Addshore (talk) 19:01, 25 September 2020 (UTC)

Hi

Hi Addshore,

Just noticed that you started this, so maybe I should have left the note here instead of User talk:Daniel Mietchen.

What do you think of it? A (talk) 16:19, 23 September 2018 (UTC)

Trusted user group - Luca Mauri

Dear Addshore, since the email is not working on this site, is there any way you can reset the password for my user "lucamauri"? I'd like to add my own WikiBase instance to Registry, can you please add my user to the "trusted" group, so I can create the item? If there is not way to recever "lucamauri", I created this new user. Thanks! --Lucamauricom (talk) 22:20, 1 November 2020 (UTC)

Done! Addshore (talk) 12:04, 7 November 2020 (UTC)

Properties for linking to Exact Match Property URI and Equivalent Property Property URI

I think this project is really cool! One thing that I think that could be added that could help with querying wikibases in a structured way that doesn't require learning the ontology of each wikibase is to have two properties linking to the Exact Match Property URI and Equivalent Property Property URI. This can make it so people can query the wikibase with a popular well understood ontology such as wikidata.

first query on the wikibase registry end point:

PREFIX wrt: <https:wikibase-registry.wmflabs.org/prop/direct/>
SELECT ?sparqlEndPoint ?exactMatch ?equivalentProperty {
  <wikibase-URI> wrt:P4 ?sparqlEndPoint.
  <wikibase-URI> wrt:PX ?exactMatch. #exact match property URI of <wikibase-URI>.
  <wikibase-URI> wrt:PY ?equivalentProperty. #equivalent property property URI of <wikibase-URI>.
}

second query on the selected wikibase's end point:

SELECT ?human {
  ?humanClass [?exactMatch] <http://www.wikidata.org/entity/Q5>.
  ?instanceOfEntity [?equivalentProperty] <http://www.wikidata.org/prop/direct/P31>.
  ?instanceOfEntity wikibase:directClaim ?instanceOf. #cconvert entity representation to prop/direct
  ?human ?instanceOf ?humanClass.
}

-Bayugoon (talk) 18:27, 26 September 2022 (UTC)