Simple Question (Direct)
Simple Question
Q5985074
P1412
Q34770
USER
Which language does Luís Blanco Vila speak in ?
(Q5985074,P1412,c(Q34770))
action filter_type
action find
entity Q5985074
relation P1412
type Q34770
['Q5985074', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q5985074 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Luís Blanco Vila
action filter_type
action find
entity Luís Blanco Vila
relation languages spoken, written or signed
type language
['Luís Blanco Vila', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Luís_Blanco_Vila property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5985074,P1412,c(Q34770))
action filter_type
action find
entity Q5985074
relation P1412
type Q34770
Luís Blanco Vila speaks and [ANSWER]
['Q5985074', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q5985074 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Spanish
Luís Blanco Vila speaks and Spanish
Spanish
action filter_type
action find
entity Luís Blanco Vila
relation languages spoken, written or signed
type language
['Luís Blanco Vila', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Luís_Blanco_Vila property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5985074
P106
Q12737077
USER
What is the job of that person ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5985074
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5985074 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Luís Blanco Vila
action filter_type
action find
entity Luís Blanco Vila
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Luís_Blanco_Vila property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q1930187
SYSTEM
journalist
Q1930187
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5985074
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q5985074 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
journalist
The job of that person is a journalist
journalist
action filter_type
action find
entity Luís Blanco Vila
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Luís_Blanco_Vila property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1930187 Q12303635
P106
Q502895
USER
Does Bjarke Møller have career as that occupation ?
(Q12303635,P106,Q1930187)
action is_in
entity Q1930187
action find
entity Q12303635
relation P106
['Q12303635', 'P106', 'Q1930187']
ASK WHERE { resource:Q12303635 property:P106 resource:Q1930187 }
journalist Bjarke Møller
action is_in
entity journalist
action find
entity Bjarke Møller
relation occupation
['Bjarke Møller', 'occupation', 'journalist']
ASK WHERE { resource:Bjarke_Møller property:occupation resource:journalist }
[]
common name
SYSTEM
YES
(Q12303635,P106,Q1930187)
action is_in
entity Q1930187
action find
entity Q12303635
relation P106
[ANSWER]
['Q12303635', 'P106', 'Q1930187']
ASK WHERE { resource:Q12303635 property:P106 resource:Q1930187 }
Yes
action is_in
entity journalist
action find
entity Bjarke Møller
relation occupation
['Bjarke Møller', 'occupation', 'journalist']
ASK WHERE { resource:Bjarke_Møller property:occupation resource:journalist }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5985074 Q5135997 Q29
P27
Q15617994
USER
Is Luís Blanco Vila a native of Clovis Municipal School District and Spain ?
(Q5985074,P27,Q5135997) (Q5985074,P27,Q29)
action is_in
entity Q5985074
action intersection
action find_reverse
entity Q5135997
relation P27
action find_reverse
entity Q29
relation P27
['Q5985074', 'P27', 'Q5135997'] ['Q5985074', 'P27', 'Q29']
ASK WHERE { resource:Q5985074 property:P27 resource:Q5135997 . resource:Q5985074 property:P27 resource:Q29 }
Luís Blanco Vila Clovis Municipal School District Spain
action is_in
entity Luís Blanco Vila
action intersection
action find_reverse
entity Clovis Municipal School District
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
['Luís Blanco Vila', 'country of citizenship', 'Clovis Municipal School District'] ['Luís Blanco Vila', 'country of citizenship', 'Spain']
ASK WHERE { resource:Luís_Blanco_Vila property:country_of_citizenship resource:Clovis_Municipal_School_District . resource:Luís_Blanco_Vila property:country_of_citizenship resource:Spain }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q5985074,P27,Q5135997) (Q5985074,P27,Q29)
action is_in
entity Q5985074
action intersection
action find_reverse
entity Q5135997
relation P27
action find_reverse
entity Q29
relation P27
[ANSWER]
['Q5985074', 'P27', 'Q5135997'] ['Q5985074', 'P27', 'Q29']
ASK WHERE { resource:Q5985074 property:P27 resource:Q5135997 . resource:Q5985074 property:P27 resource:Q29 }
NO and YES respectively
action is_in
entity Luís Blanco Vila
action intersection
action find_reverse
entity Clovis Municipal School District
relation country of citizenship
action find_reverse
entity Spain
relation country of citizenship
['Luís Blanco Vila', 'country of citizenship', 'Clovis Municipal School District'] ['Luís Blanco Vila', 'country of citizenship', 'Spain']
ASK WHERE { resource:Luís_Blanco_Vila property:country_of_citizenship resource:Clovis_Municipal_School_District . resource:Luís_Blanco_Vila property:country_of_citizenship resource:Spain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5985074
P19
Q1048835
USER
Which political territory is the place of birth of Luís Blanco Vila ?
(Q5985074,P19,c(Q1048835))
action filter_type
action find
entity Q5985074
relation P19
type Q1048835
['Q5985074', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q5985074 property:P19 ?l . ?l rdf:type ontology:Q1048835 }
Luís Blanco Vila
action filter_type
action find
entity Luís Blanco Vila
relation place of birth
type political territorial entity
['Luís Blanco Vila', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luís_Blanco_Vila property:place_of_birth ?l . ?l rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q735282
SYSTEM
Boiro
Q735282
(Q5985074,P19,c(Q1048835))
action filter_type
action find
entity Q5985074
relation P19
type Q1048835
[ANSWER] is the place of birth of Luís Blanco Vila
['Q5985074', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { resource:Q5985074 property:P19 ?l . ?l rdf:type ontology:Q1048835 }
Boiro
Boiro is the place of birth of Luís Blanco Vila
Boiro
action filter_type
action find
entity Luís Blanco Vila
relation place of birth
type political territorial entity
['Luís Blanco Vila', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Luís_Blanco_Vila property:place_of_birth ?l . ?l rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5985074
P21
Q290
USER
What is the sex of that person ?
(Q735282,P21,c(Q290))
action filter_type
action find
entity Q5985074
relation P21
type Q290
['Q735282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5985074 property:P21 ?r . ?r rdf:type ontology:Q290 }
Luís Blanco Vila
action filter_type
action find
entity Luís Blanco Vila
relation gender
type sex
['Boiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Luís_Blanco_Vila property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q735282,P21,c(Q290))
action filter_type
action find
entity Q5985074
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q735282', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q5985074 property:P21 ?r . ?r rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Luís Blanco Vila
relation gender
type sex
['Boiro', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Luís_Blanco_Vila property:gender ?r . ?r rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P21
Q290 Q502895
USER
How many sexes do approximately the same number of people possess as that sex ?
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:Q290 . resource:Q6581097 property:P21 ?g } } . FILTER ( ?o = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P21 ?k . ?b rdf:type ontology:Q502895 . ?k rdf:type ontology:Q290 } GROUP BY ?k } }
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:sex . resource:male property:gender ?g } } . FILTER ( ?o = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:gender ?k . ?b rdf:type ontology:common_name . ?k rdf:type ontology:sex } GROUP BY ?k } }
[]
sex common name
SYSTEM
1
Q6581097
(c(Q502895),P21,c(Q290))
action count
action approx
action find_reverse_tuple_counts
relation P21
type Q290
type Q502895
action count
action filter_type
action find
entity Q6581097
relation P21
type Q290
[ANSWER]
[{'concept': 'Q502895'}, 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:Q290 . resource:Q6581097 property:P21 ?g } } . FILTER ( ?o = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:P21 ?k . ?b rdf:type ontology:Q502895 . ?k rdf:type ontology:Q290 } GROUP BY ?k } }
male
1
action count
action approx
action find_reverse_tuple_counts
relation gender
type sex
type common name
action count
action filter_type
action find
entity male
relation gender
type sex
[{'concept': 'common name'}, 'gender', {'concept': 'sex'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:sex . resource:male property:gender ?g } } . FILTER ( ?o = ?c ) . { SELECT DISTINCT ?k ( COUNT ( ?b ) AS ?o ) WHERE { ?b property:gender ?k . ?b rdf:type ontology:common_name . ?k rdf:type ontology:sex } GROUP BY ?k } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P364
Q34770 Q838948 Q21114848
USER
How many languages are considered to be the original language of creation of atmost 15398 works of art or magazine genres ?
(c(Q838948)|c(Q21114848),P364,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
value 15398
[[{'concept': 'Q838948'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?z <= 15398 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q21114848 ) } } GROUP BY ?x } }
action count
action atmost
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
value 15398
[[{'concept': 'work of art'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?z <= 15398 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:magazine_genre ) } } GROUP BY ?x } }
[]
language work of art magazine genre
SYSTEM
31
Q132659 Q13414913 Q13211 Q35499 Q35668 Q8785 Q1072111 Q34909 Q36765 Q33251 Q18130932 Q35726 Q36206 Q1321 Q33976 Q397 Q10862919 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q56530 Q25164 Q36790 Q29977 Q182695 Q3110592 Q837985 Q783605
(c(Q838948)|c(Q21114848),P364,c(Q34770))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q838948
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
value 15398
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q21114848'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?z <= 15398 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:Q838948 ) ( ontology:Q21114848 ) } } GROUP BY ?x } }
Egyptian hieroglyphs Simplified Chinese Ruthenian Old Church Slavonic Hittite Armenian Galician-Portuguese Old Icelandic Demotic Church Slavonic Traditional Chinese Etruscan Lak Spanish Sardinian language Latin Tibetan language Czech Basque classical Chinese Italian Old Norse language Bokmål Wappo language Nynorsk Sumerian Gaulish Late Old Japanese written Chinese Middle High German Written vernacular Chinese
31
action count
action atmost
action union
action find_reverse_tuple_counts
relation original language of work
type language
type work of art
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
value 15398
[[{'concept': 'work of art'}, {'concept': 'magazine genre'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?t ) WHERE { FILTER ( ?z <= 15398 ) . { SELECT DISTINCT ?x ( COUNT ( ?w ) AS ?z ) WHERE { ?w rdf:type ?p . VALUES ( ?p ) { ( ontology:work_of_art ) ( ontology:magazine_genre ) } } GROUP BY ?x } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relations 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 ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?u ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?d ) WHERE { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 . ?n property:P530 ?t } GROUP BY ?n } } }
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 ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?u ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?d ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?t } GROUP BY ?n } } }
[]
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 relations with max number of political territories
[{'concept': 'Q1048835'}, 'P530', 'Q953']
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?u ) WHERE { ?i property:P530 ?m . ?i rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q1048835 } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?d ) WHERE { ?n rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1048835 . ?n property:P530 ?t } GROUP BY ?n } } }
Italy
Italy have diplomatic relations 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 ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?u ) WHERE { ?i property:diplomatic_relation ?m . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:political_territorial_entity } GROUP BY ?i } . FILTER ( ?u = ?e ) . { SELECT DISTINCT ( MAX ( ?d ) AS ?e ) { SELECT DISTINCT ?n ( COUNT ( ?t ) AS ?d ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:political_territorial_entity . ?n property:diplomatic_relation ?t } GROUP BY ?n } } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P710
Q484652
USER
Which international organization was that administrative territory a participant of ?
(c(Q484652),P710,Q38)
action filter_type
action find_reverse
entity Q38
relation P710
type Q484652
[{'concept': 'Q484652'}, 'P710', 'Q38']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q484652 . ?e property:P710 resource:Q38 }
Italy
action filter_type
action find_reverse
entity Italy
relation participant
type international organization
[{'concept': 'international organization'}, 'participant', 'Italy']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:international_organization . ?e property:participant resource:Italy }
[]
international organization
Q10287157
SYSTEM
G6
Q10287157
(c(Q484652),P710,Q38)
action filter_type
action find_reverse
entity Q38
relation P710
type Q484652
[ANSWER] was that administrative territory a participant of
[{'concept': 'Q484652'}, 'P710', 'Q38']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q484652 . ?e property:P710 resource:Q38 }
G6
G6 was that administrative territory a participant of
G6
action filter_type
action find_reverse
entity Italy
relation participant
type international organization
[{'concept': 'international organization'}, 'participant', 'Italy']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:international_organization . ?e property:participant resource:Italy }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q38
P85
Q7725634
USER
Which literary work is the anthem for that administrative territory ?
(Q10287157,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
['Q10287157', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P85 ?i . ?i rdf:type ontology:Q7725634 }
Italy
action filter_type
action find
entity Italy
relation anthem
type literary work
['G6', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:anthem ?i . ?i rdf:type ontology:literary_work }
[]
literary work
Q187
SYSTEM
Il Canto degli Italiani
Q187
(Q10287157,P85,c(Q7725634))
action filter_type
action find
entity Q38
relation P85
type Q7725634
[ANSWER] is the anthem for that administrative territory
['Q10287157', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?i WHERE { resource:Q38 property:P85 ?i . ?i rdf:type ontology:Q7725634 }
Il Canto degli Italiani
Il Canto degli Italiani is the anthem for that administrative territory
Il Canto degli Italiani
action filter_type
action find
entity Italy
relation anthem
type literary work
['G6', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?i WHERE { resource:Italy property:anthem ?i . ?i rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q187 Q662453
P85
Q15617994
USER
Does Brückl have that literary work as their national anthem ?
(Q662453,P85,Q187)
action is_in
entity Q662453
action find
entity Q187
relation P85
['Q662453', 'P85', 'Q187']
ASK WHERE { resource:Q187 property:P85 resource:Q662453 }
Il Canto degli Italiani Brückl
action is_in
entity Brückl
action find
entity Il Canto degli Italiani
relation anthem
['Brückl', 'anthem', 'Il Canto degli Italiani']
ASK WHERE { resource:Il_Canto_degli_Italiani property:anthem resource:Brückl }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q662453,P85,Q187)
action is_in
entity Q662453
action find
entity Q187
relation P85
[ANSWER]
['Q662453', 'P85', 'Q187']
ASK WHERE { resource:Q187 property:P85 resource:Q662453 }
No
action is_in
entity Brückl
action find
entity Il Canto degli Italiani
relation anthem
['Brückl', 'anthem', 'Il Canto degli Italiani']
ASK WHERE { resource:Il_Canto_degli_Italiani property:anthem resource:Brückl }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19642845 Q38
P530 P17
Q15617994
USER
Which administrative territories have diplomatic relationships with Italy or are Vrieslantlaan located in ?
OR((Q38,P530,c(Q15617994)), (Q19642845,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q19642845
relation P17
type Q15617994
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q19642845', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q38 property:P530 ?v } UNION { resource:Q19642845 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Vrieslantlaan Italy
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Vrieslantlaan
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vrieslantlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Italy property:diplomatic_relation ?v } UNION { resource:Vrieslantlaan property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q184 Q794 Q34 Q869 Q1045 Q796 Q1016 Q145 Q155 Q41
SYSTEM
Some of them are Belarus, Iran, Sweden, Thailand, Somalia, Iraq, Libya, United Kingdom, Brazil, Greece
Q805 Q219 Q869 Q801 Q189 Q843 Q184 Q423 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q228 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q77 Q39 Q1016 Q739 Q227 Q948 Q191 Q733 Q928 Q298 Q45 Q252 Q114 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q215 Q155 Q218 Q41 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q881
OR((Q38,P530,c(Q15617994)), (Q19642845,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q38
relation P530
action find
entity Q19642845
relation P17
type Q15617994
[ANSWERS] have diplomatic relationships with Italy or are Vrieslantlaan located in
{'OR': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q19642845', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q38 property:P530 ?v } UNION { resource:Q19642845 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Yemen Bulgaria Thailand Israel Iceland Pakistan Belarus North Korea Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Andorra Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Uruguay Switzerland Libya Colombia Azerbaijan Tunisia Estonia Paraguay Philippines Chile Portugal Indonesia Kenya Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Slovenia Brazil Romania Greece San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea Vietnam
Belarus, Iran, Sweden, Thailand, Somalia, Iraq, Libya, United Kingdom, Brazil and Greece have diplomatic relationships with Italy or are Vrieslantlaan located in
Belarus Iran Sweden Thailand Somalia Iraq Libya United Kingdom Brazil Greece
action filter_type
action union
action find
entity Italy
relation diplomatic relation
action find
entity Vrieslantlaan
relation country
type designation for an administrative territorial entity
{'OR': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Vrieslantlaan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Italy property:diplomatic_relation ?v } UNION { resource:Vrieslantlaan property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q660687
P180
Q15617994 Q838948 Q11060274
USER
Which administrative territories are depicted in more number of works of art or prints than Velden am Wörther See ?
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q660687
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?g ) WHERE { { ?q property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } UNION { ?q property:P180 ?h . ?q rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P180 resource:Q660687 . { { ?y rdf:type ontology:Q11060274 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?g > ?s ) }
Velden am Wörther See
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Velden am Wörther See
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?g ) WHERE { { ?q property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } UNION { ?q property:depicts ?h . ?q rdf:type ontology:work_of_art . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:depicts resource:Velden_am_Wörther_See . { { ?y rdf:type ontology:print } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?g > ?s ) }
[]
designation for an administrative territorial entity work of art print
Q17 Q13320 Q47505
SYSTEM
Japan, Savona, Dolo
Q47505 Q131596 Q17 Q13320 Q82025 Q376896 Q34876 Q80591
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q660687
relation P180
type Q838948
type Q11060274
[ANSWERS] are depicted in more number of works of art or prints than Velden am Wörther See
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?g ) WHERE { { ?q property:P180 ?h . ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q11060274 } UNION { ?q property:P180 ?h . ?q rdf:type ontology:Q838948 . ?h rdf:type ontology:Q15617994 } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:P180 resource:Q660687 . { { ?y rdf:type ontology:Q11060274 } UNION { ?y rdf:type ontology:Q838948 } } } } . FILTER ( ?g > ?s ) }
Dolo farm Japan Savona horn Grenelle province Atrani
Japan, Savona and Dolo are depicted in more number of works of art or prints than Velden am Wörther See
Japan Savona Dolo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Velden am Wörther See
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?g ) WHERE { { ?q property:depicts ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:print } UNION { ?q property:depicts ?h . ?q rdf:type ontology:work_of_art . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y property:depicts resource:Velden_am_Wörther_See . { { ?y rdf:type ontology:print } UNION { ?y rdf:type ontology:work_of_art } } } } . FILTER ( ?g > ?s ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q27
P180
Q15617994 Q838948 Q11060274
USER
And what about Ireland?
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q27
relation P180
type Q838948
type Q11060274
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?l rdf:type ?e } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P180 resource:Q27 . { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?p rdf:type ?f } } } . FILTER ( ?a > ?i ) }
Ireland
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Ireland
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:print ) ( ontology:work_of_art ) } . ?l rdf:type ?e } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:depicts resource:Ireland . { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:print ) } . ?p rdf:type ?f } } } . FILTER ( ?a > ?i ) }
[]
designation for an administrative territorial entity work of art print
Q17 Q13320 Q47505
SYSTEM
Japan, Savona, Dolo
Q47505 Q131596 Q17 Q13320 Q82025 Q376896 Q34876 Q80591
(c(Q838948)|c(Q11060274),P180,c(Q15617994))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q11060274
action count
action filter_multi_types
action find_reverse
entity Q27
relation P180
type Q838948
type Q11060274
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q11060274'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:Q11060274 ) ( ontology:Q838948 ) } . ?l rdf:type ?e } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:P180 resource:Q27 . { VALUES ( ?f ) { ( ontology:Q838948 ) ( ontology:Q11060274 ) } . ?p rdf:type ?f } } } . FILTER ( ?a > ?i ) }
Dolo farm Japan Savona horn Grenelle province Atrani
Japan Savona Dolo
action greater
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type print
action count
action filter_multi_types
action find_reverse
entity Ireland
relation depicts
type work of art
type print
[[{'concept': 'work of art'}, {'concept': 'print'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?e ) { ( ontology:print ) ( ontology:work_of_art ) } . ?l rdf:type ?e } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?i ) WHERE { ?p property:depicts resource:Ireland . { VALUES ( ?f ) { ( ontology:work_of_art ) ( ontology:print ) } . ?p rdf:type ?f } } } . FILTER ( ?a > ?i ) }
[]