Simple Question (Direct)
Simple Question
Q1643166
P86
Q502895
USER
Who was Hôtel du Nord composed by ?
(Q1643166,P86,c(Q502895))
action filter_type
action find
entity Q1643166
relation P86
type Q502895
['Q1643166', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1643166 property:P86 ?j }
Hôtel du Nord
action filter_type
action find
entity Hôtel du Nord
relation composer
type common name
['Hôtel du Nord', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Hôtel_du_Nord property:composer ?j }
[]
common name
Q1138157
SYSTEM
Maurice Jaubert
Q1138157
(Q1643166,P86,c(Q502895))
action filter_type
action find
entity Q1643166
relation P86
type Q502895
Hôtel du Nord was composed by [ANSWER]
['Q1643166', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q502895 . resource:Q1643166 property:P86 ?j }
Maurice Jaubert
Hôtel du Nord was composed by Maurice Jaubert
Maurice Jaubert
action filter_type
action find
entity Hôtel du Nord
relation composer
type common name
['Hôtel du Nord', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:common_name . resource:Hôtel_du_Nord property:composer ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1138157
P734
Q82799
USER
Which name is associated with that person ?
(Q1138157,P734,c(Q82799))
action filter_type
action find
entity Q1138157
relation P734
type Q82799
['Q1138157', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q1138157 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Maurice Jaubert
action filter_type
action find
entity Maurice Jaubert
relation family name
type name
['Maurice Jaubert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Maurice_Jaubert property:family_name ?g . ?g rdf:type ontology:name }
[]
name
Q21509246
SYSTEM
Jaubert
Q21509246
(Q1138157,P734,c(Q82799))
action filter_type
action find
entity Q1138157
relation P734
type Q82799
[ANSWER] is associated with that person
['Q1138157', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q1138157 property:P734 ?g . ?g rdf:type ontology:Q82799 }
Jaubert
Jaubert is associated with that person
Jaubert
action filter_type
action find
entity Maurice Jaubert
relation family name
type name
['Maurice Jaubert', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Maurice_Jaubert property:family_name ?g . ?g rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are approximately 26 names in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 26
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P407 ?d . ?y rdf:type ontology:Q82799 . ?d rdf:type ontology:Q34770 } GROUP BY ?d } . FILTER ( ?e = 26 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 26
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:language_of_work_or_name ?d . ?y rdf:type ontology:name . ?d rdf:type ontology:language } GROUP BY ?d } . FILTER ( ?e = 26 ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 26
[ANSWERS] are approximately 26 names in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:P407 ?d . ?y rdf:type ontology:Q82799 . ?d rdf:type ontology:Q34770 } GROUP BY ?d } . FILTER ( ?e = 26 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately 26 names in
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 26
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?e ) WHERE { ?y property:language_of_work_or_name ?d . ?y rdf:type ontology:name . ?d rdf:type ontology:language } GROUP BY ?d } . FILTER ( ?e = 26 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1643166
P2554
Q502895
USER
Which person created the production designs of Hôtel du Nord ?
(Q1643166,P2554,c(Q502895))
action filter_type
action find
entity Q1643166
relation P2554
type Q502895
['Q1643166', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1643166 property:P2554 ?o . ?o rdf:type ontology:Q502895 }
Hôtel du Nord
action filter_type
action find
entity Hôtel du Nord
relation production designer
type common name
['Hôtel du Nord', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Hôtel_du_Nord property:production_designer ?o . ?o rdf:type ontology:common_name }
[]
common name
Q599840
SYSTEM
Alexandre Trauner
Q599840
(Q1643166,P2554,c(Q502895))
action filter_type
action find
entity Q1643166
relation P2554
type Q502895
[ANSWER] created the production designs of Hôtel du Nord
['Q1643166', 'P2554', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1643166 property:P2554 ?o . ?o rdf:type ontology:Q502895 }
Alexandre Trauner
Alexandre Trauner created the production designs of Hôtel du Nord
Alexandre Trauner
action filter_type
action find
entity Hôtel du Nord
relation production designer
type common name
['Hôtel du Nord', 'production designer', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:Hôtel_du_Nord property:production_designer ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1643166
P495
Q15617994
USER
Which administrative territory is the origin of that work of art ?
(Q599840,P495,c(Q15617994))
action filter_type
action find
entity Q1643166
relation P495
type Q15617994
['Q599840', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1643166 property:P495 ?w }
Hôtel du Nord
action filter_type
action find
entity Hôtel du Nord
relation country of origin
type designation for an administrative territorial entity
['Alexandre Trauner', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hôtel_du_Nord property:country_of_origin ?w }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q599840,P495,c(Q15617994))
action filter_type
action find
entity Q1643166
relation P495
type Q15617994
The [ANSWER] is the origin of that work of art
['Q599840', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . resource:Q1643166 property:P495 ?w }
France
The France is the origin of that work of art
France
action filter_type
action find
entity Hôtel du Nord
relation country of origin
type designation for an administrative territorial entity
['Alexandre Trauner', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Hôtel_du_Nord property:country_of_origin ?w }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P37
Q34770 Q56061 Q15617994
USER
Which languages are considered to be the official language of max number of administrative territories or administrative territories ?
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?m WHERE { ?w rdf:type ?d . VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?i WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . FILTER ( ?v = ?t ) }
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?m WHERE { ?w rdf:type ?d . VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?i WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . FILTER ( ?v = ?t ) }
[]
language administrative territorial entity designation for an administrative territorial entity
Q1860
SYSTEM
English
Q1860
(c(Q56061)|c(Q15617994),P37,c(Q34770))
action argmax
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q56061
action find_reverse_tuple_counts
relation P37
type Q34770
type Q15617994
[ANSWER] is considered to be the official language of max number of administrative territories or administrative territories
[[{'concept': 'Q56061'}, {'concept': 'Q15617994'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?m WHERE { ?w rdf:type ?d . VALUES ( ?d ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?i WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:Q56061 ) ( ontology:Q15617994 ) } } GROUP BY ?i } . FILTER ( ?v = ?t ) }
English
English is considered to be the official language of max number of administrative territories or administrative territories
English
action argmax
action union
action find_reverse_tuple_counts
relation official language
type language
type administrative territorial entity
action find_reverse_tuple_counts
relation official language
type language
type designation for an administrative territorial entity
[[{'concept': 'administrative territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( MAX ( ?u ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?w ) AS ?u ) ?m WHERE { ?w rdf:type ?d . VALUES ( ?d ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?m } } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) ?i WHERE { ?j rdf:type ?o . VALUES ( ?o ) { ( ontology:administrative_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?i } . FILTER ( ?v = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P282
Q9779 Q8192 Q34770
USER
How many languages are around the same number of alphabets and writing systems the writing system of as that language ?
(c(Q34770),P282,c(Q9779)|c(Q8192))
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 Q8192
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q8192
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1860 property:P282 ?t . { { ?t rdf:type ontology:Q8192 } UNION { ?t rdf:type ontology:Q9779 } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?h WHERE { { ?h property:P282 ?j . ?h rdf:type ontology:Q34770 . ?j rdf:type ontology:Q9779 } UNION { ?h property:P282 ?j . ?h rdf:type ontology:Q34770 . ?j rdf:type ontology:Q8192 } } GROUP BY ?h } }
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 writing system
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:English property:writing_system ?t . { { ?t rdf:type ontology:writing_system } UNION { ?t rdf:type ontology:alphabet } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?h WHERE { { ?h property:writing_system ?j . ?h rdf:type ontology:language . ?j rdf:type ontology:alphabet } UNION { ?h property:writing_system ?j . ?h rdf:type ontology:language . ?j rdf:type ontology:writing_system } } GROUP BY ?h } }
[]
alphabet writing system language
SYSTEM
49
Q7102906 Q20832 Q29572 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q35470 Q36741 Q35668 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q2705672 Q33879 Q7362035 Q36795 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q20972034 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q36790 Q1860 Q36116 Q36751 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q9779)|c(Q8192))
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 Q8192
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q1860 property:P282 ?t . { { ?t rdf:type ontology:Q8192 } UNION { ?t rdf:type ontology:Q9779 } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?h WHERE { { ?h property:P282 ?j . ?h rdf:type ontology:Q34770 . ?j rdf:type ontology:Q9779 } UNION { ?h property:P282 ?j . ?h rdf:type ontology:Q34770 . ?j rdf:type ontology:Q8192 } } GROUP BY ?h } }
Orizaba Nahuatl Wailaki language Avestan Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Elamite language Polabian Hittite Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Paeonian language Pangasinan language Roman Khowar Tartessian Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Classic Greek Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish Sumerian English Middle Irish Phrygian language Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
49
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 writing system
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type writing system
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'writing system'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:English property:writing_system ?t . { { ?t rdf:type ontology:writing_system } UNION { ?t rdf:type ontology:alphabet } } } } . FILTER ( ?y = ?k ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) ?h WHERE { { ?h property:writing_system ?j . ?h rdf:type ontology:language . ?j rdf:type ontology:alphabet } UNION { ?h property:writing_system ?j . ?h rdf:type ontology:language . ?j rdf:type ontology:writing_system } } GROUP BY ?h } }
[]