query-828fc1eb684c4239e8f8fc0d4f9ff79f
Metrical feet SELECT ?item ?itemLabel ?metricalPattern (GROUP_CONCAT(DISTINCT ?instanceLabel; separator=", ") as ?i) WHERE { ?item wdt:P31/wdt:P279* wd:Q1651051 . ?item wdt:P31 ?instance . ?item wdt:P2552 ?metricalPattern . SERVICE wikibase:label { bd:serviceParam wikibase:language "it" . ?instance rdfs:label ?instanceLabel . ?item rdfs:label ?itemLabel } } GROUP BY ?item ?itemLabel ?metricalPattern
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Metrical feet
SELECT
?item ?itemLabel ?metricalPattern
(GROUP_CONCAT(DISTINCT ?instanceLabel; separator=", ") as ?i)
WHERE {
?item wdt:P31/wdt:P279* wd:Q1651051 .
?item wdt:P31 ?instance .
?item wdt:P2552 ?metricalPattern .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it" . ?instance rdfs:label ?instanceLabel . ?item rdfs:label ?itemLabel }
} GROUP BY ?item ?itemLabel ?metricalPattern
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?i")
v2("?instance")
v4("?instanceLabel"):::projected
v1("?item"):::projected
v5("?itemLabel"):::projected
v3("?metricalPattern"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c8(["it"]):::literal
c3(["wd:Q1651051"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P31"--> v2
v1 --"wdt:P2552"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
v2 --"rdfs:label"--> v4
v1 --"rdfs:label"--> v5
end
bind1[/"?instanceLabel"/]
v4 --o bind1
bind1 --as--o v6