Simple Question (Direct)
Simple Question
Q4800711
P734
Q82799
USER
Who has the surname Arthur Wilson ?
(Q4800711,P734,c(Q82799))
action filter_type
action find
entity Q4800711
relation P734
type Q82799
['Q4800711', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q4800711 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Arthur Wilson
action filter_type
action find
entity Arthur Wilson
relation family name
type name
['Arthur Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Wilson property:family_name ?b . ?b rdf:type ontology:name }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q4800711,P734,c(Q82799))
action filter_type
action find
entity Q4800711
relation P734
type Q82799
[ANSWER] has the surname Arthur [ANSWER]
['Q4800711', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?b WHERE { resource:Q4800711 property:P734 ?b . ?b rdf:type ontology:Q82799 }
Wilson
Wilson has the surname Arthur Wilson
Wilson
action filter_type
action find
entity Arthur Wilson
relation family name
type name
['Arthur Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?b WHERE { resource:Arthur_Wilson property:family_name ?b . ?b rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4800711
P50
Q838948
USER
Which work of art is that person an author of ?
(c(Q838948),P50,Q1645480)
action filter_type
action find_reverse
entity Q4800711
relation P50
type Q838948
[{'concept': 'Q838948'}, 'P50', 'Q1645480']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q4800711 . ?i rdf:type ontology:Q838948 }
Arthur Wilson
action filter_type
action find_reverse
entity Arthur Wilson
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'Wilson']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Arthur_Wilson . ?i rdf:type ontology:work_of_art }
[]
work of art
Q7767714
SYSTEM
The Swisser
Q7767714
(c(Q838948),P50,Q1645480)
action filter_type
action find_reverse
entity Q4800711
relation P50
type Q838948
The [ANSWER] is that person an author of
[{'concept': 'Q838948'}, 'P50', 'Q1645480']
SELECT DISTINCT ?i WHERE { ?i property:P50 resource:Q4800711 . ?i rdf:type ontology:Q838948 }
The Swisser
The The Swisser is that person an author of
The Swisser
action filter_type
action find_reverse
entity Arthur Wilson
relation author
type work of art
[{'concept': 'work of art'}, 'author', 'Wilson']
SELECT DISTINCT ?i WHERE { ?i property:author resource:Arthur_Wilson . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7767714
P136
Q1792379
USER
What can be considered as category for that work of art ?
(Q7767714,P136,c(Q1792379))
action filter_type
action find
entity Q7767714
relation P136
type Q1792379
['Q7767714', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q7767714 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
The Swisser
action filter_type
action find
entity The Swisser
relation genre
type art genre
['The Swisser', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:The_Swisser property:genre ?m . ?m rdf:type ontology:art_genre }
[]
art genre
Q192881
SYSTEM
tragicomedy
Q192881
(Q7767714,P136,c(Q1792379))
action filter_type
action find
entity Q7767714
relation P136
type Q1792379
[ANSWER] can be considered as category for that work of art
['Q7767714', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?m WHERE { resource:Q7767714 property:P136 ?m . ?m rdf:type ontology:Q1792379 }
tragicomedy
Tragicomedy can be considered as category for that work of art
tragicomedy
action filter_type
action find
entity The Swisser
relation genre
type art genre
['The Swisser', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?m WHERE { resource:The_Swisser property:genre ?m . ?m rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5521201 Q7767714
P364
Q34770
USER
What are considered to be the original language of creation of The Swisser or Gangs of the Waterfront ?
OR((Q7767714,P364,c(Q34770)), (Q5521201,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7767714
relation P364
action find
entity Q5521201
relation P364
type Q34770
{'OR': [['Q7767714', 'P364', {'concept': 'Q34770'}], ['Q5521201', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . { ?x property:P364 ?q . VALUES ( ?x ) { ( resource:Q7767714 ) ( resource:Q5521201 ) } } }
Gangs of the Waterfront The Swisser
action filter_type
action union
action find
entity The Swisser
relation original language of work
action find
entity Gangs of the Waterfront
relation original language of work
type language
{'OR': [['The Swisser', 'original language of work', {'concept': 'language'}], ['Gangs of the Waterfront', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . { ?x property:original_language_of_work ?q . VALUES ( ?x ) { ( resource:The_Swisser ) ( resource:Gangs_of_the_Waterfront ) } } }
[]
language
Q1860
SYSTEM
English
Q1860
OR((Q7767714,P364,c(Q34770)), (Q5521201,P364,c(Q34770)))
action filter_type
action union
action find
entity Q7767714
relation P364
action find
entity Q5521201
relation P364
type Q34770
[ANSWER] is considered to be the original language of creation of The Swisser or Gangs of the Waterfront
{'OR': [['Q7767714', 'P364', {'concept': 'Q34770'}], ['Q5521201', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q34770 . { ?x property:P364 ?q . VALUES ( ?x ) { ( resource:Q7767714 ) ( resource:Q5521201 ) } } }
English
English is considered to be the original language of creation of The Swisser or Gangs of the Waterfront
English
action filter_type
action union
action find
entity The Swisser
relation original language of work
action find
entity Gangs of the Waterfront
relation original language of work
type language
{'OR': [['The Swisser', 'original language of work', {'concept': 'language'}], ['Gangs of the Waterfront', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:language . { ?x property:original_language_of_work ?q . VALUES ( ?x ) { ( resource:The_Swisser ) ( resource:Gangs_of_the_Waterfront ) } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1645480
P407
Q34770
USER
Which language is Wilson composed in ?
(Q1645480,P407,c(Q34770))
action filter_type
action find
entity Q1645480
relation P407
type Q34770
['Q1645480', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q1645480 property:P407 ?j }
Wilson
action filter_type
action find
entity Wilson
relation language of work or name
type language
['Wilson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Wilson property:language_of_work_or_name ?j }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1645480,P407,c(Q34770))
action filter_type
action find
entity Q1645480
relation P407
type Q34770
Wilson is composed of [ANSWER]
['Q1645480', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q34770 . resource:Q1645480 property:P407 ?j }
English
Wilson is composed of English
English
action filter_type
action find
entity Wilson
relation language of work or name
type language
['Wilson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:language . resource:Wilson property:language_of_work_or_name ?j }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q36790
P282
Q2001982 Q9779 Q34770
USER
Which languages have writing system as around the same number of notations or alphabets as Sumerian ?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q36790 property:P282 ?v . { { ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q9779 } } } } . FILTER ( ?q = ?r ) }
Sumerian
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 alphabet
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Sumerian property:writing_system ?v . { { ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:alphabet } } } } . FILTER ( ?q = ?r ) }
[]
notation alphabet language
Q182695 Q35499 Q33251
SYSTEM
Late Old Japanese, Old Church Slavonic, Church Slavonic
Q182695 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36790
relation P282
type Q2001982
type Q9779
[ANSWERS] have writing system as around the same number of notations or alphabets as Sumerian
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q2001982 ) ( ontology:Q9779 ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Q36790 property:P282 ?v . { { ?v rdf:type ontology:Q2001982 } UNION { ?v rdf:type ontology:Q9779 } } } } . FILTER ( ?q = ?r ) }
Late Old Japanese Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
Late Old Japanese, Old Church Slavonic and Church Slavonic have writing system as around the same number of notations or alphabets as Sumerian
Late Old Japanese Old Church Slavonic Church Slavonic
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 alphabet
action count
action filter_multi_types
action find
entity Sumerian
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?w ) AS ?q ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:notation ) ( ontology:alphabet ) } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { resource:Sumerian property:writing_system ?v . { { ?v rdf:type ontology:notation } UNION { ?v rdf:type ontology:alphabet } } } } . FILTER ( ?q = ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q36822
P282
Q2001982 Q9779 Q34770
USER
And what about Slovincian language?
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36822
relation P282
type Q2001982
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q36822 property:P282 ?k . { { ?k rdf:type ontology:Q9779 } UNION { ?k rdf:type ontology:Q2001982 } } } } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?w WHERE { { ?w property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 } UNION { ?w property:P282 ?b . ?b rdf:type ontology:Q9779 . ?w rdf:type ontology:Q34770 } } GROUP BY ?w } }
Slovincian language
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 alphabet
action count
action filter_multi_types
action find
entity Slovincian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Slovincian_language property:writing_system ?k . { { ?k rdf:type ontology:alphabet } UNION { ?k rdf:type ontology:notation } } } } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?w WHERE { { ?w property:writing_system ?b . ?b rdf:type ontology:notation . ?w rdf:type ontology:language } UNION { ?w property:writing_system ?b . ?b rdf:type ontology:alphabet . ?w rdf:type ontology:language } } GROUP BY ?w } }
[]
notation alphabet language
Q1860 Q447117 Q36708
SYSTEM
English, Old Egyptian, Norn
Q7102906 Q20832 Q20831 Q1133488 Q13414913 Q402878 Q36708 Q36741 Q35668 Q1669994 Q8785 Q35726 Q1321 Q21161949 Q25167 Q18130932 Q11732220 Q33976 Q856383 Q149838 Q47625 Q36822 Q33879 Q7362035 Q56472 Q6047309 Q8752 Q36178 Q9056 Q397 Q56512 Q35505 Q36957 Q25164 Q56982 Q35308 Q1860 Q36116 Q29977 Q837985 Q447117 Q7511561 Q33982
(c(Q34770),P282,c(Q2001982)|c(Q9779))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q36822
relation P282
type Q2001982
type Q9779
[ANSWERS]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q36822 property:P282 ?k . { { ?k rdf:type ontology:Q9779 } UNION { ?k rdf:type ontology:Q2001982 } } } } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?w WHERE { { ?w property:P282 ?b . ?b rdf:type ontology:Q2001982 . ?w rdf:type ontology:Q34770 } UNION { ?w property:P282 ?b . ?b rdf:type ontology:Q9779 . ?w rdf:type ontology:Q34770 } } GROUP BY ?w } }
Orizaba Nahuatl Wailaki language Cahto language Old Gutnish Simplified Chinese Middle Polish Norn Polabian Hittite Minoan language Armenian Etruscan Spanish Serbian written in Latin script Bokmål Traditional Chinese Archaic Greek Sardinian language Pictish Old Polish Burgundian Slovincian language Pangasinan language Roman Khowar Shuadit language Central Nahuatl Basque Nabataean language Czech Latin Anêm language Old Norse language Umbrian Nynorsk Judaeo-Portuguese Old Irish English Middle Irish Gaulish Middle High German Old Egyptian Sierra Puebla Nahuatl Low Prussian
English Old Egyptian Norn
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 alphabet
action count
action filter_multi_types
action find
entity Slovincian language
relation writing system
type notation
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Slovincian_language property:writing_system ?k . { { ?k rdf:type ontology:alphabet } UNION { ?k rdf:type ontology:notation } } } } . FILTER ( ?x = ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?x ) ?w WHERE { { ?w property:writing_system ?b . ?b rdf:type ontology:notation . ?w rdf:type ontology:language } UNION { ?w property:writing_system ?b . ?b rdf:type ontology:alphabet . ?w rdf:type ontology:language } } GROUP BY ?w } }
[]