Simple Question (Direct)
Simple Question
Q18822572
P40
Q502895
USER
Which person is a successor of Emmi Kosáry ?
(Q18822572,P40,c(Q502895))
action filter_type
action find
entity Q18822572
relation P40
type Q502895
['Q18822572', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18822572 property:P40 ?m . ?m rdf:type ontology:Q502895 }
Emmi Kosáry
action filter_type
action find
entity Emmi Kosáry
relation child
type common name
['Emmi Kosáry', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Emmi_Kosáry property:child ?m . ?m rdf:type ontology:common_name }
[]
common name
Q18977380
SYSTEM
Emmi Buttykay
Q18977380
(Q18822572,P40,c(Q502895))
action filter_type
action find
entity Q18822572
relation P40
type Q502895
[ANSWER] is a successor of Emmi Kosáry
['Q18822572', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { resource:Q18822572 property:P40 ?m . ?m rdf:type ontology:Q502895 }
Emmi Buttykay
Emmi Buttykay is a successor of Emmi Kosáry
Emmi Buttykay
action filter_type
action find
entity Emmi Kosáry
relation child
type common name
['Emmi Kosáry', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { resource:Emmi_Kosáry property:child ?m . ?m rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18977380
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q18977380,P19,c(Q56061))
action filter_type
action find
entity Q18977380
relation P19
type Q56061
['Q18977380', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q18977380 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Emmi Buttykay
action filter_type
action find
entity Emmi Buttykay
relation place of birth
type administrative territorial entity
['Emmi Buttykay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Emmi_Buttykay property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781
SYSTEM
Budapest
Q1781
(Q18977380,P19,c(Q56061))
action filter_type
action find
entity Q18977380
relation P19
type Q56061
That person was born in [ANSWER]
['Q18977380', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q18977380 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Budapest
That person was born in Budapest
Budapest
action filter_type
action find
entity Emmi Buttykay
relation place of birth
type administrative territorial entity
['Emmi Buttykay', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Emmi_Buttykay property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1781 Q954962
P19
Q502895
USER
Was Mike Vernon born at that administrative territory ?
(Q954962,P19,Q1781)
action is_in
entity Q954962
action find
entity Q1781
relation P19
['Q954962', 'P19', 'Q1781']
ASK WHERE { resource:Q1781 property:P19 resource:Q954962 }
Budapest Mike Vernon
action is_in
entity Mike Vernon
action find
entity Budapest
relation place of birth
['Mike Vernon', 'place of birth', 'Budapest']
ASK WHERE { resource:Budapest property:place_of_birth resource:Mike_Vernon }
[]
common name
SYSTEM
NO
(Q954962,P19,Q1781)
action is_in
entity Q954962
action find
entity Q1781
relation P19
[ANSWER]
['Q954962', 'P19', 'Q1781']
ASK WHERE { resource:Q1781 property:P19 resource:Q954962 }
No
action is_in
entity Mike Vernon
action find
entity Budapest
relation place of birth
['Mike Vernon', 'place of birth', 'Budapest']
ASK WHERE { resource:Budapest property:place_of_birth resource:Mike_Vernon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18977380 Q4840566
P20
Q56061
USER
Did the expiration of Emmi Buttykay occur Badamağac ?
(Q18977380,P20,Q4840566)
action is_in
entity Q4840566
action find
entity Q18977380
relation P20
['Q18977380', 'P20', 'Q4840566']
ASK WHERE { resource:Q18977380 property:P20 resource:Q4840566 }
Emmi Buttykay Badamağac
action is_in
entity Badamağac
action find
entity Emmi Buttykay
relation place of death
['Emmi Buttykay', 'place of death', 'Badamağac']
ASK WHERE { resource:Emmi_Buttykay property:place_of_death resource:Badamağac }
[]
administrative territorial entity
SYSTEM
NO
(Q18977380,P20,Q4840566)
action is_in
entity Q4840566
action find
entity Q18977380
relation P20
[ANSWER]
['Q18977380', 'P20', 'Q4840566']
ASK WHERE { resource:Q18977380 property:P20 resource:Q4840566 }
No
action is_in
entity Badamağac
action find
entity Emmi Buttykay
relation place of death
['Emmi Buttykay', 'place of death', 'Badamağac']
ASK WHERE { resource:Emmi_Buttykay property:place_of_death resource:Badamağac }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q18977380
P21 P40
Q502895
USER
Which people have Emmi Buttykay as an offspring and do not have gender of male ?
AND((c(Q502895),P40,Q18977380), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q18977380
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q18977380'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q18977380 . FILTER NOT EXISTS { ?c property:P21 resource:Q6581097 } }
male Emmi Buttykay
action filter_type
action difference
action find_reverse
entity Emmi Buttykay
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Emmi Buttykay'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Emmi_Buttykay . FILTER NOT EXISTS { ?c property:gender resource:male } }
[]
common name
Q18822572
SYSTEM
Emmi Kosáry
Q18822572
AND((c(Q502895),P40,Q18977380), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q18977380
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Emmi Buttykay as an offspring and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q18977380'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P40 resource:Q18977380 . FILTER NOT EXISTS { ?c property:P21 resource:Q6581097 } }
Emmi Kosáry
Emmi Kosáry have Emmi Buttykay as an offspring and do not have gender of male
Emmi Kosáry
action filter_type
action difference
action find_reverse
entity Emmi Buttykay
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Emmi Buttykay'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:child resource:Emmi_Buttykay . FILTER NOT EXISTS { ?c property:gender resource:male } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15969170 Q18822572
P20
Q56061
USER
Which administrative territories did Emmi Kosáry or Joseph Lanyer expire ?
OR((Q18822572,P20,c(Q56061)), (Q15969170,P20,c(Q56061)))
action filter_type
action union
action find
entity Q18822572
relation P20
action find
entity Q15969170
relation P20
type Q56061
{'OR': [['Q18822572', 'P20', {'concept': 'Q56061'}], ['Q15969170', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?v ) { ( resource:Q18822572 ) ( resource:Q15969170 ) } . ?v property:P20 ?i } . ?i rdf:type ontology:Q56061 }
Joseph Lanyer Emmi Kosáry
action filter_type
action union
action find
entity Emmi Kosáry
relation place of death
action find
entity Joseph Lanyer
relation place of death
type administrative territorial entity
{'OR': [['Emmi Kosáry', 'place of death', {'concept': 'administrative territorial entity'}], ['Joseph Lanyer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?v ) { ( resource:Emmi_Kosáry ) ( resource:Joseph_Lanyer ) } . ?v property:place_of_death ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1781 Q90
SYSTEM
Budapest, Paris
Q1781 Q90
OR((Q18822572,P20,c(Q56061)), (Q15969170,P20,c(Q56061)))
action filter_type
action union
action find
entity Q18822572
relation P20
action find
entity Q15969170
relation P20
type Q56061
Emmi Kosáry or Joseph Lanyer expired in [ANSWERS]
{'OR': [['Q18822572', 'P20', {'concept': 'Q56061'}], ['Q15969170', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?v ) { ( resource:Q18822572 ) ( resource:Q15969170 ) } . ?v property:P20 ?i } . ?i rdf:type ontology:Q56061 }
Budapest Paris
Emmi Kosáry or Joseph Lanyer expired in Budapest and Paris
Budapest Paris
action filter_type
action union
action find
entity Emmi Kosáry
relation place of death
action find
entity Joseph Lanyer
relation place of death
type administrative territorial entity
{'OR': [['Emmi Kosáry', 'place of death', {'concept': 'administrative territorial entity'}], ['Joseph Lanyer', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { VALUES ( ?v ) { ( resource:Emmi_Kosáry ) ( resource:Joseph_Lanyer ) } . ?v property:place_of_death ?i } . ?i rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P840
Q56061 Q2342494 Q15416
USER
How many administrative territories are approximately 52 collectables and television programs set in ?
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 52
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { { ?y property:P840 ?v . ?y rdf:type ontology:Q2342494 . ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q56061 . ?y rdf:type ontology:Q15416 . ?y property:P840 ?v } } GROUP BY ?v } . FILTER ( ?j = 52 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 52
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { { ?y property:narrative_location ?v . ?y rdf:type ontology:collectable . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:television_program . ?y property:narrative_location ?v } } GROUP BY ?v } . FILTER ( ?j = 52 ) }
[]
administrative territorial entity collectable television program
SYSTEM
367
Q3579 Q1715 Q704257 Q7436 Q34804 Q21075005 Q990616 Q1183 Q3711 Q33486 Q1874 Q331990 Q1826473 Q210292 Q28729 Q25286 Q25287 Q128499 Q2280 Q3805 Q501661 Q804569 Q49233 Q1255278 Q42096 Q18808 Q467664 Q23725 Q1050826 Q4093 Q3659 Q16563 Q23337 Q8692 Q2656 Q1289 Q10690 Q585 Q1425428 Q124739 Q3413045 Q79873 Q81788 Q43453 Q1754 Q1022 Q308891 Q2500974 Q7054337 Q101625 Q48320 Q80985 Q12892 Q215646 Q80734 Q7880 Q82858 Q1930 Q1435589 Q597 Q690 Q257536 Q334 Q22889 Q3437 Q75459 Q49272 Q12273 Q365 Q5836 Q12994 Q1635139 Q667268 Q25319 Q33935 Q54140 Q180294 Q8818 Q34739 Q215177 Q27168 Q16555 Q2048321 Q1335 Q594807 Q1891 Q39121 Q9427 Q48274 Q83317 Q12340599 Q262483 Q186237 Q5083 Q23154 Q2567585 Q37776 Q1489 Q209055 Q7094142 Q3561 Q11864 Q83387 Q406 Q462799 Q8673 Q2861 Q11703 Q2868 Q8678 Q490 Q6346 Q495 Q2044 Q48370 Q36036 Q3703 Q208287 Q2141 Q192517 Q54212 Q23436 Q43301 Q490584 Q3141 Q3630 Q1246235 Q17151 Q237 Q6046 Q25416 Q239 Q25410 Q16558 Q16559 Q5212975 Q16554 Q753121 Q16556 Q16557 Q8686 Q994 Q35178 Q113546 Q3130 Q3037 Q52437 Q723329 Q490737 Q1563 Q900 Q131491 Q1741 Q14815 Q1748 Q169492 Q26881 Q13670 Q1911961 Q85 Q128321 Q42462 Q5112 Q1735 Q1737 Q613441 Q729006 Q64123 Q37320 Q25390 Q214178 Q735022 Q45301 Q25395 Q11592 Q78 Q34863 Q72 Q71 Q70 Q178168 Q37100 Q16869 Q2214 Q38022 Q174 Q172 Q270 Q2028 Q37066 Q486439 Q2073798 Q26887 Q184587 Q208472 Q79980 Q82490 Q79985 Q49241 Q49243 Q3766 Q472 Q41604 Q1070 Q3590079 Q837165 Q41819 Q1861 Q2177880 Q5092 Q1011683 Q41329 Q956 Q1555 Q1490 Q1491 Q1492 Q16562 Q6225 Q437 Q124539 Q2118905 Q134672 Q1479 Q387047 Q18419 Q1780 Q1781 Q2302168 Q690052 Q2090 Q2073211 Q1851 Q127856 Q2807 Q18705 Q3820 Q621549 Q49149 Q1353 Q1352 Q676689 Q271411 Q13496 Q27119 Q1524 Q220 Q340 Q125434 Q494728 Q25331 Q25231 Q25230 Q617 Q612 Q430464 Q21855637 Q3305102 Q990168 Q1015727 Q24639 Q34713 Q1218 Q30096 Q915 Q48292 Q319476 Q985531 Q193082 Q162890 Q1020373 Q23070 Q2634 Q863058 Q1659757 Q268873 Q26 Q1726 Q530090 Q34404 Q8717 Q3825 Q64 Q159232 Q61 Q1757 Q18125 Q5818 Q1867 Q384 Q5813 Q12439 Q27393 Q12191 Q126148 Q202337 Q23556 Q837478 Q184345 Q13362 Q6537 Q6106 Q49111 Q499196 Q495373 Q10313 Q42810 Q49255 Q3640 Q647 Q641 Q727 Q649 Q41621 Q3012 Q2301524 Q852778 Q3483936 Q3358921 Q323813 Q158119 Q79848 Q42735 Q580 Q586 Q43919 Q1449 Q47048 Q1764 Q34932 Q12340625 Q2211 Q41262 Q2704 Q47716 Q1040 Q6441 Q165972 Q100 Q374748 Q485172 Q26793 Q10686 Q4190 Q897848 Q165413 Q350 Q62677 Q1574020 Q3992 Q1781238 Q3110 Q3114 Q743521 Q24826 Q1348 Q630533 Q1156 Q3619316 Q2751 Q41876 Q485186 Q42448 Q41970 Q34647 Q33986 Q1085
(c(Q2342494)|c(Q15416),P840,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q2342494
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
value 52
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { { ?y property:P840 ?v . ?y rdf:type ontology:Q2342494 . ?v rdf:type ontology:Q56061 } UNION { ?v rdf:type ontology:Q56061 . ?y rdf:type ontology:Q15416 . ?y property:P840 ?v } } GROUP BY ?v } . FILTER ( ?j = 52 ) }
Tripoli Hanover Albany Gatchina Albuquerque Serritslev Harwich Puerto Rico Belgrade Hartford Odessa Korean Demilitarized Zone Tversted Yozgat Kozhikode Uppsala Gothenburg Yalta Minsk Amman Schleswig Bala, Ontario Orlando Dragør Miryang Pyongyang Butte Byzantium Greater Los Angeles Area Glasgow N'Djamena Memphis Salt Lake City Bilbao Palermo Grenoble Cardiff Oslo Newcastle upon Tyne Tijuana Farsø Tombstone Giza Plzeň Stockholm Stuttgart special wards of Tokyo Richmond North Buxton, Ontario Marrakesh Kōbe Fes Antwerp Edo Campagna Toulouse Sigmaringen Ottawa Folsom Lisbon Delft Janesville Singapore Bath Perugia Delphi Chandler Gijón Cologne Toledo Bruges Hvalpsund Nevada City Aarhus Tel Aviv Salem Jaffa Valencia Dayton Skagen Randers Houston Varde Montevideo Søborg Bologna Leeds Timbuktu Nashua Mosul Vedersø Deadwood Joensuu Seattle Bristol Dybbøl Besançon Mexico City Torquay Onllwyn Algiers Junagadh Diyarbakır Istanbul Evanston Lagos Rostock United States Virgin Islands Lima Rio de Janeiro Milan Indianapolis Turin Florence Manchester Lviv Bamako Kauniainen Halifax Boulder Barnsley Edinburgh Fresno Flint Melbourne Jakarta Nørresundby Thessaloniki Vatican City Novara Stavanger Brussels Aalborg Fort Worth Austin Damsholte Denver Atacames Phoenix Dallas Shanghai Tbilisi Kuwait City Blackeberg Sydney Kathmandu Murano Ascot Bloomington Havana Kazan Brighton Vienna Weißenfels Copenhagen Neukölln Helsingør Syracuse Thorning Cairo Midland York Adelaide Innsbruck Bregenz Middelfart Chatham Meiringen Cleveland Leeuwarden Nablus Walnut Grove, Minnesota Trabzon Newark Sonoma Basel Oklahoma City Zürich Geneva Bern Mitrovica Auckland Constantinople Pskov St. Louis São Paulo Toronto Warsaw Verona Bismarck Cedar Rapids Welch Davenport Grand Rapids Bingöl Varanasi Lyme Regis Kodiak Lexington Riverside Damascus Sofia Amiens Ahmedabad Hvidovre Hyrylä Kansas City Bangkok Ågerup Baltimore Rødbyhavn Linz Beijing Guatemala City Tokyo La Paz Barcelona El Paso Coventry Ljubljana Whitechapel Purley Exeter Bordeaux Malibu Brooklyn Bratislava Budapest Kjellerup Trebinje Nuremberg Talamone Arkhangelsk Beverly Hills Madrid Bajram Curri Beirut Inglewood Nantucket Delhi Chennai Gravesend Malindi Brindisi Kolding Athens Rome Montreal Port Elizabeth West Covina Odense Svalbard Guernsey Padua Dubai Dearborn Hvilsager Tsamantas Keighley Mbale Vancouver Salzburg Jerusalem Frederiksberg Perm Arles Cumaná Tulkarm Svishtov Xanten Jindabyne Sneek Naples Summerside Gimli Newport Beach Northern Ireland Munich Jerichow New Orleans Seville Libreville Berlin Santa Cruz Washington, D.C. Helsinki Manchester Córdoba Taipei Skopje Canary Islands Detroit Herning Nantes Tangier Nauplion Atlanta Sabinov Viña del Mar Ferrara Vicenza Portland Cambridge Costa Mesa Visalia Donostia/San Sebastián Le Havre Tampa Ankara Rennes Venice Amsterdam Moscow Haifa Ulm Stege Whitby Sils Maria Overschild Jamestown Ramallah Southampton Olympia Łódź Bonn Salem Genoa Oulu Reykjavík Brisbane Vejlby Malmö Nottingham Pescara Charleston Karlsruhe Montpellier Fort Lauderdale Boston Jenin Ann Arbor Bergen Belfast Passau Brande Baikonur Cambridge Karakorum The Hamptons Liège Stureby San Salvador Canberra Scarborough Liverpool Kolkata Tire Mumbai Grenå Siena Reims Key West Sheffield Pyatigorsk Johannesburg Valparaíso Prague
367
action count
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
value 52
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?j ) ?v WHERE { { ?y property:narrative_location ?v . ?y rdf:type ontology:collectable . ?v rdf:type ontology:administrative_territorial_entity } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:television_program . ?y property:narrative_location ?v } } GROUP BY ?v } . FILTER ( ?j = 52 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q19608222
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as registry port than HSC Condor Liberation ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q19608222
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q19608222 property:P532 ?n . ?n rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?x ) WHERE { ?r property:P532 ?c . ?r rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?r } }
HSC Condor Liberation
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity HSC Condor Liberation
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:HSC_Condor_Liberation property:port_of_registry ?n . ?n rdf:type ontology:ship_type } } . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?x ) WHERE { ?r property:port_of_registry ?c . ?r rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } }
[]
administrative territorial entity ship type
SYSTEM
5
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q19608222
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:Q19608222 property:P532 ?n . ?n rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?x ) WHERE { ?r property:P532 ?c . ?r rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?r } }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
5
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity HSC Condor Liberation
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?l ) WHERE { resource:HSC_Condor_Liberation property:port_of_registry ?n . ?n rdf:type ontology:ship_type } } . { SELECT DISTINCT ?r ( COUNT ( ?c ) AS ?x ) WHERE { ?r property:port_of_registry ?c . ?r rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027122
P532
Q56061 Q2235308
USER
And how about Jane Gwynne?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027122
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q24027122 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?l ) WHERE { ?p rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 . ?p property:P532 ?b } GROUP BY ?p } }
Jane Gwynne
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Jane Gwynne
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Jane_Gwynne property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?l > ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?l ) WHERE { ?p rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?b } GROUP BY ?p } }
[]
administrative territorial entity ship type
SYSTEM
70
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027122
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Q24027122 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?l ) WHERE { ?p rdf:type ontology:Q2235308 . ?b rdf:type ontology:Q56061 . ?p property:P532 ?b } GROUP BY ?p } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
70
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Jane Gwynne
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { resource:Jane_Gwynne property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?l > ?x ) . { SELECT DISTINCT ?p ( COUNT ( ?b ) AS ?l ) WHERE { ?p rdf:type ontology:ship_type . ?b rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?b } GROUP BY ?p } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q90
P138
Q2235308
USER
Which ship type comes from Paris ?
(c(Q2235308),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q2235308
[{'concept': 'Q2235308'}, 'P138', 'Q90']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q90 . ?l rdf:type ontology:Q2235308 }
Paris
action filter_type
action find_reverse
entity Paris
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Paris']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Paris . ?l rdf:type ontology:ship_type }
[]
ship type
Q5502412
SYSTEM
French ship Commerce de Paris
Q5502412
(c(Q2235308),P138,Q90)
action filter_type
action find_reverse
entity Q90
relation P138
type Q2235308
[ANSWER] comes from Paris
[{'concept': 'Q2235308'}, 'P138', 'Q90']
SELECT DISTINCT ?l WHERE { ?l property:P138 resource:Q90 . ?l rdf:type ontology:Q2235308 }
French ship Commerce de Paris
French ship Commerce de Paris comes from Paris
French ship Commerce de Paris
action filter_type
action find_reverse
entity Paris
relation named after
type ship type
[{'concept': 'ship type'}, 'named after', 'Paris']
SELECT DISTINCT ?l WHERE { ?l property:named_after resource:Paris . ?l rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q699405 Q9332 Q2235308
USER
How many ship types are mainly used as around 1 dwellings or behaviors ?
(c(Q2235308),P366,c(Q699405)|c(Q9332))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q2235308
type Q699405
action find_tuple_counts
relation P366
type Q2235308
type Q9332
value 1
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q699405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q699405 ) ( ontology:Q9332 ) } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation use
type ship type
type dwelling
action find_tuple_counts
relation use
type ship type
type behavior
value 1
[{'concept': 'ship type'}, 'use', [{'concept': 'dwelling'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:dwelling ) ( ontology:behavior ) } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
dwelling behavior ship type
SYSTEM
5
Q382006 Q6546372 Q5810820 Q13561346 Q4364290
(c(Q2235308),P366,c(Q699405)|c(Q9332))
action count
action approx
action union
action find_tuple_counts
relation P366
type Q2235308
type Q699405
action find_tuple_counts
relation P366
type Q2235308
type Q9332
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P366', [{'concept': 'Q699405'}, {'concept': 'Q9332'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:Q699405 ) ( ontology:Q9332 ) } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
Af Chapman lighthouse tender dredger fishing vessel repair ship
5
action count
action approx
action union
action find_tuple_counts
relation use
type ship type
type dwelling
action find_tuple_counts
relation use
type ship type
type behavior
value 1
[{'concept': 'ship type'}, 'use', [{'concept': 'dwelling'}, {'concept': 'behavior'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?v ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ?n . VALUES ( ?n ) { ( ontology:dwelling ) ( ontology:behavior ) } } GROUP BY ?e } . FILTER ( ?z = 1 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1289628 Q18822572
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Emmi Kosáry and are EV13 The Iron Curtain Trail present in ?
AND((Q18822572,P27,c(Q15617994)), (Q1289628,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18822572
relation P27
action find
entity Q1289628
relation P17
type Q15617994
{'AND': [['Q18822572', 'P27', {'concept': 'Q15617994'}], ['Q1289628', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q18822572 property:P27 ?f . resource:Q1289628 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
EV13 The Iron Curtain Trail Emmi Kosáry
action filter_type
action intersection
action find
entity Emmi Kosáry
relation country of citizenship
action find
entity EV13 The Iron Curtain Trail
relation country
type designation for an administrative territorial entity
{'AND': [['Emmi Kosáry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['EV13 The Iron Curtain Trail', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Emmi_Kosáry property:country_of_citizenship ?f . resource:EV13_The_Iron_Curtain_Trail property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q28
SYSTEM
Hungary
Q28
AND((Q18822572,P27,c(Q15617994)), (Q1289628,P17,c(Q15617994)))
action filter_type
action intersection
action find
entity Q18822572
relation P27
action find
entity Q1289628
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Emmi Kosáry and is EV13 The Iron Curtain Trail present in
{'AND': [['Q18822572', 'P27', {'concept': 'Q15617994'}], ['Q1289628', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { resource:Q18822572 property:P27 ?f . resource:Q1289628 property:P17 ?f . ?f rdf:type ontology:Q15617994 }
Hungary
Hungary is the countries of citizenship of Emmi Kosáry and is EV13 The Iron Curtain Trail present in
Hungary
action filter_type
action intersection
action find
entity Emmi Kosáry
relation country of citizenship
action find
entity EV13 The Iron Curtain Trail
relation country
type designation for an administrative territorial entity
{'AND': [['Emmi Kosáry', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['EV13 The Iron Curtain Trail', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Emmi_Kosáry property:country_of_citizenship ?f . resource:EV13_The_Iron_Curtain_Trail property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q18977380
P21 P40
Q502895
USER
Which people have Emmi Buttykay as a child and are a male ?
AND((c(Q502895),P40,Q18977380), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18977380
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q18977380'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q18977380 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
male Emmi Buttykay
action filter_type
action intersection
action find_reverse
entity Emmi Buttykay
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Emmi Buttykay'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:child resource:Emmi_Buttykay . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
common name
Q250469
SYSTEM
Ákos Buttykay
Q250469
AND((c(Q502895),P40,Q18977380), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q18977380
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Emmi Buttykay as a child and are a male
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q18977380'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?t WHERE { ?t property:P40 resource:Q18977380 . ?t property:P21 resource:Q6581097 . ?t rdf:type ontology:Q502895 }
Ákos Buttykay
Ákos Buttykay have Emmi Buttykay as a child and are a male
Ákos Buttykay
action filter_type
action intersection
action find_reverse
entity Emmi Buttykay
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Emmi Buttykay'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?t WHERE { ?t property:child resource:Emmi_Buttykay . ?t property:gender resource:male . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q47281
P417
Q1445650 Q502895 Q56061
USER
Which administrative territories have more number of holidays and people as their patron saint than Jesolo ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q47281
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?z ) WHERE { { ?c property:P417 ?v . ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 . ?c rdf:type ontology:Q56061 . ?c property:P417 ?v } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q47281 property:P417 ?a . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q1445650 } } } } . FILTER ( ?z > ?n ) }
Jesolo
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Jesolo
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?z ) WHERE { { ?c property:patron_saint ?v . ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name . ?c rdf:type ontology:administrative_territorial_entity . ?c property:patron_saint ?v } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Jesolo property:patron_saint ?a . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:holiday } } } } . FILTER ( ?z > ?n ) }
[]
holiday common name administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q47281
relation P417
type Q1445650
type Q502895
[ANSWERS] have more number of holidays and people as their patron saint than Jesolo
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?z ) WHERE { { ?c property:P417 ?v . ?c rdf:type ontology:Q56061 . ?v rdf:type ontology:Q1445650 } UNION { ?v rdf:type ontology:Q502895 . ?c rdf:type ontology:Q56061 . ?c property:P417 ?v } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q47281 property:P417 ?a . { { ?a rdf:type ontology:Q502895 } UNION { ?a rdf:type ontology:Q1445650 } } } } . FILTER ( ?z > ?n ) }
Brinzio Rome
Brinzio and Rome have more number of holidays and people as their patron saint than Jesolo
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Jesolo
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?v ) AS ?z ) WHERE { { ?c property:patron_saint ?v . ?c rdf:type ontology:administrative_territorial_entity . ?v rdf:type ontology:holiday } UNION { ?v rdf:type ontology:common_name . ?c rdf:type ontology:administrative_territorial_entity . ?c property:patron_saint ?v } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Jesolo property:patron_saint ?a . { { ?a rdf:type ontology:common_name } UNION { ?a rdf:type ontology:holiday } } } } . FILTER ( ?z > ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q47074
P417
Q1445650 Q502895 Q56061
USER
And also tell me about Aielli?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q47074
relation P417
type Q1445650
type Q502895
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?v rdf:type ?w } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q47074 property:P417 ?s . { { ?s rdf:type ontology:Q1445650 } UNION { ?s rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?a ) }
Aielli
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Aielli
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:holiday ) ( ontology:common_name ) } . ?v rdf:type ?w } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Aielli property:patron_saint ?s . { { ?s rdf:type ontology:holiday } UNION { ?s rdf:type ontology:common_name } } } } . FILTER ( ?g > ?a ) }
[]
holiday common name administrative territorial entity
Q649 Q2807 Q490
SYSTEM
Moscow, Madrid, Milan
Q5818 Q187352 Q11974 Q40801 Q212841 Q454875 Q14209773 Q34111 Q81004 Q6737 Q13364 Q46844 Q73450 Q15468 Q490 Q41329 Q495 Q2044 Q1492 Q2028 Q929022 Q641 Q46165 Q649 Q58463 Q491588 Q3395964 Q73489 Q53825 Q200908 Q15090 Q36647 Q13375 Q15088 Q10305 Q53265 Q6340 Q101229 Q50135 Q2090 Q695550 Q53850 Q6285 Q9920 Q6046 Q3739344 Q2807 Q72279 Q133123 Q139595 Q3415 Q39519 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 Q220 Q90 Q431389 Q5991813 Q380189 Q617 Q470461 Q733574 Q932648 Q100143 Q100065 Q13121 Q465078 Q3947670 Q100772 Q71935 Q51400 Q504216 Q51315 Q210470 Q11959 Q52215 Q15095 Q3740507 Q2634 Q51929 Q8356 Q47281 Q58581 Q119066 Q1155 Q200036 Q15487 Q244207 Q1957 Q50074 Q1897 Q433066 Q46864
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
action count
action filter_multi_types
action find
entity Q47074
relation P417
type Q1445650
type Q502895
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:Q1445650 ) ( ontology:Q502895 ) } . ?v rdf:type ?w } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Q47074 property:P417 ?s . { { ?s rdf:type ontology:Q1445650 } UNION { ?s rdf:type ontology:Q502895 } } } } . FILTER ( ?g > ?a ) }
Córdoba Kavala Las Palmas de Gran Canaria Borca di Cadore Drama Amarante Municipality San Lorenzo de' Picenardi Pozzallo Laviano Castellammare di Stabia Ravenna Roana Caldarola Badalona Milan Linz Turin Florence Barcelona Verona Giannitsa Venice Montecchio Maggiore Moscow Cancello e Arnone Camporeale Koufalia Camerino Altilia Rethymno Lleida Cork Pisa Tarragona Zaragoza Gemona del Friuli Castel Giorgio Martinengo Rocca di Cambio Nuremberg Huécija Cariati Varese Haarlem Novara Neokaisareia Madrid Mugnano di Napoli Patras Zacharo Ancona Brinzio Brolo Kastritsa Platres Altrei Molista Mölten Rome Paris Welsberg-Taisten Mansilla del Páramo Toblach Padua Amfilochia Istiaia Didymoteicho Caprino Bergamasco Mirandola Aalst Astorga San Mauro Mare Busseto Casamarciano Spoltore St. Martin in Passeier Villamagna Katerini Alicante Tuglie Albacete Favrio Naples Ischitella Valladolid Jesolo Curti, Campania Latera Busto Arsizio Volos Berga Campione d'Italia Vologda Castellafiume Cagliari Moos in Passeier Arcugnano
Moscow Madrid Milan
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action count
action filter_multi_types
action find
entity Aielli
relation patron saint
type holiday
type common name
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { VALUES ( ?w ) { ( ontology:holiday ) ( ontology:common_name ) } . ?v rdf:type ?w } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { resource:Aielli property:patron_saint ?s . { { ?s rdf:type ontology:holiday } UNION { ?s rdf:type ontology:common_name } } } } . FILTER ( ?g > ?a ) }
[]