Simple Question (Direct)
Simple Question
Q1874270
P106
Q12737077
USER
What is the profession of Ludwig Bürchner ?
(Q1874270,P106,c(Q12737077))
action filter_type
action find
entity Q1874270
relation P106
type Q12737077
['Q1874270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1874270 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Ludwig Bürchner
action filter_type
action find
entity Ludwig Bürchner
relation occupation
type occupation
['Ludwig Bürchner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ludwig_Bürchner property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q37226
SYSTEM
teacher
Q37226
(Q1874270,P106,c(Q12737077))
action filter_type
action find
entity Q1874270
relation P106
type Q12737077
The profession of Ludwig Bürchner is the [ANSWER]
['Q1874270', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q1874270 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
teacher
The profession of Ludwig Bürchner is the teacher
teacher
action filter_type
action find
entity Ludwig Bürchner
relation occupation
type occupation
['Ludwig Bürchner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Ludwig_Bürchner property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q37226
P425
Q9332
USER
Which behaviors have that one as the associated field of occupation ?
(Q37226,P425,c(Q9332))
action filter_type
action find
entity Q37226
relation P425
type Q9332
['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q37226 property:P425 ?p . ?p rdf:type ontology:Q9332 }
teacher
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:teacher property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]
behavior
Q8434 Q352842
SYSTEM
education, teaching
Q8434 Q352842
(Q37226,P425,c(Q9332))
action filter_type
action find
entity Q37226
relation P425
type Q9332
[ANSWERS] have that one as the associated field of occupation
['Q37226', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ?p WHERE { resource:Q37226 property:P425 ?p . ?p rdf:type ontology:Q9332 }
education teaching
Education and teaching have that one as the associated field of occupation
education teaching
action filter_type
action find
entity teacher
relation field of this occupation
type behavior
['teacher', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ?p WHERE { resource:teacher property:field_of_this_occupation ?p . ?p rdf:type ontology:behavior }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q37226
P425
Q12737077
USER
Do those behaviors belong to teacher ?
(Q37226,P425,Q8434) (Q37226,P425,Q352842)
action is_in
entity prev_answer
action find
entity Q37226
relation P425
['Q37226', 'P425', 'Q8434'] ['Q37226', 'P425', 'Q352842']
ASK WHERE { resource:Q37226 property:P425 ?y . VALUES ( ?y ) { ( resource:Q8434 ) ( resource:Q352842 ) } }
teacher
action is_in
entity prev_answer
action find
entity teacher
relation field of this occupation
['teacher', 'field of this occupation', 'education'] ['teacher', 'field of this occupation', 'teaching']
ASK WHERE { resource:teacher property:field_of_this_occupation ?y . VALUES ( ?y ) { ( resource:education ) ( resource:teaching ) } }
[]
occupation
SYSTEM
YES
(Q37226,P425,Q8434) (Q37226,P425,Q352842)
action is_in
entity prev_answer
action find
entity Q37226
relation P425
[ANSWER]
['Q37226', 'P425', 'Q8434'] ['Q37226', 'P425', 'Q352842']
ASK WHERE { resource:Q37226 property:P425 ?y . VALUES ( ?y ) { ( resource:Q8434 ) ( resource:Q352842 ) } }
Yes
action is_in
entity prev_answer
action find
entity teacher
relation field of this occupation
['teacher', 'field of this occupation', 'education'] ['teacher', 'field of this occupation', 'teaching']
ASK WHERE { resource:teacher property:field_of_this_occupation ?y . VALUES ( ?y ) { ( resource:education ) ( resource:teaching ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7702566 Q1874270
P27
Q1048835
USER
Which political territories are Ludwig Bürchner or Mackenson Altidor an inhabitant of ?
OR((Q1874270,P27,c(Q1048835)), (Q7702566,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1874270
relation P27
action find
entity Q7702566
relation P27
type Q1048835
{'OR': [['Q1874270', 'P27', {'concept': 'Q1048835'}], ['Q7702566', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?s ) { ( resource:Q1874270 ) ( resource:Q7702566 ) } . ?s property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Mackenson Altidor Ludwig Bürchner
action filter_type
action union
action find
entity Ludwig Bürchner
relation country of citizenship
action find
entity Mackenson Altidor
relation country of citizenship
type political territorial entity
{'OR': [['Ludwig Bürchner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mackenson Altidor', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?s ) { ( resource:Ludwig_Bürchner ) ( resource:Mackenson_Altidor ) } . ?s property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q778
SYSTEM
Germany, The Bahamas
Q183 Q778
OR((Q1874270,P27,c(Q1048835)), (Q7702566,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1874270
relation P27
action find
entity Q7702566
relation P27
type Q1048835
[ANSWERS] are Ludwig Bürchner or Mackenson Altidor an inhabitant of
{'OR': [['Q1874270', 'P27', {'concept': 'Q1048835'}], ['Q7702566', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?s ) { ( resource:Q1874270 ) ( resource:Q7702566 ) } . ?s property:P27 ?c } . ?c rdf:type ontology:Q1048835 }
Germany The Bahamas
Germany and The Bahamas are Ludwig Bürchner or Mackenson Altidor an inhabitant of
Germany The Bahamas
action filter_type
action union
action find
entity Ludwig Bürchner
relation country of citizenship
action find
entity Mackenson Altidor
relation country of citizenship
type political territorial entity
{'OR': [['Ludwig Bürchner', 'country of citizenship', {'concept': 'political territorial entity'}], ['Mackenson Altidor', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?s ) { ( resource:Ludwig_Bürchner ) ( resource:Mackenson_Altidor ) } . ?s property:country_of_citizenship ?c } . ?c rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q408
P530
Q1048835
USER
Do Australia have tactful political relations with those ones ?
(Q408,P530,Q183) (Q408,P530,Q778)
action is_in
entity prev_answer
action find
entity Q408
relation P530
['Q408', 'P530', 'Q183'] ['Q408', 'P530', 'Q778']
ASK WHERE { resource:Q408 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q778 ) } }
Australia
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Germany'] ['Australia', 'diplomatic relation', 'The Bahamas']
ASK WHERE { resource:Australia property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:The_Bahamas ) } }
[]
political territorial entity
SYSTEM
YES
(Q408,P530,Q183) (Q408,P530,Q778)
action is_in
entity prev_answer
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q183'] ['Q408', 'P530', 'Q778']
ASK WHERE { resource:Q408 property:P530 ?k . VALUES ( ?k ) { ( resource:Q183 ) ( resource:Q778 ) } }
Yes
action is_in
entity prev_answer
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Germany'] ['Australia', 'diplomatic relation', 'The Bahamas']
ASK WHERE { resource:Australia property:diplomatic_relation ?k . VALUES ( ?k ) { ( resource:Germany ) ( resource:The_Bahamas ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with max number of political territories ?
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?w ) WHERE { ?p property:P530 ?d . ?p rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?u ) WHERE { ?f property:P530 ?h . ?f rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?f } . FILTER ( ?u = ?t ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?w ) WHERE { ?p property:diplomatic_relation ?d . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?u ) WHERE { ?f property:diplomatic_relation ?h . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?f } . FILTER ( ?u = ?t ) }
[]
designation for an administrative territorial entity political territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q1048835),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
[ANSWER] have diplomatic relationships with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?w ) WHERE { ?p property:P530 ?d . ?p rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q1048835 } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?u ) WHERE { ?f property:P530 ?h . ?f rdf:type ontology:Q15617994 . ?h rdf:type ontology:Q1048835 } GROUP BY ?f } . FILTER ( ?u = ?t ) }
Italy
Italy have diplomatic relationships with max number of political territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?t ) { SELECT DISTINCT ?p ( COUNT ( ?d ) AS ?w ) WHERE { ?p property:diplomatic_relation ?d . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:political_territorial_entity } GROUP BY ?p } } . { SELECT DISTINCT ?f ( COUNT ( ?h ) AS ?u ) WHERE { ?f property:diplomatic_relation ?h . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h rdf:type ontology:political_territorial_entity } GROUP BY ?f } . FILTER ( ?u = ?t ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?f ) WHERE { ?u property:P530 ?y . ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?c property:P530 ?j } GROUP BY ?c } } }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?f ) WHERE { ?u property:diplomatic_relation ?y . ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?j } GROUP BY ?c } } }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?f ) WHERE { ?u property:P530 ?y . ?u rdf:type ontology:Q1048835 . ?y rdf:type ontology:Q15617994 } GROUP BY ?u } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q1048835 . ?c property:P530 ?j } GROUP BY ?c } } }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea are known to have diplomatic connections with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?y ) AS ?f ) WHERE { ?u property:diplomatic_relation ?y . ?u rdf:type ontology:political_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?u } . FILTER ( ?f = ?o ) . { SELECT DISTINCT ( MIN ( ?d ) AS ?o ) { SELECT DISTINCT ?c ( COUNT ( ?j ) AS ?d ) WHERE { ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:political_territorial_entity . ?c property:diplomatic_relation ?j } GROUP BY ?c } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q239543
P495
Q2342494
USER
How many collectables originate at Germany or Russian Provisional Government ?
(c(Q2342494),P495,Q183) (c(Q2342494),P495,Q239543)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q2342494
action filter_type
action find_reverse
entity Q239543
relation P495
type Q2342494
[{'concept': 'Q2342494'}, 'P495', 'Q183'] [{'concept': 'Q2342494'}, 'P495', 'Q239543']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P495 resource:Q183 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P495 resource:Q239543 . ?i rdf:type ontology:Q2342494 } }
Germany Russian Provisional Government
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type collectable
action filter_type
action find_reverse
entity Russian Provisional Government
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Germany'] [{'concept': 'collectable'}, 'country of origin', 'Russian Provisional Government']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:country_of_origin resource:Germany . ?i rdf:type ontology:collectable } UNION { ?i property:country_of_origin resource:Russian_Provisional_Government . ?i rdf:type ontology:collectable } }
[]
collectable
SYSTEM
152
Q4677176 Q442608 Q574371 Q568299 Q1197130 Q1531137 Q4146087 Q26858543 Q874381 Q463108 Q370698 Q2435944 Q23307598 Q199774 Q1194332 Q678013 Q1197989 Q1206523 Q27666053 Q7760819 Q3235232 Q5226419 Q1613942 Q3135752 Q636494 Q899334 Q23307587 Q5261134 Q694245 Q1736859 Q871753 Q699443 Q667004 Q1988700 Q610363 Q664813 Q7718733 Q490313 Q378626 Q1192045 Q23498399 Q7064650 Q476349 Q23307952 Q7728224 Q1460598 Q208283 Q5891010 Q841963 Q58784 Q16952848 Q431321 Q499564 Q4310936 Q1887393 Q7959366 Q509209 Q7729994 Q3307458 Q2499503 Q7415755 Q2550138 Q685889 Q882383 Q2568639 Q2648716 Q1062814 Q1532616 Q1458903 Q16201199 Q7769019 Q626602 Q1199307 Q1197760 Q577787 Q125628 Q153935 Q5274354 Q15260424 Q673861 Q1657842 Q18325679 Q1211151 Q4860519 Q379108 Q21685950 Q26158044 Q1669166 Q5601693 Q895730 Q7065217 Q367732 Q1325403 Q2996966 Q207332 Q5325375 Q1502926 Q587945 Q7738761 Q1409376 Q1306269 Q704677 Q7135995 Q1196780 Q362314 Q22348222 Q1388516 Q16844598 Q543773 Q4010296 Q641807 Q16934137 Q459303 Q1957402 Q593935 Q18120456 Q21685980 Q786908 Q2632128 Q365412 Q636812 Q1218947 Q1934257 Q1501986 Q1197994 Q7313993 Q4738955 Q19902845 Q1354710 Q151883 Q860577 Q1515513 Q5098459 Q311449 Q5226477 Q19847509 Q3521990 Q7679376 Q1216087 Q10372834 Q1031831 Q576493 Q13553989 Q846005 Q605022 Q16843291 Q20020539 Q1198871 Q630282 Q5217408 Q1190094 Q7756956
(c(Q2342494),P495,Q183) (c(Q2342494),P495,Q239543)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P495
type Q2342494
action filter_type
action find_reverse
entity Q239543
relation P495
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P495', 'Q183'] [{'concept': 'Q2342494'}, 'P495', 'Q239543']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:P495 resource:Q183 . ?i rdf:type ontology:Q2342494 } UNION { ?i property:P495 resource:Q239543 . ?i rdf:type ontology:Q2342494 } }
The Treasure of the Sierra Madre Klingsor's Last Summer LTI – Lingua Tertii Imperii Noli Me Tángere Der Stechlin Three Bags Full Berge Meere und Giganten Biographie moderne Momo The Neverending Story Journey to the East Tintenfisch The Song of Songs Thus Spoke Zarathustra Heaven Has No Favorites Hotel Savoy The Road Back The German lesson Panikherz The Rings of Saturn The Outlaws Das Königsprojekt The Thief Lord The Religion of India: The Sociology of Hinduism and Buddhism Archäologenbildnisse The Tin Drum The War of the Oxen Der Blindensturz Berlin Alexanderplatz Cat and Mouse Flight without End Job Homo Faber Nadirs An Answer from the Silence Undine The Blue Boy Jesus Video Rumo and His Miraculous Adventures The 35th of May, or Conrad's Ride to the South Seas Der goldene Handschuh November 1918: A German Revolution Der Untertan The Cats' Bridge The Crown Snatchers Crabwalk 1979 Homo sapiens Dragon Rider Das Kapital Mitte 2 The Method Dog Years Two Planets Malina Wadzeks Kampf mit der Dampfturbine The State and Revolution The Devil and Daniel Webster Metropolis Irretrievable Sand Confusion The Post Office Girl Bluebeard Spark of Life Alles über Wikipedia und die Menschen hinter der größten Enzyklopädie der Welt The Night in Lisbon The Glass Bees Inkheart Doktor Faust und Mephisto The Three Leaps of Wang Lun Heliopolis Short Letter, Long Farewell The Origin of the Work of Art Knulp Timm Thaler Die Feuerzangenbowle Die Frau im Mond 1913: The Summer of the Century The Golem Igraine the Brave The Call of the Toad The Emigrants Barfüßiger Februar The Death Ship Integrating Archaeology The Imaginary 20th Century Dark Matter Greed The Rider on the White Horse Now, Now, Markus Krabat Beneath the Wheel Mary All Quiet on the Western Front Eagles and Angels Narcissus and Goldmund Mephisto The Hangman's Daughter Feuchtgebiete Eine Billion Dollar Jim Button and Luke the Engine Driver Station at the Horizon The Swarm The City of Dreaming Books Der Fluch der bösen Tat Twenty-Four Hours in the Life of a Woman Homo Sapiens Berliner Art Fear Vertigo The Last Day of Creation Mitte 1 Perfume Magic Moon Ullmann's Encyclopedia of Industrial Chemistry Frans Hals catalog raisonné, 1989 History Sells! The 13½ Lives of Captain Bluebear Inkdeath Felidae A Struggle for Rome The Last Children of Schewenborn Laughter in the Dark Generation Golf Der Wehrwolf Repetition Am kürzeren Ende der Sonnenallee A Year in Arcadia: Kyllenion Chariots of the Gods? The Sorrows of Young Werther Demian Gertrud Children of Magic Moon The Reader Das falsche Buch Das Serbokroatische zwischen Linguistik und Politik The Necromancer; or, The Tale of the Black Forest Tales of a Long Night The School for Atheists Risikogesellschaft The White Rose Peter Camenzind Gradiva The Story of the Last Thought Gantenbein Herr Lehmann Das indische Grabmal Green Henry Measuring the World Daniel Half Human Hyperion The Phoenix
152
action count
action union
action filter_type
action find_reverse
entity Germany
relation country of origin
type collectable
action filter_type
action find_reverse
entity Russian Provisional Government
relation country of origin
type collectable
[{'concept': 'collectable'}, 'country of origin', 'Germany'] [{'concept': 'collectable'}, 'country of origin', 'Russian Provisional Government']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { ?i property:country_of_origin resource:Germany . ?i rdf:type ontology:collectable } UNION { ?i property:country_of_origin resource:Russian_Provisional_Government . ?i rdf:type ontology:collectable } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q3405693
P706
Q1267889 Q553036 Q1048835
USER
How many political territories are located in less number of waterways or natural region of Germanys than Sark ?
(c(Q1048835),P706,c(Q1267889)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q3405693
relation P706
type Q1267889
type Q553036
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?y ) { ( ontology:Q553036 ) ( ontology:Q1267889 ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?n < ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q553036 ) } . ?v rdf:type ?a } . resource:Q3405693 property:P706 ?v } } }
Sark
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Sark
relation located on terrain feature
type waterway
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?y ) { ( ontology:natural_region_of_Germany ) ( ontology:waterway ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?n < ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:natural_region_of_Germany ) } . ?v rdf:type ?a } . resource:Sark property:located_on_terrain_feature ?v } } }
[]
waterway natural region of Germany political territorial entity
SYSTEM
98
Q927498 Q6661154 Q1747689 Q983465 Q943922 Q983461 Q753702 Q950889 Q385923 Q49567 Q52626 Q13353 Q6139 Q847324 Q847321 Q850989 Q983467 Q743716 Q734805 Q555140 Q983463 Q13737 Q493017 Q950940 Q669078 Q851224 Q950951 Q843868 Q945653 Q37362 Q715970 Q595424 Q168856 Q5785 Q7198529 Q832991 Q13751 Q13752 Q975679 Q601112 Q984496 Q743741 Q988714 Q25228 Q596885 Q941533 Q783498 Q692920 Q850939 Q988702 Q2451327 Q925773 Q851011 Q1823 Q13844 Q611123 Q233337 Q987394 Q691 Q899884 Q837121 Q950901 Q837125 Q847317 Q983633 Q491786 Q983631 Q3724 Q983635 Q652988 Q832967 Q185409 Q769 Q170213 Q766 Q9676 Q984485 Q168159 Q983625 Q983628 Q656449 Q988688 Q18221 Q778 Q213361 Q984493 Q984491 Q984499 Q3396832 Q9337 Q5700 Q988696 Q943948 Q697126 Q25305 Q616408 Q610838 Q920971
(c(Q1048835),P706,c(Q1267889)|c(Q553036))
action count
action less
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1267889
action find_tuple_counts
relation P706
type Q1048835
type Q553036
action count
action filter_multi_types
action find
entity Q3405693
relation P706
type Q1267889
type Q553036
[ANSWER]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1267889'}, {'concept': 'Q553036'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?y ) { ( ontology:Q553036 ) ( ontology:Q1267889 ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?n < ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ontology:Q1267889 ) ( ontology:Q553036 ) } . ?v rdf:type ?a } . resource:Q3405693 property:P706 ?v } } }
Llucmajor Llanddeusant, Carmarthenshire Ancient Rome Santa Eulària des Riu Sineu Ferreries East New Britain Consell Alcúdia Manacor Formentera Montserrat Havelland Alaior Esporles Campanet Montuïri Campos Sant Antoni de Portmany Capileira Sant Llorenç des Cardassar Basilan Andratx Marratxí Maria de la Salut Costitx Escorca Wrexham County Borough Es Mercadal Akrotiri and Dhekelia Artà Muro, Majorca Chernivtsi Oblast Cayman Islands Pistyll Sóller Biliran Bohol Vilafranca de Bonany Pollença Selva Felanitx Lloret de Vistalegre Anguilla Blaenau Gwent County Borough Es Castell Ses Salines Sant Joan Alaró Estellencs Sé Porreres Algaida Aceh Leyte Petra, Majorca Deià Sencelles Papua New Guinea Ciutadella de Menorca Binissalem Fornalutx Bunyola Lloseta Santanyí Calvià Santa Eugènia West Java Province Sant Josep de sa Talaia Búger Valldemossa Llubí Grenada Zakarpattia Oblast Jamaica Isle of Man Es Migjorn Gran Anglesey Puigpunyent Sant Joan de Labritja Ariany, Majorca Inca Turks and Caicos Islands The Bahamas Pembrokeshire Sa Pobla Santa Margalida Sant Lluís Tudweiliog Flemish Region Lapland Mancor de la Vall Santa Maria del Camí Bridgend County Borough British Virgin Islands Banyalbufar Son Servera Capdepera
98
action count
action less
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type waterway
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type natural region of Germany
action count
action filter_multi_types
action find
entity Sark
relation located on terrain feature
type waterway
type natural region of Germany
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'waterway'}, {'concept': 'natural region of Germany'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?l ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?n ) WHERE { VALUES ( ?y ) { ( ontology:natural_region_of_Germany ) ( ontology:waterway ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?n < ?w ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { VALUES ( ?a ) { ( ontology:waterway ) ( ontology:natural_region_of_Germany ) } . ?v rdf:type ?a } . resource:Sark property:located_on_terrain_feature ?v } } }
[]