Changes
Jump to navigation
Jump to search
← Older edit
Project:Ecosystem/Facebook/Visualizations
(view source)
Revision as of 23:37, 26 January 2020
927 bytes added
,
4 years ago
no edit summary
Line 1:
Line 1:
+
{{SPARQL|label= Mickey Mouse's social network
+
|state={{{state}}}
+
|query=
+
#defaultView:Graph
+
SELECT ?node ?nodeLabel ?nodeImage ?childNode ?childNodeLabel ?childNodeImage ?rgb WHERE {
+
{
+
BIND(pdio:Q308 AS ?node)
+
?node ?p ?i.
+
OPTIONAL { ?node pdiot:P47 ?nodeImage. }
+
?childNode ?x ?p.
+
?childNode rdf:type wikibase:Property.
+
FILTER(STRSTARTS(STR(?i), "https://wiki.personaldata.io/entity/Q"))
+
FILTER(STRSTARTS(STR(?childNode), "https://wiki.personaldata.io/entity/P"))
+
}
+
UNION
+
{
+
BIND("EFFBD8" AS ?rgb)
+
pdio:Q308 ?p ?childNode.
+
OPTIONAL { ?childNode pdiot:P47 ?childNodeImage. }
+
?node ?x ?p.
+
?node rdf:type wikibase:Property.
+
FILTER(STRSTARTS(STR(?childNode), "https://wiki.personaldata.io/entity/Q"))
+
}
+
OPTIONAL {
+
?node pdiot:P47 ?nodeImage.
+
?childNode pdiot:P47 ?childNodeImage.
+
}
+
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
+
}
+
}}
+
{{SPARQL|label=simple view of FB|state={{{state}}}|query={{SPARQLTableQuery|table=Q383}}}}
{{SPARQL|label=simple view of FB|state={{{state}}}|query={{SPARQLTableQuery|table=Q383}}}}
{{SPARQL|label=extended view of FB
{{SPARQL|label=extended view of FB
Podehaye
Bureaucrats
, editors,
Interface administrators
,
Ninjas
, nuke,
Administrators
,
Widget editors
15,627
edits
Navigation menu
Personal tools
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