Simple Question (Direct)
Simple Question
Q8962169
P1412
Q34770
USER
Which language can Francesc Escribano i Royo read ?
(Q8962169,P1412,c(Q34770))
action filter_type
action find
entity Q8962169
relation P1412
type Q34770
['Q8962169', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q8962169 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Francesc Escribano i Royo
action filter_type
action find
entity Francesc Escribano i Royo
relation languages spoken, written or signed
type language
['Francesc Escribano i Royo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Francesc_Escribano_i_Royo property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q8962169,P1412,c(Q34770))
action filter_type
action find
entity Q8962169
relation P1412
type Q34770
Francesc Escribano i Royo can read in [ANSWER]
['Q8962169', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q8962169 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Spanish
Francesc Escribano i Royo can read in Spanish
Spanish
action filter_type
action find
entity Francesc Escribano i Royo
relation languages spoken, written or signed
type language
['Francesc Escribano i Royo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Francesc_Escribano_i_Royo property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P103
Q34770 Q502895
USER
How many languages are native to less number of people than that language ?
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1321
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P103 resource:Q1321 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?x ) WHERE { ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 . ?f property:P103 ?d } GROUP BY ?d } }
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Spanish
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:native_language resource:Spanish . ?m rdf:type ontology:common_name } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?x ) WHERE { ?d rdf:type ontology:language . ?f rdf:type ontology:common_name . ?f property:native_language ?d } GROUP BY ?d } }
[]
language common name
SYSTEM
8
Q3200839 Q9056 Q652 Q8752 Q13211 Q397 Q8785 Q25164
(c(Q502895),P103,c(Q34770))
action count
action less
action find_reverse_tuple_counts
relation P103
type Q34770
type Q502895
action count
action filter_type
action find_reverse
entity Q1321
relation P103
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P103 resource:Q1321 . ?m rdf:type ontology:Q502895 } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?x ) WHERE { ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q502895 . ?f property:P103 ?d } GROUP BY ?d } }
Kwaza language Czech Italian Basque Ruthenian Latin Armenian Nynorsk
8
action count
action less
action find_reverse_tuple_counts
relation native language
type language
type common name
action count
action filter_type
action find_reverse
entity Spanish
relation native language
type common name
[{'concept': 'common name'}, 'native language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:native_language resource:Spanish . ?m rdf:type ontology:common_name } } . FILTER ( ?x < ?z ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?x ) WHERE { ?d rdf:type ontology:language . ?f rdf:type ontology:common_name . ?f property:native_language ?d } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q8962169
P21
Q290
USER
What is the sex of Francesc Escribano i Royo ?
(Q8962169,P21,c(Q290))
action filter_type
action find
entity Q8962169
relation P21
type Q290
['Q8962169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q8962169 property:P21 ?f . ?f rdf:type ontology:Q290 }
Francesc Escribano i Royo
action filter_type
action find
entity Francesc Escribano i Royo
relation gender
type sex
['Francesc Escribano i Royo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Francesc_Escribano_i_Royo property:gender ?f . ?f rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q8962169,P21,c(Q290))
action filter_type
action find
entity Q8962169
relation P21
type Q290
The sex of Francesc Escribano i Royo is [ANSWER]
['Q8962169', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?f WHERE { resource:Q8962169 property:P21 ?f . ?f rdf:type ontology:Q290 }
male
The sex of Francesc Escribano i Royo is male
male
action filter_type
action find
entity Francesc Escribano i Royo
relation gender
type sex
['Francesc Escribano i Royo', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?f WHERE { resource:Francesc_Escribano_i_Royo property:gender ?f . ?f rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P136
Q502895
USER
Which people have that sex as genre ?
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P136 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?l WHERE { ?l property:genre resource:male . ?l rdf:type ontology:common_name }
[]
common name
Q313288 Q18221191 Q23766532
SYSTEM
Augustus Pugin, Alessandro Gregorio Capponi, Pierre Laviron
Q19796723 Q23766532 Q313288 Q18221191
(c(Q502895),P136,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P136
type Q502895
[ANSWERS] have that sex as genre
[{'concept': 'Q502895'}, 'P136', 'Q6581097']
SELECT DISTINCT ?l WHERE { ?l property:P136 resource:Q6581097 . ?l rdf:type ontology:Q502895 }
Francesc Xavier Avilés i Puigvert Pierre Laviron Augustus Pugin Alessandro Gregorio Capponi
Augustus Pugin, Alessandro Gregorio Capponi and Pierre Laviron have that sex as genre
Augustus Pugin Alessandro Gregorio Capponi Pierre Laviron
action filter_type
action find_reverse
entity male
relation genre
type common name
[{'concept': 'common name'}, 'genre', 'male']
SELECT DISTINCT ?l WHERE { ?l property:genre resource:male . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4269998
P22
Q502895
USER
Who has Lucius Cornelius Cinna as a father ?
(c(Q502895),P22,Q4269998)
action filter_type
action find_reverse
entity Q4269998
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q4269998']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q4269998 . ?r rdf:type ontology:Q502895 }
Lucius Cornelius Cinna
action filter_type
action find_reverse
entity Lucius Cornelius Cinna
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lucius Cornelius Cinna']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Lucius_Cornelius_Cinna . ?r rdf:type ontology:common_name }
[]
common name
Q720358
SYSTEM
Lucius Cornelius Cinna
Q720358
(c(Q502895),P22,Q4269998)
action filter_type
action find_reverse
entity Q4269998
relation P22
type Q502895
[ANSWER] has [ANSWER] as a father
[{'concept': 'Q502895'}, 'P22', 'Q4269998']
SELECT DISTINCT ?r WHERE { ?r property:P22 resource:Q4269998 . ?r rdf:type ontology:Q502895 }
Lucius Cornelius Cinna
Lucius Cornelius Cinna has Lucius Cornelius Cinna as a father
Lucius Cornelius Cinna
action filter_type
action find_reverse
entity Lucius Cornelius Cinna
relation father
type common name
[{'concept': 'common name'}, 'father', 'Lucius Cornelius Cinna']
SELECT DISTINCT ?r WHERE { ?r property:father resource:Lucius_Cornelius_Cinna . ?r rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q313288
P40
Q502895
USER
Who is a child of Augustus Pugin ?
(Q313288,P40,c(Q502895))
action filter_type
action find
entity Q313288
relation P40
type Q502895
['Q313288', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q313288 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Augustus Pugin
action filter_type
action find
entity Augustus Pugin
relation child
type common name
['Augustus Pugin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Augustus_Pugin property:child ?y . ?y rdf:type ontology:common_name }
[]
common name
Q5289445
SYSTEM
E. W. Pugin
Q5289445
(Q313288,P40,c(Q502895))
action filter_type
action find
entity Q313288
relation P40
type Q502895
A child of Augustus Pugin is named [ANSWER]
['Q313288', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q313288 property:P40 ?y . ?y rdf:type ontology:Q502895 }
E. W. Pugin
A child of Augustus Pugin is named E. W. Pugin
E. W. Pugin
action filter_type
action find
entity Augustus Pugin
relation child
type common name
['Augustus Pugin', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Augustus_Pugin property:child ?y . ?y rdf:type ontology:common_name }
[]