Simple Question (Direct)
Simple Question
Q9027848
P734
Q82799
USER
Who is associated with Manolo Herrero ?
(Q9027848,P734,c(Q82799))
action filter_type
action find
entity Q9027848
relation P734
type Q82799
['Q9027848', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q9027848 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Manolo Herrero
action filter_type
action find
entity Manolo Herrero
relation family name
type name
['Manolo Herrero', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Manolo_Herrero property:family_name ?t . ?t rdf:type ontology:name }
[]
name
Q26736346
SYSTEM
Herrero
Q26736346
(Q9027848,P734,c(Q82799))
action filter_type
action find
entity Q9027848
relation P734
type Q82799
[ANSWER] is associated with Manolo [ANSWER]
['Q9027848', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { resource:Q9027848 property:P734 ?t . ?t rdf:type ontology:Q82799 }
Herrero
Herrero is associated with Manolo Herrero
Herrero
action filter_type
action find
entity Manolo Herrero
relation family name
type name
['Manolo Herrero', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { resource:Manolo_Herrero property:family_name ?t . ?t rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9027848
P19
Q56061
USER
Which administrative territory is the place of birth of Manolo Herrero ?
(Q9027848,P19,c(Q56061))
action filter_type
action find
entity Q9027848
relation P19
type Q56061
['Q9027848', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q9027848 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Manolo Herrero
action filter_type
action find
entity Manolo Herrero
relation place of birth
type administrative territorial entity
['Manolo Herrero', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Manolo_Herrero property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q528530
SYSTEM
Andújar
Q528530
(Q9027848,P19,c(Q56061))
action filter_type
action find
entity Q9027848
relation P19
type Q56061
[ANSWER] is the place of birth of Manolo Herrero
['Q9027848', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q9027848 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Andújar
Andújar is the place of birth of Manolo Herrero
Andújar
action filter_type
action find
entity Manolo Herrero
relation place of birth
type administrative territorial entity
['Manolo Herrero', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Manolo_Herrero property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9027848
P1412
Q34770
USER
Which language is spoken by that person ?
(Q528530,P1412,c(Q34770))
action filter_type
action find
entity Q9027848
relation P1412
type Q34770
['Q528530', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q9027848 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Manolo Herrero
action filter_type
action find
entity Manolo Herrero
relation languages spoken, written or signed
type language
['Andújar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Manolo_Herrero property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q528530,P1412,c(Q34770))
action filter_type
action find
entity Q9027848
relation P1412
type Q34770
[ANSWER] is spoken by that person
['Q528530', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?g WHERE { resource:Q9027848 property:P1412 ?g . ?g rdf:type ontology:Q34770 }
Spanish
Spanish is spoken by that person
Spanish
action filter_type
action find
entity Manolo Herrero
relation languages spoken, written or signed
type language
['Andújar', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?g WHERE { resource:Manolo_Herrero property:languages_spoken,_written_or_signed ?g . ?g rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P282
Q8192 Q34770
USER
Which languages utilizes more number of writing systems as the writing system than that language ?
(c(Q34770),P282,c(Q8192))
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e rdf:type ontology:Q34770 . ?b rdf:type ontology:Q8192 . ?e property:P282 ?b } GROUP BY ?e } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?v } } }
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e rdf:type ontology:language . ?b rdf:type ontology:writing_system . ?e property:writing_system ?b } GROUP BY ?e } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:language . resource:Spanish property:writing_system ?v } } }
[]
writing system language
Q182695 Q1669994
SYSTEM
Late Old Japanese, Minoan language
Q182695 Q1669994
(c(Q34770),P282,c(Q8192))
action greater
action find_tuple_counts
relation P282
type Q34770
type Q8192
action count
action filter_type
action find
entity Q1321
relation P282
type Q34770
[ANSWERS] utilize more number of writing systems as the writing system than that language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e rdf:type ontology:Q34770 . ?b rdf:type ontology:Q8192 . ?e property:P282 ?b } GROUP BY ?e } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:Q34770 . resource:Q1321 property:P282 ?v } } }
Late Old Japanese Minoan language
Late Old Japanese and Minoan language utilize more number of writing systems as the writing system than that language
Late Old Japanese Minoan language
action greater
action find_tuple_counts
relation writing system
type language
type writing system
action count
action filter_type
action find
entity Spanish
relation writing system
type language
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?b ) AS ?u ) WHERE { ?e rdf:type ontology:language . ?b rdf:type ontology:writing_system . ?e property:writing_system ?b } GROUP BY ?e } . FILTER ( ?u > ?z ) . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v rdf:type ontology:language . resource:Spanish property:writing_system ?v } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q56437 Q182695
P282
Q2001982
USER
Which notations are the writing systems used for Late Old Japanese or Sindarin ?
OR((Q182695,P282,c(Q2001982)), (Q56437,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q182695
relation P282
action find
entity Q56437
relation P282
type Q2001982
{'OR': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q56437', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q182695 property:P282 ?n } UNION { resource:Q56437 property:P282 ?n } } . ?n rdf:type ontology:Q2001982 }
Sindarin Late Old Japanese
action filter_type
action union
action find
entity Late Old Japanese
relation writing system
action find
entity Sindarin
relation writing system
type notation
{'OR': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Sindarin', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Late_Old_Japanese property:writing_system ?n } UNION { resource:Sindarin property:writing_system ?n } } . ?n rdf:type ontology:notation }
[]
notation
Q82772 Q473725 Q2003257
SYSTEM
kanji, Tengwar, Cirth
Q82772 Q473725 Q2003257
OR((Q182695,P282,c(Q2001982)), (Q56437,P282,c(Q2001982)))
action filter_type
action union
action find
entity Q182695
relation P282
action find
entity Q56437
relation P282
type Q2001982
[ANSWERS] are the writing systems used for Late Old Japanese or Sindarin
{'OR': [['Q182695', 'P282', {'concept': 'Q2001982'}], ['Q56437', 'P282', {'concept': 'Q2001982'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Q182695 property:P282 ?n } UNION { resource:Q56437 property:P282 ?n } } . ?n rdf:type ontology:Q2001982 }
kanji Tengwar Cirth
Kanji, Tengwar and Cirth are the writing systems used for Late Old Japanese or Sindarin
kanji Tengwar Cirth
action filter_type
action union
action find
entity Late Old Japanese
relation writing system
action find
entity Sindarin
relation writing system
type notation
{'OR': [['Late Old Japanese', 'writing system', {'concept': 'notation'}], ['Sindarin', 'writing system', {'concept': 'notation'}]]}
SELECT DISTINCT ?n WHERE { { { resource:Late_Old_Japanese property:writing_system ?n } UNION { resource:Sindarin property:writing_system ?n } } . ?n rdf:type ontology:notation }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P282
Q34770
USER
How many languages adopt that notation as the writing system ?
(c(Q34770),P282,Q82772)
[{'concept': 'Q34770'}, 'P282', 'Q82772']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q82772 . ?z rdf:type ontology:Q34770 }
[{'concept': 'language'}, 'writing system', 'kanji']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:kanji . ?z rdf:type ontology:language }
[]
language
Quantitative|Count|Single entity type|Clarification
Q82772
SYSTEM
Did you mean kanji ?
(c(Q34770),P282,Q82772) (c(Q34770),P282,Q473725) (c(Q34770),P282,Q2003257)
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q82772'] [{'concept': 'Q34770'}, 'P282', 'Q473725'] [{'concept': 'Q34770'}, 'P282', 'Q2003257']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q82772 . ?z rdf:type ontology:Q34770 }
Did you mean kanji ?
kanji
[{'concept': 'language'}, 'writing system', 'kanji'] [{'concept': 'language'}, 'writing system', 'Tengwar'] [{'concept': 'language'}, 'writing system', 'Cirth']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:kanji . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q34770),P282,Q82772)
[{'concept': 'Q34770'}, 'P282', 'Q82772']
[{'concept': 'language'}, 'writing system', 'kanji']
[]
SYSTEM
1
Q182695
(c(Q34770),P282,Q82772)
[ANSWER]
[{'concept': 'Q34770'}, 'P282', 'Q82772']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:Q8192 resource:Q82772 . ?z rdf:type ontology:Q34770 }
Late Old Japanese
1
[{'concept': 'language'}, 'writing system', 'kanji']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:writing_system resource:kanji . ?z rdf:type ontology:language }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q502895 Q1445650 Q56061
USER
How many administrative territories are exactly 2 people and holidays a patron saint of ?
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?h } }
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?h } }
[]
common name holiday administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q502895)|c(Q1445650))
action count
action equal
action union
action find_tuple_counts
relation P417
type Q56061
type Q502895
action find_tuple_counts
relation P417
type Q56061
type Q1445650
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q502895'}, {'concept': 'Q1445650'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:Q502895 ) ( ontology:Q1445650 ) } } GROUP BY ?h } }
Brinzio Rome
2
action count
action equal
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'common name'}, {'concept': 'holiday'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?x ) WHERE { FILTER ( ?m = 2 ) . { SELECT DISTINCT ?h ( COUNT ( ?t ) AS ?m ) WHERE { ?t rdf:type ?i . VALUES ( ?i ) { ( ontology:common_name ) ( ontology:holiday ) } } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q82772
P144
Q25295
USER
Which language family is kanji a fork of ?
(Q82772,P144,c(Q25295))
action filter_type
action find
entity Q82772
relation P144
type Q25295
['Q82772', 'P144', {'concept': 'Q25295'}]
SELECT DISTINCT ?m WHERE { resource:Q82772 property:P144 ?m . ?m rdf:type ontology:Q25295 }
kanji
action filter_type
action find
entity kanji
relation based on
type language family
['kanji', 'based on', {'concept': 'language family'}]
SELECT DISTINCT ?m WHERE { resource:kanji property:based_on ?m . ?m rdf:type ontology:language_family }
[]
language family
Q8201
SYSTEM
Chinese characters
Q8201
(Q82772,P144,c(Q25295))
action filter_type
action find
entity Q82772
relation P144
type Q25295
The [ANSWER] is kanji a fork of
['Q82772', 'P144', {'concept': 'Q25295'}]
SELECT DISTINCT ?m WHERE { resource:Q82772 property:P144 ?m . ?m rdf:type ontology:Q25295 }
Chinese characters
The Chinese characters is kanji a fork of
Chinese characters
action filter_type
action find
entity kanji
relation based on
type language family
['kanji', 'based on', {'concept': 'language family'}]
SELECT DISTINCT ?m WHERE { resource:kanji property:based_on ?m . ?m rdf:type ontology:language_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8201
P361
Q80071
USER
Which symbol is a portion of that language family ?
(c(Q80071),P361,Q8201)
action filter_type
action find_reverse
entity Q8201
relation P361
type Q80071
[{'concept': 'Q80071'}, 'P361', 'Q8201']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q80071 . ?o property:P361 resource:Q8201 }
Chinese characters
action filter_type
action find_reverse
entity Chinese characters
relation part of
type symbol
[{'concept': 'symbol'}, 'part of', 'Chinese characters']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:symbol . ?o property:part_of resource:Chinese_characters }
[]
symbol
Q215191
SYSTEM
227 Radikale
Q215191
(c(Q80071),P361,Q8201)
action filter_type
action find_reverse
entity Q8201
relation P361
type Q80071
[ANSWER] is a portion of that language family
[{'concept': 'Q80071'}, 'P361', 'Q8201']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q80071 . ?o property:P361 resource:Q8201 }
227 Radikale
227 Radikale is a portion of that language family
227 Radikale
action filter_type
action find_reverse
entity Chinese characters
relation part of
type symbol
[{'concept': 'symbol'}, 'part of', 'Chinese characters']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:symbol . ?o property:part_of resource:Chinese_characters }
[]