Simple Question (Direct)
Simple Question
Q1175981
P106
Q12737077
USER
Which occupations are the professions of János Menyhárt ?
(Q1175981,P106,c(Q12737077))
action filter_type
action find
entity Q1175981
relation P106
type Q12737077
['Q1175981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1175981 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
János Menyhárt
action filter_type
action find
entity János Menyhárt
relation occupation
type occupation
['János Menyhárt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:János_Menyhárt property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q639669 Q36834 Q822146
SYSTEM
musician, composer, lyricist
Q639669 Q36834 Q822146
(Q1175981,P106,c(Q12737077))
action filter_type
action find
entity Q1175981
relation P106
type Q12737077
The [ANSWERS] are the professions of János Menyhárt
['Q1175981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q1175981 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
musician composer lyricist
The musician, composer and lyricist are the professions of János Menyhárt
musician composer lyricist
action filter_type
action find
entity János Menyhárt
relation occupation
type occupation
['János Menyhárt', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:János_Menyhárt property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q639669
P425
Q1914636
USER
Who has musician as the associated field of occupation ?
(Q639669,P425,c(Q1914636))
action filter_type
action find
entity Q639669
relation P425
type Q1914636
['Q639669', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q639669 property:P425 ?u . ?u rdf:type ontology:Q1914636 }
musician
action filter_type
action find
entity musician
relation field of this occupation
type activity
['musician', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:musician property:field_of_this_occupation ?u . ?u rdf:type ontology:activity }
[]
activity
Q638
SYSTEM
music
Q638
(Q639669,P425,c(Q1914636))
action filter_type
action find
entity Q639669
relation P425
type Q1914636
The [ANSWER] has [ANSWER]ian as the associated field of occupation
['Q639669', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { resource:Q639669 property:P425 ?u . ?u rdf:type ontology:Q1914636 }
music
The music has musician as the associated field of occupation
music
action filter_type
action find
entity musician
relation field of this occupation
type activity
['musician', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { resource:musician property:field_of_this_occupation ?u . ?u rdf:type ontology:activity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1235152
Q1914636
USER
And how about documentalist?
(Q1235152,P425,c(Q1914636))
action filter_type
action find
entity Q1235152
relation P425
type Q1914636
['Q1235152', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q1235152 property:P425 ?a . ?a rdf:type ontology:Q1914636 }
documentalist
action filter_type
action find
entity documentalist
relation field of this occupation
type activity
['documentalist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:documentalist property:field_of_this_occupation ?a . ?a rdf:type ontology:activity }
[]
activity
Q1235196
SYSTEM
documentation science
Q1235196
(Q1235152,P425,c(Q1914636))
action filter_type
action find
entity Q1235152
relation P425
type Q1914636
[ANSWER]
['Q1235152', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?a WHERE { resource:Q1235152 property:P425 ?a . ?a rdf:type ontology:Q1914636 }
documentation science
documentation science
action filter_type
action find
entity documentalist
relation field of this occupation
type activity
['documentalist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?a WHERE { resource:documentalist property:field_of_this_occupation ?a . ?a rdf:type ontology:activity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1235196 Q1202877
P101
Q43229
USER
Does German Professional Association for Information & Knowledge work in the domain of that activity ?
(Q1202877,P101,Q1235196)
action is_in
entity Q1235196
action find
entity Q1202877
relation P101
['Q1202877', 'P101', 'Q1235196']
ASK WHERE { resource:Q1202877 property:P101 resource:Q1235196 }
documentation science German Professional Association for Information & Knowledge
action is_in
entity documentation science
action find
entity German Professional Association for Information & Knowledge
relation field of work
['German Professional Association for Information & Knowledge', 'field of work', 'documentation science']
ASK WHERE { resource:German_Professional_Association_for_Information_&_Knowledge property:field_of_work resource:documentation_science }
[]
organization
SYSTEM
YES
(Q1202877,P101,Q1235196)
action is_in
entity Q1235196
action find
entity Q1202877
relation P101
[ANSWER]
['Q1202877', 'P101', 'Q1235196']
ASK WHERE { resource:Q1202877 property:P101 resource:Q1235196 }
Yes
action is_in
entity documentation science
action find
entity German Professional Association for Information & Knowledge
relation field of work
['German Professional Association for Information & Knowledge', 'field of work', 'documentation science']
ASK WHERE { resource:German_Professional_Association_for_Information_&_Knowledge property:field_of_work resource:documentation_science }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q36834 Q80513
P417
Q502895
USER
Is Saint Cecilia the name of the patron saint of composer ?
(Q36834,P417,Q80513)
action is_in
entity Q80513
action find
entity Q36834
relation P417
['Q36834', 'P417', 'Q80513']
ASK WHERE { resource:Q36834 property:P417 resource:Q80513 }
composer Saint Cecilia
action is_in
entity Saint Cecilia
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Saint Cecilia']
ASK WHERE { resource:composer property:patron_saint resource:Saint_Cecilia }
[]
common name
SYSTEM
YES
(Q36834,P417,Q80513)
action is_in
entity Q80513
action find
entity Q36834
relation P417
[ANSWER]
['Q36834', 'P417', 'Q80513']
ASK WHERE { resource:Q36834 property:P417 resource:Q80513 }
Yes
action is_in
entity Saint Cecilia
action find
entity composer
relation patron saint
['composer', 'patron saint', 'Saint Cecilia']
ASK WHERE { resource:composer property:patron_saint resource:Saint_Cecilia }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q1235152
P106 P21
Q502895
USER
Which people have a job as documentalist and have male as the sex ?
AND((c(Q502895),P106,Q1235152), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1235152
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1235152'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q1235152 . ?m property:P21 resource:Q6581097 }
male documentalist
action filter_type
action intersection
action find_reverse
entity documentalist
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'documentalist'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:documentalist . ?m property:gender resource:male }
[]
common name
Q3380786 Q16135819 Q901156 Q126446 Q23891142 Q5749377
SYSTEM
Philippe Tomblaine, Blaise Cronin, Dagobert Soergel, Gernot Wersig, Antonio Maestre, Carles Asensio Monrabá
Q3380786 Q16135819 Q901156 Q126446 Q23891142 Q5749377
AND((c(Q502895),P106,Q1235152), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q1235152
relation P106
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have a job as documentalist and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P106', 'Q1235152'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . ?m property:P106 resource:Q1235152 . ?m property:P21 resource:Q6581097 }
Philippe Tomblaine Blaise Cronin Dagobert Soergel Gernot Wersig Antonio Maestre Carles Asensio Monrabá
Philippe Tomblaine, Blaise Cronin, Dagobert Soergel, Gernot Wersig, Antonio Maestre and Carles Asensio Monrabá have a job as documentalist and have male as the sex
Philippe Tomblaine Blaise Cronin Dagobert Soergel Gernot Wersig Antonio Maestre Carles Asensio Monrabá
action filter_type
action intersection
action find_reverse
entity documentalist
relation occupation
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'occupation', 'documentalist'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . ?m property:occupation resource:documentalist . ?m property:gender resource:male }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q36834 Q22669085
P425
Q12737077
USER
How many occupations do composer or art of illumination belong to ?
(c(Q12737077),P425,Q36834) (c(Q12737077),P425,Q22669085)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q22669085
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q36834'] [{'concept': 'Q12737077'}, 'P425', 'Q22669085']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { ?v property:P425 resource:Q36834 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P425 resource:Q22669085 . ?v rdf:type ontology:Q12737077 } }
composer art of illumination
action count
action union
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity art of illumination
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer'] [{'concept': 'occupation'}, 'field of this occupation', 'art of illumination']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { ?v property:field_of_this_occupation resource:composer . ?v rdf:type ontology:occupation } UNION { ?v property:field_of_this_occupation resource:art_of_illumination . ?v rdf:type ontology:occupation } }
[]
occupation
SYSTEM
2
Q998628 Q2936875
(c(Q12737077),P425,Q36834) (c(Q12737077),P425,Q22669085)
action count
action union
action filter_type
action find_reverse
entity Q36834
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q22669085
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q36834'] [{'concept': 'Q12737077'}, 'P425', 'Q22669085']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { ?v property:P425 resource:Q36834 . ?v rdf:type ontology:Q12737077 } UNION { ?v property:P425 resource:Q22669085 . ?v rdf:type ontology:Q12737077 } }
illuminator Cantore al liuto
2
action count
action union
action filter_type
action find_reverse
entity composer
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity art of illumination
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'composer'] [{'concept': 'occupation'}, 'field of this occupation', 'art of illumination']
SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { { ?v property:field_of_this_occupation resource:composer . ?v rdf:type ontology:occupation } UNION { ?v property:field_of_this_occupation resource:art_of_illumination . ?v rdf:type ontology:occupation } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
How many films had their voice dubbing done by around 12 people ?
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 12
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?c ) WHERE { ?m property:P725 ?f . ?m rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c = 12 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 12
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?c ) WHERE { ?m property:voice_actor ?f . ?m rdf:type ontology:film . ?f rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c = 12 ) }
[]
common name film
SYSTEM
66
Q1235519 Q378913 Q4499813 Q3038714 Q191753 Q6929072 Q785294 Q6296387 Q204662 Q521082 Q1764174 Q752301 Q270470 Q334132 Q449917 Q4341553 Q1491010 Q215518 Q156401 Q1160649 Q134430 Q215617 Q811980 Q254671 Q853718 Q374431 Q12084660 Q578595 Q329316 Q44817 Q9019373 Q223359 Q213787 Q611739 Q980041 Q869741 Q3588859 Q371490 Q3836716 Q249967 Q19090 Q4189838 Q2059996 Q736731 Q318428 Q465275 Q218894 Q172284 Q202371 Q40302 Q336012 Q43051 Q1494230 Q917278 Q1406374 Q2068444 Q498434 Q199839 Q36479 Q1634740 Q39722 Q40895 Q3190021 Q1102410 Q3226633 Q240852
(c(Q11424),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 12
[ANSWER]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?c ) WHERE { ?m property:P725 ?f . ?m rdf:type ontology:Q11424 . ?f rdf:type ontology:Q502895 } GROUP BY ?m } . FILTER ( ?c = 12 ) }
Panda and the Magic Serpent The Lord of the Rings Home Lucky Luke: The Daltons on the Run Cinderella Mr. Peabody & Sherman Captain of the Forest Rio 2 The Sword in the Stone Szaffi Quest for Camelot Flushed Away Peter Pan The Great Mouse Detective The Chipmunk Adventure Pinocchio Tintin and the Lake of Sharks Aladdin Chicken Run Mattie the Goose-boy Snow White and the Seven Dwarfs Sleeping Beauty The Adventures of Lolo the Penguin Coonskin Fun and Fancy Free The Tigger Movie The Princess and the Goblin Paprika The Black Cauldron The Little Fox The Legend of the North Wind Rio The Hunchback of Notre Dame The Ballad of the Daltons The Adventures of Tintin Melody Time Emilie Jolie Son of the White Mare The Looney Looney Looney Bugs Bunny Movie Hotel Transylvania Robin Hood Starchaser: The Legend of Orin My Little Pony: The Movie The Three Caballeros Wallace & Gromit: The Curse of the Were-Rabbit Fantastic Mr. Fox Pocahontas Lady and the Tramp The Rescuers Down Under The Fox and the Hound The Girl Who Leapt Through Time Bambi Garfield Gets Real Tokyo Godfathers Piglet's Big Movie Felix the Cat: The Movie The Many Adventures of Winnie the Pooh The Jungle Book The Lion King Jungledyret Hugo The Rescuers Dumbo Jungledyret Hugo - den store filmhelt Johnny Corncob Renart the Fox FernGully: The Last Rainforest
66
action count
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 12
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?o ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?f ) AS ?c ) WHERE { ?m property:voice_actor ?f . ?m rdf:type ontology:film . ?f rdf:type ontology:common_name } GROUP BY ?m } . FILTER ( ?c = 12 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23891142
P734
Q82799
USER
Who is associated with Antonio Maestre ?
(Q23891142,P734,c(Q82799))
action filter_type
action find
entity Q23891142
relation P734
type Q82799
['Q23891142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q23891142 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Antonio Maestre
action filter_type
action find
entity Antonio Maestre
relation family name
type name
['Antonio Maestre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Antonio_Maestre property:family_name ?w . ?w rdf:type ontology:name }
[]
name
Q25114676
SYSTEM
Maestre
Q25114676
(Q23891142,P734,c(Q82799))
action filter_type
action find
entity Q23891142
relation P734
type Q82799
[ANSWER] is associated with Antonio [ANSWER]
['Q23891142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { resource:Q23891142 property:P734 ?w . ?w rdf:type ontology:Q82799 }
Maestre
Maestre is associated with Antonio Maestre
Maestre
action filter_type
action find
entity Antonio Maestre
relation family name
type name
['Antonio Maestre', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { resource:Antonio_Maestre property:family_name ?w . ?w rdf:type ontology:name }
[]