Simple Question (Direct)
Simple Question
Q7410863
P1412
Q34770
USER
Which language does Samuel Bamford speak in ?
(Q7410863,P1412,c(Q34770))
action filter_type
action find
entity Q7410863
relation P1412
type Q34770
['Q7410863', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7410863 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
Samuel Bamford
action filter_type
action find
entity Samuel Bamford
relation languages spoken, written or signed
type language
['Samuel Bamford', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Bamford property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7410863,P1412,c(Q34770))
action filter_type
action find
entity Q7410863
relation P1412
type Q34770
Samuel Bamford speaks [ANSWER]
['Q7410863', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q7410863 property:P1412 ?n . ?n rdf:type ontology:Q34770 }
English
Samuel Bamford speaks English
English
action filter_type
action find
entity Samuel Bamford
relation languages spoken, written or signed
type language
['Samuel Bamford', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Samuel_Bamford property:languages_spoken,_written_or_signed ?n . ?n rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7410863
P21
Q290
USER
Which sex does that person have ?
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q7410863
relation P21
type Q290
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q7410863 property:P21 ?p }
Samuel Bamford
action filter_type
action find
entity Samuel Bamford
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Samuel_Bamford property:gender ?p }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1860,P21,c(Q290))
action filter_type
action find
entity Q7410863
relation P21
type Q290
That person has a [ANSWER]
['Q1860', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q290 . resource:Q7410863 property:P21 ?p }
male
That person has a male
male
action filter_type
action find
entity Samuel Bamford
relation gender
type sex
['English', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sex . resource:Samuel_Bamford property:gender ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q6581097 Q13408273
P21
Q502895
USER
Is Oleksandr Berdynskykh a that sex ?
(Q13408273,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q13408273
relation P21
['Q13408273', 'P21', 'Q6581097']
ASK WHERE { resource:Q13408273 property:P21 resource:Q6581097 }
male Oleksandr Berdynskykh
action is_in
entity male
action find
entity Oleksandr Berdynskykh
relation gender
['Oleksandr Berdynskykh', 'gender', 'male']
ASK WHERE { resource:Oleksandr_Berdynskykh property:gender resource:male }
[]
common name
SYSTEM
YES
(Q13408273,P21,Q6581097)
action is_in
entity Q6581097
action find
entity Q13408273
relation P21
[ANSWER]
['Q13408273', 'P21', 'Q6581097']
ASK WHERE { resource:Q13408273 property:P21 resource:Q6581097 }
Yes
action is_in
entity male
action find
entity Oleksandr Berdynskykh
relation gender
['Oleksandr Berdynskykh', 'gender', 'male']
ASK WHERE { resource:Oleksandr_Berdynskykh property:gender resource:male }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7410863 Q551234
P27
Q15617994
USER
Is Samuel Bamford a civilian of Velden ?
(Q7410863,P27,Q551234)
action is_in
entity Q551234
action find
entity Q7410863
relation P27
['Q7410863', 'P27', 'Q551234']
ASK WHERE { resource:Q7410863 property:P27 resource:Q551234 }
Samuel Bamford Velden
action is_in
entity Velden
action find
entity Samuel Bamford
relation country of citizenship
['Samuel Bamford', 'country of citizenship', 'Velden']
ASK WHERE { resource:Samuel_Bamford property:country_of_citizenship resource:Velden }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q7410863,P27,Q551234)
action is_in
entity Q551234
action find
entity Q7410863
relation P27
[ANSWER]
['Q7410863', 'P27', 'Q551234']
ASK WHERE { resource:Q7410863 property:P27 resource:Q551234 }
No
action is_in
entity Velden
action find
entity Samuel Bamford
relation country of citizenship
['Samuel Bamford', 'country of citizenship', 'Velden']
ASK WHERE { resource:Samuel_Bamford property:country_of_citizenship resource:Velden }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7410863
P106
Q12737077
USER
What are the job of that person ?
action filter_type
action find
entity Q7410863
relation P106
type Q12737077
SELECT DISTINCT ?t WHERE { resource:Q7410863 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
Samuel Bamford
action filter_type
action find
entity Samuel Bamford
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Samuel_Bamford property:occupation ?t . ?t rdf:type ontology:occupation }
[]
occupation
Q82955 Q36180
SYSTEM
politician, writer
Q82955 Q36180
action filter_type
action find
entity Q7410863
relation P106
type Q12737077
The job of that person are the [ANSWERS]
SELECT DISTINCT ?t WHERE { resource:Q7410863 property:P106 ?t . ?t rdf:type ontology:Q12737077 }
politician writer
The job of that person are the politician and writer
politician writer
action filter_type
action find
entity Samuel Bamford
relation occupation
type occupation
SELECT DISTINCT ?t WHERE { resource:Samuel_Bamford property:occupation ?t . ?t rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
How many languages use approximately 1 notations and writing systems as the writing system ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { { ?k property:P282 ?d . ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } UNION { ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 . ?k property:P282 ?d } } GROUP BY ?k } }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { { ?k property:writing_system ?d . ?k rdf:type ontology:language . ?d rdf:type ontology:writing_system } UNION { ?k rdf:type ontology:language . ?d rdf:type ontology:notation . ?k property:writing_system ?d } } GROUP BY ?k } }
[]
notation writing system language
SYSTEM
7
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { { ?k property:P282 ?d . ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q8192 } UNION { ?k rdf:type ontology:Q34770 . ?d rdf:type ontology:Q2001982 . ?k property:P282 ?d } } GROUP BY ?k } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
7
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?f ) WHERE { FILTER ( ?l = 1 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?l ) ?k WHERE { { ?k property:writing_system ?d . ?k rdf:type ontology:language . ?d rdf:type ontology:writing_system } UNION { ?k rdf:type ontology:language . ?d rdf:type ontology:notation . ?k property:writing_system ?d } } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q36206
P37
Q34770 Q7275 Q13220204
USER
How many languages are recognized as the official language of greater number of states and administrative country subdivisions than Lak ?
(c(Q7275)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P37
type Q7275
type Q13220204
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?s property:P37 ?k . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q7275 } UNION { ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q13220204 . ?s property:P37 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P37 resource:Q36206 . { { ?o rdf:type ontology:Q7275 } UNION { ?o rdf:type ontology:Q13220204 } } } } . FILTER ( ?t > ?n ) }
Lak
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Lak
relation official language
type state
type second-level administrative country subdivision
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?s property:official_language ?k . ?k rdf:type ontology:language . ?s rdf:type ontology:state } UNION { ?k rdf:type ontology:language . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?s property:official_language ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:official_language resource:Lak . { { ?o rdf:type ontology:state } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?t > ?n ) }
[]
language state second-level administrative country subdivision
SYSTEM
10
Q9056 Q1860 Q13211 Q652 Q1321 Q36880 Q33976 Q397 Q8785 Q25164
(c(Q7275)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q36206
relation P37
type Q7275
type Q13220204
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?s property:P37 ?k . ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q7275 } UNION { ?k rdf:type ontology:Q34770 . ?s rdf:type ontology:Q13220204 . ?s property:P37 ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:P37 resource:Q36206 . { { ?o rdf:type ontology:Q7275 } UNION { ?o rdf:type ontology:Q13220204 } } } } . FILTER ( ?t > ?n ) }
Czech English Ruthenian Italian Spanish Bulgar language Sardinian language Latin Armenian Nynorsk
10
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Lak
relation official language
type state
type second-level administrative country subdivision
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) ?k WHERE { { ?s property:official_language ?k . ?k rdf:type ontology:language . ?s rdf:type ontology:state } UNION { ?k rdf:type ontology:language . ?s rdf:type ontology:second-level_administrative_country_subdivision . ?s property:official_language ?k } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { ?o property:official_language resource:Lak . { { ?o rdf:type ontology:state } UNION { ?o rdf:type ontology:second-level_administrative_country_subdivision } } } } . FILTER ( ?t > ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q8785
P37
Q34770 Q7275 Q13220204
USER
And also tell me about Armenian?
(c(Q7275)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P37
type Q7275
type Q13220204
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P37 resource:Q8785 . { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13220204 ) ( ontology:Q7275 ) } } } } . FILTER ( ?p > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?o WHERE { { ?i property:P37 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7275 } UNION { ?i property:P37 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q13220204 } } GROUP BY ?o } }
Armenian
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Armenian
relation official language
type state
type second-level administrative country subdivision
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:official_language resource:Armenian . { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:state ) } } } } . FILTER ( ?p > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?o WHERE { { ?i property:official_language ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:state } UNION { ?i property:official_language ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?o } }
[]
language state second-level administrative country subdivision
SYSTEM
6
Q9056 Q1860 Q13211 Q652 Q1321 Q397
(c(Q7275)|c(Q13220204),P37,c(Q34770))
action count
action greater
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
action find_reverse_tuple_counts
relation P37
type Q34770
type Q13220204
action count
action filter_multi_types
action find_reverse
entity Q8785
relation P37
type Q7275
type Q13220204
[ANSWER]
[[{'concept': 'Q7275'}, {'concept': 'Q13220204'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:P37 resource:Q8785 . { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:Q13220204 ) ( ontology:Q7275 ) } } } } . FILTER ( ?p > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?o WHERE { { ?i property:P37 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q7275 } UNION { ?i property:P37 ?o . ?o rdf:type ontology:Q34770 . ?i rdf:type ontology:Q13220204 } } GROUP BY ?o } }
Czech English Ruthenian Italian Spanish Latin
6
action count
action greater
action union
action find_reverse_tuple_counts
relation official language
type language
type state
action find_reverse_tuple_counts
relation official language
type language
type second-level administrative country subdivision
action count
action filter_multi_types
action find_reverse
entity Armenian
relation official language
type state
type second-level administrative country subdivision
[[{'concept': 'state'}, {'concept': 'second-level administrative country subdivision'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n property:official_language resource:Armenian . { ?n rdf:type ?q . VALUES ( ?q ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:state ) } } } } . FILTER ( ?p > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?p ) ?o WHERE { { ?i property:official_language ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:state } UNION { ?i property:official_language ?o . ?o rdf:type ontology:language . ?i rdf:type ontology:second-level_administrative_country_subdivision } } GROUP BY ?o } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8785
P172
Q502895
USER
Which person has that language as ethnic group ?
action filter_type
action find_reverse
entity Q8785
relation P172
type Q502895
SELECT DISTINCT ?x WHERE { ?x property:P172 resource:Q8785 . ?x rdf:type ontology:Q502895 }
Armenian
action filter_type
action find_reverse
entity Armenian
relation ethnic group
type common name
SELECT DISTINCT ?x WHERE { ?x property:ethnic_group resource:Armenian . ?x rdf:type ontology:common_name }
[]
common name
Q2503385
SYSTEM
Misak Metsarents
Q2503385
action filter_type
action find_reverse
entity Q8785
relation P172
type Q502895
[ANSWER] has that language as ethnic group
SELECT DISTINCT ?x WHERE { ?x property:P172 resource:Q8785 . ?x rdf:type ontology:Q502895 }
Misak Metsarents
Misak Metsarents has that language as ethnic group
Misak Metsarents
action filter_type
action find_reverse
entity Armenian
relation ethnic group
type common name
SELECT DISTINCT ?x WHERE { ?x property:ethnic_group resource:Armenian . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did atleast 34 people dub for ?
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 34
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?j ) WHERE { ?a property:P725 ?k . ?k rdf:type ontology:Q502895 . ?a rdf:type ontology:Q11424 } GROUP BY ?a } . FILTER ( ?j >= 34 ) }
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 34
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?j ) WHERE { ?a property:voice_actor ?k . ?k rdf:type ontology:common_name . ?a rdf:type ontology:film } GROUP BY ?a } . FILTER ( ?j >= 34 ) }
[]
common name film
Q190135 Q271189
SYSTEM
The Little Mermaid, Hercules
Q190135 Q271189
(c(Q11424),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 34
Atleast 34 people dubbed [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?j ) WHERE { ?a property:P725 ?k . ?k rdf:type ontology:Q502895 . ?a rdf:type ontology:Q11424 } GROUP BY ?a } . FILTER ( ?j >= 34 ) }
The Little Mermaid Hercules
Atleast 34 people dubbed The Little Mermaid and Hercules
The Little Mermaid Hercules
action atleast
action find_tuple_counts
relation voice actor
type film
type common name
value 34
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?j ) WHERE { ?a property:voice_actor ?k . ?k rdf:type ontology:common_name . ?a rdf:type ontology:film } GROUP BY ?a } . FILTER ( ?j >= 34 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3771915
P800
Q502895
USER
Do Glauco Rossi have those films as a notable work ?
(Q3771915,P800,Q190135) (Q3771915,P800,Q271189)
action is_in
entity prev_answer
action find
entity Q3771915
relation P800
['Q3771915', 'P800', 'Q190135'] ['Q3771915', 'P800', 'Q271189']
ASK WHERE { resource:Q3771915 property:P800 ?e . VALUES ( ?e ) { ( resource:Q190135 ) ( resource:Q271189 ) } }
Glauco Rossi
action is_in
entity prev_answer
action find
entity Glauco Rossi
relation notable work
['Glauco Rossi', 'notable work', 'The Little Mermaid'] ['Glauco Rossi', 'notable work', 'Hercules']
ASK WHERE { resource:Glauco_Rossi property:notable_work ?e . VALUES ( ?e ) { ( resource:The_Little_Mermaid ) ( resource:Hercules ) } }
[]
common name
SYSTEM
NO
(Q3771915,P800,Q190135) (Q3771915,P800,Q271189)
action is_in
entity prev_answer
action find
entity Q3771915
relation P800
[ANSWER]
['Q3771915', 'P800', 'Q190135'] ['Q3771915', 'P800', 'Q271189']
ASK WHERE { resource:Q3771915 property:P800 ?e . VALUES ( ?e ) { ( resource:Q190135 ) ( resource:Q271189 ) } }
No
action is_in
entity prev_answer
action find
entity Glauco Rossi
relation notable work
['Glauco Rossi', 'notable work', 'The Little Mermaid'] ['Glauco Rossi', 'notable work', 'Hercules']
ASK WHERE { resource:Glauco_Rossi property:notable_work ?e . VALUES ( ?e ) { ( resource:The_Little_Mermaid ) ( resource:Hercules ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q189875
P144
Q838948 Q36649 Q11424
USER
How many films are based on around the same number of works of art or visual artss as Alice in Wonderland ?
(c(Q11424),P144,c(Q838948)|c(Q36649))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q11424
type Q838948
action find_tuple_counts
relation P144
type Q11424
type Q36649
action count
action filter_multi_types
action find
entity Q189875
relation P144
type Q838948
type Q36649
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q838948'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q36649 ) } . ?d rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q189875 property:P144 ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q36649 ) ( ontology:Q838948 ) } } } } . FILTER ( ?y = ?m ) }
Alice in Wonderland
action count
action approx
action union
action find_tuple_counts
relation based on
type film
type work of art
action find_tuple_counts
relation based on
type film
type visual arts
action count
action filter_multi_types
action find
entity Alice in Wonderland
relation based on
type work of art
type visual arts
[{'concept': 'film'}, 'based on', [{'concept': 'work of art'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?l WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:visual_arts ) } . ?d rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Alice_in_Wonderland property:based_on ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:visual_arts ) ( ontology:work_of_art ) } } } } . FILTER ( ?y = ?m ) }
[]
work of art visual arts film
SYSTEM
50
Q2299779 Q1235519 Q943192 Q378913 Q2059996 Q578595 Q1361113 Q191753 Q6929072 Q3221930 Q43051 Q250378 Q44817 Q329316 Q204662 Q213787 Q190135 Q24537688 Q965266 Q748167 Q3146440 Q22970530 Q980041 Q536756 Q4499813 Q1764174 Q1418615 Q465275 Q863963 Q45847 Q215518 Q40895 Q1138751 Q7492453 Q909740 Q965233 Q5439463 Q4341553 Q37785 Q174374 Q189875 Q1494230 Q3230811 Q336012 Q165512 Q857211 Q7227922 Q134430 Q215617 Q498434
(c(Q11424),P144,c(Q838948)|c(Q36649))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q11424
type Q838948
action find_tuple_counts
relation P144
type Q11424
type Q36649
action count
action filter_multi_types
action find
entity Q189875
relation P144
type Q838948
type Q36649
[ANSWER]
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q838948'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?l WHERE { VALUES ( ?h ) { ( ontology:Q838948 ) ( ontology:Q36649 ) } . ?d rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q189875 property:P144 ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:Q36649 ) ( ontology:Q838948 ) } } } } . FILTER ( ?y = ?m ) }
Animal Farms Panda and the Magic Serpent Fantasia The Lord of the Rings My Little Pony: The Movie Paprika Pooh's Heffalump Movie Cinderella Mr. Peabody & Sherman G.I. Joe: The Movie Bambi The Transformers: The Movie The Little Fox The Black Cauldron The Sword in the Stone The Hunchback of Notre Dame The Little Mermaid Anatomy of Hope Thumbelina Asterix the Gaul I, Claudius How to Train Your Dragon 3 The Adventures of Tintin Asterix and Cleopatra Home Quest for Camelot Fritz the Cat Fantastic Mr. Fox The Adventures of Ichabod and Mr. Toad The Nutcracker Prince Aladdin Dumbo The Plague Dogs Sheepmates Krabat – The Sorcerer's Apprentice Hey There, It's Yogi Bear! Fearless Pinocchio Charlotte's Web The Secret of NIMH Alice in Wonderland Garfield Gets Real The Adventures of Pinocchio The Girl Who Leapt Through Time One Hundred and One Dalmatians The Rugrats Movie Ponniyin Selvan Snow White and the Seven Dwarfs Sleeping Beauty The Many Adventures of Winnie the Pooh
50
action count
action approx
action union
action find_tuple_counts
relation based on
type film
type work of art
action find_tuple_counts
relation based on
type film
type visual arts
action count
action filter_multi_types
action find
entity Alice in Wonderland
relation based on
type work of art
type visual arts
[{'concept': 'film'}, 'based on', [{'concept': 'work of art'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?l WHERE { VALUES ( ?h ) { ( ontology:work_of_art ) ( ontology:visual_arts ) } . ?d rdf:type ?h } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Alice_in_Wonderland property:based_on ?t . { ?t rdf:type ?q . VALUES ( ?q ) { ( ontology:visual_arts ) ( ontology:work_of_art ) } } } } . FILTER ( ?y = ?m ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q213787
P144
Q838948 Q36649 Q11424
USER
And how about The Hunchback of Notre Dame?
(c(Q11424),P144,c(Q838948)|c(Q36649))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q11424
type Q838948
action find_tuple_counts
relation P144
type Q11424
type Q36649
action count
action filter_multi_types
action find
entity Q213787
relation P144
type Q838948
type Q36649
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q838948'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { resource:Q213787 property:P144 ?d . { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q36649 } } } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { { ?i property:P144 ?f . ?i rdf:type ontology:Q11424 . ?f rdf:type ontology:Q838948 } UNION { ?i property:P144 ?f . ?i rdf:type ontology:Q11424 . ?f rdf:type ontology:Q36649 } } GROUP BY ?i } }
The Hunchback of Notre Dame
action count
action approx
action union
action find_tuple_counts
relation based on
type film
type work of art
action find_tuple_counts
relation based on
type film
type visual arts
action count
action filter_multi_types
action find
entity The Hunchback of Notre Dame
relation based on
type work of art
type visual arts
[{'concept': 'film'}, 'based on', [{'concept': 'work of art'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { resource:The_Hunchback_of_Notre_Dame property:based_on ?d . { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:visual_arts } } } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { { ?i property:based_on ?f . ?i rdf:type ontology:film . ?f rdf:type ontology:work_of_art } UNION { ?i property:based_on ?f . ?i rdf:type ontology:film . ?f rdf:type ontology:visual_arts } } GROUP BY ?i } }
[]
work of art visual arts film
SYSTEM
50
Q2299779 Q1235519 Q943192 Q378913 Q2059996 Q578595 Q1361113 Q191753 Q6929072 Q3221930 Q43051 Q250378 Q44817 Q329316 Q204662 Q213787 Q190135 Q24537688 Q965266 Q748167 Q3146440 Q22970530 Q980041 Q536756 Q4499813 Q1764174 Q1418615 Q465275 Q863963 Q45847 Q215518 Q40895 Q1138751 Q7492453 Q909740 Q965233 Q5439463 Q4341553 Q37785 Q174374 Q189875 Q1494230 Q3230811 Q336012 Q165512 Q857211 Q7227922 Q134430 Q215617 Q498434
(c(Q11424),P144,c(Q838948)|c(Q36649))
action count
action approx
action union
action find_tuple_counts
relation P144
type Q11424
type Q838948
action find_tuple_counts
relation P144
type Q11424
type Q36649
action count
action filter_multi_types
action find
entity Q213787
relation P144
type Q838948
type Q36649
[ANSWER]
[{'concept': 'Q11424'}, 'P144', [{'concept': 'Q838948'}, {'concept': 'Q36649'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { resource:Q213787 property:P144 ?d . { { ?d rdf:type ontology:Q838948 } UNION { ?d rdf:type ontology:Q36649 } } } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { { ?i property:P144 ?f . ?i rdf:type ontology:Q11424 . ?f rdf:type ontology:Q838948 } UNION { ?i property:P144 ?f . ?i rdf:type ontology:Q11424 . ?f rdf:type ontology:Q36649 } } GROUP BY ?i } }
Animal Farms Panda and the Magic Serpent Fantasia The Lord of the Rings My Little Pony: The Movie Paprika Pooh's Heffalump Movie Cinderella Mr. Peabody & Sherman G.I. Joe: The Movie Bambi The Transformers: The Movie The Little Fox The Black Cauldron The Sword in the Stone The Hunchback of Notre Dame The Little Mermaid Anatomy of Hope Thumbelina Asterix the Gaul I, Claudius How to Train Your Dragon 3 The Adventures of Tintin Asterix and Cleopatra Home Quest for Camelot Fritz the Cat Fantastic Mr. Fox The Adventures of Ichabod and Mr. Toad The Nutcracker Prince Aladdin Dumbo The Plague Dogs Sheepmates Krabat – The Sorcerer's Apprentice Hey There, It's Yogi Bear! Fearless Pinocchio Charlotte's Web The Secret of NIMH Alice in Wonderland Garfield Gets Real The Adventures of Pinocchio The Girl Who Leapt Through Time One Hundred and One Dalmatians The Rugrats Movie Ponniyin Selvan Snow White and the Seven Dwarfs Sleeping Beauty The Many Adventures of Winnie the Pooh
50
action count
action approx
action union
action find_tuple_counts
relation based on
type film
type work of art
action find_tuple_counts
relation based on
type film
type visual arts
action count
action filter_multi_types
action find
entity The Hunchback of Notre Dame
relation based on
type work of art
type visual arts
[{'concept': 'film'}, 'based on', [{'concept': 'work of art'}, {'concept': 'visual arts'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?e ) WHERE { resource:The_Hunchback_of_Notre_Dame property:based_on ?d . { { ?d rdf:type ontology:work_of_art } UNION { ?d rdf:type ontology:visual_arts } } } } . FILTER ( ?k = ?e ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?k ) WHERE { { ?i property:based_on ?f . ?i rdf:type ontology:film . ?f rdf:type ontology:work_of_art } UNION { ?i property:based_on ?f . ?i rdf:type ontology:film . ?f rdf:type ontology:visual_arts } } GROUP BY ?i } }
[]