Simple Question (Direct)
Simple Question
Q3843850
P19
Q486972
USER
Which human settlement was Malcolm Smith born in ?
(Q3843850,P19,c(Q486972))
action filter_type
action find
entity Q3843850
relation P19
type Q486972
['Q3843850', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q3843850 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Malcolm Smith
action filter_type
action find
entity Malcolm Smith
relation place of birth
type human settlement
['Malcolm Smith', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Malcolm_Smith property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
human settlement
Q1337818
SYSTEM
Woodland Hills
Q1337818
(Q3843850,P19,c(Q486972))
action filter_type
action find
entity Q3843850
relation P19
type Q486972
Malcolm Smith was born in [ANSWER]
['Q3843850', 'P19', {'concept': 'Q486972'}]
SELECT DISTINCT ?p WHERE { resource:Q3843850 property:P19 ?p . ?p rdf:type ontology:Q486972 }
Woodland Hills
Malcolm Smith was born in Woodland Hills
Woodland Hills
action filter_type
action find
entity Malcolm Smith
relation place of birth
type human settlement
['Malcolm Smith', 'place of birth', {'concept': 'human settlement'}]
SELECT DISTINCT ?p WHERE { resource:Malcolm_Smith property:place_of_birth ?p . ?p rdf:type ontology:human_settlement }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3843850
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q1337818,P106,c(Q12737077))
action filter_type
action find
entity Q3843850
relation P106
type Q12737077
['Q1337818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3843850 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
Malcolm Smith
action filter_type
action find
entity Malcolm Smith
relation occupation
type occupation
['Woodland Hills', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Malcolm_Smith property:occupation ?b . ?b rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q1337818,P106,c(Q12737077))
action filter_type
action find
entity Q3843850
relation P106
type Q12737077
An [ANSWER] has that person as his/her 's career
['Q1337818', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?b WHERE { resource:Q3843850 property:P106 ?b . ?b rdf:type ontology:Q12737077 }
American football player
An American football player has that person as his/her 's career
American football player
action filter_type
action find
entity Malcolm Smith
relation occupation
type occupation
['Woodland Hills', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?b WHERE { resource:Malcolm_Smith property:occupation ?b . ?b rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3843850
P27
Q15617994
USER
How many administrative territories are Malcolm Smith an inhabitant of ?
(Q3843850,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3843850
relation P27
type Q15617994
['Q3843850', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q3843850 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
Malcolm Smith
action count
action filter_type
action find
entity Malcolm Smith
relation country of citizenship
type designation for an administrative territorial entity
['Malcolm Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Malcolm_Smith property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q3843850,P27,c(Q15617994))
action count
action filter_type
action find
entity Q3843850
relation P27
type Q15617994
[ANSWER]
['Q3843850', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Q3843850 property:P27 ?n . ?n rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Malcolm Smith
relation country of citizenship
type designation for an administrative territorial entity
['Malcolm Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?y ) WHERE { resource:Malcolm_Smith property:country_of_citizenship ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q351819
Q15617994
USER
And also tell me about Daniel Majstorović?
(Q351819,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351819
relation P27
type Q15617994
['Q351819', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q351819 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Daniel Majstorović
action count
action filter_type
action find
entity Daniel Majstorović
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Majstorović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Daniel_Majstorović property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q351819,P27,c(Q15617994))
action count
action filter_type
action find
entity Q351819
relation P27
type Q15617994
[ANSWER]
['Q351819', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Q351819 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Daniel Majstorović
relation country of citizenship
type designation for an administrative territorial entity
['Daniel Majstorović', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?f ) WHERE { resource:Daniel_Majstorović property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3106913 Q3843850
P27
Q15617994
USER
Which administrative territories are the native countriesof Malcolm Smith or Giorgio Turin ?
OR((Q3843850,P27,c(Q15617994)), (Q3106913,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3843850
relation P27
action find
entity Q3106913
relation P27
type Q15617994
{'OR': [['Q3843850', 'P27', {'concept': 'Q15617994'}], ['Q3106913', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?r property:P27 ?y . VALUES ( ?r ) { ( resource:Q3843850 ) ( resource:Q3106913 ) } } . ?y rdf:type ontology:Q15617994 }
Giorgio Turin Malcolm Smith
action filter_type
action union
action find
entity Malcolm Smith
relation country of citizenship
action find
entity Giorgio Turin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Malcolm Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giorgio Turin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?r property:country_of_citizenship ?y . VALUES ( ?r ) { ( resource:Malcolm_Smith ) ( resource:Giorgio_Turin ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q38
SYSTEM
United States of America, Italy
Q30 Q38
OR((Q3843850,P27,c(Q15617994)), (Q3106913,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3843850
relation P27
action find
entity Q3106913
relation P27
type Q15617994
[ANSWERS] are the native countriesof Malcolm Smith or Giorgio Turin
{'OR': [['Q3843850', 'P27', {'concept': 'Q15617994'}], ['Q3106913', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?r property:P27 ?y . VALUES ( ?r ) { ( resource:Q3843850 ) ( resource:Q3106913 ) } } . ?y rdf:type ontology:Q15617994 }
United States of America Italy
United States of America and Italy are the native countriesof Malcolm Smith or Giorgio Turin
United States of America Italy
action filter_type
action union
action find
entity Malcolm Smith
relation country of citizenship
action find
entity Giorgio Turin
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Malcolm Smith', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Giorgio Turin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?r property:country_of_citizenship ?y . VALUES ( ?r ) { ( resource:Malcolm_Smith ) ( resource:Giorgio_Turin ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q245068
P921
Q12737077 Q2342494 Q191067
USER
How many occupations were more number of collectables or articles mainly about than comedian ?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q245068
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P921 resource:Q245068 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q191067 } } } } . FILTER ( ?k > ?a ) }
comedian
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity comedian
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:main_subject resource:comedian . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:article } } } } . FILTER ( ?k > ?a ) }
[]
occupation collectable article
SYSTEM
27
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q245068
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:P921 resource:Q245068 . { { ?f rdf:type ontology:Q2342494 } UNION { ?f rdf:type ontology:Q191067 } } } } . FILTER ( ?k > ?a ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
27
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity comedian
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?k ) WHERE { ?r rdf:type ?n . VALUES ( ?n ) { ( ontology:collectable ) ( ontology:article ) } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?a ) WHERE { ?f property:main_subject resource:comedian . { { ?f rdf:type ontology:collectable } UNION { ?f rdf:type ontology:article } } } } . FILTER ( ?k > ?a ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q17143199
P921
Q12737077 Q2342494 Q191067
USER
And how about medical examiner?
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q17143199
relation P921
type Q2342494
type Q191067
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?j rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P921 resource:Q17143199 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } } } . FILTER ( ?n > ?s ) }
medical examiner
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity medical examiner
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:article ) } . ?j rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:main_subject resource:medical_examiner . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } } } . FILTER ( ?n > ?s ) }
[]
occupation collectable article
SYSTEM
27
Q172907 Q39631 Q11631 Q774306 Q83307 Q4610556 Q18145518 Q82955 Q730242 Q42973 Q937857 Q9402 Q43845 Q316070 Q29182 Q510373 Q131524 Q14373094 Q152002 Q18220900 Q16746569 Q16003605 Q732358 Q49757 Q1238570 Q182436 Q2259532
(c(Q2342494)|c(Q191067),P921,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q191067
action count
action filter_multi_types
action find_reverse
entity Q17143199
relation P921
type Q2342494
type Q191067
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q191067'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q191067 ) } . ?j rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:P921 resource:Q17143199 . { { ?z rdf:type ontology:Q2342494 } UNION { ?z rdf:type ontology:Q191067 } } } } . FILTER ( ?n > ?s ) }
praetor physician astronaut surgeon minister model Member of the New Zealand House of Representatives politician test pilot architect association football player ninja businessperson Fletcher Christian bishop Lord High Steward entrepreneur rugby league player pastor Member of the South Australian House of Assembly high school student elementary school student Nomarch poet political scientist librarian cleric
27
action count
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type article
action count
action filter_multi_types
action find_reverse
entity medical examiner
relation main subject
type collectable
type article
[[{'concept': 'collectable'}, {'concept': 'article'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) ?w WHERE { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:article ) } . ?j rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?s ) WHERE { ?z property:main_subject resource:medical_examiner . { { ?z rdf:type ontology:collectable } UNION { ?z rdf:type ontology:article } } } } . FILTER ( ?n > ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1016
P180
Q15617994 Q11060274 Q340169
USER
How many administrative territories are expressed in approximately the same number of prints or medias as Libya ?
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P180
type Q11060274
type Q340169
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?f WHERE { { ?j property:P180 ?f . ?j rdf:type ontology:Q11060274 . ?f rdf:type ontology:Q15617994 } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q340169 } } GROUP BY ?f } . FILTER ( ?p = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P180 resource:Q1016 . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } } } } }
Libya
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Libya
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?f WHERE { { ?j property:depicts ?f . ?j rdf:type ontology:print . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:depicts ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:media } } GROUP BY ?f } . FILTER ( ?p = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:depicts resource:Libya . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:print ) ( ontology:media ) } } } } }
[]
designation for an administrative territorial entity print media
SYSTEM
82
Q3883 Q1256 Q1462 Q241744 Q668 Q142 Q55 Q148 Q128081 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q553347 Q551142 Q652480 Q111144 Q298 Q186115 Q373189 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q689720 Q33788 Q12563 Q190963 Q42288 Q1034158
(c(Q11060274)|c(Q340169),P180,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P180
type Q11060274
type Q340169
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?f WHERE { { ?j property:P180 ?f . ?j rdf:type ontology:Q11060274 . ?f rdf:type ontology:Q15617994 } UNION { ?j property:P180 ?f . ?f rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q340169 } } GROUP BY ?f } . FILTER ( ?p = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:P180 resource:Q1016 . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:Q11060274 ) ( ontology:Q340169 ) } } } } }
Catanzaro Liguria Sardinia Ariccia India France Netherlands People's Republic of China Cori, Lazio Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Montmartre Bithynia Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Thörl New Caledonia Landes Frascati Asola Cap Norfeu
82
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type media
action count
action filter_multi_types
action find_reverse
entity Libya
relation depicts
type print
type media
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) ?f WHERE { { ?j property:depicts ?f . ?j rdf:type ontology:print . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?j property:depicts ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:media } } GROUP BY ?f } . FILTER ( ?p = ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { ?u property:depicts resource:Libya . { ?u rdf:type ?o . VALUES ( ?o ) { ( ontology:print ) ( ontology:media ) } } } } }
[]