Simple Question (Direct)
Simple Question
Q3737841
P1412
Q34770
USER
Which language can Fabio Sturani read ?
(Q3737841,P1412,c(Q34770))
action filter_type
action find
entity Q3737841
relation P1412
type Q34770
['Q3737841', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q3737841 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Fabio Sturani
action filter_type
action find
entity Fabio Sturani
relation languages spoken, written or signed
type language
['Fabio Sturani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Fabio_Sturani property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q3737841,P1412,c(Q34770))
action filter_type
action find
entity Q3737841
relation P1412
type Q34770
Fabio Sturani can read in [ANSWER]
['Q3737841', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?w WHERE { resource:Q3737841 property:P1412 ?w . ?w rdf:type ontology:Q34770 }
Italian
Fabio Sturani can read in Italian
Italian
action filter_type
action find
entity Fabio Sturani
relation languages spoken, written or signed
type language
['Fabio Sturani', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?w WHERE { resource:Fabio_Sturani property:languages_spoken,_written_or_signed ?w . ?w rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3737841
P21
Q290
USER
Which sex does Fabio Sturani possess ?
(Q3737841,P21,c(Q290))
action filter_type
action find
entity Q3737841
relation P21
type Q290
['Q3737841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3737841 property:P21 ?t . ?t rdf:type ontology:Q290 }
Fabio Sturani
action filter_type
action find
entity Fabio Sturani
relation gender
type sex
['Fabio Sturani', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Fabio_Sturani property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3737841,P21,c(Q290))
action filter_type
action find
entity Q3737841
relation P21
type Q290
Fabio Sturani possesses a [ANSWER]
['Q3737841', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q3737841 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
Fabio Sturani possesses a male
male
action filter_type
action find
entity Fabio Sturani
relation gender
type sex
['Fabio Sturani', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Fabio_Sturani property:gender ?t . ?t rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q321083
P282
Q2001982 Q34770
USER
How many notations are the writing systems of more number of languages known as than Coptic alphabet ?
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q321083
relation P282
type Q2001982
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q321083 property:P282 ?u . ?u rdf:type ontology:Q2001982 } } . FILTER ( ?l > ?e ) }
Coptic alphabet
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Coptic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:writing_system ?y . ?y rdf:type ontology:notation . ?x rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Coptic_alphabet property:writing_system ?u . ?u rdf:type ontology:notation } } . FILTER ( ?l > ?e ) }
[]
notation language
SYSTEM
6
Q82772 Q8216 Q1771716 Q3322653 Q790681 Q401
(c(Q34770),P282,c(Q2001982))
action count
action greater
action find_reverse_tuple_counts
relation P282
type Q2001982
type Q34770
action count
action filter_type
action find
entity Q321083
relation P282
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q2001982'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:P282 ?y . ?y rdf:type ontology:Q2001982 . ?x rdf:type ontology:Q34770 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Q321083 property:P282 ?u . ?u rdf:type ontology:Q2001982 } } . FILTER ( ?l > ?e ) }
kanji Greek alphabet Pahlavi scripts Southwest Paleohispanic script Avestan alphabet cuneiform
6
action count
action greater
action find_reverse_tuple_counts
relation writing system
type notation
type language
action count
action filter_type
action find
entity Coptic alphabet
relation writing system
type notation
[{'concept': 'language'}, 'writing system', {'concept': 'notation'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?x ) AS ?l ) WHERE { ?x property:writing_system ?y . ?y rdf:type ontology:notation . ?x rdf:type ontology:language } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?e ) WHERE { resource:Coptic_alphabet property:writing_system ?u . ?u rdf:type ontology:notation } } . FILTER ( ?l > ?e ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3737841
P102
Q7210356
USER
Which party is Fabio Sturani affiliated with ?
(Q3737841,P102,c(Q7210356))
action filter_type
action find
entity Q3737841
relation P102
type Q7210356
['Q3737841', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3737841 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Fabio Sturani
action filter_type
action find
entity Fabio Sturani
relation member of political party
type political organization
['Fabio Sturani', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Fabio_Sturani property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q47729
SYSTEM
Democratic Party
Q47729
(Q3737841,P102,c(Q7210356))
action filter_type
action find
entity Q3737841
relation P102
type Q7210356
Fabio Sturani is affiliated with [ANSWER]
['Q3737841', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q3737841 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Democratic Party
Fabio Sturani is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Fabio Sturani
relation member of political party
type political organization
['Fabio Sturani', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Fabio_Sturani property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4941046
Q7210356
USER
And how about Bona Dussault?
(Q4941046,P102,c(Q7210356))
action filter_type
action find
entity Q4941046
relation P102
type Q7210356
['Q4941046', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q4941046 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Bona Dussault
action filter_type
action find
entity Bona Dussault
relation member of political party
type political organization
['Bona Dussault', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Bona_Dussault property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
political organization
Q1815983 Q2823686
SYSTEM
Union Nationale, Action libérale nationale
Q1815983 Q2823686
(Q4941046,P102,c(Q7210356))
action filter_type
action find
entity Q4941046
relation P102
type Q7210356
[ANSWERS]
['Q4941046', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?r WHERE { resource:Q4941046 property:P102 ?r . ?r rdf:type ontology:Q7210356 }
Union Nationale Action libérale nationale
Union Nationale Action libérale nationale
action filter_type
action find
entity Bona Dussault
relation member of political party
type political organization
['Bona Dussault', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?r WHERE { resource:Bona_Dussault property:member_of_political_party ?r . ?r rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q3771438
P102
Q502895
USER
Are Giuseppe Sercognani members of those political organizations ?
(Q3771438,P102,Q1815983) (Q3771438,P102,Q2823686)
action is_in
entity prev_answer
action find
entity Q3771438
relation P102
['Q3771438', 'P102', 'Q1815983'] ['Q3771438', 'P102', 'Q2823686']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1815983 ) ( resource:Q2823686 ) } . resource:Q3771438 property:P102 ?h }
Giuseppe Sercognani
action is_in
entity prev_answer
action find
entity Giuseppe Sercognani
relation member of political party
['Giuseppe Sercognani', 'member of political party', 'Union Nationale'] ['Giuseppe Sercognani', 'member of political party', 'Action libérale nationale']
ASK WHERE { VALUES ( ?h ) { ( resource:Union_Nationale ) ( resource:Action_libérale_nationale ) } . resource:Giuseppe_Sercognani property:member_of_political_party ?h }
[]
common name
SYSTEM
NO
(Q3771438,P102,Q1815983) (Q3771438,P102,Q2823686)
action is_in
entity prev_answer
action find
entity Q3771438
relation P102
[ANSWER]
['Q3771438', 'P102', 'Q1815983'] ['Q3771438', 'P102', 'Q2823686']
ASK WHERE { VALUES ( ?h ) { ( resource:Q1815983 ) ( resource:Q2823686 ) } . resource:Q3771438 property:P102 ?h }
No
action is_in
entity prev_answer
action find
entity Giuseppe Sercognani
relation member of political party
['Giuseppe Sercognani', 'member of political party', 'Union Nationale'] ['Giuseppe Sercognani', 'member of political party', 'Action libérale nationale']
ASK WHERE { VALUES ( ?h ) { ( resource:Union_Nationale ) ( resource:Action_libérale_nationale ) } . resource:Giuseppe_Sercognani property:member_of_political_party ?h }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6125526 Q3737841
P27
Q15617994
USER
Which administrative territories do Fabio Sturani or Jakub Holúbek belong to ?
OR((Q3737841,P27,c(Q15617994)), (Q6125526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3737841
relation P27
action find
entity Q6125526
relation P27
type Q15617994
{'OR': [['Q3737841', 'P27', {'concept': 'Q15617994'}], ['Q6125526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3737841 property:P27 ?a } UNION { resource:Q6125526 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Jakub Holúbek Fabio Sturani
action filter_type
action union
action find
entity Fabio Sturani
relation country of citizenship
action find
entity Jakub Holúbek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fabio Sturani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jakub Holúbek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Fabio_Sturani property:country_of_citizenship ?a } UNION { resource:Jakub_Holúbek property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q214
SYSTEM
Italy, Slovakia
Q38 Q214
OR((Q3737841,P27,c(Q15617994)), (Q6125526,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3737841
relation P27
action find
entity Q6125526
relation P27
type Q15617994
Fabio Sturani or Jakub Holúbek belong to [ANSWERS]
{'OR': [['Q3737841', 'P27', {'concept': 'Q15617994'}], ['Q6125526', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q3737841 property:P27 ?a } UNION { resource:Q6125526 property:P27 ?a } } . ?a rdf:type ontology:Q15617994 }
Italy Slovakia
Fabio Sturani or Jakub Holúbek belong to Italy and Slovakia
Italy Slovakia
action filter_type
action union
action find
entity Fabio Sturani
relation country of citizenship
action find
entity Jakub Holúbek
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Fabio Sturani', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Jakub Holúbek', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Fabio_Sturani property:country_of_citizenship ?a } UNION { resource:Jakub_Holúbek property:country_of_citizenship ?a } } . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]