4 Jan 2024 |
| bitnapper joined the room. | 20:11:42 |
5 Jan 2024 |
camilledelattre | 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 |
| Matthias Meschede joined the room. | 09:52:30 |
Matthias 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 | the statement with Q899523 has preferred rank. | 09:58:36 |
camelCaseNick | That would mean it is the only currently correct and/or most precise value. | 09:59:35 |
camelCaseNick | It should have normal rank. | 10:00:16 |
Matthias Meschede | I 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 | What do you mean by "override"? | 10:01:37 |
camelCaseNick | You could write a query for statements regardless of rank, or for statements with normal or preferred rank and not deprecated rank. | 10:03:23 |
Matthias Meschede | probably querying for statements with normal and preferred. | 10:04:56 |
Matthias Meschede | * probably I want to query for statements with normal and preferred. | 10:05:08 |
Matthias Meschede | * probably I want to query for statements with normal and preferred rank. | 10:05:12 |
Matthias 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 | wd:Q28865 p:P31 ?statement.
?statement ps:P31 ?class.
minus { ?statement wikibase:rank wikibase:DeprecatedRank. }
| 10:07:36 |
camelCaseNick | 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 | 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 |
Matthias Meschede | Very nice those snippets are what I need. Thanks for your help camelCaseNick . | 10:11:22 |
19 Jan 2024 |
Matthias Meschede | 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? | 11:10:21 |
Matthias Meschede | Concretely, 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 | 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 | 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 | 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 joined the room. | 13:52:45 |
@eastbound_ack:matrix.org | Hello 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 | 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 | 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 | 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 | Klampfradler πΈπ΄π» | Probably need to try harder | 22:44:06 |
camelCaseNick | 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 |