How many {carries} are to/by {road} ?
Which is the number of the carry things by road?
How many carry things by road?
SELECT ( COUNT ( ?n ) AS ?e ) { ?n property:carries resource:road }
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/P2505> .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> http://wikidata.dbpedia.org/resource/Q34442 .
} 

SELECT (COUNT(?sub) AS ?value ) { ?sub wdt:P2505 wd:Q34442 }
137