Simple Question (Direct)
Simple Question
Q70987
P20
Q15617994
USER
Where did the demise of Joachim Marquardt occur ?
(Q70987,P20,c(Q15617994))
action filter_type
action find
entity Q70987
relation P20
type Q15617994
['Q70987', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q70987 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Joachim Marquardt
action filter_type
action find
entity Joachim Marquardt
relation place of death
type designation for an administrative territorial entity
['Joachim Marquardt', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Joachim_Marquardt property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q6986
SYSTEM
Gotha
Q6986
(Q70987,P20,c(Q15617994))
action filter_type
action find
entity Q70987
relation P20
type Q15617994
The demise of Joachim Marquardt occurred in [ANSWER]
['Q70987', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q70987 property:P20 ?b . ?b rdf:type ontology:Q15617994 }
Gotha
The demise of Joachim Marquardt occurred in Gotha
Gotha
action filter_type
action find
entity Joachim Marquardt
relation place of death
type designation for an administrative territorial entity
['Joachim Marquardt', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Joachim_Marquardt property:place_of_death ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6986
P190
Q56061
USER
Which administrative territories are sister towns of that administrative territory ?
(Q6986,P190,c(Q56061))
action filter_type
action find
entity Q6986
relation P190
type Q56061
['Q6986', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q6986 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Gotha
action filter_type
action find
entity Gotha
relation sister city
type administrative territorial entity
['Gotha', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gotha property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q27001 Q943775
SYSTEM
Martin, Gastonia
Q27001 Q943775
(Q6986,P190,c(Q56061))
action filter_type
action find
entity Q6986
relation P190
type Q56061
[ANSWERS] are sister towns of that administrative territory
['Q6986', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q6986 property:P190 ?e . ?e rdf:type ontology:Q56061 }
Martin Gastonia
Martin and Gastonia are sister towns of that administrative territory
Martin Gastonia
action filter_type
action find
entity Gotha
relation sister city
type administrative territorial entity
['Gotha', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Gotha property:sister_city ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6986
P17
Q1048835
USER
Which political territory is that administrative territory a part of ?
(Q27001,P17,c(Q1048835)) (Q943775,P17,c(Q1048835))
action filter_type
action find
entity Q6986
relation P17
type Q1048835
['Q27001', 'P17', {'concept': 'Q1048835'}] ['Q943775', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q6986 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Gotha
action filter_type
action find
entity Gotha
relation country
type political territorial entity
['Martin', 'country', {'concept': 'political territorial entity'}] ['Gastonia', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Gotha property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q27001,P17,c(Q1048835)) (Q943775,P17,c(Q1048835))
action filter_type
action find
entity Q6986
relation P17
type Q1048835
[ANSWER] is that administrative territory a part of
['Q27001', 'P17', {'concept': 'Q1048835'}] ['Q943775', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q6986 property:P17 ?a . ?a rdf:type ontology:Q1048835 }
Germany
Germany is that administrative territory a part of
Germany
action filter_type
action find
entity Gotha
relation country
type political territorial entity
['Martin', 'country', {'concept': 'political territorial entity'}] ['Gastonia', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Gotha property:country ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q183 Q2594
P35
Q502895
USER
Does Theodor Heuss have the highest formal authority in that political territory ?
(Q183,P35,Q2594)
action is_in
entity Q2594
action find
entity Q183
relation P35
['Q183', 'P35', 'Q2594']
ASK WHERE { resource:Q183 property:P35 resource:Q2594 }
Germany Theodor Heuss
action is_in
entity Theodor Heuss
action find
entity Germany
relation head of state
['Germany', 'head of state', 'Theodor Heuss']
ASK WHERE { resource:Germany property:head_of_state resource:Theodor_Heuss }
[]
common name
SYSTEM
YES
(Q183,P35,Q2594)
action is_in
entity Q2594
action find
entity Q183
relation P35
[ANSWER]
['Q183', 'P35', 'Q2594']
ASK WHERE { resource:Q183 property:P35 resource:Q2594 }
Yes
action is_in
entity Theodor Heuss
action find
entity Germany
relation head of state
['Germany', 'head of state', 'Theodor Heuss']
ASK WHERE { resource:Germany property:head_of_state resource:Theodor_Heuss }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q27001 Q20062 Q7058155
P17
Q15617994
USER
Is Martin located in Frassino and Northern Bedford County School District ?
(Q27001,P17,Q20062) (Q27001,P17,Q7058155)
action is_in
entity Q27001
action intersection
action find_reverse
entity Q20062
relation P17
action find_reverse
entity Q7058155
relation P17
['Q27001', 'P17', 'Q20062'] ['Q27001', 'P17', 'Q7058155']
ASK WHERE { resource:Q27001 property:P17 resource:Q7058155 . resource:Q27001 property:P17 resource:Q20062 }
Martin Frassino Northern Bedford County School District
action is_in
entity Martin
action intersection
action find_reverse
entity Frassino
relation country
action find_reverse
entity Northern Bedford County School District
relation country
['Martin', 'country', 'Frassino'] ['Martin', 'country', 'Northern Bedford County School District']
ASK WHERE { resource:Martin property:country resource:Northern_Bedford_County_School_District . resource:Martin property:country resource:Frassino }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q27001,P17,Q20062) (Q27001,P17,Q7058155)
action is_in
entity Q27001
action intersection
action find_reverse
entity Q20062
relation P17
action find_reverse
entity Q7058155
relation P17
[ANSWER]
['Q27001', 'P17', 'Q20062'] ['Q27001', 'P17', 'Q7058155']
ASK WHERE { resource:Q27001 property:P17 resource:Q7058155 . resource:Q27001 property:P17 resource:Q20062 }
No
action is_in
entity Martin
action intersection
action find_reverse
entity Frassino
relation country
action find_reverse
entity Northern Bedford County School District
relation country
['Martin', 'country', 'Frassino'] ['Martin', 'country', 'Northern Bedford County School District']
ASK WHERE { resource:Martin property:country resource:Northern_Bedford_County_School_District . resource:Martin property:country resource:Frassino }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q943775 Q1512685
P17
Q15617994
USER
Is Gastonia a part of Rohrbach ?
(Q943775,P17,Q1512685)
action is_in
entity Q1512685
action find
entity Q943775
relation P17
['Q943775', 'P17', 'Q1512685']
ASK WHERE { resource:Q943775 property:P17 resource:Q1512685 }
Gastonia Rohrbach
action is_in
entity Rohrbach
action find
entity Gastonia
relation country
['Gastonia', 'country', 'Rohrbach']
ASK WHERE { resource:Gastonia property:country resource:Rohrbach }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q943775,P17,Q1512685)
action is_in
entity Q1512685
action find
entity Q943775
relation P17
[ANSWER]
['Q943775', 'P17', 'Q1512685']
ASK WHERE { resource:Q943775 property:P17 resource:Q1512685 }
No
action is_in
entity Rohrbach
action find
entity Gastonia
relation country
['Gastonia', 'country', 'Rohrbach']
ASK WHERE { resource:Gastonia property:country resource:Rohrbach }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q943775
P551
Q502895
USER
Which person dwells at Gastonia ?
(c(Q502895),P551,Q943775)
action filter_type
action find_reverse
entity Q943775
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q943775']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q943775 . ?d rdf:type ontology:Q502895 }
Gastonia
action filter_type
action find_reverse
entity Gastonia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gastonia']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Gastonia . ?d rdf:type ontology:common_name }
[]
common name
Q641041
SYSTEM
Darrell Armstrong
Q641041
(c(Q502895),P551,Q943775)
action filter_type
action find_reverse
entity Q943775
relation P551
type Q502895
[ANSWER] dwells at Gastonia
[{'concept': 'Q502895'}, 'P551', 'Q943775']
SELECT DISTINCT ?d WHERE { ?d property:P551 resource:Q943775 . ?d rdf:type ontology:Q502895 }
Darrell Armstrong
Darrell Armstrong dwells at Gastonia
Darrell Armstrong
action filter_type
action find_reverse
entity Gastonia
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Gastonia']
SELECT DISTINCT ?d WHERE { ?d property:residence resource:Gastonia . ?d rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27001
P1376
Q13220204
USER
Which administrative country subdivision has Martin has its first city ?
(Q27001,P1376,c(Q13220204))
action filter_type
action find
entity Q27001
relation P1376
type Q13220204
['Q27001', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q27001 property:P1376 ?f . ?f rdf:type ontology:Q13220204 }
Martin
action filter_type
action find
entity Martin
relation capital of
type second-level administrative country subdivision
['Martin', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Martin property:capital_of ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q756665
SYSTEM
Martin District
Q756665
(Q27001,P1376,c(Q13220204))
action filter_type
action find
entity Q27001
relation P1376
type Q13220204
[ANSWER] has Martin has its first city
['Q27001', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?f WHERE { resource:Q27001 property:P1376 ?f . ?f rdf:type ontology:Q13220204 }
Martin District
Martin District has Martin has its first city
Martin District
action filter_type
action find
entity Martin
relation capital of
type second-level administrative country subdivision
['Martin', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?f WHERE { resource:Martin property:capital_of ?f . ?f rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16050
Q13220204
USER
And what about Diekirch?
(Q16050,P1376,c(Q13220204))
action filter_type
action find
entity Q16050
relation P1376
type Q13220204
['Q16050', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q13220204 . resource:Q16050 property:P1376 ?h }
Diekirch
action filter_type
action find
entity Diekirch
relation capital of
type second-level administrative country subdivision
['Diekirch', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:second-level_administrative_country_subdivision . resource:Diekirch property:capital_of ?h }
[]
second-level administrative country subdivision
Q691842
SYSTEM
Canton of Diekirch
Q691842
(Q16050,P1376,c(Q13220204))
action filter_type
action find
entity Q16050
relation P1376
type Q13220204
[ANSWER]
['Q16050', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q13220204 . resource:Q16050 property:P1376 ?h }
Canton of Diekirch
Canton of Diekirch
action filter_type
action find
entity Diekirch
relation capital of
type second-level administrative country subdivision
['Diekirch', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:second-level_administrative_country_subdivision . resource:Diekirch property:capital_of ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q13220204 Q13220204
USER
How many administrative country subdivisions are atmost 2 administrative country subdivisions named after ?
(c(Q13220204),P138,c(Q13220204))
action count
action atmost
action find_reverse_tuple_counts
relation P138
type Q13220204
type Q13220204
value 2
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P138 ?u . ?u rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q13220204 } GROUP BY ?u } . FILTER ( ?n <= 2 ) }
action count
action atmost
action find_reverse_tuple_counts
relation named after
type second-level administrative country subdivision
type second-level administrative country subdivision
value 2
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:named_after ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?u } . FILTER ( ?n <= 2 ) }
[]
second-level administrative country subdivision second-level administrative country subdivision
SYSTEM
126
Q65620 Q476268 Q211260 Q68256 Q68440 Q15179893 Q10002 Q10003 Q913445 Q65903 Q82142 Q14523654 Q9913 Q67720 Q476658 Q1663 Q476511 Q9980 Q388575 Q706857 Q65249 Q952457 Q869523 Q475929 Q69606 Q10018 Q63992 Q328087 Q67613 Q9905 Q701978 Q9949 Q475381 Q46001 Q208012 Q158053 Q65254 Q476463 Q64776 Q9932 Q68703 Q9938 Q222220 Q66922 Q65826 Q67367 Q921283 Q65268 Q64178 Q110848 Q68796 Q10001 Q475826 Q68097 Q68269 Q9928 Q9880 Q70095 Q9858 Q68986 Q191082 Q156743 Q9808 Q149024 Q659665 Q70334 Q995152 Q11939 Q734860 Q48687 Q69627 Q69503 Q67993 Q68165 Q9954 Q1367576 Q10044 Q2583056 Q66577 Q67646 Q5765 Q462663 Q9796 Q201304 Q68283 Q68286 Q108966 Q67157 Q66012 Q69532 Q1596330 Q476097 Q64191 Q231352 Q7903 Q64292 Q208259 Q70432 Q7151 Q65291 Q43595 Q10056 Q10055 Q10052 Q9948 Q10050 Q65112 Q62266 Q64200 Q1435 Q476385 Q39383 Q1577621 Q69296 Q9970 Q4191 Q70194 Q67135 Q1647 Q64853 Q10039 Q538725 Q1129 Q9966 Q2841 Q848831
(c(Q13220204),P138,c(Q13220204))
action count
action atmost
action find_reverse_tuple_counts
relation P138
type Q13220204
type Q13220204
value 2
[ANSWER]
[{'concept': 'Q13220204'}, 'P138', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:P138 ?u . ?u rdf:type ontology:Q13220204 . ?v rdf:type ontology:Q13220204 } GROUP BY ?u } . FILTER ( ?n <= 2 ) }
Tuggen Nong Na Kham Zaandam Porrentruy Rickenbach An Khê Enschede Haaksbergen Si Racha Lauenen Granada Province Ko Samui Diemen Randa Sattahip Split Pluak Daeng Zandvoort Leerdam Bakhmut Uebeschi Nizhyn Vogorno Mae Chan Laax Ommen Ascona Dronten Wohlen bei Bern Beverwijk arrondissement of Nontron Naarden Chiang Dao Alushta Hoogeveen Sorokyne Silvaplana Phrom Buri Amsoldingen Heiloo Les Brenets Hoorn Ridderkerk Ependes Hüttwilen Niederried bei Kallnach Santa Fe de Nuevo México Brienz Maienfeld Ringerike Muzzano Deventer Kranuan Davos Pfäffikon Heemstede Werkendam Courroux Oosterhout St. Moritz Aegina Ternopil Aalburg Novohrad-Volynskyi Salacgrīva Origlio Kakhovka Stein am Rhein Capelle aan den IJssel Tjøme Lauerz Poschiavo Bonfol Kloten Purmerend Vrouwenpolder Houten Kijfhoek Seewen Inkwil Balearic Islands Brielle Kerkrade Colchagua Province Murten Horgen Mandal Moutier Sufers Chermignon Heinkenszand Mueang Surat Thani Walenstadt Zvezdara Casablanca Lungern Ameland Hauterive Sempach Hallwil Cotonou Zeist Woudenberg Vianen Muiden Nieuwegein Marmorera Ålesund Sils im Engadin/Segl Zagreb Phatthana Nikhom Bodø Gachalá Alpnach Velsen Lucerne Valangin Klingnau Rijeka Wiesendangen Renswoude Hendrik-Ido-Ambacht Hainaut Texel Bogotá Province of Brabant
126
action count
action atmost
action find_reverse_tuple_counts
relation named after
type second-level administrative country subdivision
type second-level administrative country subdivision
value 2
[{'concept': 'second-level administrative country subdivision'}, 'named after', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?v ) AS ?n ) WHERE { ?v property:named_after ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision . ?v rdf:type ontology:second-level_administrative_country_subdivision } GROUP BY ?u } . FILTER ( ?n <= 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q19631382 Q20062
P17
Q15617994
USER
Which administrative territories do Frassino or Velletriweg belong to ?
OR((Q20062,P17,c(Q15617994)), (Q19631382,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20062
relation P17
action find
entity Q19631382
relation P17
type Q15617994
{'OR': [['Q20062', 'P17', {'concept': 'Q15617994'}], ['Q19631382', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?r ) { ( resource:Q20062 ) ( resource:Q19631382 ) } . ?r property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
Velletriweg Frassino
action filter_type
action union
action find
entity Frassino
relation country
action find
entity Velletriweg
relation country
type designation for an administrative territorial entity
{'OR': [['Frassino', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Velletriweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?r ) { ( resource:Frassino ) ( resource:Velletriweg ) } . ?r property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q55
SYSTEM
Italy, Netherlands
Q38 Q55
OR((Q20062,P17,c(Q15617994)), (Q19631382,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q20062
relation P17
action find
entity Q19631382
relation P17
type Q15617994
Frassino or Velletriweg belong to [ANSWERS]
{'OR': [['Q20062', 'P17', {'concept': 'Q15617994'}], ['Q19631382', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?r ) { ( resource:Q20062 ) ( resource:Q19631382 ) } . ?r property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
Italy Netherlands
Frassino or Velletriweg belong to Italy and Netherlands
Italy Netherlands
action filter_type
action union
action find
entity Frassino
relation country
action find
entity Velletriweg
relation country
type designation for an administrative territorial entity
{'OR': [['Frassino', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Velletriweg', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?r ) { ( resource:Frassino ) ( resource:Velletriweg ) } . ?r property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q871511
P112
Q484652
USER
Were Secretariat of the Pacific Community founded by those administrative territories ?
(Q871511,P112,Q38) (Q871511,P112,Q55)
action is_in
entity prev_answer
action find
entity Q871511
relation P112
['Q871511', 'P112', 'Q38'] ['Q871511', 'P112', 'Q55']
ASK WHERE { resource:Q871511 property:P112 ?q . VALUES ( ?q ) { ( resource:Q38 ) ( resource:Q55 ) } }
Secretariat of the Pacific Community
action is_in
entity prev_answer
action find
entity Secretariat of the Pacific Community
relation founder
['Secretariat of the Pacific Community', 'founder', 'Italy'] ['Secretariat of the Pacific Community', 'founder', 'Netherlands']
ASK WHERE { resource:Secretariat_of_the_Pacific_Community property:founder ?q . VALUES ( ?q ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
international organization
SYSTEM
NO
(Q871511,P112,Q38) (Q871511,P112,Q55)
action is_in
entity prev_answer
action find
entity Q871511
relation P112
[ANSWER]
['Q871511', 'P112', 'Q38'] ['Q871511', 'P112', 'Q55']
ASK WHERE { resource:Q871511 property:P112 ?q . VALUES ( ?q ) { ( resource:Q38 ) ( resource:Q55 ) } }
No
action is_in
entity prev_answer
action find
entity Secretariat of the Pacific Community
relation founder
['Secretariat of the Pacific Community', 'founder', 'Italy'] ['Secretariat of the Pacific Community', 'founder', 'Netherlands']
ASK WHERE { resource:Secretariat_of_the_Pacific_Community property:founder ?q . VALUES ( ?q ) { ( resource:Italy ) ( resource:Netherlands ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
Which administrative territories have around 1 people and holidays as their patron saint ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:Q56061 . ?m rdf:type ontology:Q502895 . ?v property:P417 ?m } UNION { ?v property:P417 ?m . ?v rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1445650 } } GROUP BY ?v } . FILTER ( ?h = 1 ) }
action approx
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
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:common_name . ?v property:patron_saint ?m } UNION { ?v property:patron_saint ?m . ?v rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:holiday } } GROUP BY ?v } . FILTER ( ?h = 1 ) }
[]
common name holiday 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 Q495798 Q82208 Q3557616 Q374108 Q3562704 Q428018 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(Q502895)|c(Q1445650))
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 1
[ANSWERS] have around 1 people and holidays as their patron saint
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:Q56061 . ?m rdf:type ontology:Q502895 . ?v property:P417 ?m } UNION { ?v property:P417 ?m . ?v rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1445650 } } GROUP BY ?v } . FILTER ( ?h = 1 ) }
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 Brolo Kastritsa Platres Altrei Molista Mölten 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 and Milan have around 1 people and holidays as their patron saint
Moscow Madrid Milan
action approx
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
value 1
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?v WHERE { { ?v rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:common_name . ?v property:patron_saint ?m } UNION { ?v property:patron_saint ?m . ?v rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:holiday } } GROUP BY ?v } . FILTER ( ?h = 1 ) }
[]