Simple Question (Direct)
Simple Question
Q1722930
P106
Q12737077
USER
Which occupation is the profession of Roman Lampl ?
(Q1722930,P106,c(Q12737077))
action filter_type
action find
entity Q1722930
relation P106
type Q12737077
['Q1722930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1722930 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Roman Lampl
action filter_type
action find
entity Roman Lampl
relation occupation
type occupation
['Roman Lampl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Roman_Lampl property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q1722930,P106,c(Q12737077))
action filter_type
action find
entity Q1722930
relation P106
type Q12737077
So [ANSWER] is the profession of Roman Lampl
['Q1722930', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q1722930 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
politician
So politician is the profession of Roman Lampl
politician
action filter_type
action find
entity Roman Lampl
relation occupation
type occupation
['Roman Lampl', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Roman_Lampl property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1722930
P20
Q56061
USER
Where did Roman Lampl die ?
(Q1722930,P20,c(Q56061))
action filter_type
action find
entity Q1722930
relation P20
type Q56061
['Q1722930', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1722930 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Roman Lampl
action filter_type
action find
entity Roman Lampl
relation place of death
type administrative territorial entity
['Roman Lampl', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Roman_Lampl property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1722930,P20,c(Q56061))
action filter_type
action find
entity Q1722930
relation P20
type Q56061
Roman Lampl died in [ANSWER]
['Q1722930', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1722930 property:P20 ?d . ?d rdf:type ontology:Q56061 }
Munich
Roman Lampl died in Munich
Munich
action filter_type
action find
entity Roman Lampl
relation place of death
type administrative territorial entity
['Roman Lampl', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Roman_Lampl property:place_of_death ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5951646
Q56061
USER
And also tell me about Juan Nicolás Álvarez Borcosqui?
(Q5951646,P20,c(Q56061))
action filter_type
action find
entity Q5951646
relation P20
type Q56061
['Q5951646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5951646 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Juan Nicolás Álvarez Borcosqui
action filter_type
action find
entity Juan Nicolás Álvarez Borcosqui
relation place of death
type administrative territorial entity
['Juan Nicolás Álvarez Borcosqui', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Juan_Nicolás_Álvarez_Borcosqui property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q105037
SYSTEM
Callao
Q105037
(Q5951646,P20,c(Q56061))
action filter_type
action find
entity Q5951646
relation P20
type Q56061
[ANSWER]
['Q5951646', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q5951646 property:P20 ?g . ?g rdf:type ontology:Q56061 }
Callao
Callao
action filter_type
action find
entity Juan Nicolás Álvarez Borcosqui
relation place of death
type administrative territorial entity
['Juan Nicolás Álvarez Borcosqui', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Juan_Nicolás_Álvarez_Borcosqui property:place_of_death ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P190
Q56061
USER
How many administrative territories are twin cities of that administrative territory ?
(Q105037,P190,c(Q56061))
action count
action filter_type
action find
entity Q105037
relation P190
type Q56061
['Q105037', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q105037 property:P190 ?d }
action count
action filter_type
action find
entity Callao
relation sister city
type administrative territorial entity
['Callao', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Callao property:sister_city ?d }
[]
administrative territorial entity
SYSTEM
2
Q33986 Q1026270
(Q105037,P190,c(Q56061))
action count
action filter_type
action find
entity Q105037
relation P190
type Q56061
[ANSWER]
['Q105037', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q56061 . resource:Q105037 property:P190 ?d }
Valparaíso Paita
2
action count
action filter_type
action find
entity Callao
relation sister city
type administrative territorial entity
['Callao', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Callao property:sister_city ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q105037
P190
Q56061 Q515
USER
How many administrative territories or cities are twin town of Callao ?
(c(Q56061),P190,Q105037) (c(Q515),P190,Q105037)
action count
action union
action filter_type
action find_reverse
entity Q105037
relation P190
type Q56061
action filter_type
action find_reverse
entity Q105037
relation P190
type Q515
[{'concept': 'Q56061'}, 'P190', 'Q105037'] [{'concept': 'Q515'}, 'P190', 'Q105037']
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P190 resource:Q105037 . ?v rdf:type ontology:Q515 } UNION { ?v rdf:type ontology:Q56061 . ?v property:P190 resource:Q105037 } }
Callao
action count
action union
action filter_type
action find_reverse
entity Callao
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Callao
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Callao'] [{'concept': 'city'}, 'sister city', 'Callao']
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:sister_city resource:Callao . ?v rdf:type ontology:city } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?v property:sister_city resource:Callao } }
[]
administrative territorial entity city
SYSTEM
3
Q33986 Q1026270 Q44244
(c(Q56061),P190,Q105037) (c(Q515),P190,Q105037)
action count
action union
action filter_type
action find_reverse
entity Q105037
relation P190
type Q56061
action filter_type
action find_reverse
entity Q105037
relation P190
type Q515
[ANSWER]
[{'concept': 'Q56061'}, 'P190', 'Q105037'] [{'concept': 'Q515'}, 'P190', 'Q105037']
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:P190 resource:Q105037 . ?v rdf:type ontology:Q515 } UNION { ?v rdf:type ontology:Q56061 . ?v property:P190 resource:Q105037 } }
Valparaíso Paita Santa Fe
3
action count
action union
action filter_type
action find_reverse
entity Callao
relation sister city
type administrative territorial entity
action filter_type
action find_reverse
entity Callao
relation sister city
type city
[{'concept': 'administrative territorial entity'}, 'sister city', 'Callao'] [{'concept': 'city'}, 'sister city', 'Callao']
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v property:sister_city resource:Callao . ?v rdf:type ontology:city } UNION { ?v rdf:type ontology:administrative_territorial_entity . ?v property:sister_city resource:Callao } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q154978 Q1722930
P19 P937
Q56061
USER
Which administrative territories are the work locations of Roman Lampl or were Klaus Meine born in ?
OR((Q1722930,P937,c(Q56061)), (Q154978,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1722930
relation P937
action find
entity Q154978
relation P19
type Q56061
{'OR': [['Q1722930', 'P937', {'concept': 'Q56061'}], ['Q154978', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1722930 property:P937 ?x } UNION { resource:Q154978 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Klaus Meine Roman Lampl
action filter_type
action union
action find
entity Roman Lampl
relation work location
action find
entity Klaus Meine
relation place of birth
type administrative territorial entity
{'OR': [['Roman Lampl', 'work location', {'concept': 'administrative territorial entity'}], ['Klaus Meine', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Roman_Lampl property:work_location ?x } UNION { resource:Klaus_Meine property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586 Q1715
SYSTEM
Bonn, Hanover
Q586 Q1715
OR((Q1722930,P937,c(Q56061)), (Q154978,P19,c(Q56061)))
action filter_type
action union
action find
entity Q1722930
relation P937
action find
entity Q154978
relation P19
type Q56061
[ANSWERS] are the work locations of Roman Lampl or were Klaus Meine born in
{'OR': [['Q1722930', 'P937', {'concept': 'Q56061'}], ['Q154978', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q1722930 property:P937 ?x } UNION { resource:Q154978 property:P19 ?x } } . ?x rdf:type ontology:Q56061 }
Bonn Hanover
Bonn and Hanover are the work locations of Roman Lampl or were Klaus Meine born in
Bonn Hanover
action filter_type
action union
action find
entity Roman Lampl
relation work location
action find
entity Klaus Meine
relation place of birth
type administrative territorial entity
{'OR': [['Roman Lampl', 'work location', {'concept': 'administrative territorial entity'}], ['Klaus Meine', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Roman_Lampl property:work_location ?x } UNION { resource:Klaus_Meine property:place_of_birth ?x } } . ?x rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q586
P88
Q838948
USER
What were commisioned by that administrative territory ?
(c(Q838948),P88,Q586)
action filter_type
action find_reverse
entity Q586
relation P88
type Q838948
[{'concept': 'Q838948'}, 'P88', 'Q586']
SELECT DISTINCT ?y WHERE { ?y property:P88 resource:Q586 . ?y rdf:type ontology:Q838948 }
Bonn
action filter_type
action find_reverse
entity Bonn
relation commissioned by
type work of art
[{'concept': 'work of art'}, 'commissioned by', 'Bonn']
SELECT DISTINCT ?y WHERE { ?y property:commissioned_by resource:Bonn . ?y rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q586
SYSTEM
Did you mean Bonn ?
Q586 Q1715
(c(Q838948),P88,Q586) (c(Q838948),P88,Q1715)
[ANSWER]
[{'concept': 'Q838948'}, 'P88', 'Q586'] [{'concept': 'Q838948'}, 'P88', 'Q1715']
SELECT DISTINCT ?y WHERE { ?y property:P88 resource:Q586 . ?y rdf:type ontology:Q838948 }
Bonn Hanover
Did you mean Bonn ?
Bonn
[{'concept': 'work of art'}, 'commissioned by', 'Bonn'] [{'concept': 'work of art'}, 'commissioned by', 'Hanover']
SELECT DISTINCT ?y WHERE { ?y property:commissioned_by resource:Bonn . ?y rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q838948),P88,Q586)
[{'concept': 'Q838948'}, 'P88', 'Q586']
[{'concept': 'work of art'}, 'commissioned by', 'Bonn']
[]
Q19730417 Q19681517 Q19693349
SYSTEM
Spiegelfaltung, Wasserlichtfeldspiegel, Begegnung
Q19730417 Q19693349 Q19681517
(c(Q838948),P88,Q586)
action filter_type
action find_reverse
entity Q586
relation P88
type Q838948
[ANSWERS] were commisioned by that administrative territory
[{'concept': 'Q838948'}, 'P88', 'Q586']
SELECT DISTINCT ?y WHERE { ?y property:P88 resource:Q586 . ?y rdf:type ontology:Q838948 }
Spiegelfaltung Begegnung Wasserlichtfeldspiegel
Spiegelfaltung, Wasserlichtfeldspiegel and Begegnung were commisioned by that administrative territory
Spiegelfaltung Wasserlichtfeldspiegel Begegnung
action filter_type
action find_reverse
entity Bonn
relation commissioned by
type work of art
[{'concept': 'work of art'}, 'commissioned by', 'Bonn']
SELECT DISTINCT ?y WHERE { ?y property:commissioned_by resource:Bonn . ?y rdf:type ontology:work_of_art }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q19693349 Q15921401
P88
Q56061
USER
How many administrative territories were Begegnung or La Fraternité commissioned by ?
(Q19693349,P88,c(Q56061)) (Q15921401,P88,c(Q56061))
action count
action union
action filter_type
action find
entity Q19693349
relation P88
type Q56061
action filter_type
action find
entity Q15921401
relation P88
type Q56061
['Q19693349', 'P88', {'concept': 'Q56061'}] ['Q15921401', 'P88', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { resource:Q19693349 property:P88 ?v . ?v rdf:type ontology:Q56061 } UNION { resource:Q15921401 property:P88 ?v . ?v rdf:type ontology:Q56061 } }
Begegnung La Fraternité
action count
action union
action filter_type
action find
entity Begegnung
relation commissioned by
type administrative territorial entity
action filter_type
action find
entity La Fraternité
relation commissioned by
type administrative territorial entity
['Begegnung', 'commissioned by', {'concept': 'administrative territorial entity'}] ['La Fraternité', 'commissioned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { resource:Begegnung property:commissioned_by ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { resource:La_Fraternité property:commissioned_by ?v . ?v rdf:type ontology:administrative_territorial_entity } }
[]
administrative territorial entity
SYSTEM
2
Q586 Q90
(Q19693349,P88,c(Q56061)) (Q15921401,P88,c(Q56061))
action count
action union
action filter_type
action find
entity Q19693349
relation P88
type Q56061
action filter_type
action find
entity Q15921401
relation P88
type Q56061
[ANSWER]
['Q19693349', 'P88', {'concept': 'Q56061'}] ['Q15921401', 'P88', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { resource:Q19693349 property:P88 ?v . ?v rdf:type ontology:Q56061 } UNION { resource:Q15921401 property:P88 ?v . ?v rdf:type ontology:Q56061 } }
Bonn Paris
2
action count
action union
action filter_type
action find
entity Begegnung
relation commissioned by
type administrative territorial entity
action filter_type
action find
entity La Fraternité
relation commissioned by
type administrative territorial entity
['Begegnung', 'commissioned by', {'concept': 'administrative territorial entity'}] ['La Fraternité', 'commissioned by', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) WHERE { { resource:Begegnung property:commissioned_by ?v . ?v rdf:type ontology:administrative_territorial_entity } UNION { resource:La_Fraternité property:commissioned_by ?v . ?v rdf:type ontology:administrative_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1845104
P206
Q1267889 Q355304 Q56061
USER
How many administrative territories are situated close to less number of waterways or watercourses than Little Thetford ?
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1845104
relation P206
type Q1267889
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?z rdf:type ?c } GROUP BY ?k } . FILTER ( ?i < ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?a rdf:type ?q } . resource:Q1845104 property:P206 ?a } } }
Little Thetford
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Little Thetford
relation located next to body of water
type waterway
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?z rdf:type ?c } GROUP BY ?k } . FILTER ( ?i < ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?a rdf:type ?q } . resource:Little_Thetford property:located_next_to_body_of_water ?a } } }
[]
waterway watercourse administrative territorial entity
SYSTEM
324
Q3579 Q18682792 Q2255397 Q9248 Q740149 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q83178 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q609698 Q254734 Q631517 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q1754 Q7977 Q2088134 Q5350973 Q156325 Q7673494 Q501090 Q73049 Q385386 Q1113813 Q2726062 Q625761 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q3894 Q15320 Q36433 Q2060910 Q179454 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q206954 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q174054 Q3483520 Q484799 Q14328 Q9918 Q11902175 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q2227038 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q196397 Q1748 Q210093 Q1223508 Q2677934 Q1042366 Q991274 Q3299785 Q849441 Q15068816 Q11901984 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q614919 Q3010939 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q6278969 Q2021057 Q1390389 Q831527 Q200036 Q651997 Q517053 Q7507390 Q15339 Q172 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q3274 Q941967 Q1807382 Q11899935 Q2684898 Q14947347 Q301415 Q920968 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q134620 Q239496 Q791602 Q959 Q654259 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q3688 Q6397865 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q3604 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q7230655 Q810092 Q492744 Q3854 Q11902896 Q4072448 Q10400 Q183199 Q2350941 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q674395 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q1043368 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1026296 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q2928585 Q49550 Q37806 Q770518 Q79716 Q922981 Q166065 Q930204 Q2713838 Q18681979 Q10313 Q304108 Q77056 Q58940 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q12762569 Q2413248 Q34692 Q913649 Q8757 Q15287 Q1764 Q3940 Q2236639 Q11901684 Q2729387 Q2124272 Q602314 Q1270505 Q176749 Q65502 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q2627415 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q3361880 Q683125 Q230406 Q1867127 Q502398 Q570990 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q2350685 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q11901400 Q991400 Q1758944
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q1845104
relation P206
type Q1267889
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?z rdf:type ?c } GROUP BY ?k } . FILTER ( ?i < ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:Q355304 ) ( ontology:Q1267889 ) } . ?a rdf:type ?q } . resource:Q1845104 property:P206 ?a } } }
Tripoli Vaattojärvi Uitdam Baku Södermalm Makkum Den Oever Dakar Gijón Malabo El Pescadero Almere Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Lorain Äkäslompolo Marivan Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa Stockholm Priozersk San José del Cabo El Centenario Juan Fernández Islands Taboiaki Castro Urdiales Hindeloopen Spakenburg Come By Chance, Newfoundland and Labrador Westmaas Bandipore Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Kampala Syasstroy Porto Fuvahmulah Pitkyaranta Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Kastoria Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Isola Bella Siggebohyttan Marbella Santa Cruz de Tenerife Enkhuizen Väylä Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Warder, Netherlands Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Sortavala Copenhagen Motril Ohrid Puttershoek Lilla Essingen Kalamos Halat Nuaim Saint John Norris Arm Vuontisjärvi San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Atokos Salmon Arm Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Jormua Hindersön Landön Djurgården Volos Alcobaça, Portugal De Koog Sicamous, British Columbia Shlisselburg Toronto Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Managua Peniche Muiderberg Vaalajärvi Ter Heijde Beetz Marken Nellim Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Jyväskylä Sheringham Awala-Yalimapo Vladivostok Bukoba Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Nouakchott Keväjärvi Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Djibouti Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Port Greville Unterwurmbach Mijas Bujumbura Ylläsjärvi Aurovka Almería Ioannina Scharwoude, Koggenland Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Bovenkarspel Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Stora Essingen Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Jinotega Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Mijnsheerenland Lelystad Wells-next-the-Sea Vaghena Island Kelontekemä Donostia/San Sebastián Isola dei Pescatori Edam Capolago Funafala Vestmannaeyjar Huizen Ydrefors Spetses Arenibek Cayo Romano Kingston Wijk aan Zee A Coruña Novaya Ladoga Reykjavík Victoria Oosterdijk, Enkhuizen Virmaila Huisduinen Maasdam Ruo Deline Villingili Bönigen Easter Island Palma Beirut Apia St. John's Palmyra Atoll Schellinkhout Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Schardam Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Lakewood Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Tolhuin Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Vikajärvi Puerto Barrios Rottumeroog
324
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Little Thetford
relation located next to body of water
type waterway
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?i ) ?k WHERE { VALUES ( ?c ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?z rdf:type ?c } GROUP BY ?k } . FILTER ( ?i < ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { { VALUES ( ?q ) { ( ontology:watercourse ) ( ontology:waterway ) } . ?a rdf:type ?q } . resource:Little_Thetford property:located_next_to_body_of_water ?a } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q2319224
P206
Q1267889 Q355304 Q56061
USER
And how about Goring-on-Thames?
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q2319224
relation P206
type Q1267889
type Q355304
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?w WHERE { VALUES ( ?l ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?d rdf:type ?l } GROUP BY ?w } . FILTER ( ?u < ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q2319224 property:P206 ?g . { { ?g rdf:type ontology:Q1267889 } UNION { ?g rdf:type ontology:Q355304 } } } } }
Goring-on-Thames
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Goring-on-Thames
relation located next to body of water
type waterway
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?w WHERE { VALUES ( ?l ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?d rdf:type ?l } GROUP BY ?w } . FILTER ( ?u < ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Goring-on-Thames property:located_next_to_body_of_water ?g . { { ?g rdf:type ontology:waterway } UNION { ?g rdf:type ontology:watercourse } } } } }
[]
waterway watercourse administrative territorial entity
SYSTEM
324
Q3579 Q18682792 Q2255397 Q9248 Q740149 Q493544 Q957593 Q3718 Q12273 Q3818 Q4359610 Q83178 Q770885 Q4083209 Q25231 Q501661 Q501744 Q1939468 Q3549178 Q1416753 Q622030 Q11974 Q548441 Q331556 Q609698 Q254734 Q631517 Q2943426 Q17151 Q15982011 Q1636296 Q1521492 Q105342 Q38834 Q1754 Q7977 Q2088134 Q5350973 Q156325 Q7673494 Q501090 Q73049 Q385386 Q1113813 Q2726062 Q625761 Q2357495 Q1650017 Q14621387 Q3929 Q328121 Q991661 Q1018010 Q47164 Q810309 Q3897 Q3894 Q15320 Q36433 Q2060910 Q179454 Q23800 Q1020776 Q19613124 Q2921491 Q473914 Q206954 Q8818 Q15981916 Q1718608 Q1335 Q208337 Q3761 Q28721 Q174054 Q3483520 Q484799 Q14328 Q9918 Q11902175 Q997407 Q2467 Q3561 Q6465685 Q3021755 Q41295 Q131233 Q2482545 Q5465 Q20730670 Q12246 Q4975194 Q2227038 Q207998 Q3792 Q52437 Q2983392 Q463937 Q212096 Q986079 Q2280 Q49149 Q8851 Q10509 Q12994 Q5476889 Q282461 Q1454043 Q515229 Q35178 Q656709 Q2719861 Q4119405 Q846188 Q196397 Q1748 Q210093 Q1223508 Q2677934 Q1042366 Q991274 Q3299785 Q849441 Q15068816 Q11901984 Q3947670 Q966534 Q969531 Q851034 Q3595479 Q14875773 Q614919 Q3010939 Q1000107 Q1442470 Q21060 Q5330523 Q14056 Q6278969 Q2021057 Q1390389 Q831527 Q200036 Q651997 Q517053 Q7507390 Q15339 Q172 Q847085 Q105037 Q214843 Q39178 Q40921 Q2225013 Q119446 Q3274 Q941967 Q1807382 Q11899935 Q2684898 Q14947347 Q301415 Q920968 Q49414 Q9310 Q1052027 Q736906 Q1874 Q837211 Q586112 Q134620 Q239496 Q791602 Q959 Q654259 Q3932309 Q8745 Q38807 Q2745332 Q213707 Q1770 Q41699 Q491999 Q19613821 Q425786 Q6751200 Q938379 Q2191422 Q3688 Q6397865 Q3306 Q647543 Q2893117 Q3780 Q7314172 Q840867 Q1732099 Q133123 Q986387 Q3825 Q19613231 Q865021 Q3604 Q2590944 Q2238911 Q1330853 Q5379235 Q3733 Q1189066 Q7230655 Q810092 Q492744 Q3854 Q11902896 Q4072448 Q10400 Q183199 Q2350941 Q5926907 Q16953999 Q311809 Q15682 Q5493749 Q674395 Q632489 Q2157144 Q724394 Q4347874 Q9347 Q2785515 Q1043368 Q2292517 Q13640603 Q2449 Q1624013 Q17483998 Q36526 Q3901 Q466046 Q2727978 Q2666506 Q1026296 Q1419813 Q62 Q3882 Q3889 Q1616324 Q216939 Q5813 Q767357 Q2928585 Q49550 Q37806 Q770518 Q79716 Q922981 Q166065 Q930204 Q2713838 Q18681979 Q10313 Q304108 Q77056 Q58940 Q2423894 Q187251 Q9939 Q8050719 Q368275 Q12762569 Q2413248 Q34692 Q913649 Q8757 Q15287 Q1764 Q3940 Q2236639 Q11901684 Q2729387 Q2124272 Q602314 Q1270505 Q176749 Q65502 Q14452 Q8826 Q3820 Q36260 Q36262 Q123076 Q2627415 Q569080 Q18386455 Q3932 Q719379 Q54898 Q1572113 Q3361880 Q683125 Q230406 Q1867127 Q502398 Q570990 Q2978763 Q222702 Q36600 Q3114 Q773919 Q743521 Q1807728 Q11901258 Q2084446 Q446232 Q41547 Q2350685 Q7823825 Q1552720 Q505601 Q14205508 Q670057 Q11901400 Q991400 Q1758944
(c(Q56061),P206,c(Q1267889)|c(Q355304))
action count
action less
action union
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action find_tuple_counts
relation P206
type Q56061
type Q355304
action count
action filter_multi_types
action find
entity Q2319224
relation P206
type Q1267889
type Q355304
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q1267889'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?w WHERE { VALUES ( ?l ) { ( ontology:Q1267889 ) ( ontology:Q355304 ) } . ?d rdf:type ?l } GROUP BY ?w } . FILTER ( ?u < ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Q2319224 property:P206 ?g . { { ?g rdf:type ontology:Q1267889 } UNION { ?g rdf:type ontology:Q355304 } } } } }
Tripoli Vaattojärvi Uitdam Baku Södermalm Makkum Den Oever Dakar Gijón Malabo El Pescadero Almere Bergen aan Zee Seymour Arm Svalbard Schleswig Alert Paravur Onari Sitra Palos de la Frontera Las Palmas de Gran Canaria Portugalete Bosaso Lorain Äkäslompolo Marivan Cayo Santa María Thessaloniki El Teso Hulhumalé Ghazaouet Bolshoy Kamen Nuku'alofa Stockholm Priozersk San José del Cabo El Centenario Juan Fernández Islands Taboiaki Castro Urdiales Hindeloopen Spakenburg Come By Chance, Newfoundland and Labrador Westmaas Bandipore Paesens Sidi Abdelaziz Anna Port Louis Greater Tokyo Area Callantsoog Sidi Barrani Santa Monica Oberwurmbach Luanda Kampala Syasstroy Porto Fuvahmulah Pitkyaranta Valletta Cabo San Lucas Alekseyevka Katwijk aan Zee Ibiza Town Kastoria Valencia El Sargento Speising Montevideo Koltur Accra Beeston Regis Isola Bella Siggebohyttan Marbella Santa Cruz de Tenerife Enkhuizen Väylä Bubaque Nassau Algiers La Ventana Dellys Basseterre South Tarawa Tortuguero Cape Town Glen Cove Huelva Brookville, Nova Scotia Warder, Netherlands Fethiye Lomé Murano Colliers Saint Thomas Kastelorizo Castro Marim Municipality Minsk Nantucket Málaga Elche Bruges Fox River, Nova Scotia IJmuiden Paesens-Moddergat Ngerulmud Kuwait City Nukunonu Oost-Vlieland Nabih Saleh Wervershoof Sortavala Copenhagen Motril Ohrid Puttershoek Lilla Essingen Kalamos Halat Nuaim Saint John Norris Arm Vuontisjärvi San Mauro Mare Elleholm Monster San Leandro Andrott Spencer's Island Atokos Salmon Arm Kijkduin Santoña Ouddorp Eastern Tickle Jan Mayen Jormua Hindersön Landön Djurgården Volos Alcobaça, Portugal De Koog Sicamous, British Columbia Shlisselburg Toronto Heinenoord Callao Tipaza Port of Spain Honiara Thénia De Cocksdorp Managua Peniche Muiderberg Vaalajärvi Ter Heijde Beetz Marken Nellim Ramsberg am Brombachsee Dili Cayo Largo del Sur Almonte Odessa Scheveningen Amini Jyväskylä Sheringham Awala-Yalimapo Vladivostok Bukoba Nieuw-Haamstede Vigo Suva Villa Las Estrellas Grímsey Tallinn Castries Andijk Bichura 's-Gravenzande Manoka Samarai Vingt Cinq Nouakchott Keväjärvi Panama City Arrecife Beit Ummar Freetown Reposaari Rudnaya Pristan Twillingate Patras Cárdenas Libreville Antonovka Birchington-on-Sea Djibouti Reimerswaal Kumta Vilsandi Ennore Conakry Point Cires Port Greville Unterwurmbach Mijas Bujumbura Ylläsjärvi Aurovka Almería Ioannina Scharwoude, Koggenland Hubbards, Nova Scotia Daloloia Group Sidi Daoud Cádiz Fraserville, Nova Scotia Bovenkarspel Niulakita Almere Haven Poros Emäsalo Malé West-Terschelling Stora Essingen Skikda Banevurovo Mogadishu Yampupata Ettling Port Moresby Moroni Salé Karwar Panaeati Island Jinotega Roatán San Francisco Manama Maputo Egmond aan Zee Essaouira Canary Islands Caravela Burnt Islands, Newfoundland and Labrador Maó-Mahón Port Vila Boumerdès Whittier Mijnsheerenland Lelystad Wells-next-the-Sea Vaghena Island Kelontekemä Donostia/San Sebastián Isola dei Pescatori Edam Capolago Funafala Vestmannaeyjar Huizen Ydrefors Spetses Arenibek Cayo Romano Kingston Wijk aan Zee A Coruña Novaya Ladoga Reykjavík Victoria Oosterdijk, Enkhuizen Virmaila Huisduinen Maasdam Ruo Deline Villingili Bönigen Easter Island Palma Beirut Apia St. John's Palmyra Atoll Schellinkhout Koipsi Canoe Island São Tomé Sachs Harbour San Cristóbal de La Laguna Útila Schardam Ustronie Morskie Zurich, Friesland Lobsing Oranje, Drenthe Lakewood Clearwater Beach Tarifa The Hague Canberra Aunu'u Scarborough Samhah Vihiluoto Arzew Petten St. George's Tolhuin Too Good Arm Guanaja Wassenaar Barra de Potosí Birgitz Vikajärvi Puerto Barrios Rottumeroog
324
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type watercourse
action count
action filter_multi_types
action find
entity Goring-on-Thames
relation located next to body of water
type waterway
type watercourse
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'waterway'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) ?w WHERE { VALUES ( ?l ) { ( ontology:waterway ) ( ontology:watercourse ) } . ?d rdf:type ?l } GROUP BY ?w } . FILTER ( ?u < ?s ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?s ) WHERE { resource:Goring-on-Thames property:located_next_to_body_of_water ?g . { { ?g rdf:type ontology:waterway } UNION { ?g rdf:type ontology:watercourse } } } } }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q6581097 Q1715
P937 P21
Q502895
USER
Which people works at Hanover and do not have gender of male ?
AND((c(Q502895),P937,Q1715), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q1715
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1715'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q1715 . FILTER NOT EXISTS { ?q property:P21 resource:Q6581097 } }
male Hanover
action filter_type
action difference
action find_reverse
entity Hanover
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Hanover'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:Hanover . FILTER NOT EXISTS { ?q property:gender resource:male } }
[]
common name
Q2286196 Q1509292 Q1618238 Q2154944 Q2646877 Q2177734 Q2646902 Q566800 Q2369234 Q2285289
SYSTEM
Some of them are Silke Lesemann, Georgia Langhans, Hilde Obels-Jünemann, Rita Pawelski, Alice Frick, Ruth Parasie, Alice Graschtat, Anni Lange, Susanne Grote, Sigrid Leuschner
Q1897224 Q1510982 Q1410698 Q566800 Q14208178 Q1083245 Q1736761 Q1329917 Q68128 Q2501923 Q99606 Q1447454 Q822171 Q18043173 Q91012 Q1714643 Q1674486 Q1795497 Q1899196 Q2374183 Q566361 Q1897185 Q916687 Q1489975 Q1553110 Q1729418 Q566205 Q1673025 Q380957 Q1664390 Q18343115 Q566699 Q1250222 Q1490318 Q916704 Q1019051 Q2080350 Q1788028 Q1423477 Q1282617 Q19284455 Q1426597 Q2013981 Q2515341 Q2477229 Q6477808 Q2450478 Q1041578 Q1924670 Q2166928 Q2209878 Q1331809 Q1636343 Q1379108 Q1670817 Q2285318 Q1804099 Q1078346 Q16830637 Q111075 Q1899242 Q1456361 Q2285312 Q1454866 Q2137938 Q2652815 Q4990819 Q1223304 Q1083117 Q767396 Q6473023 Q1482447 Q1328333 Q1659800 Q60772 Q1329849 Q1163501 Q18018404 Q354716 Q1133401 Q18221124 Q1454052 Q15435731 Q534337 Q1594426 Q18219517 Q109105 Q108785 Q1611124 Q6487305 Q108860 Q99011 Q72617 Q997501 Q916643 Q96198 Q1682656 Q15434214 Q1663305 Q126914 Q1437620 Q2547633 Q1553076 Q1894964 Q1662796 Q1163338 Q1659129 Q1659083 Q2286410 Q460762 Q563590 Q559671 Q1683668 Q1379021 Q1292511 Q1603152 Q1515484 Q1328527 Q2501735 Q1736643 Q1614597 Q1456344 Q1727719 Q1896167 Q1331062 Q1903045 Q6511278 Q1895361 Q1327877 Q1421447 Q2646902 Q1512986 Q62366 Q1393946 Q18628866 Q1067195 Q6577697 Q1282643 Q2649826 Q551221 Q1747964 Q1506708 Q1557982 Q920812 Q813204 Q2582338 Q2646877 Q1367578 Q2177734 Q109121 Q102498 Q13188915 Q916571 Q2177694 Q15451018 Q103972 Q2501516 Q916479 Q110867 Q1990600 Q1310980 Q1473747 Q104338 Q1594596 Q2501794 Q1527393 Q2285289 Q1078170 Q2697872 Q1662835 Q122618 Q2286196 Q1305542 Q865284 Q767321 Q1490090 Q495034 Q1246300 Q6537692 Q1300375 Q494100 Q1451942 Q1429390 Q1534674 Q1515483 Q1515596 Q15990554 Q1663339 Q1329977 Q2369234 Q1167358 Q1697062 Q1245170 Q6567261 Q916582 Q1356102 Q15833267 Q1291738 Q104970 Q529533 Q15446647 Q1659170 Q1618395 Q1356860 Q1593400 Q95395 Q6483779 Q1601989 Q2154944 Q1271490 Q1791531 Q109998 Q2477370 Q1256814 Q1553136 Q18413300 Q1672982 Q2369389 Q1329799 Q1403086 Q1331546 Q1670514 Q1591978 Q2286243 Q992663 Q750910 Q1618236 Q2080160 Q976839 Q107508 Q1078050 Q1594104 Q123517 Q1618238 Q1509292
AND((c(Q502895),P937,Q1715), NOT((c(Q502895),P21,Q6581097)))
action filter_type
action difference
action find_reverse
entity Q1715
relation P937
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] work at Hanover and do not have gender of male
{'AND': [[{'concept': 'Q502895'}, 'P937', 'Q1715'], {'NOT': [[{'concept': 'Q502895'}, 'P21', 'Q6581097']]}]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q502895 . ?q property:P937 resource:Q1715 . FILTER NOT EXISTS { ?q property:P21 resource:Q6581097 } }
Marie-Thérèse Schins Gerda Krämer Ilsa Reinhardt Anni Lange Susanne Menge Christina Philipps Katrin Trost Elisabeth Frerichs Aygül Özkan Ursula Weisser-Roelle Ina Korter Ursula Flick Bernadette Schuster-Barkau Sabine Müller Ehrengard Schramm Jutta Rübke Isolde Saalmann Käte Hoge Marion Lau Sylvia Geist Annemarie Tomei Marie-Luise Hemme Brigitte Somfleth Gabriela Kohlenberg Gudrun Kopp Karin Detert-Weber Anneliese Zachow Irmgard Woldering Aenne Heise Inse-Marie Ortgies Uta Rüping Annette Schwarz Dorothee Prüssner Gabriele Groneberg Brigitte Stoll Bärbel Tewes Petra Tiemann Kreszentia Flauger Thea Dückert Edda Goede Gudrun Schröfel Hildegard Brodtführer Oda-Gebbine Holze-Stäblein Verena Wiesmann Ulrike Buchholz Julia Willie Hamburg Traute Grundmann Carla Woldering Meta Janssen-Kucz Rosemarie Tinius Sabine Roisch Ellen Frank Hulle Hartwig Eva Barlösius Ursula Peters Sigrid Schneider Swantje Hartmann Christel Schuran Bettina Oppermann Orli Wald Marion Schole Frieda Schäfer Sigrid Rakow Heike Bockmann Regina Seeringer Angela Hennessy Mirka Yemendzakis Dietlinde Gipser Christina Bührmann Auguste von der Decken Immacolata Glosemeyer Ursula Ernst Rosa Helfers Marianne König Ursula von der Leyen Elisabeth Conrady Daniela Pfeiffer Anna Margareta Pfeffer Adelheid Schreiner Cornelia Rauh-Kühne Regina Asendorf Monika Wörmer-Zimmermann Hillgriet Eilers Angelika Jahns Heidrun Merk Tina Voß Editha Lorberg Ursula Helmhold Ulla Groskurt Petra Joumaah Gabriele Heinen-Kljajic Else Wüstemann Doris Schröder-Köpf Helga Lewandowsky Brigitte Schlegelberger Karin Evers-Meyer Janet Anschütz Gudrun-Axeli Knapp Ingrid Eckel Silke Stokar von Neuforn Karola Knoblich Waltraud Schoppe Gudrun Behm-Steidel Margarete Gramberg Inge Lemmermann Daniela Behrens Ilse Hansen Ilse Becker Silva Seeler Amei Wiegel Anna Wendland Anna Beddies Karin Bertholdes-Sandrock Eva-Brigitte Rudolph-Heger Lore Auerbach Helma Seitz Gertraude Kruse Elfride Kayser Ursula Körtner Katja Lembke Herta Dürrbeck Frieda Mätz Mechthild Ross-Luttmann Maria Meyer-Sevenich Lenelotte von Bothmer Martha Fuchs Lila L. Leiber Margot Albrecht Elena Kolesnitschenko Helga Stiller Alice Graschtat Gerhild Jahn Rebecca Harms Karin Stief-Kreihe Luzia Moldenhauer Charlotte Garbe Thela Wernstedt Edda Schliepack Almuth von Below-Neufeldt Anja Piel Lore Deppe Ina Lenke Gyde Callesen Britta Siebert Beate Tönsing Wilma Bayer Alice Frick Irmgard Vogelsang Ruth Parasie Luise Schapp Gabriela König Sylvia Bruns Brigitte Pothmer Ruth Mayer Annette Boetticher Filiz Polat Ursula Benedix Brigitte Litfin Birgit Breuel Nikola Huppertz Sabine Tippelt Renate Geuter Dorothea Steiner Heike Mertsching Ursula Pistorius Gisela Konrath Sigrid Leuschner Christa Reichwaldt Gabriele Jakob Inge Wettig-Danielmeier Margot Kalinke Silke Lesemann Selma Gräfin von der Gröben Birgit Meyn-Horeis Auguste von Bärndorf zu Bauerhorst Gabriele Andretta Andrea Schröder-Ehlers Dorothea Wolf Kathrin Rühl Grete Sehlmeyer Andrea Hoops Frauke Heiligenstadt Florence von Hoffmann Ruth Bühren-Gamb Gertraud Winkelvoß Gertrude Kappel Christine Heuvel Ingrid Klopp Elisabeth Heister-Neumann Susanne Grote Kirsten John Johanne Modder Doris Herrmann Kate Steinitz Brigitte Rasinski Pia-Beate Zimmermann Maaret Westphely Wilfriede Heyer Gitta Trauernicht Anette Meyer zu Strohen Rena Dumont Ilse Lübben Hildegard Rheden Erni Finselberger Hedwig Pruin Christel Wegner Gerda Hövel Helene Lange Rita Pawelski Dörthe Weddige-Degenhard Ursula Langendorf Miriam Staudte Ulrike Kuhlo Helga Heinke Gudrun Pieper Susanne Würmell Irmela Hammelstein Susanne Mischke Elsbeth Bonnemann Felicitas Weck Elke Müller Ulrike Schröder Ursula Heinlein Silke Weyberg Brunhilde Rühl Astrid Vockert Hilde Léon Petra Emmerich-Kopatsch Sandra von Klaeden Susanne Rode-Breymann Christa Elsner-Solar Heidemarie Mundlos Elke Twesten Hilde Obels-Jünemann Georgia Langhans
Silke Lesemann, Georgia Langhans, Hilde Obels-Jünemann, Rita Pawelski, Alice Frick, Ruth Parasie, Alice Graschtat, Anni Lange, Susanne Grote and Sigrid Leuschner work at Hanover and do not have gender of male
Silke Lesemann Georgia Langhans Hilde Obels-Jünemann Rita Pawelski Alice Frick Ruth Parasie Alice Graschtat Anni Lange Susanne Grote Sigrid Leuschner
action filter_type
action difference
action find_reverse
entity Hanover
relation work location
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'work location', 'Hanover'], {'NOT': [[{'concept': 'common name'}, 'gender', 'male']]}]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:common_name . ?q property:work_location resource:Hanover . FILTER NOT EXISTS { ?q property:gender resource:male } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by approximately 2352 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2352
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?q . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } . FILTER ( ?b = 2352 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2352
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?q . ?a rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } . FILTER ( ?b = 2352 ) }
[]
musical instrument common name
Q46185 Q8338 Q1444
SYSTEM
bass guitar, trumpet, organ
Q46185 Q8338 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2352
[ANSWERS] are played by approximately 2352 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:P1303 ?q . ?a rdf:type ontology:Q502895 . ?q rdf:type ontology:Q34379 } GROUP BY ?q } . FILTER ( ?b = 2352 ) }
bass guitar trumpet organ drum kit
Bass guitar, trumpet and organ are played by approximately 2352 people
bass guitar trumpet organ
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2352
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?a ) AS ?b ) WHERE { ?a property:instrument ?q . ?a rdf:type ontology:common_name . ?q rdf:type ontology:musical_instrument } GROUP BY ?q } . FILTER ( ?b = 2352 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q586 Q41804
P931
Q62447
USER
How many aerodromes serve the place named Bonn or Morales ?
(c(Q62447),P931,Q586) (c(Q62447),P931,Q41804)
action count
action union
action filter_type
action find_reverse
entity Q586
relation P931
type Q62447
action filter_type
action find_reverse
entity Q41804
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q586'] [{'concept': 'Q62447'}, 'P931', 'Q41804']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f property:P931 resource:Q41804 . ?f rdf:type ontology:Q62447 } UNION { ?f rdf:type ontology:Q62447 . ?f property:P931 resource:Q586 } }
Bonn Morales
action count
action union
action filter_type
action find_reverse
entity Bonn
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Morales
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Bonn'] [{'concept': 'aerodrome'}, 'place served by airport', 'Morales']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f property:place_served_by_airport resource:Morales . ?f rdf:type ontology:aerodrome } UNION { ?f rdf:type ontology:aerodrome . ?f property:place_served_by_airport resource:Bonn } }
[]
aerodrome
SYSTEM
2
Q5658945 Q157741
(c(Q62447),P931,Q586) (c(Q62447),P931,Q41804)
action count
action union
action filter_type
action find_reverse
entity Q586
relation P931
type Q62447
action filter_type
action find_reverse
entity Q41804
relation P931
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q586'] [{'concept': 'Q62447'}, 'P931', 'Q41804']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f property:P931 resource:Q41804 . ?f rdf:type ontology:Q62447 } UNION { ?f rdf:type ontology:Q62447 . ?f property:P931 resource:Q586 } }
Bananera Airport Cologne Bonn Airport
2
action count
action union
action filter_type
action find_reverse
entity Bonn
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Morales
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Bonn'] [{'concept': 'aerodrome'}, 'place served by airport', 'Morales']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { { ?f property:place_served_by_airport resource:Morales . ?f rdf:type ontology:aerodrome } UNION { ?f rdf:type ontology:aerodrome . ?f property:place_served_by_airport resource:Bonn } }
[]