Simple Question (Direct)
Simple Question
Q11728744
P102
Q7278
USER
Which political party is Juan Andrés Perelló Rodríguez a member of ?
(Q11728744,P102,c(Q7278))
action filter_type
action find
entity Q11728744
relation P102
type Q7278
['Q11728744', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7278 . resource:Q11728744 property:P102 ?k }
Juan Andrés Perelló Rodríguez
action filter_type
action find
entity Juan Andrés Perelló Rodríguez
relation member of political party
type political party
['Juan Andrés Perelló Rodríguez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_party . resource:Juan_Andrés_Perelló_Rodríguez property:member_of_political_party ?k }
[]
political party
Q138198
SYSTEM
Spanish Socialist Workers' Party
Q138198
(Q11728744,P102,c(Q7278))
action filter_type
action find
entity Q11728744
relation P102
type Q7278
[ANSWER] is Juan Andrés Perelló Rodríguez a member of
['Q11728744', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q7278 . resource:Q11728744 property:P102 ?k }
Spanish Socialist Workers' Party
Spanish Socialist Workers' Party is Juan Andrés Perelló Rodríguez a member of
Spanish Socialist Workers' Party
action filter_type
action find
entity Juan Andrés Perelló Rodríguez
relation member of political party
type political party
['Juan Andrés Perelló Rodríguez', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:political_party . resource:Juan_Andrés_Perelló_Rodríguez property:member_of_political_party ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11728744
P1412
Q34770
USER
Which language can Juan Andrés Perelló Rodríguez read ?
(Q11728744,P1412,c(Q34770))
action filter_type
action find
entity Q11728744
relation P1412
type Q34770
['Q11728744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q11728744 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Juan Andrés Perelló Rodríguez
action filter_type
action find
entity Juan Andrés Perelló Rodríguez
relation languages spoken, written or signed
type language
['Juan Andrés Perelló Rodríguez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Juan_Andrés_Perelló_Rodríguez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q11728744,P1412,c(Q34770))
action filter_type
action find
entity Q11728744
relation P1412
type Q34770
Juan Andrés Perelló Rodríguez can read in [ANSWER]
['Q11728744', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q11728744 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Spanish
Juan Andrés Perelló Rodríguez can read in Spanish
Spanish
action filter_type
action find
entity Juan Andrés Perelló Rodríguez
relation languages spoken, written or signed
type language
['Juan Andrés Perelló Rodríguez', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Juan_Andrés_Perelló_Rodríguez property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P2439
Q34770 Q1914636 Q341
USER
How many languages are linked with lesser number of activities and free software than that language ?
(c(Q1914636)|c(Q341),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q1914636
type Q341
[[{'concept': 'Q1914636'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q1914636 ) ( ontology:Q341 ) } . ?t rdf:type ?r } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P2439 resource:Q1321 . { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1914636 ) ( ontology:Q341 ) } } } } . FILTER ( ?c < ?k ) }
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type activity
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type activity
type free software
[[{'concept': 'activity'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:activity ) ( ontology:free_software ) } . ?t rdf:type ?r } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language resource:Spanish . { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:activity ) ( ontology:free_software ) } } } } . FILTER ( ?c < ?k ) }
[]
language activity free software
SYSTEM
10
Q36765 Q18130932 Q9056 Q13414913 Q652 Q8752 Q397 Q35505 Q25167 Q25164
(c(Q1914636)|c(Q341),P2439,c(Q34770))
action count
action less
action union
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q1914636
action find_reverse_tuple_counts
relation P2439
type Q34770
type Q341
action count
action filter_multi_types
action find_reverse
entity Q1321
relation P2439
type Q1914636
type Q341
[ANSWER]
[[{'concept': 'Q1914636'}, {'concept': 'Q341'}], 'P2439', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:Q1914636 ) ( ontology:Q341 ) } . ?t rdf:type ?r } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P2439 resource:Q1321 . { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:Q1914636 ) ( ontology:Q341 ) } } } } . FILTER ( ?c < ?k ) }
Demotic Traditional Chinese Czech Simplified Chinese Italian Basque Latin Old Norse language Bokmål Nynorsk
10
action count
action less
action union
action find_reverse_tuple_counts
relation language
type language
type activity
action find_reverse_tuple_counts
relation language
type language
type free software
action count
action filter_multi_types
action find_reverse
entity Spanish
relation language
type activity
type free software
[[{'concept': 'activity'}, {'concept': 'free software'}], 'language', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?w ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?t ) AS ?c ) WHERE { VALUES ( ?r ) { ( ontology:activity ) ( ontology:free_software ) } . ?t rdf:type ?r } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language resource:Spanish . { ?x rdf:type ?n . VALUES ( ?n ) { ( ontology:activity ) ( ontology:free_software ) } } } } . FILTER ( ?c < ?k ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q234460 Q14795564
USER
Which languages are the languages of work for atleast 9 texts or determinators for date of periodic occurrence ?
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
value 9
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:P407 ?n . ?w rdf:type ontology:Q234460 . ?n rdf:type ontology:Q34770 } UNION { ?w property:P407 ?n . ?n rdf:type ontology:Q34770 . ?w rdf:type ontology:Q14795564 } } GROUP BY ?n } . FILTER ( ?q >= 9 ) }
action atleast
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
value 9
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:language_of_work_or_name ?n . ?w rdf:type ontology:text . ?n rdf:type ontology:language } UNION { ?w property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?w rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?n } . FILTER ( ?q >= 9 ) }
[]
language text determinator for date of periodic occurrence
Q1860 Q1321 Q397
SYSTEM
English, Spanish, Latin
Q1860 Q1321 Q397
(c(Q234460)|c(Q14795564),P407,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q234460
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
value 9
[ANSWERS] are the languages of work for atleast 9 texts or determinators for date of periodic occurrence
[[{'concept': 'Q234460'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:P407 ?n . ?w rdf:type ontology:Q234460 . ?n rdf:type ontology:Q34770 } UNION { ?w property:P407 ?n . ?n rdf:type ontology:Q34770 . ?w rdf:type ontology:Q14795564 } } GROUP BY ?n } . FILTER ( ?q >= 9 ) }
English Spanish Latin
English, Spanish and Latin are the languages of work for atleast 9 texts or determinators for date of periodic occurrence
English Spanish Latin
action atleast
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type text
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
value 9
[[{'concept': 'text'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?q ) WHERE { { ?w property:language_of_work_or_name ?n . ?w rdf:type ontology:text . ?n rdf:type ontology:language } UNION { ?w property:language_of_work_or_name ?n . ?n rdf:type ontology:language . ?w rdf:type ontology:determinator_for_date_of_periodic_occurrence } } GROUP BY ?n } . FILTER ( ?q >= 9 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q21646574 Q11728744
P937 P20
Q56061
USER
Which administrative territories are the work locations of Juan Andrés Perelló Rodríguez or did the expiration of Guillaume Roels occur ?
OR((Q11728744,P937,c(Q56061)), (Q21646574,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11728744
relation P937
action find
entity Q21646574
relation P20
type Q56061
{'OR': [['Q11728744', 'P937', {'concept': 'Q56061'}], ['Q21646574', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q11728744 property:P937 ?o } UNION { resource:Q21646574 property:P20 ?o } } }
Guillaume Roels Juan Andrés Perelló Rodríguez
action filter_type
action union
action find
entity Juan Andrés Perelló Rodríguez
relation work location
action find
entity Guillaume Roels
relation place of death
type administrative territorial entity
{'OR': [['Juan Andrés Perelló Rodríguez', 'work location', {'concept': 'administrative territorial entity'}], ['Guillaume Roels', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Juan_Andrés_Perelló_Rodríguez property:work_location ?o } UNION { resource:Guillaume_Roels property:place_of_death ?o } } }
[]
administrative territorial entity
Q12892 Q239
SYSTEM
Antwerp, Brussels
Q12892 Q239
OR((Q11728744,P937,c(Q56061)), (Q21646574,P20,c(Q56061)))
action filter_type
action union
action find
entity Q11728744
relation P937
action find
entity Q21646574
relation P20
type Q56061
[ANSWERS] are the work locations of Juan Andrés Perelló Rodríguez or did the expiration of Guillaume Roels occur
{'OR': [['Q11728744', 'P937', {'concept': 'Q56061'}], ['Q21646574', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q56061 . { { resource:Q11728744 property:P937 ?o } UNION { resource:Q21646574 property:P20 ?o } } }
Antwerp Brussels
Antwerp and Brussels are the work locations of Juan Andrés Perelló Rodríguez or did the expiration of Guillaume Roels occur
Antwerp Brussels
action filter_type
action union
action find
entity Juan Andrés Perelló Rodríguez
relation work location
action find
entity Guillaume Roels
relation place of death
type administrative territorial entity
{'OR': [['Juan Andrés Perelló Rodríguez', 'work location', {'concept': 'administrative territorial entity'}], ['Guillaume Roels', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:administrative_territorial_entity . { { resource:Juan_Andrés_Perelló_Rodríguez property:work_location ?o } UNION { resource:Guillaume_Roels property:place_of_death ?o } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q507058
P937
Q502895
USER
Do Billy Walker have those administrative territories as work location ?
(Q507058,P937,Q12892) (Q507058,P937,Q239)
action is_in
entity prev_answer
action find
entity Q507058
relation P937
['Q507058', 'P937', 'Q12892'] ['Q507058', 'P937', 'Q239']
ASK WHERE { resource:Q507058 property:P937 ?j . VALUES ( ?j ) { ( resource:Q12892 ) ( resource:Q239 ) } }
Billy Walker
action is_in
entity prev_answer
action find
entity Billy Walker
relation work location
['Billy Walker', 'work location', 'Antwerp'] ['Billy Walker', 'work location', 'Brussels']
ASK WHERE { resource:Billy_Walker property:work_location ?j . VALUES ( ?j ) { ( resource:Antwerp ) ( resource:Brussels ) } }
[]
common name
SYSTEM
NO
(Q507058,P937,Q12892) (Q507058,P937,Q239)
action is_in
entity prev_answer
action find
entity Q507058
relation P937
[ANSWER]
['Q507058', 'P937', 'Q12892'] ['Q507058', 'P937', 'Q239']
ASK WHERE { resource:Q507058 property:P937 ?j . VALUES ( ?j ) { ( resource:Q12892 ) ( resource:Q239 ) } }
No
action is_in
entity prev_answer
action find
entity Billy Walker
relation work location
['Billy Walker', 'work location', 'Antwerp'] ['Billy Walker', 'work location', 'Brussels']
ASK WHERE { resource:Billy_Walker property:work_location ?j . VALUES ( ?j ) { ( resource:Antwerp ) ( resource:Brussels ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1860
P264
Q2031291
USER
Which release has English as its recording sponsor ?
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?j WHERE { ?j property:P264 resource:Q1860 . ?j rdf:type ontology:Q2031291 }
English
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?j WHERE { ?j property:record_label resource:English . ?j rdf:type ontology:release }
[]
release
Q7281317
SYSTEM
Radiosurgery
Q7281317
(c(Q2031291),P264,Q1860)
action filter_type
action find_reverse
entity Q1860
relation P264
type Q2031291
[ANSWER] has English as its recording sponsor
[{'concept': 'Q2031291'}, 'P264', 'Q1860']
SELECT DISTINCT ?j WHERE { ?j property:P264 resource:Q1860 . ?j rdf:type ontology:Q2031291 }
Radiosurgery
Radiosurgery has English as its recording sponsor
Radiosurgery
action filter_type
action find_reverse
entity English
relation record label
type release
[{'concept': 'release'}, 'record label', 'English']
SELECT DISTINCT ?j WHERE { ?j property:record_label resource:English . ?j rdf:type ontology:release }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1860
P361
Q5962346
USER
Which classification schemes are that language a part of ?
(Q7281317,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
['Q7281317', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
English
action filter_type
action find
entity English
relation part of
type classification scheme
['Radiosurgery', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]
classification scheme
Q1346342 Q5329170
SYSTEM
Anglic languages, Anglo-Frisian languages
Q1346342 Q5329170
(Q7281317,P361,c(Q5962346))
action filter_type
action find
entity Q1860
relation P361
type Q5962346
[ANSWERS] are that language a part of
['Q7281317', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ?k WHERE { resource:Q1860 property:P361 ?k . ?k rdf:type ontology:Q5962346 }
Anglic languages Anglo-Frisian languages
Anglic languages and Anglo-Frisian languages are that language a part of
Anglic languages Anglo-Frisian languages
action filter_type
action find
entity English
relation part of
type classification scheme
['Radiosurgery', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ?k WHERE { resource:English property:part_of ?k . ?k rdf:type ontology:classification_scheme }
[]