Simple Question (Direct)
Simple Question
Q1641799
P17
Q15617994
USER
Which administrative territory is Týnec nad Labem a part of ?
(Q1641799,P17,c(Q15617994))
action filter_type
action find
entity Q1641799
relation P17
type Q15617994
['Q1641799', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1641799 property:P17 ?p }
Týnec nad Labem
action filter_type
action find
entity Týnec nad Labem
relation country
type designation for an administrative territorial entity
['Týnec nad Labem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Týnec_nad_Labem property:country ?p }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
(Q1641799,P17,c(Q15617994))
action filter_type
action find
entity Q1641799
relation P17
type Q15617994
[ANSWER] is Týnec nad Labem a part of
['Q1641799', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q1641799 property:P17 ?p }
Czech Republic
Czech Republic is Týnec nad Labem a part of
Czech Republic
action filter_type
action find
entity Týnec nad Labem
relation country
type designation for an administrative territorial entity
['Týnec nad Labem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Týnec_nad_Labem property:country ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q213
P915
Q15416
USER
Which television programs were filmed at that administrative territory ?
(c(Q15416),P915,Q213)
action filter_type
action find_reverse
entity Q213
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q213']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q213 . ?v rdf:type ontology:Q15416 }
Czech Republic
action filter_type
action find_reverse
entity Czech Republic
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Czech Republic']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Czech_Republic . ?v rdf:type ontology:television_program }
[]
television program
Q12299868 Q2817195 Q1500187
SYSTEM
1864, The Three Musketeers, Joan of Arc
Q818968 Q2468895 Q4380354 Q1569902 Q1072774 Q12299868 Q672175 Q1500187 Q2817195
(c(Q15416),P915,Q213)
action filter_type
action find_reverse
entity Q213
relation P915
type Q15416
[ANSWERS] were filmed at that administrative territory
[{'concept': 'Q15416'}, 'P915', 'Q213']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q213 . ?v rdf:type ontology:Q15416 }
Hitler: The Rise of Evil Au Pair II Lovers in Prague Snow White: A Tale of Terror Frank Herbert's Children of Dune 1864 Borgia Joan of Arc The Three Musketeers
1864, The Three Musketeers and Joan of Arc were filmed at that administrative territory
1864 The Three Musketeers Joan of Arc
action filter_type
action find_reverse
entity Czech Republic
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Czech Republic']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:Czech_Republic . ?v rdf:type ontology:television_program }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q9160677 Q2817195
P840 P19
Q56061
USER
Which administrative territories are The Three Musketeers set in or were Artur Kościuk born at ?
OR((Q2817195,P840,c(Q56061)), (Q9160677,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2817195
relation P840
action find
entity Q9160677
relation P19
type Q56061
{'OR': [['Q2817195', 'P840', {'concept': 'Q56061'}], ['Q9160677', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2817195 property:P840 ?u } UNION { resource:Q9160677 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Artur Kościuk The Three Musketeers
action filter_type
action union
action find
entity The Three Musketeers
relation narrative location
action find
entity Artur Kościuk
relation place of birth
type administrative territorial entity
{'OR': [['The Three Musketeers', 'narrative location', {'concept': 'administrative territorial entity'}], ['Artur Kościuk', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:The_Three_Musketeers property:narrative_location ?u } UNION { resource:Artur_Kościuk property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q580 Q90 Q84
SYSTEM
Łódź, Paris, London
Q580 Q90 Q84
OR((Q2817195,P840,c(Q56061)), (Q9160677,P19,c(Q56061)))
action filter_type
action union
action find
entity Q2817195
relation P840
action find
entity Q9160677
relation P19
type Q56061
Three Musketeers set in born in [ANSWERS]
{'OR': [['Q2817195', 'P840', {'concept': 'Q56061'}], ['Q9160677', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { { { resource:Q2817195 property:P840 ?u } UNION { resource:Q9160677 property:P19 ?u } } . ?u rdf:type ontology:Q56061 }
Łódź Paris London
Three Musketeers set in born in Łódź, Paris and London
Łódź Paris London
action filter_type
action union
action find
entity The Three Musketeers
relation narrative location
action find
entity Artur Kościuk
relation place of birth
type administrative territorial entity
{'OR': [['The Three Musketeers', 'narrative location', {'concept': 'administrative territorial entity'}], ['Artur Kościuk', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { { { resource:The_Three_Musketeers property:narrative_location ?u } UNION { resource:Artur_Kościuk property:place_of_birth ?u } } . ?u rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3446772 Q2817195
P27 P915
Q15617994
USER
Which administrative territories were the locations of filming The Three Musketeers and are Rudolph Labus a civilian of ?
AND((Q2817195,P915,c(Q15617994)), (Q3446772,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2817195
relation P915
action find
entity Q3446772
relation P27
type Q15617994
{'AND': [['Q2817195', 'P915', {'concept': 'Q15617994'}], ['Q3446772', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q2817195 property:P915 ?w . resource:Q3446772 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Rudolph Labus The Three Musketeers
action filter_type
action intersection
action find
entity The Three Musketeers
relation filming location
action find
entity Rudolph Labus
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['The Three Musketeers', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Rudolph Labus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:The_Three_Musketeers property:filming_location ?w . resource:Rudolph_Labus property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q213
SYSTEM
Czech Republic
Q213
AND((Q2817195,P915,c(Q15617994)), (Q3446772,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q2817195
relation P915
action find
entity Q3446772
relation P27
type Q15617994
[ANSWER] was the locations of filming The Three Musketeers and are Rudolph Labus a civilian of
{'AND': [['Q2817195', 'P915', {'concept': 'Q15617994'}], ['Q3446772', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { resource:Q2817195 property:P915 ?w . resource:Q3446772 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Czech Republic
Czech Republic was the locations of filming The Three Musketeers and are Rudolph Labus a civilian of
Czech Republic
action filter_type
action intersection
action find
entity The Three Musketeers
relation filming location
action find
entity Rudolph Labus
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['The Three Musketeers', 'filming location', {'concept': 'designation for an administrative territorial entity'}], ['Rudolph Labus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { resource:The_Three_Musketeers property:filming_location ?w . resource:Rudolph_Labus property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P463
Q484652 Q43229
USER
How many international organizations and organizations were that administrative territory a member of ?
(Q213,P463,c(Q484652)) (Q213,P463,c(Q43229)) (Q213,P463,c(Q484652)) (Q213,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q213
relation P463
type Q484652
action filter_type
action find
entity Q213
relation P463
type Q43229
['Q213', 'P463', {'concept': 'Q484652'}] ['Q213', 'P463', {'concept': 'Q43229'}] ['Q213', 'P463', {'concept': 'Q484652'}] ['Q213', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { resource:Q213 property:P463 ?x . ?x rdf:type ontology:Q484652 } UNION { resource:Q213 property:P463 ?x . ?x rdf:type ontology:Q43229 } }
action count
action union
action filter_type
action find
entity Czech Republic
relation member of
type international organization
action filter_type
action find
entity Czech Republic
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'international organization'}] ['Czech Republic', 'member of', {'concept': 'organization'}] ['Czech Republic', 'member of', {'concept': 'international organization'}] ['Czech Republic', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { resource:Czech_Republic property:member_of ?x . ?x rdf:type ontology:international_organization } UNION { resource:Czech_Republic property:member_of ?x . ?x rdf:type ontology:organization } }
[]
international organization organization
SYSTEM
5 international organizations and 9 organizations
Q42944 Q191384 Q899770 Q41550 Q488981 Q1065 Q81299 Q656801 Q151991 Q7825 Q827525 Q7184 Q42262 Q1043527
(Q213,P463,c(Q484652)) (Q213,P463,c(Q43229)) (Q213,P463,c(Q484652)) (Q213,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q213
relation P463
type Q484652
action filter_type
action find
entity Q213
relation P463
type Q43229
[ANSWER]
['Q213', 'P463', {'concept': 'Q484652'}] ['Q213', 'P463', {'concept': 'Q43229'}] ['Q213', 'P463', {'concept': 'Q484652'}] ['Q213', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { resource:Q213 property:P463 ?x . ?x rdf:type ontology:Q484652 } UNION { resource:Q213 property:P463 ?x . ?x rdf:type ontology:Q43229 } }
European Organization for Nuclear Research International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development European Bank for Reconstruction and Development United Nations Organization for Security and Co-operation in Europe International Finance Corporation European Southern Observatory World Trade Organization International Development Association North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
5 international organizations and 9 organizations
action count
action union
action filter_type
action find
entity Czech Republic
relation member of
type international organization
action filter_type
action find
entity Czech Republic
relation member of
type organization
['Czech Republic', 'member of', {'concept': 'international organization'}] ['Czech Republic', 'member of', {'concept': 'organization'}] ['Czech Republic', 'member of', {'concept': 'international organization'}] ['Czech Republic', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { resource:Czech_Republic property:member_of ?x . ?x rdf:type ontology:international_organization } UNION { resource:Czech_Republic property:member_of ?x . ?x rdf:type ontology:organization } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q2221906 Q14524493 Q15617994
USER
Which administrative territories come from atleast 1 geographic locations or terrains ?
(c(Q15617994),P138,c(Q2221906)|c(Q14524493))
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
value 1
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?o ) WHERE { { ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q14524493 . ?z property:P138 ?y } UNION { ?z property:P138 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?z } . FILTER ( ?o >= 1 ) }
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'terrain'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?o ) WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:terrain . ?z property:named_after ?y } UNION { ?z property:named_after ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:geographic_location } } GROUP BY ?z } . FILTER ( ?o >= 1 ) }
[]
geographic location terrain designation for an administrative territorial entity
Q30 Q770 Q694
SYSTEM
United States of America, Friesland, South Holland
Q701 Q1090684 Q568751 Q1465069 Q12694 Q30 Q691265 Q12580 Q2921370 Q694 Q770 Q2528268
(c(Q15617994),P138,c(Q2221906)|c(Q14524493))
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
action find_tuple_counts
relation P138
type Q15617994
type Q14524493
value 1
[ANSWERS] come from atleast 1 geographic locations or terrains
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q2221906'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?o ) WHERE { { ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q14524493 . ?z property:P138 ?y } UNION { ?z property:P138 ?y . ?z rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q2221906 } } GROUP BY ?z } . FILTER ( ?o >= 1 ) }
North Holland Montserrat Mont-Tonnerre Frise Puy-de-Dôme United States of America Mont-Terrible Lozère Bouches-de-l'Èbre-Montserrat South Holland Friesland Mont-Blanc
United States of America, Friesland and South Holland come from atleast 1 geographic locations or terrains
United States of America Friesland South Holland
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type terrain
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'geographic location'}, {'concept': 'terrain'}]]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?y ) AS ?o ) WHERE { { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:terrain . ?z property:named_after ?y } UNION { ?z property:named_after ?y . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:geographic_location } } GROUP BY ?z } . FILTER ( ?o >= 1 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3401133
P180
Q56061 Q340169 Q838948
USER
How many administrative territories are demonstrated in approximately the same number of medias and works of art as Bagillt ?
(c(Q340169)|c(Q838948),P180,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3401133
relation P180
type Q340169
type Q838948
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?p WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?v rdf:type ?a } . ?v property:P180 resource:Q3401133 } } . FILTER ( ?d = ?o ) }
Bagillt
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bagillt
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?p WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { VALUES ( ?a ) { ( ontology:media ) ( ontology:work_of_art ) } . ?v rdf:type ?a } . ?v property:depicts resource:Bagillt } } . FILTER ( ?d = ?o ) }
[]
administrative territorial entity media work of art
SYSTEM
446
Q894252 Q11370950 Q81076 Q10084 Q5180660 Q2536016 Q103011 Q7228196 Q52437 Q2741834 Q2218481 Q2035368 Q3876885 Q319536 Q319538 Q33486 Q12443 Q9427 Q3405864 Q11093013 Q7165393 Q3615313 Q6661066 Q1889195 Q950671 Q2214216 Q10989923 Q322 Q151920 Q467664 Q13375 Q1656724 Q130514 Q3404679 Q787395 Q33959 Q2184880 Q23051 Q2656 Q5687 Q7259867 Q54108 Q573757 Q4810069 Q9920 Q1310876 Q1866840 Q744948 Q3401639 Q15682 Q1908075 Q82070 Q2684439 Q5776 Q1757 Q1754 Q13153 Q319710 Q329967 Q12061339 Q13644930 Q6661117 Q62289 Q1965490 Q5058788 Q13644939 Q6477 Q2233618 Q1973162 Q41843 Q178835 Q1024924 Q1025821 Q2367253 Q1616324 Q80985 Q657748 Q472667 Q7837859 Q5616341 Q3297078 Q3401919 Q10690 Q3406673 Q3437 Q47164 Q12892 Q257446 Q365 Q5836 Q5288857 Q42053 Q179815 Q624065 Q991055 Q1247496 Q319576 Q1311946 Q4996547 Q153516 Q54143 Q180294 Q8818 Q80561 Q675460 Q428829 Q854672 Q5058745 Q13129603 Q7682007 Q3401133 Q1992389 Q174054 Q2385069 Q8021998 Q1524 Q9918 Q1489 Q3398339 Q1796191 Q2020203 Q1640443 Q6661380 Q7837893 Q2467 Q49156 Q3561 Q3398830 Q3398834 Q2313777 Q139564 Q144983 Q406 Q234178 Q8678 Q8054067 Q495 Q2044 Q7525 Q179046 Q319242 Q2695104 Q1012797 Q5623909 Q3405897 Q6661275 Q54145 Q1021164 Q527467 Q54217 Q199797 Q54134 Q7162078 Q1001536 Q2273077 Q463937 Q3399236 Q3834 Q5463763 Q22336755 Q1191195 Q102217 Q1234779 Q3403140 Q1726 Q237 Q1936328 Q12994 Q995477 Q282461 Q2653611 Q621 Q7837767 Q5173016 Q748777 Q1296 Q6661758 Q1866857 Q636188 Q3402958 Q203387 Q16548107 Q3406382 Q170263 Q5200191 Q1748 Q205905 Q13129631 Q6661101 Q3811275 Q87 Q690 Q85 Q1013633 Q2227185 Q2100774 Q284467 Q187346 Q42462 Q9945 Q6661589 Q1741 Q6990839 Q200311 Q2243491 Q2913827 Q6661409 Q3399377 Q3404936 Q2634 Q3812274 Q285412 Q215177 Q319672 Q16869 Q4914513 Q191687 Q6661329 Q12302777 Q172 Q270 Q7588179 Q3309484 Q1020726 Q647698 Q84 Q1235510 Q2513006 Q376866 Q1638504 Q13678 Q5116688 Q79980 Q163490 Q23311 Q6661145 Q4769524 Q3401109 Q837211 Q579854 Q6737 Q951659 Q9908 Q3309494 Q171923 Q1492 Q6225 Q1867 Q2532363 Q3551 Q1807193 Q648732 Q6729228 Q13129664 Q3398922 Q43475 Q7837785 Q3957 Q158467 Q64004 Q18419 Q1024911 Q6661964 Q271269 Q983538 Q5566589 Q5572835 Q674950 Q548248 Q2807 Q7930989 Q783437 Q49218 Q1353 Q183303 Q1974260 Q101254 Q13498 Q13496 Q677678 Q2185491 Q1026871 Q4667051 Q6661212 Q2240740 Q26421 Q4667113 Q1964775 Q123076 Q145948 Q2316216 Q672545 Q25231 Q25230 Q6661749 Q3050619 Q642810 Q339535 Q3402179 Q634054 Q922270 Q784824 Q3398367 Q158788 Q692847 Q487315 Q184163 Q2037687 Q2963905 Q48292 Q6661527 Q8621 Q24861 Q3398962 Q1894788 Q49146 Q779813 Q2487253 Q3397661 Q3406111 Q1024903 Q178813 Q1218 Q3405138 Q54264 Q1070 Q10866 Q3398817 Q3869 Q8717 Q3404531 Q64 Q60 Q62 Q3403507 Q3395358 Q1824365 Q3766 Q3460719 Q781725 Q835831 Q965581 Q2771917 Q478675 Q138833 Q1144249 Q5289699 Q126148 Q4870052 Q3876767 Q876315 Q771986 Q6661879 Q3402636 Q1011600 Q1428848 Q7005760 Q46843 Q7909529 Q42810 Q216258 Q1310 Q6661173 Q647 Q616837 Q16258 Q727 Q4898676 Q649 Q669171 Q9306 Q2599413 Q2301524 Q2085995 Q3401728 Q180141 Q881062 Q15088 Q4980850 Q578447 Q13129719 Q13126981 Q12191 Q3398853 Q34370 Q1449 Q360795 Q7678684 Q3878864 Q207639 Q2666382 Q1024935 Q7163099 Q6441 Q3817101 Q3400567 Q5642527 Q156990 Q3402457 Q914291 Q40844 Q2272941 Q14702005 Q26793 Q7838879 Q3363693 Q3397480 Q6732359 Q7592977 Q2619155 Q60956 Q2239 Q509028 Q1002793 Q5119942 Q1026572 Q7165298 Q3402425 Q535982 Q1781556 Q752762 Q3992 Q177165 Q36600 Q1883524 Q995231 Q3395924 Q3402761 Q4942645 Q3877586 Q1009261 Q1813948 Q922365 Q16033791 Q6661943 Q1229951 Q213205 Q6661088 Q332952 Q665163 Q3878353 Q138311 Q3405649 Q12116357 Q4982108 Q1085
(c(Q340169)|c(Q838948),P180,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q340169
action find_reverse_tuple_counts
relation P180
type Q56061
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q3401133
relation P180
type Q340169
type Q838948
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?p WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { VALUES ( ?a ) { ( ontology:Q340169 ) ( ontology:Q838948 ) } . ?v rdf:type ?a } . ?v property:P180 resource:Q3401133 } } . FILTER ( ?d = ?o ) }
Borth Kameido Zierikzee Vlissingen Craig-y-Don Crickhowell Corinth Pontfadog Murano Llanidloes Oosterbeek Tremadog Minsterley Aberdyfi Abererch Hartford Marquette Timbuktu Llandygai Cyffylliog Penybont Andaraí Llanarmon, Gwynedd Mogenstrup Porthmadog Soestdijk Llanfihangel-yng-Ngwynfa Llanfairpwllgwyngyll Tiberias Butte Pisa ideal city Luxor Crumlin Llanfairfechan Nice St Pierre, Monmouthshire Swansea Palermo Jericho Pumsaint Bahía Blanca Usk Peristerona Haarlem Hokksund Llangybi, Gwynedd New Rochelle Henllan Cádiz Karrebæksminde Tyre Trefriw Bethlehem Helsinki Stockholm Ronda Abersoch Paestum Llangedwyn Llandrinio Llanboidy Rockaway Beach Laugharne Cenarth Llanrhystud Pirna Llanrwst Neath Abbey Beersheba Baalbek Llanbedrog Pwllheli Halfweg Egmond aan Zee Fes Manchester-by-the-Sea Amlwch Tregeiriog Guilsfield Sodom Nantmor Cardiff Esgairgeiliog Perugia Santa Monica Antwerp Holyhead Cologne Toledo Dolanog Isfahan Durham Molesey Milford Haven Rievaulx Abbey Aberffraw Montgomery Bull Bay, Anglesey Nuenen Melrose Jaffa Valencia Antakya Machynlleth Caernarfon Nisa Cemmaes Llanarmon Dyffryn Ceiriog Tan-y-Bwlch, Maentwrog Bagillt Beaumaris Isola Bella Duivendrecht Willington Worthenbury Athens Enkhuizen Mexico City Devil's Bridge Frederiksværk Rhyl West Wyalong Llanfoist Tregynon Nassau Gloucester Algiers Corris Llanaelhaearn Kamperveen Atlantic City Banská Bystrica Istanbul Bangor Rio de Janeiro Ynys Môn Turin Florence Sevastopol Fatehpur Sikri Caesarea Maritima Grafton, Cheshire Ostia Antica Gwytherin Llanbadarn Fawr Llandysilio Medford Pontypool Colwyn Bay Norwalk Tacoma Newburyport Pen-y-groes, Carmarthenshire Budleigh Salterton Newcastle Emlyn Saint Thomas Bodedern Konstanz Fløng Aston Mold Vitebsk Thornbury Llanfair-ar-y-bryn Munich Vatican City Nevern Bruges Drøbak IJmuiden Penmaenmawr Versailles Trefeglwys Corris Uchaf Tintagel Ghent Llansantffraed Llanystumdwy Rey, Iran Carno Betws-y-Coed Castle Caereinion Glyndyfrdwy Chester Cynwyl Gaeo Copenhagen Lancaster Llanfechell Llanbedr-Dyffryn-Clwyd Whittington Alexandria Delft Cairo Ruthin Felpham Point Judith, Rhode Island Vogelenzang Constantine York Laren Llangynyw Vienna Neltume Mathura Tintern Llanfwrog Llangadfan Clynnog Fawr Llanfair Talhaiarn Naples Baschurch Llithfaen Skagen Aberporth Constantinople Binsey, Oxfordshire Heliopolis Llanfaelog Baldersbrønde Toronto Warsaw St. George, Conwy Berriew Stalheim Malakoff London Dolgellau Cropthorne Santa Maria de Belém Llanberis Agrigento Church Stoke Varanasi Sidon City of London Llandderfel Annisquam Caerwys Scheveningen Gamla stan Castellammare di Stabia Claremont Bloemendaal Bronllys Bala Barcelona Coventry Taipei Presteigne Rabat Rhuddlan St Davids Maenclochog Llanllwchaiarn Y Felinheli Derby Trefin town Gwalior Grindelwald Brooklyn Welshpool Llechryd Åsgårdstrand Green River Llansanffraid Glan Conwy Glyn Ceiriog residential area St Asaph Madrid city Ploumanac'h Rochester Delhi Jalalabad Nefyn Newport Taranto Brindisi fortified town East Bergholt Winchelsea Aberdulais Llandinam IJsselmonde Dordrecht Aberhafesp Nantlle Valley Palmyra Atoll Svolvær Chirk Barmouth Svalbard Guernsey Llansanffraid Glyndyfrdwy Holywell Missolonghi Hammamet Llanfair Conwy Llanddewi Brefi Pembroke Dock Sarn Meyllteyrn Melenki Segesta Monterey Colchester Dedham Chirbury Arles Llangurig Terni Albany Garndolbenmaen Margam Abbey New London Cardigan Tregaron Llangeitho Llansawel Sloten Herculaneum Jerusalem St Dogmaels Newport Ahmedabad Narni Aberllefenni Marburg Seville Bangor-on-Dee Berlin New York City San Francisco Llanbrynmair Kidwelly Dodleston Damascus Old Colwyn Llangernyw Mount Vernon Cardia Abergele Riobamba Kom Ombo Lulworth Dolwyddelan Tangier Battle Harbour Bethel Taos Chepstow Llanwnnog Y Ffôr Ellesmere Port Flint New Broughton Auerbach Vale of Clwyd Le Havre Hilo Arnhem Llanddulas Rennes Sarepta Maldonado Amsterdam Bettws Cedewain Moscow Newtown Eberswalde Stratford St. Mary Stege St Clears Llandre Sodom and Gomorrah Blaenau Ffestiniog Tarragona Bryn Du Countryside Llwyn-y-brain Cellan Nantes Trawsfynydd Rotterdam Genoa Isawa Tal-y-llyn, Gwynedd Pontesbury Chichester Llanfair Caereinion Harlech Penmachno Montpellier Halton Llanengan Halkyn Monmouth Bryncrug Newport Breda Tywyn Llanwddyn Bergen Tretower Meifod Llanymynech Magor, Monmouthshire St Donats Hillested Ashkelon Kongens Lyngby ranch Llangollen Cilgerran Llanrhaeadr-ym-Mochnant Pentrefoelas Llanuwchllyn Lystra Gärdet Merthyr Tydfil Liège Narberth, Pembrokeshire The Hague Bethesda Long Branch Llansanffraid-ym-Mechain Llandegfan Bontuchel Westbury Caerleon Prestatyn Dyffryn Ardudwy Llangwyfan, Aberffraw Llay L'Estaque San Francisco Bay Area Llanbadarn Fawr Überlingen Nahant Shrawardine Elizabeth Chwilog Chiajna Buan, Gwynedd Prague
446
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type media
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity Bagillt
relation depicts
type media
type work of art
[[{'concept': 'media'}, {'concept': 'work of art'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) ?p WHERE { ?n rdf:type ?g . VALUES ( ?g ) { ( ontology:media ) ( ontology:work_of_art ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?o ) WHERE { { VALUES ( ?a ) { ( ontology:media ) ( ontology:work_of_art ) } . ?v rdf:type ?a } . ?v property:depicts resource:Bagillt } } . FILTER ( ?d = ?o ) }
[]