| This user reads and edits Wikidata from the command line using wikibase-cli. |
| This user has an advanced understanding of the Pywikibot software library. |
|
E-mail: david@hicks.id.au
I have interests in the following projects:
I look after and run the following bots:
List RFC standards whose titles contain "SMTP", displaying their main subjects
[edit]
The following query uses these:
- Properties: instance of (P31) , title (P1476) , main subject (P921) , RfC ID (P892)
SELECT ?RfC_ID ?Request_for_Comments ?Request_for_CommentsLabel ?main_subject ?main_subjectLabel ?RfC_IDLabel WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?Request_for_Comments wdt:P31 wd:Q212971.
?Request_for_Comments wdt:P1476 ?title.
OPTIONAL { ?Request_for_Comments wdt:P921 ?main_subject. }
OPTIONAL { ?Request_for_Comments wdt:P892 ?RfC_ID. }
FILTER regex(str(?title), "SMTP")
}
ORDER BY ?RfC_ID
Equations used to calculate qualities of investment strategies
[edit]
The following query uses these:
- Properties: instance of (P31) , subclass of (P279) , has characteristic (P1552) , defining formula (P2534)
SELECT ?trading_strategy ?trading_strategyLabel ?classLabel ?quality ?qualityLabel ?equation WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
?trading_strategy wdt:P31*/wdt:P279* wd:Q1574928.
?trading_strategy wdt:P279 ?class.
?trading_strategy wdt:P1552 ?quality.
OPTIONAL { ?quality wdt:P2534 ?equation }.
}