Simple Question (Direct)
Simple Question
Q16163302
P937
Q56061
USER
What is the location where Luisella Albanella worked ?
(Q16163302,P937,c(Q56061))
action filter_type
action find
entity Q16163302
relation P937
type Q56061
['Q16163302', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q16163302 property:P937 ?v }
Luisella Albanella
action filter_type
action find
entity Luisella Albanella
relation work location
type administrative territorial entity
['Luisella Albanella', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Luisella_Albanella property:work_location ?v }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q16163302,P937,c(Q56061))
action filter_type
action find
entity Q16163302
relation P937
type Q56061
The location Luisella Albanella worked is in [ANSWER]
['Q16163302', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q56061 . resource:Q16163302 property:P937 ?v }
Rome
The location Luisella Albanella worked is in Rome
Rome
action filter_type
action find
entity Luisella Albanella
relation work location
type administrative territorial entity
['Luisella Albanella', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:administrative_territorial_entity . resource:Luisella_Albanella property:work_location ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16163302
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q220,P19,c(Q56061))
action filter_type
action find
entity Q16163302
relation P19
type Q56061
['Q220', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16163302 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Luisella Albanella
action filter_type
action find
entity Luisella Albanella
relation place of birth
type administrative territorial entity
['Rome', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Luisella_Albanella property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1897
SYSTEM
Cagliari
Q1897
(Q220,P19,c(Q56061))
action filter_type
action find
entity Q16163302
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q220', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { resource:Q16163302 property:P19 ?m . ?m rdf:type ontology:Q56061 }
Cagliari
Cagliari is the place of birth of that person
Cagliari
action filter_type
action find
entity Luisella Albanella
relation place of birth
type administrative territorial entity
['Rome', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Luisella_Albanella property:place_of_birth ?m . ?m rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24026926
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as registry port than Mair ?
(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 Q24026926
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q24026926 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?p > ?t ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?p ) WHERE { ?x property:P532 ?s . ?x rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?x } }
Mair
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 Mair
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Mair property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?p > ?t ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?p ) WHERE { ?x property:port_of_registry ?s . ?x rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } }
[]
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 Q24026926
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q24026926 property:P532 ?l . ?l rdf:type ontology:Q2235308 } } . FILTER ( ?p > ?t ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?p ) WHERE { ?x property:P532 ?s . ?x rdf:type ontology:Q2235308 . ?s rdf:type ontology:Q56061 } GROUP BY ?x } }
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 Mair
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Mair property:port_of_registry ?l . ?l rdf:type ontology:ship_type } } . FILTER ( ?p > ?t ) . { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?p ) WHERE { ?x property:port_of_registry ?s . ?x rdf:type ontology:ship_type . ?s rdf:type ontology:administrative_territorial_entity } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027072
P532
Q56061 Q2235308
USER
And how about Margaretta?
(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 Q24027072
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?g ) WHERE { ?t property:P532 ?z . ?t rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q24027072 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?w ) }
Margaretta
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 Margaretta
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?g ) WHERE { ?t property:port_of_registry ?z . ?t rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Margaretta property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?g > ?w ) }
[]
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 Q24027072
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?g ) WHERE { ?t property:P532 ?z . ?t rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Q24027072 property:P532 ?q . ?q rdf:type ontology:Q2235308 } } . FILTER ( ?g > ?w ) }
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 Margaretta
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?z ) AS ?g ) WHERE { ?t property:port_of_registry ?z . ?t rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { resource:Margaretta property:port_of_registry ?q . ?q rdf:type ontology:ship_type } } . FILTER ( ?g > ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6872811 Q16163302
P27
Q15617994
USER
Which administrative territories are the native countriesof Luisella Albanella or Miranda Garrison ?
OR((Q16163302,P27,c(Q15617994)), (Q6872811,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16163302
relation P27
action find
entity Q6872811
relation P27
type Q15617994
{'OR': [['Q16163302', 'P27', {'concept': 'Q15617994'}], ['Q6872811', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q16163302 property:P27 ?n } UNION { resource:Q6872811 property:P27 ?n } } }
Miranda Garrison Luisella Albanella
action filter_type
action union
action find
entity Luisella Albanella
relation country of citizenship
action find
entity Miranda Garrison
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luisella Albanella', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Miranda Garrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Luisella_Albanella property:country_of_citizenship ?n } UNION { resource:Miranda_Garrison property:country_of_citizenship ?n } } }
[]
designation for an administrative territorial entity
Q38 Q30
SYSTEM
Italy, United States of America
Q38 Q30
OR((Q16163302,P27,c(Q15617994)), (Q6872811,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q16163302
relation P27
action find
entity Q6872811
relation P27
type Q15617994
[ANSWERS] are the native countriesof Luisella Albanella or Miranda Garrison
{'OR': [['Q16163302', 'P27', {'concept': 'Q15617994'}], ['Q6872811', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15617994 . { { resource:Q16163302 property:P27 ?n } UNION { resource:Q6872811 property:P27 ?n } } }
Italy United States of America
Italy and United States of America are the native countriesof Luisella Albanella or Miranda Garrison
Italy United States of America
action filter_type
action union
action find
entity Luisella Albanella
relation country of citizenship
action find
entity Miranda Garrison
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Luisella Albanella', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Miranda Garrison', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Luisella_Albanella property:country_of_citizenship ?n } UNION { resource:Miranda_Garrison property:country_of_citizenship ?n } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5240456
P27
Q502895
USER
Are David Tomassoni a native of those administrative territories ?
(Q5240456,P27,Q38) (Q5240456,P27,Q30)
action is_in
entity prev_answer
action find
entity Q5240456
relation P27
['Q5240456', 'P27', 'Q38'] ['Q5240456', 'P27', 'Q30']
ASK WHERE { resource:Q5240456 property:P27 ?y . VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q30 ) } }
David Tomassoni
action is_in
entity prev_answer
action find
entity David Tomassoni
relation country of citizenship
['David Tomassoni', 'country of citizenship', 'Italy'] ['David Tomassoni', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_Tomassoni property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:Italy ) ( resource:United_States_of_America ) } }
[]
common name
SYSTEM
YES
(Q5240456,P27,Q38) (Q5240456,P27,Q30)
action is_in
entity prev_answer
action find
entity Q5240456
relation P27
[ANSWER]
['Q5240456', 'P27', 'Q38'] ['Q5240456', 'P27', 'Q30']
ASK WHERE { resource:Q5240456 property:P27 ?y . VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q30 ) } }
Yes
action is_in
entity prev_answer
action find
entity David Tomassoni
relation country of citizenship
['David Tomassoni', 'country of citizenship', 'Italy'] ['David Tomassoni', 'country of citizenship', 'United States of America']
ASK WHERE { resource:David_Tomassoni property:country_of_citizenship ?y . VALUES ( ?y ) { ( resource:Italy ) ( resource:United_States_of_America ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P47
Q56061 Q15617994
USER
How many administrative territories or administrative territories are bordered by Italy ?
(Q38,P47,c(Q56061)) (Q38,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q56061
action filter_type
action find
entity Q38
relation P47
type Q15617994
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?f rdf:type ?g }
Italy
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?g }
[]
administrative territorial entity designation for an administrative territorial entity
SYSTEM
5
Q142 Q39 Q237 Q238 Q215
(Q38,P47,c(Q56061)) (Q38,P47,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P47
type Q56061
action filter_type
action find
entity Q38
relation P47
type Q15617994
[ANSWER]
['Q38', 'P47', {'concept': 'Q56061'}] ['Q38', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } . ?f rdf:type ?g }
France Switzerland Vatican City San Marino Slovenia
5
action count
action union
action filter_type
action find
entity Italy
relation shares border with
type administrative territorial entity
action filter_type
action find
entity Italy
relation shares border with
type designation for an administrative territorial entity
['Italy', 'shares border with', {'concept': 'administrative territorial entity'}] ['Italy', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?m ) WHERE { VALUES ( ?g ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1897
P417
Q502895
USER
Who is the patron saint of Cagliari ?
(Q1897,P417,c(Q502895))
action filter_type
action find
entity Q1897
relation P417
type Q502895
['Q1897', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1897 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Cagliari
action filter_type
action find
entity Cagliari
relation patron saint
type common name
['Cagliari', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cagliari property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
common name
Q1747656
SYSTEM
Saturninus of Cagliari
Q1747656
(Q1897,P417,c(Q502895))
action filter_type
action find
entity Q1897
relation P417
type Q502895
The patron saint of Cagliari is the [ANSWER]
['Q1897', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q1897 property:P417 ?t . ?t rdf:type ontology:Q502895 }
Saturninus of Cagliari
The patron saint of Cagliari is the Saturninus of Cagliari
Saturninus of Cagliari
action filter_type
action find
entity Cagliari
relation patron saint
type common name
['Cagliari', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cagliari property:patron_saint ?t . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P417
Q502895 Q12737077
USER
Which people are the patron saint of approximately the same number of occupations as that person ?
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1747656
relation P417
type Q502895
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P417 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q1747656 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?l = ?q ) }
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saturninus of Cagliari
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:patron_saint ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Saturninus_of_Cagliari property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?l = ?q ) }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,c(Q502895))
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
action count
action filter_type
action find
entity Q1747656
relation P417
type Q502895
[ANSWERS] are the patron saint of approximately the same number of occupations as that person
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:P417 ?d . ?d rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Q1747656 property:P417 ?j . ?j rdf:type ontology:Q502895 } } . FILTER ( ?l = ?q ) }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of approximately the same number of occupations as that person
Elizabeth II Tadeusz Kościuszko Louis IX of France
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
action count
action filter_type
action find
entity Saturninus of Cagliari
relation patron saint
type common name
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?l ) WHERE { ?a property:patron_saint ?d . ?d rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) WHERE { resource:Saturninus_of_Cagliari property:patron_saint ?j . ?j rdf:type ontology:common_name } } . FILTER ( ?l = ?q ) }
[]