Simple Question (Direct)
Simple Question
Q15810592
P937
Q56061
USER
What is the work location of Friedrich Fritz ?
(Q15810592,P937,c(Q56061))
action filter_type
action find
entity Q15810592
relation P937
type Q56061
['Q15810592', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q15810592 property:P937 ?g }
Friedrich Fritz
action filter_type
action find
entity Friedrich Fritz
relation work location
type administrative territorial entity
['Friedrich Fritz', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Friedrich_Fritz property:work_location ?g }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q15810592,P937,c(Q56061))
action filter_type
action find
entity Q15810592
relation P937
type Q56061
The work location of Friedrich Fritz is in [ANSWER]
['Q15810592', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . resource:Q15810592 property:P937 ?g }
Bonn
The work location of Friedrich Fritz is in Bonn
Bonn
action filter_type
action find
entity Friedrich Fritz
relation work location
type administrative territorial entity
['Friedrich Fritz', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . resource:Friedrich_Fritz property:work_location ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15810592
P21
Q290
USER
Which sex does Friedrich Fritz have ?
(Q15810592,P21,c(Q290))
action filter_type
action find
entity Q15810592
relation P21
type Q290
['Q15810592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15810592 property:P21 ?o . ?o rdf:type ontology:Q290 }
Friedrich Fritz
action filter_type
action find
entity Friedrich Fritz
relation gender
type sex
['Friedrich Fritz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Friedrich_Fritz property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q15810592,P21,c(Q290))
action filter_type
action find
entity Q15810592
relation P21
type Q290
Friedrich Fritz has a [ANSWER]
['Q15810592', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q15810592 property:P21 ?o . ?o rdf:type ontology:Q290 }
male
Friedrich Fritz has a male
male
action filter_type
action find
entity Friedrich Fritz
relation gender
type sex
['Friedrich Fritz', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Friedrich_Fritz property:gender ?o . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q586
P740
Q334453
USER
What is the division that was formed at Bonn ?
(c(Q334453),P740,Q586)
action filter_type
action find_reverse
entity Q586
relation P740
type Q334453
[{'concept': 'Q334453'}, 'P740', 'Q586']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q586 . ?o rdf:type ontology:Q334453 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation location of formation
type division
[{'concept': 'division'}, 'location of formation', 'Bonn']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Bonn . ?o rdf:type ontology:division }
[]
division
Q21036405
SYSTEM
Alles oder Nix Records
Q21036405
(c(Q334453),P740,Q586)
action filter_type
action find_reverse
entity Q586
relation P740
type Q334453
The division that was formed at Bonn is now [ANSWER]
[{'concept': 'Q334453'}, 'P740', 'Q586']
SELECT DISTINCT ?o WHERE { ?o property:P740 resource:Q586 . ?o rdf:type ontology:Q334453 }
Alles oder Nix Records
The division that was formed at Bonn is now Alles oder Nix Records
Alles oder Nix Records
action filter_type
action find_reverse
entity Bonn
relation location of formation
type division
[{'concept': 'division'}, 'location of formation', 'Bonn']
SELECT DISTINCT ?o WHERE { ?o property:location_of_formation resource:Bonn . ?o rdf:type ontology:division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q586
P190
Q56061
USER
Which administrative territories are the sister cities of that one ?
(Q21036405,P190,c(Q56061))
action filter_type
action find
entity Q586
relation P190
type Q56061
['Q21036405', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q586 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Bonn
action filter_type
action find
entity Bonn
relation sister city
type administrative territorial entity
['Alles oder Nix Records', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bonn property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2280 Q33935 Q1491
SYSTEM
Minsk, Tel Aviv, La Paz
Q33935 Q2280 Q1491 Q525100 Q5764 Q10686
(Q21036405,P190,c(Q56061))
action filter_type
action find
entity Q586
relation P190
type Q56061
[ANSWERS] are the sister cities of that one
['Q21036405', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q586 property:P190 ?k . ?k rdf:type ontology:Q56061 }
Tel Aviv Minsk La Paz Budafok Bukhara Belfast
Minsk, Tel Aviv and La Paz are the sister cities of that one
Minsk Tel Aviv La Paz
action filter_type
action find
entity Bonn
relation sister city
type administrative territorial entity
['Alles oder Nix Records', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Bonn property:sister_city ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1491
P159
Q7210356
USER
Which political organizations have the principal seat at that administrative territory ?
(c(Q7210356),P159,Q1491)
action filter_type
action find_reverse
entity Q1491
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q1491']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q1491 }
La Paz
action filter_type
action find_reverse
entity La Paz
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'La Paz']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:La_Paz }
[]
political organization
Clarification for simple ques.
Q2280
SYSTEM
Did you mean Minsk ?
Q2280 Q33935 Q1491
(c(Q7210356),P159,Q2280) (c(Q7210356),P159,Q33935) (c(Q7210356),P159,Q1491)
[ANSWER]
[{'concept': 'Q7210356'}, 'P159', 'Q2280'] [{'concept': 'Q7210356'}, 'P159', 'Q33935'] [{'concept': 'Q7210356'}, 'P159', 'Q1491']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q1491 }
Minsk Tel Aviv La Paz
Did you mean Minsk ?
Minsk
[{'concept': 'political organization'}, 'headquarters location', 'Minsk'] [{'concept': 'political organization'}, 'headquarters location', 'Tel Aviv'] [{'concept': 'political organization'}, 'headquarters location', 'La Paz']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:La_Paz }
[]
Simple Question (Coreferenced)
USER
No, I meant La Paz. Could you tell me the answer for that?
(c(Q7210356),P159,Q1491)
Q1491
[{'concept': 'Q7210356'}, 'P159', 'Q1491']
[{'concept': 'political organization'}, 'headquarters location', 'La Paz']
[]
Q1296335 Q1450907 Q1670332
SYSTEM
Without Fear Movement, Bolivian Socialist Falange, Communist Party of Bolivia
Q202609 Q488787 Q7551626 Q7200906 Q1296335 Q1450907 Q1670332 Q2605787 Q1951202 Q1536051 Q7011171
(c(Q7210356),P159,Q1491)
action filter_type
action find_reverse
entity Q1491
relation P159
type Q7210356
[ANSWERS] have the principal seat at that administrative territory
[{'concept': 'Q7210356'}, 'P159', 'Q1491']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q7210356 . ?s property:P159 resource:Q1491 }
National Unity Front Social and Democratic Power Socialist Party-1 Plan Progress for Bolivia – National Convergence Without Fear Movement Bolivian Socialist Falange Communist Party of Bolivia Christian Democratic Party Revolutionary Left Movement Revolutionary Nationalist Movement New Republican Force
Without Fear Movement, Bolivian Socialist Falange and Communist Party of Bolivia have the principal seat at that administrative territory
Without Fear Movement Bolivian Socialist Falange Communist Party of Bolivia
action filter_type
action find_reverse
entity La Paz
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'La Paz']
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_organization . ?s property:headquarters_location resource:La_Paz }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2280
P112
Q95074
USER
Who was the founder of Minsk ?
(Q2280,P112,c(Q95074))
action filter_type
action find
entity Q2280
relation P112
type Q95074
['Q2280', 'P112', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q95074 . resource:Q2280 property:P112 ?b }
Minsk
action filter_type
action find
entity Minsk
relation founder
type fictional character
['Minsk', 'founder', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:fictional_character . resource:Minsk property:founder ?b }
[]
fictional character
Q4290469
SYSTEM
Menesk
Q4290469
(Q2280,P112,c(Q95074))
action filter_type
action find
entity Q2280
relation P112
type Q95074
The founder of Minsk was Alexander [ANSWER]
['Q2280', 'P112', {'concept': 'Q95074'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q95074 . resource:Q2280 property:P112 ?b }
Menesk
The founder of Minsk was Alexander Menesk
Menesk
action filter_type
action find
entity Minsk
relation founder
type fictional character
['Minsk', 'founder', {'concept': 'fictional character'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:fictional_character . resource:Minsk property:founder ?b }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q4290469 Q878062 Q210677
P361
Q49447
USER
Is that fictional character a component of Hindu mythology and Chinese mythology ?
(Q4290469,P361,Q878062) (Q4290469,P361,Q210677)
action is_in
entity Q4290469
action intersection
action find_reverse
entity Q878062
relation P361
action find_reverse
entity Q210677
relation P361
['Q4290469', 'P361', 'Q878062'] ['Q4290469', 'P361', 'Q210677']
ASK WHERE { resource:Q4290469 property:P361 resource:Q878062 . resource:Q4290469 property:P361 resource:Q210677 }
Menesk Hindu mythology Chinese mythology
action is_in
entity Menesk
action intersection
action find_reverse
entity Hindu mythology
relation part of
action find_reverse
entity Chinese mythology
relation part of
['Menesk', 'part of', 'Hindu mythology'] ['Menesk', 'part of', 'Chinese mythology']
ASK WHERE { resource:Menesk property:part_of resource:Hindu_mythology . resource:Menesk property:part_of resource:Chinese_mythology }
[]
world view
SYSTEM
NO
(Q4290469,P361,Q878062) (Q4290469,P361,Q210677)
action is_in
entity Q4290469
action intersection
action find_reverse
entity Q878062
relation P361
action find_reverse
entity Q210677
relation P361
[ANSWER]
['Q4290469', 'P361', 'Q878062'] ['Q4290469', 'P361', 'Q210677']
ASK WHERE { resource:Q4290469 property:P361 resource:Q878062 . resource:Q4290469 property:P361 resource:Q210677 }
No
action is_in
entity Menesk
action intersection
action find_reverse
entity Hindu mythology
relation part of
action find_reverse
entity Chinese mythology
relation part of
['Menesk', 'part of', 'Hindu mythology'] ['Menesk', 'part of', 'Chinese mythology']
ASK WHERE { resource:Menesk property:part_of resource:Hindu_mythology . resource:Menesk property:part_of resource:Chinese_mythology }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1491 Q61 Q1520045
P190
Q56061
USER
Is La Paz sister town of Washington, D.C. and Heath and Reach ?
(Q1491,P190,Q61) (Q1491,P190,Q1520045)
action is_in
entity Q1491
action intersection
action find_reverse
entity Q61
relation P190
action find_reverse
entity Q1520045
relation P190
['Q1491', 'P190', 'Q61'] ['Q1491', 'P190', 'Q1520045']
ASK WHERE { resource:Q1491 property:P190 resource:Q61 . resource:Q1491 property:P190 resource:Q1520045 }
La Paz Washington, D.C. Heath and Reach
action is_in
entity La Paz
action intersection
action find_reverse
entity Washington, D.C.
relation sister city
action find_reverse
entity Heath and Reach
relation sister city
['La Paz', 'sister city', 'Washington, D.C.'] ['La Paz', 'sister city', 'Heath and Reach']
ASK WHERE { resource:La_Paz property:sister_city resource:Washington,_D.C. . resource:La_Paz property:sister_city resource:Heath_and_Reach }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q1491,P190,Q61) (Q1491,P190,Q1520045)
action is_in
entity Q1491
action intersection
action find_reverse
entity Q61
relation P190
action find_reverse
entity Q1520045
relation P190
[ANSWER]
['Q1491', 'P190', 'Q61'] ['Q1491', 'P190', 'Q1520045']
ASK WHERE { resource:Q1491 property:P190 resource:Q61 . resource:Q1491 property:P190 resource:Q1520045 }
YES and NO respectively
action is_in
entity La Paz
action intersection
action find_reverse
entity Washington, D.C.
relation sister city
action find_reverse
entity Heath and Reach
relation sister city
['La Paz', 'sister city', 'Washington, D.C.'] ['La Paz', 'sister city', 'Heath and Reach']
ASK WHERE { resource:La_Paz property:sister_city resource:Washington,_D.C. . resource:La_Paz property:sister_city resource:Heath_and_Reach }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1310876
P180
Q56061 Q838948 Q340169
USER
Which administrative territories are depicted in greater number of works of art and medias than Hokksund ?
(c(Q838948)|c(Q340169),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1310876
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?o rdf:type ?s } GROUP BY ?p } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P180 resource:Q1310876 . { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } } } }
Hokksund
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Hokksund
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:media ) } . ?o rdf:type ?s } GROUP BY ?p } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:depicts resource:Hokksund . { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } } } }
[]
administrative territorial entity work of art media
Q90 Q220 Q641
SYSTEM
Paris, Rome, Venice
Q1198413 Q515 Q272777 Q1563 Q372324 Q1479 Q220 Q340 Q617 Q165887 Q34404 Q641 Q5788 Q580 Q90
(c(Q838948)|c(Q340169),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1310876
relation P180
type Q838948
type Q340169
[ANSWERS] are depicted in greater number of works of art and medias than Hokksund
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q340169 ) } . ?o rdf:type ?s } GROUP BY ?p } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:P180 resource:Q1310876 . { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } } } }
military camp city Hadrian's Villa Havana Dawson City Bordeaux Rome Montreal Padua Emmaus New Orleans Venice Petra Łódź Paris
Paris, Rome and Venice are depicted in greater number of works of art and medias than Hokksund
Paris Rome Venice
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Hokksund
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?o ) AS ?r ) WHERE { VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:media ) } . ?o rdf:type ?s } GROUP BY ?p } . FILTER ( ?r > ?c ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { ?a property:depicts resource:Hokksund . { ?a rdf:type ?q . VALUES ( ?q ) { ( ontology:media ) ( ontology:work_of_art ) } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q2316216
P180
Q56061 Q838948 Q340169
USER
And how about Chirk?
(c(Q838948)|c(Q340169),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2316216
relation P180
type Q838948
type Q340169
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?j WHERE { { ?g property:P180 ?j . ?j rdf:type ontology:Q56061 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P180 ?j . ?g rdf:type ontology:Q340169 . ?j rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P180 resource:Q2316216 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q340169 } } } } }
Chirk
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Chirk
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?j WHERE { { ?g property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:work_of_art } UNION { ?g property:depicts ?j . ?g rdf:type ontology:media . ?j rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:depicts resource:Chirk . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:media } } } } }
[]
administrative territorial entity work of art media
Q90 Q220 Q641
SYSTEM
Paris, Rome, Venice
Q1198413 Q515 Q272777 Q1563 Q372324 Q1479 Q220 Q340 Q617 Q165887 Q34404 Q641 Q5788 Q580 Q90
(c(Q838948)|c(Q340169),P180,c(Q56061))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q2316216
relation P180
type Q838948
type Q340169
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?j WHERE { { ?g property:P180 ?j . ?j rdf:type ontology:Q56061 . ?g rdf:type ontology:Q838948 } UNION { ?g property:P180 ?j . ?g rdf:type ontology:Q340169 . ?j rdf:type ontology:Q56061 } } GROUP BY ?j } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:P180 resource:Q2316216 . { { ?i rdf:type ontology:Q838948 } UNION { ?i rdf:type ontology:Q340169 } } } } }
military camp city Hadrian's Villa Havana Dawson City Bordeaux Rome Montreal Padua Emmaus New Orleans Venice Petra Łódź Paris
Paris Rome Venice
action greater
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Chirk
relation depicts
type work of art
type media
[[{'concept': 'work of art'}, {'concept': 'media'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?b ) ?j WHERE { { ?g property:depicts ?j . ?j rdf:type ontology:administrative_territorial_entity . ?g rdf:type ontology:work_of_art } UNION { ?g property:depicts ?j . ?g rdf:type ontology:media . ?j rdf:type ontology:administrative_territorial_entity } } GROUP BY ?j } . FILTER ( ?b > ?f ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { ?i property:depicts resource:Chirk . { { ?i rdf:type ontology:work_of_art } UNION { ?i rdf:type ontology:media } } } } }
[]