Simple Question (Direct)
Simple Question
Q3166930
P802
Q502895
USER
Who taught Jean-Louis Pascal ?
(Q3166930,P802,c(Q502895))
action filter_type
action find
entity Q3166930
relation P802
type Q502895
['Q3166930', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3166930 property:P802 ?o . ?o rdf:type ontology:Q502895 }
Jean-Louis Pascal
action filter_type
action find
entity Jean-Louis Pascal
relation student
type common name
['Jean-Louis Pascal', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Jean-Louis_Pascal property:student ?o . ?o rdf:type ontology:common_name }
[]
common name
Q3132860
SYSTEM
Henry Jacques Le Même
Q3132860
(Q3166930,P802,c(Q502895))
action filter_type
action find
entity Q3166930
relation P802
type Q502895
[ANSWER] taught Jean-Louis Pascal
['Q3166930', 'P802', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q3166930 property:P802 ?o . ?o rdf:type ontology:Q502895 }
Henry Jacques Le Même
Henry Jacques Le Même taught Jean-Louis Pascal
Henry Jacques Le Même
action filter_type
action find
entity Jean-Louis Pascal
relation student
type common name
['Jean-Louis Pascal', 'student', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Jean-Louis_Pascal property:student ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3166930
P84
Q838948
USER
What was designed by Jean-Louis Pascal ?
(c(Q838948),P84,Q3166930)
action filter_type
action find_reverse
entity Q3166930
relation P84
type Q838948
[{'concept': 'Q838948'}, 'P84', 'Q3166930']
SELECT DISTINCT ?l WHERE { ?l property:P84 resource:Q3166930 . ?l rdf:type ontology:Q838948 }
Jean-Louis Pascal
action filter_type
action find_reverse
entity Jean-Louis Pascal
relation architect
type work of art
[{'concept': 'work of art'}, 'architect', 'Jean-Louis Pascal']
SELECT DISTINCT ?l WHERE { ?l property:architect resource:Jean-Louis_Pascal . ?l rdf:type ontology:work_of_art }
[]
work of art
Q16872753
SYSTEM
monument to Charles Garnier
Q16872753
(c(Q838948),P84,Q3166930)
action filter_type
action find_reverse
entity Q3166930
relation P84
type Q838948
La [ANSWER] was designed by Jean-Louis Pascal
[{'concept': 'Q838948'}, 'P84', 'Q3166930']
SELECT DISTINCT ?l WHERE { ?l property:P84 resource:Q3166930 . ?l rdf:type ontology:Q838948 }
monument to Charles Garnier
La monument to Charles Garnier was designed by Jean-Louis Pascal
monument to Charles Garnier
action filter_type
action find_reverse
entity Jean-Louis Pascal
relation architect
type work of art
[{'concept': 'work of art'}, 'architect', 'Jean-Louis Pascal']
SELECT DISTINCT ?l WHERE { ?l property:architect resource:Jean-Louis_Pascal . ?l rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3166930
P69
Q2668072
USER
Which collection is the alma mater of Jean-Louis Pascal ?
(Q3166930,P69,c(Q2668072))
action filter_type
action find
entity Q3166930
relation P69
type Q2668072
['Q3166930', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { resource:Q3166930 property:P69 ?l . ?l rdf:type ontology:Q2668072 }
Jean-Louis Pascal
action filter_type
action find
entity Jean-Louis Pascal
relation educated at
type collection
['Jean-Louis Pascal', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { resource:Jean-Louis_Pascal property:educated_at ?l . ?l rdf:type ontology:collection }
[]
collection
Q273593
SYSTEM
École nationale supérieure des Beaux-Arts
Q273593
(Q3166930,P69,c(Q2668072))
action filter_type
action find
entity Q3166930
relation P69
type Q2668072
The [ANSWER] is the alma mater of Jean-Louis Pascal
['Q3166930', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?l WHERE { resource:Q3166930 property:P69 ?l . ?l rdf:type ontology:Q2668072 }
École nationale supérieure des Beaux-Arts
The École nationale supérieure des Beaux-Arts is the alma mater of Jean-Louis Pascal
École nationale supérieure des Beaux-Arts
action filter_type
action find
entity Jean-Louis Pascal
relation educated at
type collection
['Jean-Louis Pascal', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?l WHERE { resource:Jean-Louis_Pascal property:educated_at ?l . ?l rdf:type ontology:collection }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q957144
Q2668072
USER
And what about Maurice Cloche?
(Q957144,P69,c(Q2668072))
action filter_type
action find
entity Q957144
relation P69
type Q2668072
['Q957144', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2668072 . resource:Q957144 property:P69 ?s }
Maurice Cloche
action filter_type
action find
entity Maurice Cloche
relation educated at
type collection
['Maurice Cloche', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collection . resource:Maurice_Cloche property:educated_at ?s }
[]
collection
Q273593
SYSTEM
École nationale supérieure des Beaux-Arts
Q273593
(Q957144,P69,c(Q2668072))
action filter_type
action find
entity Q957144
relation P69
type Q2668072
[ANSWER]
['Q957144', 'P69', {'concept': 'Q2668072'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q2668072 . resource:Q957144 property:P69 ?s }
École nationale supérieure des Beaux-Arts
École nationale supérieure des Beaux-Arts
action filter_type
action find
entity Maurice Cloche
relation educated at
type collection
['Maurice Cloche', 'educated at', {'concept': 'collection'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:collection . resource:Maurice_Cloche property:educated_at ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q273593 Q2860846 Q142
P17
Q15617994
USER
Is that collection located in Arensgenhout and France ?
(Q273593,P17,Q2860846) (Q273593,P17,Q142)
action is_in
entity Q273593
action intersection
action find_reverse
entity Q2860846
relation P17
action find_reverse
entity Q142
relation P17
['Q273593', 'P17', 'Q2860846'] ['Q273593', 'P17', 'Q142']
ASK WHERE { resource:Q273593 property:P17 resource:Q2860846 . resource:Q273593 property:P17 resource:Q142 }
École nationale supérieure des Beaux-Arts Arensgenhout France
action is_in
entity École nationale supérieure des Beaux-Arts
action intersection
action find_reverse
entity Arensgenhout
relation country
action find_reverse
entity France
relation country
['École nationale supérieure des Beaux-Arts', 'country', 'Arensgenhout'] ['École nationale supérieure des Beaux-Arts', 'country', 'France']
ASK WHERE { resource:École_nationale_supérieure_des_Beaux-Arts property:country resource:Arensgenhout . resource:École_nationale_supérieure_des_Beaux-Arts property:country resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q273593,P17,Q2860846) (Q273593,P17,Q142)
action is_in
entity Q273593
action intersection
action find_reverse
entity Q2860846
relation P17
action find_reverse
entity Q142
relation P17
[ANSWER]
['Q273593', 'P17', 'Q2860846'] ['Q273593', 'P17', 'Q142']
ASK WHERE { resource:Q273593 property:P17 resource:Q2860846 . resource:Q273593 property:P17 resource:Q142 }
NO and YES respectively
action is_in
entity École nationale supérieure des Beaux-Arts
action intersection
action find_reverse
entity Arensgenhout
relation country
action find_reverse
entity France
relation country
['École nationale supérieure des Beaux-Arts', 'country', 'Arensgenhout'] ['École nationale supérieure des Beaux-Arts', 'country', 'France']
ASK WHERE { resource:École_nationale_supérieure_des_Beaux-Arts property:country resource:Arensgenhout . resource:École_nationale_supérieure_des_Beaux-Arts property:country resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3166930 Q19815945
P27
Q15617994
USER
Is Krasna (Tatarstan) the native country of Jean-Louis Pascal ?
(Q3166930,P27,Q19815945)
action is_in
entity Q19815945
action find
entity Q3166930
relation P27
['Q3166930', 'P27', 'Q19815945']
ASK WHERE { resource:Q3166930 property:P27 resource:Q19815945 }
Jean-Louis Pascal Krasna (Tatarstan)
action is_in
entity Krasna (Tatarstan)
action find
entity Jean-Louis Pascal
relation country of citizenship
['Jean-Louis Pascal', 'country of citizenship', 'Krasna (Tatarstan)']
ASK WHERE { resource:Jean-Louis_Pascal property:country_of_citizenship resource:Krasna_(Tatarstan) }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3166930,P27,Q19815945)
action is_in
entity Q19815945
action find
entity Q3166930
relation P27
[ANSWER]
['Q3166930', 'P27', 'Q19815945']
ASK WHERE { resource:Q3166930 property:P27 resource:Q19815945 }
No
action is_in
entity Krasna (Tatarstan)
action find
entity Jean-Louis Pascal
relation country of citizenship
['Jean-Louis Pascal', 'country of citizenship', 'Krasna (Tatarstan)']
ASK WHERE { resource:Jean-Louis_Pascal property:country_of_citizenship resource:Krasna_(Tatarstan) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3132860 Q142
P27
Q15617994
USER
Is that person an inhabitant of France ?
(Q3132860,P27,Q142)
action is_in
entity Q142
action find
entity Q3132860
relation P27
['Q3132860', 'P27', 'Q142']
ASK WHERE { resource:Q3132860 property:P27 resource:Q142 }
Henry Jacques Le Même France
action is_in
entity France
action find
entity Henry Jacques Le Même
relation country of citizenship
['Henry Jacques Le Même', 'country of citizenship', 'France']
ASK WHERE { resource:Henry_Jacques_Le_Même property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3132860,P27,Q142)
action is_in
entity Q142
action find
entity Q3132860
relation P27
[ANSWER]
['Q3132860', 'P27', 'Q142']
ASK WHERE { resource:Q3132860 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Henry Jacques Le Même
relation country of citizenship
['Henry Jacques Le Même', 'country of citizenship', 'France']
ASK WHERE { resource:Henry_Jacques_Le_Même property:country_of_citizenship resource:France }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4714771 Q3166930
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Jean-Louis Pascal or Aleksandar Damyanov ?
OR((Q3166930,P27,c(Q15617994)), (Q4714771,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3166930
relation P27
action find
entity Q4714771
relation P27
type Q15617994
{'OR': [['Q3166930', 'P27', {'concept': 'Q15617994'}], ['Q4714771', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4714771 property:P27 ?m } UNION { resource:Q3166930 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
Aleksandar Damyanov Jean-Louis Pascal
action filter_type
action union
action find
entity Jean-Louis Pascal
relation country of citizenship
action find
entity Aleksandar Damyanov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Louis Pascal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Damyanov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Aleksandar_Damyanov property:country_of_citizenship ?m } UNION { resource:Jean-Louis_Pascal property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q219
SYSTEM
France, Bulgaria
Q142 Q219
OR((Q3166930,P27,c(Q15617994)), (Q4714771,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3166930
relation P27
action find
entity Q4714771
relation P27
type Q15617994
[ANSWERS] are the countries of citizenship of Jean-Louis Pascal or Aleksandar Damyanov
{'OR': [['Q3166930', 'P27', {'concept': 'Q15617994'}], ['Q4714771', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q4714771 property:P27 ?m } UNION { resource:Q3166930 property:P27 ?m } } . ?m rdf:type ontology:Q15617994 }
France Bulgaria
France and Bulgaria are the countries of citizenship of Jean-Louis Pascal or Aleksandar Damyanov
France Bulgaria
action filter_type
action union
action find
entity Jean-Louis Pascal
relation country of citizenship
action find
entity Aleksandar Damyanov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Jean-Louis Pascal', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Aleksandar Damyanov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Aleksandar_Damyanov property:country_of_citizenship ?m } UNION { resource:Jean-Louis_Pascal property:country_of_citizenship ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1074991
P530
Q15617994
USER
Do Chittagong District have diplomatic associations with those ones ?
(Q1074991,P530,Q142) (Q1074991,P530,Q219)
action is_in
entity prev_answer
action find
entity Q1074991
relation P530
['Q1074991', 'P530', 'Q142'] ['Q1074991', 'P530', 'Q219']
ASK WHERE { VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q219 ) } . resource:Q1074991 property:P530 ?b }
Chittagong District
action is_in
entity prev_answer
action find
entity Chittagong District
relation diplomatic relation
['Chittagong District', 'diplomatic relation', 'France'] ['Chittagong District', 'diplomatic relation', 'Bulgaria']
ASK WHERE { VALUES ( ?b ) { ( resource:France ) ( resource:Bulgaria ) } . resource:Chittagong_District property:diplomatic_relation ?b }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q1074991,P530,Q142) (Q1074991,P530,Q219)
action is_in
entity prev_answer
action find
entity Q1074991
relation P530
[ANSWER]
['Q1074991', 'P530', 'Q142'] ['Q1074991', 'P530', 'Q219']
ASK WHERE { VALUES ( ?b ) { ( resource:Q142 ) ( resource:Q219 ) } . resource:Q1074991 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Chittagong District
relation diplomatic relation
['Chittagong District', 'diplomatic relation', 'France'] ['Chittagong District', 'diplomatic relation', 'Bulgaria']
ASK WHERE { VALUES ( ?b ) { ( resource:France ) ( resource:Bulgaria ) } . resource:Chittagong_District property:diplomatic_relation ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q3616
P194
Q1752346
USER
How many assemblies govern France or Tehran ?
(Q142,P194,c(Q1752346)) (Q3616,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q142
relation P194
type Q1752346
action filter_type
action find
entity Q3616
relation P194
type Q1752346
['Q142', 'P194', {'concept': 'Q1752346'}] ['Q3616', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q3616 ) } . ?w property:P194 ?d }
France Tehran
action count
action union
action filter_type
action find
entity France
relation legislative body
type assembly
action filter_type
action find
entity Tehran
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}] ['Tehran', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?w ) { ( resource:France ) ( resource:Tehran ) } . ?w property:legislative_body ?d }
[]
assembly
SYSTEM
2
Q5123141 Q632552
(Q142,P194,c(Q1752346)) (Q3616,P194,c(Q1752346))
action count
action union
action filter_type
action find
entity Q142
relation P194
type Q1752346
action filter_type
action find
entity Q3616
relation P194
type Q1752346
[ANSWER]
['Q142', 'P194', {'concept': 'Q1752346'}] ['Q3616', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?w ) { ( resource:Q142 ) ( resource:Q3616 ) } . ?w property:P194 ?d }
City Council of Tehran French Parliament
2
action count
action union
action filter_type
action find
entity France
relation legislative body
type assembly
action filter_type
action find
entity Tehran
relation legislative body
type assembly
['France', 'legislative body', {'concept': 'assembly'}] ['Tehran', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { VALUES ( ?w ) { ( resource:France ) ( resource:Tehran ) } . ?w property:legislative_body ?d }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q25125
P706
Q355304 Q82794 Q15617994
USER
How many administrative territories are located in around the same number of watercourses and geographic regions as Baltrum ?
(c(Q15617994),P706,c(Q355304)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q25125
relation P706
type Q355304
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q25125 property:P706 ?g . { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } } } . FILTER ( ?l = ?v ) }
Baltrum
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Baltrum
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Baltrum property:located_on_terrain_feature ?g . { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } } } . FILTER ( ?l = ?v ) }
[]
watercourse geographic region designation for an administrative territorial entity
SYSTEM
130
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q790 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q204529 Q244 Q4789577 Q501683 Q582690 Q216422 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q72432 Q504134 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q355304)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q25125
relation P706
type Q355304
type Q82794
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Q25125 property:P706 ?g . { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } } } . FILTER ( ?l = ?v ) }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Haiti Galaro Lipari Magdala Moneglia Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Zingst Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Trinidad and Tobago Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Procida Kirchlinteln Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
130
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Baltrum
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?l ) ?z WHERE { ?h rdf:type ?p . VALUES ( ?p ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } GROUP BY ?z } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?v ) WHERE { resource:Baltrum property:located_on_terrain_feature ?g . { ?g rdf:type ?e . VALUES ( ?e ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } } } . FILTER ( ?l = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q16642582
P706
Q355304 Q82794 Q15617994
USER
And what about Hydra?
(c(Q15617994),P706,c(Q355304)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q16642582
relation P706
type Q355304
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q16642582 property:P706 ?i . { { ?i rdf:type ontology:Q355304 } UNION { ?i rdf:type ontology:Q82794 } } } } . FILTER ( ?a = ?j ) }
Hydra
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Hydra
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Hydra property:located_on_terrain_feature ?i . { { ?i rdf:type ontology:watercourse } UNION { ?i rdf:type ontology:geographic_region } } } } . FILTER ( ?a = ?j ) }
[]
watercourse geographic region designation for an administrative territorial entity
SYSTEM
130
Q805 Q1070686 Q695445 Q2712111 Q489215 Q5101419 Q682072 Q6685870 Q4692591 Q525879 Q24846 Q267993 Q3172 Q922342 Q637400 Q21042 Q632868 Q148 Q784 Q21049 Q786 Q25129 Q7042 Q312335 Q21160 Q525945 Q5382040 Q3003231 Q505665 Q1462 Q4692611 Q521132 Q790 Q5517964 Q496389 Q555609 Q267005 Q128230 Q27332 Q1619957 Q1093572 Q6350324 Q204529 Q244 Q4789577 Q501683 Q582690 Q216422 Q20789 Q16642582 Q33 Q921 Q633162 Q3146 Q520347 Q851 Q845396 Q15213143 Q598754 Q21074475 Q771971 Q3942 Q145 Q333149 Q27 Q4770750 Q20836 Q20837 Q769680 Q5420482 Q19906291 Q192129 Q502662 Q47821 Q20019215 Q4692647 Q3038 Q3068 Q331886 Q15244035 Q6472577 Q25130 Q588957 Q25135 Q229 Q3218 Q4769813 Q112019 Q704288 Q21008 Q7916724 Q660806 Q25125 Q29931 Q28091 Q754 Q25082 Q5275507 Q28013 Q558787 Q14892 Q180271 Q262684 Q6353095 Q628095 Q3923 Q27649869 Q5283827 Q3193 Q522992 Q23968 Q760 Q6835962 Q489865 Q518171 Q2119591 Q46870 Q72432 Q504134 Q20754 Q8147649 Q153969 Q481758 Q8043694 Q55416 Q31640 Q3559483 Q376823 Q3559279 Q3559271
(c(Q15617994),P706,c(Q355304)|c(Q82794))
action count
action approx
action union
action find_tuple_counts
relation P706
type Q15617994
type Q355304
action find_tuple_counts
relation P706
type Q15617994
type Q82794
action count
action filter_multi_types
action find
entity Q16642582
relation P706
type Q355304
type Q82794
[ANSWER]
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q355304'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:Q355304 ) ( ontology:Q82794 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Q16642582 property:P706 ?i . { { ?i rdf:type ontology:Q355304 } UNION { ?i rdf:type ontology:Q82794 } } } } . FILTER ( ?a = ?j ) }
Yemen Leivathos Langen Zagori Oberhof Chionata Rankwitz Loucha Agioi Pantes Haundorf Juist Muhr am See Fehmarn Sithonia Hohenwarte Nebel Sasbach People's Republic of China Dominica Norddorf auf Amrum Dominican Republic Langeoog Amberg Spalt List auf Sylt Pfofeld Epanochori, Cephalonia Croisset Bergen Sardinia Agios Dimitrios, Cephalonia Hilpoltstein Haiti Galaro Lipari Magdala Moneglia Ventotene Kampen Hippelsbach Trøllanes Kalamaki, Zakynthos Zingst Barbados Arginia Rosengarten Neuenhagen bei Berlin Samsø Wenningstedt-Braderup Hydra Finland Brunei Drestedt Pellworm Röttenbach, Roth Saudi Arabia Pyramiden Davgata Undeloh Nenndorf Avlida Aschaffenburg United Kingdom Abstatt Ireland Ansons Bay Hallig Hooge Fanø Bornholm Exo Chora Western New Guinea Ustica Bad Salzungen Malcesine Natal Agios Nikolaos, Cephalonia Helgoland Loire-Atlantique Absberg Makryotika Lagopodo Spiekeroog Allersberg Wangerooge Cyprus Insel Hiddensee Ano Gerakari Sirmione Duchy of Holstein Sylt Vasilikades Karlshagen Baltrum Langeneß Wittdün auf Amrum Trinidad and Tobago Borkum Digaleto Hörnum Südeichsfeld Buchholz in der Nordheide Vetralla Füssen Kalipado Nürburg Bayreuth Teglkås Divarata Ostseebad Insel Poel Braunlage Norderney Saint Lucia Michata Isola delle Femmine Ellhofen Pylaros Bardolino Procida Kirchlinteln Gröde Ba District Lindau Pantelleria Xenopoulo Chioggia Unterschwaningen Elatia Wenzendorf Artemisia Arkadioi
130
action count
action approx
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
action count
action filter_multi_types
action find
entity Hydra
relation located on terrain feature
type watercourse
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'watercourse'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?u rdf:type ?s . VALUES ( ?s ) { ( ontology:watercourse ) ( ontology:geographic_region ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?j ) WHERE { resource:Hydra property:located_on_terrain_feature ?i . { { ?i rdf:type ontology:watercourse } UNION { ?i rdf:type ontology:geographic_region } } } } . FILTER ( ?a = ?j ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
How many administrative territories are known to have diplomatic connections with around 34 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k property:P530 ?i . ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?n = 34 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k property:diplomatic_relation ?i . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?n = 34 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
1
Q184
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k property:P530 ?i . ?k rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?k } . FILTER ( ?n = 34 ) }
Belarus
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?b ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?i ) AS ?n ) WHERE { ?k property:diplomatic_relation ?i . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . FILTER ( ?n = 34 ) }
[]