Add bi-7 query
+PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
+PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
+PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
+PREFIX sn: <http://www.ldbc.eu/ldbc_socialnet/1.0/data/>
+PREFIX snvoc: <http://www.ldbc.eu/ldbc_socialnet/1.0/vocabulary/>
+PREFIX sntag: <http://www.ldbc.eu/ldbc_socialnet/1.0/tag/>
+PREFIX foaf: <http://xmlns.com/foaf/0.1/>
+PREFIX dbpedia: <http://dbpedia.org/resource/>
+PREFIX dbpedia-owl: <http://dbpedia.org/ontology/>
+
+SELECT ?person1 (SUM(?popularityScore) as ?authorityScore)
+WHERE
+{
+ BIND ("Carl_Gustaf_Emil_Mannerheim" as ?tagName)
+ VALUES (?type) {(snvoc:Comment) (snvoc:Post)}
+ {
+ SELECT ?person2 (COUNT(?like2) as ?popularityScore)
+ WHERE
+ {
+ VALUES (?type) {(snvoc:Comment) (snvoc:Post)}
+ ?person2 snvoc:likes ?like1 .
+ ?message3 a ?type .
+ ?message3 snvoc:hasCreator ?person2 .
+ ?person3 snvoc:likes ?like2 .
+ {
+ { ?like2 snvoc:hasPost ?message3 }
+ UNION
+ { ?like2 snvoc:hasComment ?message3 }
+ }
+ }
+ GROUP BY ?person2
+ ORDER BY ?person2 ?like2
+ } .
+ ?message2 a ?type .
+ ?message2 snvoc:hasTag/foaf:name ?tagName .
+ ?person2 snvoc:likes ?like1 .
+ {
+ { ?like1 snvoc:hasPost ?message2 }
+ UNION
+ { ?like1 snvoc:hasComment ?message2 }
+ } .
+ ?message2 snvoc:hasCreator ?person1 .
+
+}
+GROUP BY ?person1
+ORDER BY DESC(?authorityScore) ?person1
+LIMIT 100
+
