query-0d3a564351e67b0cccd26d9f89e10e82

rq turtle/ttl

Customizable values ]reply[17:35, 7 November 2022 (UTC)) talk (TradeConsidering that many open world games allows you to customize the sex, hair/eye color, ethnicity and etc. of player characters how do we indicate this? And how do we differentiate these values from the default appearance? ]reply[09:25, 9 November 2022 (UTC)) talk (Fantastoria-- .(Q281782)default value ==> (P7452)reason for preferred rank If preferred rank is used, the qualifier could be does not have the sense of customizable. Perhaps we need a new item to give the meaning that is sought.(Q59864995)optional I agree with Valentina.Anitnelav, although it seems that : That is why I said I was not sure!Trade@ ]reply[18:03, 8 November 2022 (UTC)) talk (Trade:--FantastoriaTalking about video games with customizable player characters, not modding. @ ]reply[09:58, 8 November 2022 (UTC)) talk (Valentina.Anitnelav. Maybe one could give the default appearance a preferred rank. - (Q59864995)optional ==> (P5102)nature of statement . For optional values one could use (P3831)object of statement has role as a qualifier value. As qualifier property one could also use (Q281782)default value Hi Trade, hi Fantastoria, I like using ]reply[09:28, 8 November 2022 (UTC)) talk (Fantastoria too, although I am not sure if it is what you are looking for. --(Q1087043)modding . We have (Q281782)default value ==> (P518)applies to part, aspect, or form . Perhaps it could be used as a qualifier. For instance: (Q281782)default value There is :TradeHi, @ ]reply[13:51, 9 November 2022 (UTC)) talk (Trade does not show up in queries looking for female video game characters. --(Q114962186)The Last Dragonborn The problem is that characters like (or any subclass thereof) as their best value) you should replace wdt:P31 by p:P31/ps:P31 (this finds all statements).(Q1569167)video game character (P31)instance of To find all characters that are video game characters (also those, that don't have a preferred rank(Q1569167)video game character character or 2) give also the statement that it is a (Q112597485)Nords to the (Q1569167)video game character (P279)subclass of You could 1) add the statement . Other statements (e.g. that it is a game character) are omitted.(Q112597485)Nords is missing the statement that it is (possibly) female. With "normal" queries you only find the best ("truthy") statements - in this case that it is a (Q114962186)The Last Dragonborn example query:

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
    #does only find one character
    #?item wdt:P31 wd:Q112597485; wdt:P31 wd:Q1569167

    #finds all (two) characters, including the Last Dragonborn
    #?item wdt:P31 wd:Q112597485; p:P31/ps:P31 wd:Q1569167

    #finds all characteres, excludes those with a deprecated rank
    ?item wdt:P31 wd:Q112597485; p:P31 ?st. ?st ps:P31 wd:Q1569167.
    MINUS{?st wikibase:rank wikibase:DeprecatedRank}
    SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
    }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?st") c9(["bd:serviceParam"]):::iri c7(["wikibase:DeprecatedRank"]):::iri c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q1569167"]):::iri c2(["wd:Q112597485"]):::iri v1 --"p:direct/P31"--> c2 v1 --"p:P31"--> v2 v2 --"p:statement/P31"--> c5 subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v2 --"wikibase:rank"--> c7 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end