Simple Question (Direct)
Simple Question
Q5264817
P264
Q334453
USER
What is the record label of Desmond Williams ?
(Q5264817,P264,c(Q334453))
action filter_type
action find
entity Q5264817
relation P264
type Q334453
['Q5264817', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q334453 . resource:Q5264817 property:P264 ?k }
Desmond Williams
action filter_type
action find
entity Desmond Williams
relation record label
type division
['Desmond Williams', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:division . resource:Desmond_Williams property:record_label ?k }
[]
division
Q3415062
SYSTEM
RAS Records
Q3415062
(Q5264817,P264,c(Q334453))
action filter_type
action find
entity Q5264817
relation P264
type Q334453
The record label of Desmond Williams is the [ANSWER]
['Q5264817', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q334453 . resource:Q5264817 property:P264 ?k }
RAS Records
The record label of Desmond Williams is the RAS Records
RAS Records
action filter_type
action find
entity Desmond Williams
relation record label
type division
['Desmond Williams', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:division . resource:Desmond_Williams property:record_label ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5264817
P734
Q82799
USER
Who is associated with Desmond Williams ?
(Q5264817,P734,c(Q82799))
action filter_type
action find
entity Q5264817
relation P734
type Q82799
['Q5264817', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5264817 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Desmond Williams
action filter_type
action find
entity Desmond Williams
relation family name
type name
['Desmond Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Desmond_Williams property:family_name ?d . ?d rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q5264817,P734,c(Q82799))
action filter_type
action find
entity Q5264817
relation P734
type Q82799
Desmond [ANSWER] is associated with Desmond [ANSWER]
['Q5264817', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q5264817 property:P734 ?d . ?d rdf:type ontology:Q82799 }
Williams
Desmond Williams is associated with Desmond Williams
Williams
action filter_type
action find
entity Desmond Williams
relation family name
type name
['Desmond Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:Desmond_Williams property:family_name ?d . ?d rdf:type ontology:name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1688722 Q48612
P407
Q34770
USER
Is Williams composed in synthetic language ?
(Q1688722,P407,Q48612)
action is_in
entity Q48612
action find
entity Q1688722
relation P407
['Q1688722', 'P407', 'Q48612']
ASK WHERE { resource:Q1688722 property:P407 resource:Q48612 }
Williams synthetic language
action is_in
entity synthetic language
action find
entity Williams
relation language of work or name
['Williams', 'language of work or name', 'synthetic language']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:synthetic_language }
[]
language
SYSTEM
NO
(Q1688722,P407,Q48612)
action is_in
entity Q48612
action find
entity Q1688722
relation P407
[ANSWER]
['Q1688722', 'P407', 'Q48612']
ASK WHERE { resource:Q1688722 property:P407 resource:Q48612 }
No
action is_in
entity synthetic language
action find
entity Williams
relation language of work or name
['Williams', 'language of work or name', 'synthetic language']
ASK WHERE { resource:Williams property:language_of_work_or_name resource:synthetic_language }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17610443 Q1688722
P407
Q34770
USER
Which languages are Williams and Dutch sheep contaminated by bluetongue in ?
AND((Q1688722,P407,c(Q34770)), (Q17610443,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q1688722
relation P407
action find
entity Q17610443
relation P407
type Q34770
{'AND': [['Q1688722', 'P407', {'concept': 'Q34770'}], ['Q17610443', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q1688722 property:P407 ?x . resource:Q17610443 property:P407 ?x }
Dutch sheep contaminated by bluetongue Williams
action filter_type
action intersection
action find
entity Williams
relation language of work or name
action find
entity Dutch sheep contaminated by bluetongue
relation language of work or name
type language
{'AND': [['Williams', 'language of work or name', {'concept': 'language'}], ['Dutch sheep contaminated by bluetongue', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Williams property:language_of_work_or_name ?x . resource:Dutch_sheep_contaminated_by_bluetongue property:language_of_work_or_name ?x }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q1688722,P407,c(Q34770)), (Q17610443,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q1688722
relation P407
action find
entity Q17610443
relation P407
type Q34770
[ANSWER] is Williams and Dutch sheep contaminated by bluetongue in
{'AND': [['Q1688722', 'P407', {'concept': 'Q34770'}], ['Q17610443', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q34770 . resource:Q1688722 property:P407 ?x . resource:Q17610443 property:P407 ?x }
English
English is Williams and Dutch sheep contaminated by bluetongue in
English
action filter_type
action intersection
action find
entity Williams
relation language of work or name
action find
entity Dutch sheep contaminated by bluetongue
relation language of work or name
type language
{'AND': [['Williams', 'language of work or name', {'concept': 'language'}], ['Dutch sheep contaminated by bluetongue', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:language . resource:Williams property:language_of_work_or_name ?x . resource:Dutch_sheep_contaminated_by_bluetongue property:language_of_work_or_name ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P282
Q8192 Q9779 Q34770
USER
How many languages use approximately the same number of writing systems and alphabets as the writing system as that language ?
(c(Q34770),P282,c(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q9779
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:Q34770 . ?z rdf:type ontology:Q8192 . ?e property:P282 ?z } UNION { ?e property:P282 ?z . ?e rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q1860 property:P282 ?l . { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?m = ?r ) }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:language . ?z rdf:type ontology:writing_system . ?e property:writing_system ?z } UNION { ?e property:writing_system ?z . ?e rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:English property:writing_system ?l . { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?m = ?r ) }
[]
writing system alphabet 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(Q8192)|c(Q9779))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q8192
action find_tuple_counts
relation P282
type Q34770
type Q9779
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q8192
type Q9779
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q9779'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:Q34770 . ?z rdf:type ontology:Q8192 . ?e property:P282 ?z } UNION { ?e property:P282 ?z . ?e rdf:type ontology:Q34770 . ?z rdf:type ontology:Q9779 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:Q1860 property:P282 ?l . { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:Q8192 ) ( ontology:Q9779 ) } } } } . FILTER ( ?m = ?r ) }
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 writing system
action find_tuple_counts
relation writing system
type language
type alphabet
action count
action filter_multi_types
action find
entity English
relation writing system
type writing system
type alphabet
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'alphabet'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?b ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?z ) AS ?m ) WHERE { { ?e rdf:type ontology:language . ?z rdf:type ontology:writing_system . ?e property:writing_system ?z } UNION { ?e property:writing_system ?z . ?e rdf:type ontology:language . ?z rdf:type ontology:alphabet } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { resource:English property:writing_system ?l . { ?l rdf:type ?w . VALUES ( ?w ) { ( ontology:writing_system ) ( ontology:alphabet ) } } } } . FILTER ( ?m = ?r ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q17658795 Q17610443
P407
Q34770
USER
Which languages are the languages of work for Dutch sheep contaminated by bluetongue and Ontario Votes 2007: Interview with Green candidate Russ Aegard ?
AND((Q17610443,P407,c(Q34770)), (Q17658795,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q17610443
relation P407
action find
entity Q17658795
relation P407
type Q34770
{'AND': [['Q17610443', 'P407', {'concept': 'Q34770'}], ['Q17658795', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17610443 property:P407 ?e . resource:Q17658795 property:P407 ?e . ?e rdf:type ontology:Q34770 }
Ontario Votes 2007: Interview with Green candidate Russ Aegard Dutch sheep contaminated by bluetongue
action filter_type
action intersection
action find
entity Dutch sheep contaminated by bluetongue
relation language of work or name
action find
entity Ontario Votes 2007: Interview with Green candidate Russ Aegard
relation language of work or name
type language
{'AND': [['Dutch sheep contaminated by bluetongue', 'language of work or name', {'concept': 'language'}], ['Ontario Votes 2007: Interview with Green candidate Russ Aegard', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { resource:Dutch_sheep_contaminated_by_bluetongue property:language_of_work_or_name ?e . resource:Ontario_Votes_2007:_Interview_with_Green_candidate_Russ_Aegard property:language_of_work_or_name ?e . ?e rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q17610443,P407,c(Q34770)), (Q17658795,P407,c(Q34770)))
action filter_type
action intersection
action find
entity Q17610443
relation P407
action find
entity Q17658795
relation P407
type Q34770
[ANSWER] is the languages of work for Dutch sheep contaminated by bluetongue and Ontario Votes 2007: Interview with Green candidate Russ Aegard
{'AND': [['Q17610443', 'P407', {'concept': 'Q34770'}], ['Q17658795', 'P407', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?e WHERE { resource:Q17610443 property:P407 ?e . resource:Q17658795 property:P407 ?e . ?e rdf:type ontology:Q34770 }
English
English is the languages of work for Dutch sheep contaminated by bluetongue and Ontario Votes 2007: Interview with Green candidate Russ Aegard
English
action filter_type
action intersection
action find
entity Dutch sheep contaminated by bluetongue
relation language of work or name
action find
entity Ontario Votes 2007: Interview with Green candidate Russ Aegard
relation language of work or name
type language
{'AND': [['Dutch sheep contaminated by bluetongue', 'language of work or name', {'concept': 'language'}], ['Ontario Votes 2007: Interview with Green candidate Russ Aegard', 'language of work or name', {'concept': 'language'}]]}
SELECT DISTINCT ?e WHERE { resource:Dutch_sheep_contaminated_by_bluetongue property:language_of_work_or_name ?e . resource:Ontario_Votes_2007:_Interview_with_Green_candidate_Russ_Aegard property:language_of_work_or_name ?e . ?e rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5264817
P136
Q151885
USER
What is the genre of Desmond Williams ?
(Q5264817,P136,c(Q151885))
action filter_type
action find
entity Q5264817
relation P136
type Q151885
['Q5264817', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q5264817 property:P136 ?u . ?u rdf:type ontology:Q151885 }
Desmond Williams
action filter_type
action find
entity Desmond Williams
relation genre
type concept
['Desmond Williams', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Desmond_Williams property:genre ?u . ?u rdf:type ontology:concept }
[]
concept
Q9778
SYSTEM
electronic music
Q9778
(Q5264817,P136,c(Q151885))
action filter_type
action find
entity Q5264817
relation P136
type Q151885
The genre of Desmond Williams is an [ANSWER]
['Q5264817', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?u WHERE { resource:Q5264817 property:P136 ?u . ?u rdf:type ontology:Q151885 }
electronic music
The genre of Desmond Williams is an electronic music
electronic music
action filter_type
action find
entity Desmond Williams
relation genre
type concept
['Desmond Williams', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?u WHERE { resource:Desmond_Williams property:genre ?u . ?u rdf:type ontology:concept }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2553084
Q151885
USER
And how about Wayne Horvitz?
(Q2553084,P136,c(Q151885))
action filter_type
action find
entity Q2553084
relation P136
type Q151885
['Q2553084', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q2553084 property:P136 ?l }
Wayne Horvitz
action filter_type
action find
entity Wayne Horvitz
relation genre
type concept
['Wayne Horvitz', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Wayne_Horvitz property:genre ?l }
[]
concept
Q8341
SYSTEM
jazz
Q8341
(Q2553084,P136,c(Q151885))
action filter_type
action find
entity Q2553084
relation P136
type Q151885
[ANSWER]
['Q2553084', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q151885 . resource:Q2553084 property:P136 ?l }
jazz
jazz
action filter_type
action find
entity Wayne Horvitz
relation genre
type concept
['Wayne Horvitz', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:concept . resource:Wayne_Horvitz property:genre ?l }
[]