Simple Question (Direct)
Simple Question
Q1076942
P1412
Q34770
USER
Which language can Chris Anstey read ?
(Q1076942,P1412,c(Q34770))
action filter_type
action find
entity Q1076942
relation P1412
type Q34770
['Q1076942', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1076942 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Chris Anstey
action filter_type
action find
entity Chris Anstey
relation languages spoken, written or signed
type language
['Chris Anstey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Chris_Anstey property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1076942,P1412,c(Q34770))
action filter_type
action find
entity Q1076942
relation P1412
type Q34770
Chris Anstey can read in [ANSWER]
['Q1076942', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q1076942 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
English
Chris Anstey can read in English
English
action filter_type
action find
entity Chris Anstey
relation languages spoken, written or signed
type language
['Chris Anstey', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Chris_Anstey property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1076942
P54
Q12973014
USER
Which sports teams are Chris Anstey a member of ?
(Q1076942,P54,c(Q12973014))
action filter_type
action find
entity Q1076942
relation P54
type Q12973014
['Q1076942', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q1076942 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Chris Anstey
action filter_type
action find
entity Chris Anstey
relation member of sports team
type sports team
['Chris Anstey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Chris_Anstey property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
sports team
Q128109 Q132893 Q3557692
SYSTEM
Chicago Bulls, Dallas Mavericks, Victoria Titans
Q3557692 Q25759 Q2756356 Q128109 Q3492246 Q132893 Q25757
(Q1076942,P54,c(Q12973014))
action filter_type
action find
entity Q1076942
relation P54
type Q12973014
The [ANSWERS] are Chris Anstey a member of
['Q1076942', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?b WHERE { resource:Q1076942 property:P54 ?b . ?b rdf:type ontology:Q12973014 }
Victoria Titans PBC Ural Great Perm Melbourne Tigers Chicago Bulls South East Melbourne Magic Dallas Mavericks BC UNICS
The Chicago Bulls, Dallas Mavericks and Victoria Titans are Chris Anstey a member of
Chicago Bulls Dallas Mavericks Victoria Titans
action filter_type
action find
entity Chris Anstey
relation member of sports team
type sports team
['Chris Anstey', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?b WHERE { resource:Chris_Anstey property:member_of_sports_team ?b . ?b rdf:type ontology:sports_team }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P674
Q502895 Q36649 Q234460
USER
Which people plays a role in max number of visual artss or texts ?
(c(Q36649)|c(Q234460),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
[[{'concept': 'Q36649'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?h = ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q36649 ) ( ontology:Q234460 ) } } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q36649 ) ( ontology:Q234460 ) } . ?x rdf:type ?r } GROUP BY ?j } } }
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type text
[[{'concept': 'visual arts'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?h = ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:visual_arts ) ( ontology:text ) } } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:visual_arts ) ( ontology:text ) } . ?x rdf:type ?r } GROUP BY ?j } } }
[]
common name visual arts text
Q15718786 Q145746
SYSTEM
Winona, Joseph
Q15718786 Q145746
(c(Q36649)|c(Q234460),P674,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q36649
action find_reverse_tuple_counts
relation P674
type Q502895
type Q234460
[ANSWERS] play a role in max number of visual artss or texts
[[{'concept': 'Q36649'}, {'concept': 'Q234460'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?h = ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:Q36649 ) ( ontology:Q234460 ) } } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q36649 ) ( ontology:Q234460 ) } . ?x rdf:type ?r } GROUP BY ?j } } }
Winona Joseph
Winona and Joseph play a role in max number of visual artss or texts
Winona Joseph
action argmax
action union
action find_reverse_tuple_counts
relation characters
type common name
type visual arts
action find_reverse_tuple_counts
relation characters
type common name
type text
[[{'concept': 'visual arts'}, {'concept': 'text'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?h = ?o ) . { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ?p . VALUES ( ?p ) { ( ontology:visual_arts ) ( ontology:text ) } } GROUP BY ?s } . { SELECT DISTINCT ( MAX ( ?g ) AS ?o ) { SELECT DISTINCT ?j ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:visual_arts ) ( ontology:text ) } . ?x rdf:type ?r } GROUP BY ?j } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1076942
P27
Q1048835
USER
How many political territories do Chris Anstey belong to ?
(Q1076942,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1076942
relation P27
type Q1048835
['Q1076942', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1076942 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Chris Anstey
action count
action filter_type
action find
entity Chris Anstey
relation country of citizenship
type political territorial entity
['Chris Anstey', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Chris_Anstey property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
1
Q408
(Q1076942,P27,c(Q1048835))
action count
action filter_type
action find
entity Q1076942
relation P27
type Q1048835
[ANSWER]
['Q1076942', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Q1076942 property:P27 ?g . ?g rdf:type ontology:Q1048835 }
Australia
1
action count
action filter_type
action find
entity Chris Anstey
relation country of citizenship
type political territorial entity
['Chris Anstey', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?p ) WHERE { resource:Chris_Anstey property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1076942
P27
Q1048835
USER
Which political territory is that person a civilian of ?
action filter_type
action find
entity Q1076942
relation P27
type Q1048835
SELECT DISTINCT ?j WHERE { resource:Q1076942 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Chris Anstey
action filter_type
action find
entity Chris Anstey
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?j WHERE { resource:Chris_Anstey property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
action filter_type
action find
entity Q1076942
relation P27
type Q1048835
From [ANSWER] is that person a civilian of
SELECT DISTINCT ?j WHERE { resource:Q1076942 property:P27 ?j . ?j rdf:type ontology:Q1048835 }
Australia
From Australia is that person a civilian of
Australia
action filter_type
action find
entity Chris Anstey
relation country of citizenship
type political territorial entity
SELECT DISTINCT ?j WHERE { resource:Chris_Anstey property:country_of_citizenship ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1076942
P735
Q82799
USER
Which name is Chris Anstey known by ?
(Q1076942,P735,c(Q82799))
action filter_type
action find
entity Q1076942
relation P735
type Q82799
['Q1076942', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1076942 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Chris Anstey
action filter_type
action find
entity Chris Anstey
relation given name
type name
['Chris Anstey', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Chris_Anstey property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q339346
SYSTEM
Chris
Q339346
(Q1076942,P735,c(Q82799))
action filter_type
action find
entity Q1076942
relation P735
type Q82799
[ANSWER] Anstey is known as [ANSWER]
['Q1076942', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q1076942 property:P735 ?d . ?d rdf:type ontology:Q82799 }
Chris
Chris Anstey is known as Chris
Chris
action filter_type
action find
entity Chris Anstey
relation given name
type name
['Chris Anstey', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Chris_Anstey property:given_name ?d . ?d rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145746
P20
Q15617994
USER
Where did the demise of Joseph occur ?
(Q145746,P20,c(Q15617994))
action filter_type
action find
entity Q145746
relation P20
type Q15617994
['Q145746', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q145746 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Joseph
action filter_type
action find
entity Joseph
relation place of death
type designation for an administrative territorial entity
['Joseph', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joseph property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q79
SYSTEM
Egypt
Q79
(Q145746,P20,c(Q15617994))
action filter_type
action find
entity Q145746
relation P20
type Q15617994
The demise of Joseph occurred in [ANSWER]
['Q145746', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q145746 property:P20 ?o . ?o rdf:type ontology:Q15617994 }
Egypt
The demise of Joseph occurred in Egypt
Egypt
action filter_type
action find
entity Joseph
relation place of death
type designation for an administrative territorial entity
['Joseph', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Joseph property:place_of_death ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1597866
Q15617994
USER
And what about Heinrich Jansen?
(Q1597866,P20,c(Q15617994))
action filter_type
action find
entity Q1597866
relation P20
type Q15617994
['Q1597866', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1597866 property:P20 ?v . ?v rdf:type ontology:Q15617994 }
Heinrich Jansen
action filter_type
action find
entity Heinrich Jansen
relation place of death
type designation for an administrative territorial entity
['Heinrich Jansen', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Heinrich_Jansen property:place_of_death ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q968
SYSTEM
Warburg
Q968
(Q1597866,P20,c(Q15617994))
action filter_type
action find
entity Q1597866
relation P20
type Q15617994
[ANSWER]
['Q1597866', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q1597866 property:P20 ?v . ?v rdf:type ontology:Q15617994 }
Warburg
Warburg
action filter_type
action find
entity Heinrich Jansen
relation place of death
type designation for an administrative territorial entity
['Heinrich Jansen', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Heinrich_Jansen property:place_of_death ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q58169 Q1597866
P27
Q1048835
USER
Which political territories are the native countriesof Heinrich Jansen or Sam Abal ?
OR((Q1597866,P27,c(Q1048835)), (Q58169,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1597866
relation P27
action find
entity Q58169
relation P27
type Q1048835
{'OR': [['Q1597866', 'P27', {'concept': 'Q1048835'}], ['Q58169', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?a property:P27 ?d . VALUES ( ?a ) { ( resource:Q1597866 ) ( resource:Q58169 ) } } . ?d rdf:type ontology:Q1048835 }
Sam Abal Heinrich Jansen
action filter_type
action union
action find
entity Heinrich Jansen
relation country of citizenship
action find
entity Sam Abal
relation country of citizenship
type political territorial entity
{'OR': [['Heinrich Jansen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sam Abal', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?a property:country_of_citizenship ?d . VALUES ( ?a ) { ( resource:Heinrich_Jansen ) ( resource:Sam_Abal ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q691
SYSTEM
Germany, Papua New Guinea
Q183 Q691
OR((Q1597866,P27,c(Q1048835)), (Q58169,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q1597866
relation P27
action find
entity Q58169
relation P27
type Q1048835
[ANSWERS] are the native countriesof Heinrich Jansen or Sam Abal
{'OR': [['Q1597866', 'P27', {'concept': 'Q1048835'}], ['Q58169', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?d WHERE { { ?a property:P27 ?d . VALUES ( ?a ) { ( resource:Q1597866 ) ( resource:Q58169 ) } } . ?d rdf:type ontology:Q1048835 }
Germany Papua New Guinea
Germany and Papua New Guinea are the native countriesof Heinrich Jansen or Sam Abal
Germany Papua New Guinea
action filter_type
action union
action find
entity Heinrich Jansen
relation country of citizenship
action find
entity Sam Abal
relation country of citizenship
type political territorial entity
{'OR': [['Heinrich Jansen', 'country of citizenship', {'concept': 'political territorial entity'}], ['Sam Abal', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { ?a property:country_of_citizenship ?d . VALUES ( ?a ) { ( resource:Heinrich_Jansen ) ( resource:Sam_Abal ) } } . ?d rdf:type ontology:political_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q33251
P364
Q34770 Q21114848 Q2342494
USER
How many languages were used originally for the creation of around the same number of magazine genres and collectables as Church Slavonic ?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33251
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q21114848 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P364 resource:Q33251 . { { ?a rdf:type ontology:Q21114848 } UNION { ?a rdf:type ontology:Q2342494 } } } } . FILTER ( ?l = ?s ) }
Church Slavonic
action count
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Church Slavonic
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:magazine_genre ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:original_language_of_work resource:Church_Slavonic . { { ?a rdf:type ontology:magazine_genre } UNION { ?a rdf:type ontology:collectable } } } } . FILTER ( ?l = ?s ) }
[]
language magazine genre collectable
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(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33251
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q21114848 ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:P364 resource:Q33251 . { { ?a rdf:type ontology:Q21114848 } UNION { ?a rdf:type ontology:Q2342494 } } } } . FILTER ( ?l = ?s ) }
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 approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Church Slavonic
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?q ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?l ) WHERE { ?w rdf:type ?v . VALUES ( ?v ) { ( ontology:collectable ) ( ontology:magazine_genre ) } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?s ) WHERE { ?a property:original_language_of_work resource:Church_Slavonic . { { ?a rdf:type ontology:magazine_genre } UNION { ?a rdf:type ontology:collectable } } } } . FILTER ( ?l = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q33976
P364
Q34770 Q21114848 Q2342494
USER
And also tell me about Sardinian language?
(c(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P364
type Q21114848
type Q2342494
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?f WHERE { VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?s rdf:type ?i } GROUP BY ?f } . FILTER ( ?g = ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P364 resource:Q33976 . { { ?q rdf:type ontology:Q21114848 } UNION { ?q rdf:type ontology:Q2342494 } } } } }
Sardinian language
action count
action approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?f WHERE { VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?s rdf:type ?i } GROUP BY ?f } . FILTER ( ?g = ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:original_language_of_work resource:Sardinian_language . { { ?q rdf:type ontology:magazine_genre } UNION { ?q rdf:type ontology:collectable } } } } }
[]
language magazine genre collectable
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(Q21114848)|c(Q2342494),P364,c(Q34770))
action count
action approx
action union
action find_reverse_tuple_counts
relation P364
type Q34770
type Q21114848
action find_reverse_tuple_counts
relation P364
type Q34770
type Q2342494
action count
action filter_multi_types
action find_reverse
entity Q33976
relation P364
type Q21114848
type Q2342494
[ANSWER]
[[{'concept': 'Q21114848'}, {'concept': 'Q2342494'}], 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?f WHERE { VALUES ( ?i ) { ( ontology:Q21114848 ) ( ontology:Q2342494 ) } . ?s rdf:type ?i } GROUP BY ?f } . FILTER ( ?g = ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P364 resource:Q33976 . { { ?q rdf:type ontology:Q21114848 } UNION { ?q rdf:type ontology:Q2342494 } } } } }
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 approx
action union
action find_reverse_tuple_counts
relation original language of work
type language
type magazine genre
action find_reverse_tuple_counts
relation original language of work
type language
type collectable
action count
action filter_multi_types
action find_reverse
entity Sardinian language
relation original language of work
type magazine genre
type collectable
[[{'concept': 'magazine genre'}, {'concept': 'collectable'}], 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?p ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?g ) ?f WHERE { VALUES ( ?i ) { ( ontology:magazine_genre ) ( ontology:collectable ) } . ?s rdf:type ?i } GROUP BY ?f } . FILTER ( ?g = ?l ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:original_language_of_work resource:Sardinian_language . { { ?q rdf:type ontology:magazine_genre } UNION { ?q rdf:type ontology:collectable } } } } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q15710470 Q15718786
P674
Q36649
USER
Which visual artss have the character Winona and Big McIntosh ?
AND((c(Q36649),P674,Q15718786), (c(Q36649),P674,Q15710470))
action filter_type
action intersection
action find_reverse
entity Q15718786
relation P674
action find_reverse
entity Q15710470
relation P674
type Q36649
{'AND': [[{'concept': 'Q36649'}, 'P674', 'Q15718786'], [{'concept': 'Q36649'}, 'P674', 'Q15710470']]}
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q15710470 . ?s property:P674 resource:Q15718786 . ?s rdf:type ontology:Q36649 }
Big McIntosh Winona
action filter_type
action intersection
action find_reverse
entity Winona
relation characters
action find_reverse
entity Big McIntosh
relation characters
type visual arts
{'AND': [[{'concept': 'visual arts'}, 'characters', 'Winona'], [{'concept': 'visual arts'}, 'characters', 'Big McIntosh']]}
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Big_McIntosh . ?s property:characters resource:Winona . ?s rdf:type ontology:visual_arts }
[]
visual arts
Q15707832 Q15719418
SYSTEM
Applebuck Season, The Last Roundup
Q15707832 Q15719418
AND((c(Q36649),P674,Q15718786), (c(Q36649),P674,Q15710470))
action filter_type
action intersection
action find_reverse
entity Q15718786
relation P674
action find_reverse
entity Q15710470
relation P674
type Q36649
[ANSWERS] have the character Winona and Big McIntosh
{'AND': [[{'concept': 'Q36649'}, 'P674', 'Q15718786'], [{'concept': 'Q36649'}, 'P674', 'Q15710470']]}
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q15710470 . ?s property:P674 resource:Q15718786 . ?s rdf:type ontology:Q36649 }
Applebuck Season The Last Roundup
Applebuck Season and The Last Roundup have the character Winona and Big McIntosh
Applebuck Season The Last Roundup
action filter_type
action intersection
action find_reverse
entity Winona
relation characters
action find_reverse
entity Big McIntosh
relation characters
type visual arts
{'AND': [[{'concept': 'visual arts'}, 'characters', 'Winona'], [{'concept': 'visual arts'}, 'characters', 'Big McIntosh']]}
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Big_McIntosh . ?s property:characters resource:Winona . ?s rdf:type ontology:visual_arts }
[]