Simple Question (Direct)
Simple Question
Q1903602
P800
Q15850590
USER
Who notable work was done by Eef van Breen ?
(Q1903602,P800,c(Q15850590))
action filter_type
action find
entity Q1903602
relation P800
type Q15850590
['Q1903602', 'P800', {'concept': 'Q15850590'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15850590 . resource:Q1903602 property:P800 ?k }
Eef van Breen
action filter_type
action find
entity Eef van Breen
relation notable work
type theatrical genre
['Eef van Breen', 'notable work', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:theatrical_genre . resource:Eef_van_Breen property:notable_work ?k }
[]
theatrical genre
Q2012993
SYSTEM
’u’
Q2012993
(Q1903602,P800,c(Q15850590))
action filter_type
action find
entity Q1903602
relation P800
type Q15850590
[ANSWER] was done by Eef van Breen
['Q1903602', 'P800', {'concept': 'Q15850590'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q15850590 . resource:Q1903602 property:P800 ?k }
’u’
’u’ was done by Eef van Breen
’u’
action filter_type
action find
entity Eef van Breen
relation notable work
type theatrical genre
['Eef van Breen', 'notable work', {'concept': 'theatrical genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:theatrical_genre . resource:Eef_van_Breen property:notable_work ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1903602
P86
Q15850590
USER
Which theatrical genre has that person as the melodist ?
(c(Q15850590),P86,Q2012993)
action filter_type
action find_reverse
entity Q1903602
relation P86
type Q15850590
[{'concept': 'Q15850590'}, 'P86', 'Q2012993']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15850590 . ?g property:P86 resource:Q1903602 }
Eef van Breen
action filter_type
action find_reverse
entity Eef van Breen
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', '’u’']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:theatrical_genre . ?g property:composer resource:Eef_van_Breen }
[]
theatrical genre
Q2012993
SYSTEM
’u’
Q2012993
(c(Q15850590),P86,Q2012993)
action filter_type
action find_reverse
entity Q1903602
relation P86
type Q15850590
UNK [ANSWER] has that person as the melodist
[{'concept': 'Q15850590'}, 'P86', 'Q2012993']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15850590 . ?g property:P86 resource:Q1903602 }
’u’
UNK ’u’ has that person as the melodist
’u’
action filter_type
action find_reverse
entity Eef van Breen
relation composer
type theatrical genre
[{'concept': 'theatrical genre'}, 'composer', '’u’']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:theatrical_genre . ?g property:composer resource:Eef_van_Breen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2012993
P364
Q315
USER
Which language was used originally for the creation of that theatrical genre ?
(Q2012993,P364,c(Q315))
action filter_type
action find
entity Q2012993
relation P364
type Q315
['Q2012993', 'P364', {'concept': 'Q315'}]
SELECT DISTINCT ?j WHERE { resource:Q2012993 property:P364 ?j . ?j rdf:type ontology:Q315 }
’u’
action filter_type
action find
entity ’u’
relation original language of work
type language
['’u’', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:’u’ property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
language
Q10134
SYSTEM
Klingon language
Q10134
(Q2012993,P364,c(Q315))
action filter_type
action find
entity Q2012993
relation P364
type Q315
[ANSWER] was used originally for the creation of that theatrical genre
['Q2012993', 'P364', {'concept': 'Q315'}]
SELECT DISTINCT ?j WHERE { resource:Q2012993 property:P364 ?j . ?j rdf:type ontology:Q315 }
Klingon language
Klingon language was used originally for the creation of that theatrical genre
Klingon language
action filter_type
action find
entity ’u’
relation original language of work
type language
['’u’', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:’u’ property:original_language_of_work ?j . ?j rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q8539
Q315
USER
And how about The Big Bang Theory?
(Q8539,P364,c(Q315))
action filter_type
action find
entity Q8539
relation P364
type Q315
['Q8539', 'P364', {'concept': 'Q315'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q315 . resource:Q8539 property:P364 ?u }
The Big Bang Theory
action filter_type
action find
entity The Big Bang Theory
relation original language of work
type language
['The Big Bang Theory', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:The_Big_Bang_Theory property:original_language_of_work ?u }
[]
language
Q10134
SYSTEM
Klingon language
Q10134
(Q8539,P364,c(Q315))
action filter_type
action find
entity Q8539
relation P364
type Q315
[ANSWER]
['Q8539', 'P364', {'concept': 'Q315'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q315 . resource:Q8539 property:P364 ?u }
Klingon language
Klingon language
action filter_type
action find
entity The Big Bang Theory
relation original language of work
type language
['The Big Bang Theory', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:language . resource:The_Big_Bang_Theory property:original_language_of_work ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q10134 Q714935
P170
Q502895
USER
Is Marc Okrand the creator of that language ?
(Q10134,P170,Q714935)
action is_in
entity Q714935
action find
entity Q10134
relation P170
['Q10134', 'P170', 'Q714935']
ASK WHERE { resource:Q10134 property:P170 resource:Q714935 }
Klingon language Marc Okrand
action is_in
entity Marc Okrand
action find
entity Klingon language
relation creator
['Klingon language', 'creator', 'Marc Okrand']
ASK WHERE { resource:Klingon_language property:creator resource:Marc_Okrand }
[]
common name
SYSTEM
YES
(Q10134,P170,Q714935)
action is_in
entity Q714935
action find
entity Q10134
relation P170
[ANSWER]
['Q10134', 'P170', 'Q714935']
ASK WHERE { resource:Q10134 property:P170 resource:Q714935 }
Yes
action is_in
entity Marc Okrand
action find
entity Klingon language
relation creator
['Klingon language', 'creator', 'Marc Okrand']
ASK WHERE { resource:Klingon_language property:creator resource:Marc_Okrand }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q2012993 Q1903602
P86
Q502895
USER
Did Eef van Breen compose that theatrical genre ?
(Q2012993,P86,Q1903602)
action is_in
entity Q1903602
action find
entity Q2012993
relation P86
['Q2012993', 'P86', 'Q1903602']
ASK WHERE { resource:Q2012993 property:P86 resource:Q1903602 }
’u’ Eef van Breen
action is_in
entity Eef van Breen
action find
entity ’u’
relation composer
['’u’', 'composer', 'Eef van Breen']
ASK WHERE { resource:’u’ property:composer resource:Eef_van_Breen }
[]
common name
SYSTEM
YES
(Q2012993,P86,Q1903602)
action is_in
entity Q1903602
action find
entity Q2012993
relation P86
[ANSWER]
['Q2012993', 'P86', 'Q1903602']
ASK WHERE { resource:Q2012993 property:P86 resource:Q1903602 }
Yes
action is_in
entity Eef van Breen
action find
entity ’u’
relation composer
['’u’', 'composer', 'Eef van Breen']
ASK WHERE { resource:’u’ property:composer resource:Eef_van_Breen }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q10134 Q714935 Q16150504
P170
Q502895
USER
Does Klingon language work were created by Marc Okrand and Udi Spielman ?
(Q10134,P170,Q714935) (Q10134,P170,Q16150504)
action is_in
entity Q10134
action intersection
action find_reverse
entity Q714935
relation P170
action find_reverse
entity Q16150504
relation P170
['Q10134', 'P170', 'Q714935'] ['Q10134', 'P170', 'Q16150504']
ASK WHERE { resource:Q10134 property:P170 resource:Q714935 . resource:Q10134 property:P170 resource:Q16150504 }
Klingon language Marc Okrand Udi Spielman
action is_in
entity Klingon language
action intersection
action find_reverse
entity Marc Okrand
relation creator
action find_reverse
entity Udi Spielman
relation creator
['Klingon language', 'creator', 'Marc Okrand'] ['Klingon language', 'creator', 'Udi Spielman']
ASK WHERE { resource:Klingon_language property:creator resource:Marc_Okrand . resource:Klingon_language property:creator resource:Udi_Spielman }
[]
common name
SYSTEM
YES and NO respectively
(Q10134,P170,Q714935) (Q10134,P170,Q16150504)
action is_in
entity Q10134
action intersection
action find_reverse
entity Q714935
relation P170
action find_reverse
entity Q16150504
relation P170
[ANSWER]
['Q10134', 'P170', 'Q714935'] ['Q10134', 'P170', 'Q16150504']
ASK WHERE { resource:Q10134 property:P170 resource:Q714935 . resource:Q10134 property:P170 resource:Q16150504 }
YES and NO respectively
action is_in
entity Klingon language
action intersection
action find_reverse
entity Marc Okrand
relation creator
action find_reverse
entity Udi Spielman
relation creator
['Klingon language', 'creator', 'Marc Okrand'] ['Klingon language', 'creator', 'Udi Spielman']
ASK WHERE { resource:Klingon_language property:creator resource:Marc_Okrand . resource:Klingon_language property:creator resource:Udi_Spielman }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P282
Q2001982 Q315
USER
Which notations are the writing systems used for max number of languages ?
(c(Q315),P282,Q2479183)
action argmax
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
[{'concept': 'Q315'}, 'P282', 'Q2479183']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?y ) WHERE { ?i rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q315 . ?k property:P282 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q315 . ?e property:P282 ?t } GROUP BY ?t } . FILTER ( ?f = ?m ) }
action argmax
action find_reverse_tuple_counts
relation writing system
type notation
type language
[{'concept': 'language'}, 'writing system', 'Canadian Aboriginal syllabics']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?y ) WHERE { ?i rdf:type ontology:notation . ?k rdf:type ontology:language . ?k property:writing_system ?i } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?t } GROUP BY ?t } . FILTER ( ?f = ?m ) }
[]
notation language
Q473725
SYSTEM
Tengwar
Q473725
(c(Q315),P282,Q2479183)
action argmax
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
[ANSWER] is the writing systems used for max number of languages
[{'concept': 'Q315'}, 'P282', 'Q2479183']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?y ) WHERE { ?i rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q315 . ?k property:P282 ?i } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t rdf:type ontology:Q2001982 . ?e rdf:type ontology:Q315 . ?e property:P282 ?t } GROUP BY ?t } . FILTER ( ?f = ?m ) }
Tengwar
Tengwar is the writing systems used for max number of languages
Tengwar
action argmax
action find_reverse_tuple_counts
relation writing system
type notation
type language
[{'concept': 'language'}, 'writing system', 'Canadian Aboriginal syllabics']
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( MAX ( ?y ) AS ?m ) { SELECT DISTINCT ?i ( COUNT ( ?k ) AS ?y ) WHERE { ?i rdf:type ontology:notation . ?k rdf:type ontology:language . ?k property:writing_system ?i } GROUP BY ?i } } . { SELECT DISTINCT ?t ( COUNT ( ?e ) AS ?f ) WHERE { ?t rdf:type ontology:notation . ?e rdf:type ontology:language . ?e property:writing_system ?t } GROUP BY ?t } . FILTER ( ?f = ?m ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P282
Q2001982 Q34770 Q315
USER
Which notations are used as the scripts for min number of languages and languages ?
(c(Q34770)|c(Q315),P282,c(Q2001982))
action argmin
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
[[{'concept': 'Q34770'}, {'concept': 'Q315'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:P282 ?r . ?k rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?r . ?r rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q315 } } GROUP BY ?r } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q34770 ) ( ontology:Q315 ) } } GROUP BY ?n } }
action argmin
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type language
[[{'concept': 'language'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:writing_system ?r . ?k rdf:type ontology:language . ?r rdf:type ontology:notation } UNION { ?k property:writing_system ?r . ?r rdf:type ontology:notation . ?k rdf:type ontology:language } } GROUP BY ?r } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?c property:writing_system ?n . ?c rdf:type ontology:language . ?n rdf:type ontology:notation } UNION { ?c rdf:type ontology:language . ?n rdf:type ontology:notation . ?c property:writing_system ?n } } GROUP BY ?n } }
[]
notation language language
Q1089000 Q3544702 Q1828555
SYSTEM
Sarati, Manichaean alphabet, Arabic script
Q3544702 Q1828555 Q321083 Q209764 Q187659 Q13586477 Q26978 Q1089000 Q752854 Q185083 Q806024 Q2479183
(c(Q34770)|c(Q315),P282,c(Q2001982))
action argmin
action union
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q315
[ANSWERS] are used as the scripts for min number of languages and languages
[[{'concept': 'Q34770'}, {'concept': 'Q315'}], 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:P282 ?r . ?k rdf:type ontology:Q34770 . ?r rdf:type ontology:Q2001982 } UNION { ?k property:P282 ?r . ?r rdf:type ontology:Q2001982 . ?k rdf:type ontology:Q315 } } GROUP BY ?r } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { ?c rdf:type ?j . VALUES ( ?j ) { ( ontology:Q34770 ) ( ontology:Q315 ) } } GROUP BY ?n } }
Manichaean alphabet Arabic script Coptic alphabet Rongorongo kana Cantonese Braille Aramaic alphabet Sarati Sui script Brahmi script Bamum script Canadian Aboriginal syllabics
Sarati, Manichaean alphabet and Arabic script are used as the scripts for min number of languages and languages
Sarati Manichaean alphabet Arabic script
action argmin
action union
action find_reverse_tuple_counts
relation writing system
type notation
type language
action find_reverse_tuple_counts
relation writing system
type notation
type language
[[{'concept': 'language'}, {'concept': 'language'}], 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?l ) AS ?m ) { SELECT DISTINCT ?r ( COUNT ( ?k ) AS ?l ) WHERE { { ?k property:writing_system ?r . ?k rdf:type ontology:language . ?r rdf:type ontology:notation } UNION { ?k property:writing_system ?r . ?r rdf:type ontology:notation . ?k rdf:type ontology:language } } GROUP BY ?r } } . FILTER ( ?e = ?m ) . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?e ) WHERE { { ?c property:writing_system ?n . ?c rdf:type ontology:language . ?n rdf:type ontology:notation } UNION { ?c rdf:type ontology:language . ?n rdf:type ontology:notation . ?c property:writing_system ?n } } GROUP BY ?n } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q2001982 Q34770
USER
How many languages use atleast 1 notation as the writing system ?
(c(Q34770),P282,c(Q2001982))
action count
action atleast
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:P282 ?e . ?e rdf:type ontology:Q2001982 . ?r rdf:type ontology:Q34770 } GROUP BY ?r } . FILTER ( ?z >= 1 ) }
action count
action atleast
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:writing_system ?e . ?e rdf:type ontology:notation . ?r rdf:type ontology:language } GROUP BY ?r } . FILTER ( ?z >= 1 ) }
[]
notation language
SYSTEM
8
Q182695 Q29572 Q35470 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982))
action count
action atleast
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:P282 ?e . ?e rdf:type ontology:Q2001982 . ?r rdf:type ontology:Q34770 } GROUP BY ?r } . FILTER ( ?z >= 1 ) }
Late Old Japanese Avestan Elamite language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
8
action count
action atleast
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?w ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?e ) AS ?z ) WHERE { ?r property:writing_system ?e . ?e rdf:type ontology:notation . ?r rdf:type ontology:language } GROUP BY ?r } . FILTER ( ?z >= 1 ) }
[]