Changes
Jump to navigation
Jump to search
← Older edit
Project:MakingSense
(view source)
Revision as of 01:38, 11 February 2020
724 bytes removed
,
4 years ago
→defining properties for a type
Line 99:
Line 99:
== linking to wikidata ==
== linking to wikidata ==
−
−
== defining properties for a type ==
−
−
{{SPARQL|query=
−
SELECT ?class ?classLabel ?wikidataQid ?property ?propertyLabel ?wikidataPid WHERE {
−
?class pdiot:P291 ?property.
−
OPTIONAL {?class pdiot:P103 ?wikidataQid}
−
OPTIONAL {?property pdiot:P104 ?wikidataPid}
−
SERVICE wikibase:label {
−
bd:serviceParam wikibase:language "en" .
−
}
−
}
−
ORDER BY ASC(?classLabel)
−
LIMIT 100
−
|label=expected properties
−
}}
−
−
{{SPARQL|query=
−
#defaultView:Graph
−
SELECT ?class ?classLabel ?rgb ?property ?propertyLabel WHERE {
−
?class pdiot:P291 ?property.
−
BIND ("111177" AS ?rgb)
−
SERVICE wikibase:label {
−
bd:serviceParam wikibase:language "en" .
−
}
−
}
−
ORDER BY ASC(?classLabel)
−
LIMIT 100
−
|label=graph of expected properties
−
}}
Podehaye
Bureaucrats
, editors,
Interface administrators
,
Ninjas
, nuke,
Administrators
,
Widget editors
15,627
edits
Navigation menu
Personal tools
English
Log in
Request account
Namespaces
Project page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
New Item
New Property
All items
All properties
All pages
Active Users
SAR service dev
Query Service
Maintenance
Administrator
Tools
Special pages
Printable version
Interaction
Community portal
WebXray
Recent changes
Contact Page
Telegram
Discourse forum
MyData Slack