Simple Question (Direct)
Simple Question
Q5700797
P21
Q290
USER
What is the sex of Heinz Meyer ?
(Q5700797,P21,c(Q290))
action filter_type
action find
entity Q5700797
relation P21
type Q290
['Q5700797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5700797 property:P21 ?f . ?f rdf:type ontology:Q290 }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation gender
type sex
['Heinz Meyer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Heinz_Meyer property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5700797,P21,c(Q290))
action filter_type
action find
entity Q5700797
relation P21
type Q290
The sex of Heinz Meyer is a [ANSWER]
['Q5700797', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q5700797 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Heinz Meyer is a male
male
action filter_type
action find
entity Heinz Meyer
relation gender
type sex
['Heinz Meyer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Heinz_Meyer property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5700797
P166
Q618779
USER
What was received by Heinz Meyer ?
(Q5700797,P166,c(Q618779))
action filter_type
action find
entity Q5700797
relation P166
type Q618779
['Q5700797', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q5700797 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation award received
type award
['Heinz Meyer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Heinz_Meyer property:award_received ?q . ?q rdf:type ontology:award }
[]
award
Q3003469
SYSTEM
Knight's Cross of the Iron Cross with Oak Leaves
Q3003469
(Q5700797,P166,c(Q618779))
action filter_type
action find
entity Q5700797
relation P166
type Q618779
Germany [ANSWER] was received by Heinz Meyer
['Q5700797', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?q WHERE { resource:Q5700797 property:P166 ?q . ?q rdf:type ontology:Q618779 }
Knight's Cross of the Iron Cross with Oak Leaves
Germany Knight's Cross of the Iron Cross with Oak Leaves was received by Heinz Meyer
Knight's Cross of the Iron Cross with Oak Leaves
action filter_type
action find
entity Heinz Meyer
relation award received
type award
['Heinz Meyer', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?q WHERE { resource:Heinz_Meyer property:award_received ?q . ?q rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5700797
P607
Q1190554
USER
What were the events that Heinz Meyer took part in
(Q5700797,P607,c(Q1190554))
action filter_type
action find
entity Q5700797
relation P607
type Q1190554
['Q5700797', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { resource:Q5700797 property:P607 ?y . ?y rdf:type ontology:Q1190554 }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation conflict
type event
['Heinz Meyer', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Meyer property:conflict ?y . ?y rdf:type ontology:event }
[]
event
Q335288 Q16471 Q2649081
SYSTEM
Battle of Monte Cassino, Invasion of Normandy, Battle of the Netherlands
Q2649081 Q153316 Q16471 Q335288
(Q5700797,P607,c(Q1190554))
action filter_type
action find
entity Q5700797
relation P607
type Q1190554
The events that Heinz Meyer took part in were the [ANSWERS]
['Q5700797', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { resource:Q5700797 property:P607 ?y . ?y rdf:type ontology:Q1190554 }
Battle of the Netherlands Battle of Crete Invasion of Normandy Battle of Monte Cassino
The events that Heinz Meyer took part in were the Battle of Monte Cassino, Invasion of Normandy and Battle of the Netherlands
Battle of Monte Cassino Invasion of Normandy Battle of the Netherlands
action filter_type
action find
entity Heinz Meyer
relation conflict
type event
['Heinz Meyer', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { resource:Heinz_Meyer property:conflict ?y . ?y rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5700797
P20
Q15617994
USER
Where did the demise of Heinz Meyer occur ?
(Q5700797,P20,c(Q15617994))
action filter_type
action find
entity Q5700797
relation P20
type Q15617994
['Q5700797', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5700797 property:P20 ?w }
Heinz Meyer
action filter_type
action find
entity Heinz Meyer
relation place of death
type designation for an administrative territorial entity
['Heinz Meyer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Heinz_Meyer property:place_of_death ?w }
[]
designation for an administrative territorial entity
Q3902
SYSTEM
Viersen
Q3902
(Q5700797,P20,c(Q15617994))
action filter_type
action find
entity Q5700797
relation P20
type Q15617994
The demise of Heinz Meyer occurred in [ANSWER]
['Q5700797', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q5700797 property:P20 ?w }
Viersen
The demise of Heinz Meyer occurred in Viersen
Viersen
action filter_type
action find
entity Heinz Meyer
relation place of death
type designation for an administrative territorial entity
['Heinz Meyer', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Heinz_Meyer property:place_of_death ?w }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19124410 Q3902
P276 P190
Q56061
USER
Which administrative territories are sister towns of Viersen or are Eynattenstraat located ?
OR((Q3902,P190,c(Q56061)), (Q19124410,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3902
relation P190
action find
entity Q19124410
relation P276
type Q56061
{'OR': [['Q3902', 'P190', {'concept': 'Q56061'}], ['Q19124410', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3902 property:P190 ?o } UNION { resource:Q19124410 property:P276 ?o } } . ?o rdf:type ontology:Q56061 }
Eynattenstraat Viersen
action filter_type
action union
action find
entity Viersen
relation sister city
action find
entity Eynattenstraat
relation location
type administrative territorial entity
{'OR': [['Viersen', 'sister city', {'concept': 'administrative territorial entity'}], ['Eynattenstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Viersen property:sister_city ?o } UNION { resource:Eynattenstraat property:location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18644362 Q172438 Q532803
SYSTEM
Landgraaf, Peterborough, Calau
Q18644362 Q172438 Q532803
OR((Q3902,P190,c(Q56061)), (Q19124410,P276,c(Q56061)))
action filter_type
action union
action find
entity Q3902
relation P190
action find
entity Q19124410
relation P276
type Q56061
[ANSWERS] are sister towns of Viersen or are Eynattenstraat located
{'OR': [['Q3902', 'P190', {'concept': 'Q56061'}], ['Q19124410', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3902 property:P190 ?o } UNION { resource:Q19124410 property:P276 ?o } } . ?o rdf:type ontology:Q56061 }
Landgraaf Peterborough Calau
Landgraaf, Peterborough and Calau are sister towns of Viersen or are Eynattenstraat located
Landgraaf Peterborough Calau
action filter_type
action union
action find
entity Viersen
relation sister city
action find
entity Eynattenstraat
relation location
type administrative territorial entity
{'OR': [['Viersen', 'sister city', {'concept': 'administrative territorial entity'}], ['Eynattenstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Viersen property:sister_city ?o } UNION { resource:Eynattenstraat property:location ?o } } . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172438
P194
Q11204
USER
Which legislature is the representative body for Peterborough ?
(Q172438,P194,c(Q11204))
action filter_type
action find
entity Q172438
relation P194
type Q11204
['Q172438', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q172438 property:P194 ?w . ?w rdf:type ontology:Q11204 }
Peterborough
action filter_type
action find
entity Peterborough
relation legislative body
type legislature
['Peterborough', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Peterborough property:legislative_body ?w . ?w rdf:type ontology:legislature }
[]
legislature
Q6664413
SYSTEM
Peterborough City Council
Q6664413
(Q172438,P194,c(Q11204))
action filter_type
action find
entity Q172438
relation P194
type Q11204
[ANSWER] is the representative body for Peterborough
['Q172438', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?w WHERE { resource:Q172438 property:P194 ?w . ?w rdf:type ontology:Q11204 }
Peterborough City Council
Peterborough City Council is the representative body for Peterborough
Peterborough City Council
action filter_type
action find
entity Peterborough
relation legislative body
type legislature
['Peterborough', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?w WHERE { resource:Peterborough property:legislative_body ?w . ?w rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q172438
P17
Q15617994
USER
Which administrative territory does Peterborough belong to ?
(Q172438,P17,c(Q15617994))
action filter_type
action find
entity Q172438
relation P17
type Q15617994
['Q172438', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q172438 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Peterborough
action filter_type
action find
entity Peterborough
relation country
type designation for an administrative territorial entity
['Peterborough', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Peterborough property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q172438,P17,c(Q15617994))
action filter_type
action find
entity Q172438
relation P17
type Q15617994
Peterborough belongs to [ANSWER]
['Q172438', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q172438 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
United Kingdom
Peterborough belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Peterborough
relation country
type designation for an administrative territorial entity
['Peterborough', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Peterborough property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q145
P35
Q502895
USER
How many people are the heads of state of United Kingdom ?
(Q145,P35,c(Q502895))
action count
action filter_type
action find
entity Q145
relation P35
type Q502895
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q145 property:P35 ?m . ?m rdf:type ontology:Q502895 }
United Kingdom
action count
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:United_Kingdom property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q590227 Q269412 Q280856 Q9682
(Q145,P35,c(Q502895))
action count
action filter_type
action find
entity Q145
relation P35
type Q502895
[ANSWER]
['Q145', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:Q145 property:P35 ?m . ?m rdf:type ontology:Q502895 }
Edward VIII George V George VI Elizabeth II
4
action count
action filter_type
action find
entity United Kingdom
relation head of state
type common name
['United Kingdom', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?v ) WHERE { resource:United_Kingdom property:head_of_state ?m . ?m rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q805
Q502895
USER
And how about Yemen?
(Q805,P35,c(Q502895))
action count
action filter_type
action find
entity Q805
relation P35
type Q502895
['Q805', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q805 property:P35 ?n . ?n rdf:type ontology:Q502895 }
Yemen
action count
action filter_type
action find
entity Yemen
relation head of state
type common name
['Yemen', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Yemen property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]
common name
SYSTEM
2
(Q805,P35,c(Q502895))
action count
action filter_type
action find
entity Q805
relation P35
type Q502895
[ANSWER]
['Q805', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Q805 property:P35 ?n . ?n rdf:type ontology:Q502895 }
2
action count
action filter_type
action find
entity Yemen
relation head of state
type common name
['Yemen', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { resource:Yemen property:head_of_state ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q805
P19
Q502895
USER
Who were born at that administrative territory ?
action filter_type
action find_reverse
entity Q805
relation P19
type Q502895
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q805 . ?z rdf:type ontology:Q502895 }
Yemen
action filter_type
action find_reverse
entity Yemen
relation place of birth
type common name
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Yemen . ?z rdf:type ontology:common_name }
[]
common name
Q4119526 Q4831458 Q7689344
SYSTEM
Ali Al-Nono, Ayman Al Hagri, Tawus ibn Kaysan
Q2906710 Q6892946 Q2900557 Q19958122 Q19664123 Q4666091 Q4701607 Q2357291 Q19664325 Q3815482 Q2892375 Q21620698 Q2558262 Q4665868 Q4119526 Q4116063 Q2902944 Q2477222 Q19271880 Q4665019 Q2777904 Q19661386 Q14759067 Q4116383 Q4665826 Q2068670 Q1108678 Q2777261 Q458632 Q4325822 Q3318989 Q6967154 Q4831458 Q2335185 Q4778008 Q4116087 Q7409367 Q4681541 Q4746300 Q4666205 Q8049879 Q2900565 Q3272068 Q7267019 Q2908223 Q5437744 Q16864004 Q8049884 Q6930660 Q335170 Q1112728 Q5247450 Q4116394 Q26311375 Q23765884 Q5636754 Q266978 Q12069604 Q4118309 Q6399299 Q69326 Q19144122 Q5441619 Q5439160 Q7689344 Q21181140
action filter_type
action find_reverse
entity Q805
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
SELECT DISTINCT ?z WHERE { ?z property:P19 resource:Q805 . ?z rdf:type ontology:Q502895 }
Shimon Ben-Shlomo Mohammed Ali Hassan Al-Moayad Shmaryahu Ben-Tzur Waleed Al-Hubaishi Abdulwasea Al-Matari Abdullah al-Saidi Akram Al-Selwi Ata ibn Abi Rabah Mohammed Ahmed Ali Boqshan Badhan Simeon the Yemenite Ahmed Abdulhakim Al-Sarori Abdul-Malik al-Houthi Abdulkarim Al-Arhabi Ali Al-Nono Ala Al-Sasi Avraham Taviv Abdullah ibn Saba' Sami Hasan Al Nash Abdo Al-Edresi Saadia Kobashi Mohammed Al-Sarori Bracha Kapach Akram Al-Worafi Abdulelah Sharyan Hussein Badreddin al-Houthi Malik al-Ashtar Zecharia Glosca Nujood Ali Muhammad ash-Shawkani Mohammad Ahmed Abdullah Saleh Al Hanashi Nasir al-Wuhayshi Ayman Al Hagri Haim Cohen-Meguri Anwar Al-Aug Ka'ab al-Ahbar Sami Juaim Adel Al-Salimi Amin Al-Sanini Abdulsalam Al Ghurbani Yasser Al-Baadani Shalom-Avraham Shaki Sharaf Mahfood Qasim al-Raymi Miriam Glazer-Ta'asa Fathi Jabir Zu Shenatir Yasser Basuhai Muaadh Abdulkhalek Abu Musa Ashaari Miqdad ibn Aswad Jamal al-Sharaabi Salem Saeed Talal Aklan Run Wrake Habib Abdulrab Sarori Valerie Vaz Cahide Sonku Habib ibn Muzahir Khaled Afarah Abu Hurairah aldossi Harith bin Ghazi al-Nadhari Fekri Al-Hubaishi Fazal Pookoya Thangal Tawus ibn Kaysan Yaser Ali Al-Gabr
Ali Al-Nono, Ayman Al Hagri and Tawus ibn Kaysan were born at that administrative territory
Ali Al-Nono Ayman Al Hagri Tawus ibn Kaysan
action filter_type
action find_reverse
entity Yemen
relation place of birth
type common name
SELECT DISTINCT ?z WHERE { ?z property:place_of_birth resource:Yemen . ?z rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q46165
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have adopted more number of people and holidays as their patron saint than Montecchio Maggiore ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q46165
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { { ?e property:P417 ?x . ?e rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?x . ?e rdf:type ontology:Q56061 . ?x rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q46165 property:P417 ?n . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q1445650 } } } } . FILTER ( ?c > ?z ) }
Montecchio Maggiore
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Montecchio Maggiore
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { { ?e property:patron_saint ?x . ?e rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:holiday } UNION { ?e property:patron_saint ?x . ?e rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Montecchio_Maggiore property:patron_saint ?n . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:holiday } } } } . FILTER ( ?c > ?z ) }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q46165
relation P417
type Q502895
type Q1445650
[ANSWERS] have adopted more number of people and holidays as their patron saint than Montecchio Maggiore
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { { ?e property:P417 ?x . ?e rdf:type ontology:Q56061 . ?x rdf:type ontology:Q1445650 } UNION { ?e property:P417 ?x . ?e rdf:type ontology:Q56061 . ?x rdf:type ontology:Q502895 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Q46165 property:P417 ?n . { { ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q1445650 } } } } . FILTER ( ?c > ?z ) }
Brinzio Rome
Brinzio and Rome have adopted more number of people and holidays as their patron saint than Montecchio Maggiore
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Montecchio Maggiore
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?c ) WHERE { { ?e property:patron_saint ?x . ?e rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:holiday } UNION { ?e property:patron_saint ?x . ?e rdf:type ontology:administrative_territorial_entity . ?x rdf:type ontology:common_name } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { resource:Montecchio_Maggiore property:patron_saint ?n . { { ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:holiday } } } } . FILTER ( ?c > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q491588
P417
Q502895 Q1445650 Q56061
USER
And how about Camporeale?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q491588
relation P417
type Q502895
type Q1445650
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?w rdf:type ?t } GROUP BY ?f } . FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q491588 property:P417 ?z . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Camporeale
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Camporeale
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } . ?w rdf:type ?t } GROUP BY ?f } . FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Camporeale property:patron_saint ?z . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]
common name holiday administrative territorial entity
Q39519 Q220
SYSTEM
Brinzio, Rome
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action greater
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action count
action filter_multi_types
action find
entity Q491588
relation P417
type Q502895
type Q1445650
[ANSWERS]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } . ?w rdf:type ?t } GROUP BY ?f } . FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q491588 property:P417 ?z . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } } } }
Brinzio Rome
Brinzio Rome
action greater
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action count
action filter_multi_types
action find
entity Camporeale
relation patron saint
type common name
type holiday
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:holiday ) } . ?w rdf:type ?t } GROUP BY ?f } . FILTER ( ?x > ?l ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Camporeale property:patron_saint ?z . { ?z rdf:type ?g . VALUES ( ?g ) { ( ontology:common_name ) ( ontology:holiday ) } } } } }
[]