How many {permanent duplicated item} are to/by {July} ?
What is the number of permanently duplicate items are associated with july?
How many permanently duplicated items are associated with July?
SELECT ( COUNT ( ?a ) AS ?r ) { ?a property:permanent_duplicated_item resource:July }
SELECT (COUNT(?sub) AS ?subs ) {
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sub .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2959> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q121 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2959 wd:Q121 }
0