!rpUhFPSnPHOByVYBei:matrix.org

Wikidata

132 Members
https://wikidata.org | FAQ: https://w.wiki/Pry | Test system: https://w.wiki/3MjS | Revdelete: #wikidata-revdel | Use !admin@wikidata to get the attention of an admin (block, delete, protect) | For notification bots join #wikidata-feed | Channel logs: https://wm-bot.wmcloud.org/logs/%23wikidata/ | Bridged to #wikidata on Libera.chat18 Servers

Load older messages


SenderMessageTime
4 Jan 2024
@thorsten:alge.xyzbitnapper joined the room.20:11:42
5 Jan 2024
@camilledelattre:matrix.orgcamilledelattre
In reply to @tomodachi94:matrix.org
In general, you have the bot make a small amount of edits to make sure it functions properly. Usually this is done around the time you file the RFP
Thank you very much for your advice !
00:02:40
17 Jan 2024
@matto153:matrix.orgMatthias Meschede joined the room.09:52:30
@matto153:matrix.orgMatthias Meschede

Hi all, does anyone know why I only get a single class for the Python entry (https://www.wikidata.org/wiki/Q28865) although many more are listed on the page under "instanceOf" when querying for them with sparql?

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>

SELECT ?class ?classLabel WHERE {
  wd:Q28865 wdt:P31 | wdt:P279 ?class.
  SERVICE wikibase:label {
        bd:serviceParam wikibase:language "en" .
    }
}

https://query.wikidata.org/#PREFIX%20wdt%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fprop%2Fdirect%2F%3E%0APREFIX%20wd%3A%20%3Chttp%3A%2F%2Fwww.wikidata.org%2Fentity%2F%3E%0A%0ASELECT%20%3Fclass%20%3FclassLabel%20WHERE%20%7B%0A%20%20wd%3AQ28865%20wdt%3AP31%20%7C%20wdt%3AP279%20%3Fclass.%0A%20%20SERVICE%20wikibase%3Alabel%20%7B%0A%20%20%20%20%20%20%20%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22%20.%0A%20%20%20%20%7D%0A%7D

If I search for some other language, e.g. Java or Haskell I get everything listed.

09:56:27
@camelcasenick:matrix.orgcamelCaseNickthe statement with Q899523 has preferred rank.09:58:36
@camelcasenick:matrix.orgcamelCaseNickThat would mean it is the only currently correct and/or most precise value.09:59:35
@camelcasenick:matrix.orgcamelCaseNickIt should have normal rank.10:00:16
@matto153:matrix.orgMatthias MeschedeI see. Is it possible to override that behavior in the query as well? I don't have rights to edit that page.10:01:09
@camelcasenick:matrix.orgcamelCaseNickWhat do you mean by "override"?10:01:37
@camelcasenick:matrix.orgcamelCaseNickYou could write a query for statements regardless of rank, or for statements with normal or preferred rank and not deprecated rank.10:03:23
@matto153:matrix.orgMatthias Meschedeprobably querying for statements with normal and preferred.10:04:56
@matto153:matrix.orgMatthias Meschede * probably I want to query for statements with normal and preferred.10:05:08
@matto153:matrix.orgMatthias Meschede * probably I want to query for statements with normal and preferred rank.10:05:12
@matto153:matrix.orgMatthias Meschede(but I am not completely sure since I'm new to wikidata and don't know what data lands in deprecated)10:05:56
@camelcasenick:matrix.orgcamelCaseNick
  wd:Q28865 p:P31 ?statement.
  ?statement ps:P31 ?class.
  minus { ?statement wikibase:rank wikibase:DeprecatedRank. }
10:07:36
@camelcasenick:matrix.orgcamelCaseNick
In reply to@camelcasenick:matrix.org
  wd:Q28865 p:P31 ?statement.
  ?statement ps:P31 ?class.
  minus { ?statement wikibase:rank wikibase:DeprecatedRank. }
That takes every statement for P31 and it's values as class and removes every statement with deprecated rank.
10:08:41
@camelcasenick:matrix.orgcamelCaseNick
In reply to@matto153:matrix.org
(but I am not completely sure since I'm new to wikidata and don't know what data lands in deprecated)
deprecated is for incorrect statements, statements that never were true, but where you find references for it
10:10:13
@matto153:matrix.orgMatthias Meschede Very nice those snippets are what I need. Thanks for your help camelCaseNick . 10:11:22
19 Jan 2024
@matto153:matrix.orgMatthias MeschedeDoes wikidata have a strategy for organizing classes? E.g. just free to edit it in any way allowing for a large variety of different perspectives on the same thing? Trying to slowly structure it via individual contributions? Should these classes be necessarily mapped to some other taxonomy/ontology or does wikidata want to take it's own standpoint on how to categorize things? Any place to read about this?11:10:21
@matto153:matrix.orgMatthias MeschedeConcretely, I'm interested in lots of aspect around software and would love structuring the classes I saw in that domain a bit more but it necessarily requires making some decisions that could also be done differently and I'm not sure how that is handled.11:11:55
26 Jan 2024
@wkee4ager:matrix.orgwkee4ager
In reply to @matto153:matrix.org
Does wikidata have a strategy for organizing classes? E.g. just free to edit it in any way allowing for a large variety of different perspectives on the same thing? Trying to slowly structure it via individual contributions? Should these classes be necessarily mapped to some other taxonomy/ontology or does wikidata want to take it's own standpoint on how to categorize things? Any place to read about this?
I'm not an expert, but I thin Wikidata:WikiProject Ontology is working on it.
07:00:20
@wkee4ager:matrix.orgwkee4ager
In reply to @matto153:matrix.org
Does wikidata have a strategy for organizing classes? E.g. just free to edit it in any way allowing for a large variety of different perspectives on the same thing? Trying to slowly structure it via individual contributions? Should these classes be necessarily mapped to some other taxonomy/ontology or does wikidata want to take it's own standpoint on how to categorize things? Any place to read about this?
* I'm not an expert, but I think Wikidata:WikiProject Ontology is working on it.
07:02:32
14 Feb 2024
@nik:matrix.teckids.orgNik | Klampfradler 🎸🚴🏻Does anyone know of a (web-based) software that can make a visual graph of the results of a SPARQL query, in the style of a mindmap? I find references to an ancient and apparently closed-source "InfoRapid KNowledge Builder", but that seems either discontinued, or I just don't find it.11:43:14
@eastbound_ack:matrix.org@eastbound_ack:matrix.org joined the room.13:52:45
@eastbound_ack:matrix.org@eastbound_ack:matrix.orgHello world! Here's a question, I hope somebody can help. The notability criteria (https://www.wikidata.org/wiki/Wikidata:Notability/en) list "It fulfills a structural need". We use Wikidata to map some controlled vocabularies of our digital longterm archive. Is there a property like "is used as part of the classification system of" -> "archive XYZ"13:57:13
@vprakash:matrix.orgvprakash
In reply to@nik:matrix.teckids.org
Does anyone know of a (web-based) software that can make a visual graph of the results of a SPARQL query, in the style of a mindmap? I find references to an ancient and apparently closed-source "InfoRapid KNowledge Builder", but that seems either discontinued, or I just don't find it.
Have you looked at https://www.wikidata.org/wiki/Wikidata:Tools/Visualize_data ?
22:15:09
@camelcasenick:matrix.orgcamelCaseNick
In reply to@nik:matrix.teckids.org
Does anyone know of a (web-based) software that can make a visual graph of the results of a SPARQL query, in the style of a mindmap? I find references to an ancient and apparently closed-source "InfoRapid KNowledge Builder", but that seems either discontinued, or I just don't find it.
Do you know of [[wd:WDQS/Result views#Graph]]?
22:37:43
@nik:matrix.teckids.orgNik | Klampfradler 🎸🚴🏻
In reply to @camelcasenick:matrix.org
Do you know of [[wd:WDQS/Result views#Graph]]?
Yeah, but I'm somewhat uncertain how to use it for what I want to achieve
22:44:03
@nik:matrix.teckids.orgNik | Klampfradler 🎸🚴🏻Probably need to try harder22:44:06
@camelcasenick:matrix.orgcamelCaseNick
In reply to@nik:matrix.teckids.org
Yeah, but I'm somewhat uncertain how to use it for what I want to achieve
It is possible. You could for example:

#defaultView:Graph
select ?s ?sLabel ?o ?oLabel (?oLabel as ?edgeLabel) where {
  ?s ?p ?o.
  ?s wdt:P106 wd:Q19546.
  bind(wdt:P40 as ?p)
  service wikibase:label { bd:serviceParam wikibase:language "en". }
}

popes and their children …
23:00:53

Show newer messages


Back to Room ListRoom Version: 9