Simple Question (Direct)
Simple Question
Q3434021
P734
Q82799
USER
Who has the surname Walter Dietrich ?
(Q3434021,P734,c(Q82799))
action filter_type
action find
entity Q3434021
relation P734
type Q82799
['Q3434021', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q3434021 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Walter Dietrich
action filter_type
action find
entity Walter Dietrich
relation family name
type name
['Walter Dietrich', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Walter_Dietrich property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q18145879
SYSTEM
Dietrich
Q18145879
(Q3434021,P734,c(Q82799))
action filter_type
action find
entity Q3434021
relation P734
type Q82799
The [ANSWER] has the surname Walter [ANSWER]
['Q3434021', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q3434021 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Dietrich
The Dietrich has the surname Walter Dietrich
Dietrich
action filter_type
action find
entity Walter Dietrich
relation family name
type name
['Walter Dietrich', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Walter_Dietrich property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3434021
P641
Q349
USER
Which sport was that person a part of ?
(Q18145879,P641,c(Q349))
action filter_type
action find
entity Q3434021
relation P641
type Q349
['Q18145879', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3434021 property:P641 ?d . ?d rdf:type ontology:Q349 }
Walter Dietrich
action filter_type
action find
entity Walter Dietrich
relation sport
type sport
['Dietrich', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Dietrich property:sport ?d . ?d rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18145879,P641,c(Q349))
action filter_type
action find
entity Q3434021
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q18145879', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?d WHERE { resource:Q3434021 property:P641 ?d . ?d rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Walter Dietrich
relation sport
type sport
['Dietrich', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?d WHERE { resource:Walter_Dietrich property:sport ?d . ?d rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation|Incomplete
Q6223615 Q3434021
P641
Q349
USER
And also John Brownlie
AND((Q3434021,P641,c(Q349)), (Q6223615,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q3434021
relation P641
action find
entity Q6223615
relation P641
type Q349
{'AND': [['Q3434021', 'P641', {'concept': 'Q349'}], ['Q6223615', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?h WHERE { resource:Q6223615 property:P641 ?h . resource:Q3434021 property:P641 ?h . ?h rdf:type ontology:Q349 }
John Brownlie Walter Dietrich
action filter_type
action intersection
action find
entity Walter Dietrich
relation sport
action find
entity John Brownlie
relation sport
type sport
{'AND': [['Walter Dietrich', 'sport', {'concept': 'sport'}], ['John Brownlie', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?h WHERE { resource:John_Brownlie property:sport ?h . resource:Walter_Dietrich property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q3434021,P641,c(Q349)), (Q6223615,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q3434021
relation P641
action find
entity Q6223615
relation P641
type Q349
[ANSWER]
{'AND': [['Q3434021', 'P641', {'concept': 'Q349'}], ['Q6223615', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?h WHERE { resource:Q6223615 property:P641 ?h . resource:Q3434021 property:P641 ?h . ?h rdf:type ontology:Q349 }
association football
association football
action filter_type
action intersection
action find
entity Walter Dietrich
relation sport
action find
entity John Brownlie
relation sport
type sport
{'AND': [['Walter Dietrich', 'sport', {'concept': 'sport'}], ['John Brownlie', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?h WHERE { resource:John_Brownlie property:sport ?h . resource:Walter_Dietrich property:sport ?h . ?h rdf:type ontology:sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for around 20 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 20
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P407 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q82799 } GROUP BY ?z } . FILTER ( ?o = 20 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 20
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:name } GROUP BY ?z } . FILTER ( ?o = 20 ) }
[]
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 20
[ANSWERS] are the languages of work for around 20 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P407 ?z . ?z rdf:type ontology:Q34770 . ?w rdf:type ontology:Q82799 } GROUP BY ?z } . FILTER ( ?o = 20 ) }
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 the languages of work for around 20 names
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 20
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?w rdf:type ontology:name } GROUP BY ?z } . FILTER ( ?o = 20 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q35726
P364
Q340169
USER
Which media has that one as its original language of creation ?
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q340169 . ?i property:P364 resource:Q35726 }
Etruscan
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:media . ?i property:original_language_of_work resource:Etruscan }
[]
media
Clarification for simple ques.
Q447117
SYSTEM
Did you mean Old Egyptian ?
Q447117 Q35499 Q35726
(c(Q340169),P364,Q447117) (c(Q340169),P364,Q35499) (c(Q340169),P364,Q35726)
[ANSWER]
[{'concept': 'Q340169'}, 'P364', 'Q447117'] [{'concept': 'Q340169'}, 'P364', 'Q35499'] [{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q340169 . ?i property:P364 resource:Q35726 }
Old Egyptian Old Church Slavonic Etruscan
Did you mean Old Egyptian ?
Old Egyptian
[{'concept': 'media'}, 'original language of work', 'Old Egyptian'] [{'concept': 'media'}, 'original language of work', 'Old Church Slavonic'] [{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:media . ?i property:original_language_of_work resource:Etruscan }
[]
Simple Question (Coreferenced)
USER
No, I meant Etruscan. Could you tell me the answer for that?
(c(Q340169),P364,Q35726)
Q35726
[{'concept': 'Q340169'}, 'P364', 'Q35726']
[{'concept': 'media'}, 'original language of work', 'Etruscan']
[]
Q1244474
SYSTEM
Tabula Cortonensis
Q1244474
(c(Q340169),P364,Q35726)
action filter_type
action find_reverse
entity Q35726
relation P364
type Q340169
[ANSWER] has that one as its original language of creation
[{'concept': 'Q340169'}, 'P364', 'Q35726']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q340169 . ?i property:P364 resource:Q35726 }
Tabula Cortonensis
Tabula Cortonensis has that one as its original language of creation
Tabula Cortonensis
action filter_type
action find_reverse
entity Etruscan
relation original language of work
type media
[{'concept': 'media'}, 'original language of work', 'Etruscan']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:media . ?i property:original_language_of_work resource:Etruscan }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1345539
P608
Q464980 Q340169
USER
Which exhibitions were lesser number of medias exhibited at than International Exposition 1867 ?
(c(Q340169),P608,c(Q464980))
action less
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find_reverse
entity Q1345539
relation P608
type Q340169
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ontology:Q340169 . ?i rdf:type ontology:Q464980 . ?g property:P608 ?i } GROUP BY ?i } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P608 resource:Q1345539 . ?h rdf:type ontology:Q340169 } } }
International Exposition 1867
action less
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find_reverse
entity International Exposition 1867
relation exhibition history
type media
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ontology:media . ?i rdf:type ontology:exhibition . ?g property:exhibition_history ?i } GROUP BY ?i } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:exhibition_history resource:International_Exposition_1867 . ?h rdf:type ontology:media } } }
[]
exhibition media
Q688909 Q15087813 Q18429168
SYSTEM
Armory Show, Mona Lisa Exhibition, Modern Times: Photography in the 20th Century
Q16643903 Q16977023 Q1114964 Q250578 Q16632328 Q15620849 Q24237549 Q688909 Q15298209 Q17456865 Q16736000 Q15273842 Q283454 Q753646 Q16658565 Q14619895 Q14619896 Q25175731 Q15118718 Q16659398 Q2186413 Q17451431 Q17374739 Q207420 Q329154 Q19057071 Q17093682 Q15925025 Q15732002 Q19205977 Q1054110 Q15731376 Q18429168 Q25147506 Q19347412 Q18759729 Q25141765 Q18918844 Q15620425 Q17274259 Q3610454 Q16659396 Q2925732 Q5393515 Q19807149 Q20020104 Q15087813 Q15726974 Q1165690 Q15274985 Q15710932 Q15617708 Q23699261 Q16499412 Q15311595 Q23113720 Q15727592 Q285406 Q18745579 Q2977833 Q15711352
(c(Q340169),P608,c(Q464980))
action less
action find_reverse_tuple_counts
relation P608
type Q464980
type Q340169
action count
action filter_type
action find_reverse
entity Q1345539
relation P608
type Q340169
[ANSWERS] were lesser number of medias exhibited at than International Exposition 1867
[{'concept': 'Q340169'}, 'P608', {'concept': 'Q464980'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ontology:Q340169 . ?i rdf:type ontology:Q464980 . ?g property:P608 ?i } GROUP BY ?i } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:P608 resource:Q1345539 . ?h rdf:type ontology:Q340169 } } }
1881 Paris Salon Landscape Reunited：Huang Gongwang and "Dwelling in the Fuchun Mountains＂ Exposition Universelle of 1855 Panama–Pacific International Exposition 1869 Paris Salon 1865 Paris Salon Velázquez Armory Show Salon of 1789 Salon of 1875 Salon of 1795 1808 Salon 1929 Barcelona International Exposition Exposition Universelle of 1900 1824 Paris Salon Mona Lisa by Leonardo da Vinci The Mona Lisa by Leonardo da Vinci J.C. Dahl in Denmark Salon of 1831 1843 Paris Salon Exposition universelle et internationale Salon of 1845 Salon of 1842 1939 New York World's Fair Degenerate Art Exhibition Fantastische Welten Albrecht Altdorfer oder das Expressive in der Kunst um 1500 Salon of 1879 Salon of 1791 Salon of 1833 1817 Salon Expo 2005 1814 Salon Modern Times: Photography in the 20th Century J.C. Dahl i Italien 1820-1821 Salon of 1891 Hundred Masterpieces in Parisian Collections 1883 Johan Christian Dahl 1788-1857. Jubilee Exhibition 1988 Renaissance Faces salon of 1861 Salon of 1890 0.10 Exhibition 1846 Paris Salon British Institution Ibero-American Exposition of 1929 Dahl and Friedrich. Romantic Landscapes Velazquez a Roma. Velazquez e Roma. Mona Lisa Exhibition Salon of 1785 Exposition Universelle of 1878 Dominique-Vivant Denon: l'oeil de Napoléo 1852 Paris Salon 1806 Salon William Blake's 1809 exhibition 1868 Paris Salon Renoir Made in Amsterdam - 100 years in 100 works of art Paris Salon of 1863 World's Columbian Exposition Salon de 1837 Claude Monet (1840-1926) 1848 Paris Salon
Armory Show, Mona Lisa Exhibition and Modern Times: Photography in the 20th Century were lesser number of medias exhibited at than International Exposition 1867
Armory Show Mona Lisa Exhibition Modern Times: Photography in the 20th Century
action less
action find_reverse_tuple_counts
relation exhibition history
type exhibition
type media
action count
action filter_type
action find_reverse
entity International Exposition 1867
relation exhibition history
type media
[{'concept': 'media'}, 'exhibition history', {'concept': 'exhibition'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?g ) AS ?o ) WHERE { ?g rdf:type ontology:media . ?i rdf:type ontology:exhibition . ?g property:exhibition_history ?i } GROUP BY ?i } . FILTER ( ?o < ?w ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { ?h property:exhibition_history resource:International_Exposition_1867 . ?h rdf:type ontology:media } } }
[]