Simple Question (Direct)
Simple Question
Q3035848
P1412
Q34770
USER
Which language does Don McKay speak in ?
(Q3035848,P1412,c(Q34770))
action filter_type
action find
entity Q3035848
relation P1412
type Q34770
['Q3035848', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q3035848 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
Don McKay
action filter_type
action find
entity Don McKay
relation languages spoken, written or signed
type language
['Don McKay', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Don_McKay property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3035848,P1412,c(Q34770))
action filter_type
action find
entity Q3035848
relation P1412
type Q34770
Don McKay speaks [ANSWER]
['Q3035848', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?c WHERE { resource:Q3035848 property:P1412 ?c . ?c rdf:type ontology:Q34770 }
English
Don McKay speaks English
English
action filter_type
action find
entity Don McKay
relation languages spoken, written or signed
type language
['Don McKay', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?c WHERE { resource:Don_McKay property:languages_spoken,_written_or_signed ?c . ?c rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P407
Q170584 Q502895
USER
How many projects and people are in English ?
(c(Q170584),P407,Q1860) (c(Q502895),P407,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q170584
action filter_type
action find_reverse
entity Q1860
relation P407
type Q502895
[{'concept': 'Q170584'}, 'P407', 'Q1860'] [{'concept': 'Q502895'}, 'P407', 'Q1860']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q170584 ) ( ontology:Q502895 ) } }
English
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type project
action filter_type
action find_reverse
entity English
relation language of work or name
type common name
[{'concept': 'project'}, 'language of work or name', 'English'] [{'concept': 'common name'}, 'language of work or name', 'English']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:project ) ( ontology:common_name ) } }
[]
project common name
SYSTEM
1 projects and 4 people
Q22046598 Q918162 Q17658390 Q16735053 Q6524911
(c(Q170584),P407,Q1860) (c(Q502895),P407,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P407
type Q170584
action filter_type
action find_reverse
entity Q1860
relation P407
type Q502895
[ANSWER]
[{'concept': 'Q170584'}, 'P407', 'Q1860'] [{'concept': 'Q502895'}, 'P407', 'Q1860']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:Q170584 ) ( ontology:Q502895 ) } }
Nostalgia wiki 2006 transatlantic aircraft plot Rem Koolhaas wins Golden Lion for Lifetime Achievement Razmik Panossian Leon Surmelian
1 projects and 4 people
action count
action union
action filter_type
action find_reverse
entity English
relation language of work or name
type project
action filter_type
action find_reverse
entity English
relation language of work or name
type common name
[{'concept': 'project'}, 'language of work or name', 'English'] [{'concept': 'common name'}, 'language of work or name', 'English']
SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d rdf:type ?g . VALUES ( ?g ) { ( ontology:project ) ( ontology:common_name ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q2001982 Q34770
USER
How many languages are approximately 2 alphabets and notations the writing system of ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?z WHERE { { ?z property:P282 ?v . ?v rdf:type ontology:Q9779 . ?z rdf:type ontology:Q34770 } UNION { ?z property:P282 ?v . ?z rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?z } }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?z WHERE { { ?z property:writing_system ?v . ?v rdf:type ontology:alphabet . ?z rdf:type ontology:language } UNION { ?z property:writing_system ?v . ?z rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?z } }
[]
alphabet notation language
SYSTEM
1
Q29572
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 2
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?z WHERE { { ?z property:P282 ?v . ?v rdf:type ontology:Q9779 . ?z rdf:type ontology:Q34770 } UNION { ?z property:P282 ?v . ?z rdf:type ontology:Q34770 . ?v rdf:type ontology:Q2001982 } } GROUP BY ?z } }
Avestan
1
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 2
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { FILTER ( ?q = 2 ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) ?z WHERE { { ?z property:writing_system ?v . ?v rdf:type ontology:alphabet . ?z rdf:type ontology:language } UNION { ?z property:writing_system ?v . ?z rdf:type ontology:language . ?v rdf:type ontology:notation } } GROUP BY ?z } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q2031291 Q82799
USER
Which languages are the languages of work for atleast 317 releases or names ?
(c(Q2031291)|c(Q82799),P407,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 317
[[{'concept': 'Q2031291'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?s WHERE { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2031291 ) ( ontology:Q82799 ) } } GROUP BY ?s } . FILTER ( ?y >= 317 ) }
action atleast
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 317
[[{'concept': 'release'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?s WHERE { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:release ) ( ontology:name ) } } GROUP BY ?s } . FILTER ( ?y >= 317 ) }
[]
language release name
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q2031291)|c(Q82799),P407,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 317
[ANSWERS] are the languages of work for atleast 317 releases or names
[[{'concept': 'Q2031291'}, {'concept': 'Q82799'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?s WHERE { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:Q2031291 ) ( ontology:Q82799 ) } } GROUP BY ?s } . FILTER ( ?y >= 317 ) }
English Spanish
English and Spanish are the languages of work for atleast 317 releases or names
English Spanish
action atleast
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 317
[[{'concept': 'release'}, {'concept': 'name'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?y ) ?s WHERE { ?w rdf:type ?k . VALUES ( ?k ) { ( ontology:release ) ( ontology:name ) } } GROUP BY ?s } . FILTER ( ?y >= 317 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2260885
P364
Q838948
USER
Were Anguish originally created in those ones language ?
(Q2260885,P364,Q1860) (Q2260885,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q2260885
relation P364
['Q2260885', 'P364', 'Q1860'] ['Q2260885', 'P364', 'Q1321']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1860 ) ( resource:Q1321 ) } . resource:Q2260885 property:P364 ?a }
Anguish
action is_in
entity prev_answer
action find
entity Anguish
relation original language of work
['Anguish', 'original language of work', 'English'] ['Anguish', 'original language of work', 'Spanish']
ASK WHERE { VALUES ( ?a ) { ( resource:English ) ( resource:Spanish ) } . resource:Anguish property:original_language_of_work ?a }
[]
work of art
SYSTEM
YES
(Q2260885,P364,Q1860) (Q2260885,P364,Q1321)
action is_in
entity prev_answer
action find
entity Q2260885
relation P364
[ANSWER]
['Q2260885', 'P364', 'Q1860'] ['Q2260885', 'P364', 'Q1321']
ASK WHERE { VALUES ( ?a ) { ( resource:Q1860 ) ( resource:Q1321 ) } . resource:Q2260885 property:P364 ?a }
Yes
action is_in
entity prev_answer
action find
entity Anguish
relation original language of work
['Anguish', 'original language of work', 'English'] ['Anguish', 'original language of work', 'Spanish']
ASK WHERE { VALUES ( ?a ) { ( resource:English ) ( resource:Spanish ) } . resource:Anguish property:original_language_of_work ?a }
[]