Simple Question (Direct)
Simple Question
Q4438009
P69
Q1244442
USER
Which school building was Brian Spalding educated at ?
(Q4438009,P69,c(Q1244442))
action filter_type
action find
entity Q4438009
relation P69
type Q1244442
['Q4438009', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1244442 . resource:Q4438009 property:P69 ?c }
Brian Spalding
action filter_type
action find
entity Brian Spalding
relation educated at
type school building
['Brian Spalding', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:school_building . resource:Brian_Spalding property:educated_at ?c }
[]
school building
Q73094
SYSTEM
The Queen's College
Q73094
(Q4438009,P69,c(Q1244442))
action filter_type
action find
entity Q4438009
relation P69
type Q1244442
Brian Spalding was educated at [ANSWER]
['Q4438009', 'P69', {'concept': 'Q1244442'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q1244442 . resource:Q4438009 property:P69 ?c }
The Queen's College
Brian Spalding was educated at The Queen's College
The Queen's College
action filter_type
action find
entity Brian Spalding
relation educated at
type school building
['Brian Spalding', 'educated at', {'concept': 'school building'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:school_building . resource:Brian_Spalding property:educated_at ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4438009
P21
Q290
USER
What is the sex of that person ?
(Q73094,P21,c(Q290))
action filter_type
action find
entity Q4438009
relation P21
type Q290
['Q73094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q4438009 property:P21 ?i }
Brian Spalding
action filter_type
action find
entity Brian Spalding
relation gender
type sex
["The Queen's College", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Brian_Spalding property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q73094,P21,c(Q290))
action filter_type
action find
entity Q4438009
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q73094', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q4438009 property:P21 ?i }
male
The sex of that person is a male
male
action filter_type
action find
entity Brian Spalding
relation gender
type sex
["The Queen's College", 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Brian_Spalding property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q73094
P1416
Q502895
USER
Which person has affliliation with The Queen's College ?
(c(Q502895),P1416,Q73094)
action filter_type
action find_reverse
entity Q73094
relation P1416
type Q502895
[{'concept': 'Q502895'}, 'P1416', 'Q73094']
SELECT DISTINCT ?x WHERE { ?x property:P1416 resource:Q73094 . ?x rdf:type ontology:Q502895 }
The Queen's College
action filter_type
action find_reverse
entity The Queen's College
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', "The Queen's College"]
SELECT DISTINCT ?x WHERE { ?x property:affiliation resource:The_Queen's_College . ?x rdf:type ontology:common_name }
[]
common name
Q27177306
SYSTEM
Morten L. Kringelbach
Q27177306
(c(Q502895),P1416,Q73094)
action filter_type
action find_reverse
entity Q73094
relation P1416
type Q502895
[ANSWER] has affliliation with The Queen's College
[{'concept': 'Q502895'}, 'P1416', 'Q73094']
SELECT DISTINCT ?x WHERE { ?x property:P1416 resource:Q73094 . ?x rdf:type ontology:Q502895 }
Morten L. Kringelbach
Morten L. Kringelbach has affliliation with The Queen's College
Morten L. Kringelbach
action filter_type
action find_reverse
entity The Queen's College
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', "The Queen's College"]
SELECT DISTINCT ?x WHERE { ?x property:affiliation resource:The_Queen's_College . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q73094
P669
Q34442
USER
What is the location of The Queen's College ?
(Q73094,P669,c(Q34442))
action filter_type
action find
entity Q73094
relation P669
type Q34442
['Q73094', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34442 . resource:Q73094 property:P669 ?u }
The Queen's College
action filter_type
action find
entity The Queen's College
relation located on street
type road
["The Queen's College", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:road . resource:The_Queen's_College property:located_on_street ?u }
[]
road
Q60282
SYSTEM
High Street
Q60282
(Q73094,P669,c(Q34442))
action filter_type
action find
entity Q73094
relation P669
type Q34442
The location of The Queen's College is on [ANSWER]
['Q73094', 'P669', {'concept': 'Q34442'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q34442 . resource:Q73094 property:P669 ?u }
High Street
The location of The Queen's College is on High Street
High Street
action filter_type
action find
entity The Queen's College
relation located on street
type road
["The Queen's College", 'located on street', {'concept': 'road'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:road . resource:The_Queen's_College property:located_on_street ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q73094
P108
Q502895
USER
Which person works for that school building ?
(c(Q502895),P108,Q60282)
action filter_type
action find_reverse
entity Q73094
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q60282']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q73094 . ?x rdf:type ontology:Q502895 }
The Queen's College
action filter_type
action find_reverse
entity The Queen's College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'High Street']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:The_Queen's_College . ?x rdf:type ontology:common_name }
[]
common name
Q6566859
SYSTEM
Jacqueline Anne Stedall
Q6566859
(c(Q502895),P108,Q60282)
action filter_type
action find_reverse
entity Q73094
relation P108
type Q502895
[ANSWER] works for that school building
[{'concept': 'Q502895'}, 'P108', 'Q60282']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q73094 . ?x rdf:type ontology:Q502895 }
Jacqueline Anne Stedall
Jacqueline Anne Stedall works for that school building
Jacqueline Anne Stedall
action filter_type
action find_reverse
entity The Queen's College
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'High Street']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:The_Queen's_College . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q73094
P20
Q502895
USER
Which person has The Queen's College as the location of death ?
(c(Q502895),P20,Q73094)
action filter_type
action find_reverse
entity Q73094
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q73094']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q73094 . ?u rdf:type ontology:Q502895 }
The Queen's College
action filter_type
action find_reverse
entity The Queen's College
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', "The Queen's College"]
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:The_Queen's_College . ?u rdf:type ontology:common_name }
[]
common name
Q16466702
SYSTEM
Joseph Smith
Q16466702
(c(Q502895),P20,Q73094)
action filter_type
action find_reverse
entity Q73094
relation P20
type Q502895
[ANSWER] has The Queen's College as the location of death
[{'concept': 'Q502895'}, 'P20', 'Q73094']
SELECT DISTINCT ?u WHERE { ?u property:P20 resource:Q73094 . ?u rdf:type ontology:Q502895 }
Joseph Smith
Joseph Smith has The Queen's College as the location of death
Joseph Smith
action filter_type
action find_reverse
entity The Queen's College
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', "The Queen's College"]
SELECT DISTINCT ?u WHERE { ?u property:place_of_death resource:The_Queen's_College . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16466702
P734
Q82799
USER
Which name is associated with that person ?
(Q16466702,P734,c(Q82799))
action filter_type
action find
entity Q16466702
relation P734
type Q82799
['Q16466702', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q16466702 property:P734 ?a }
Joseph Smith
action filter_type
action find
entity Joseph Smith
relation family name
type name
['Joseph Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Joseph_Smith property:family_name ?a }
[]
name
Q1158446
SYSTEM
Smith
Q1158446
(Q16466702,P734,c(Q82799))
action filter_type
action find
entity Q16466702
relation P734
type Q82799
[ANSWER] is associated with that person
['Q16466702', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q82799 . resource:Q16466702 property:P734 ?a }
Smith
Smith is associated with that person
Smith
action filter_type
action find
entity Joseph Smith
relation family name
type name
['Joseph Smith', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:name . resource:Joseph_Smith property:family_name ?a }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P138
Q15617994 Q12737077 Q82799
USER
How many names are named after around the same number of administrative territories or occupations as that name ?
(c(Q82799),P138,c(Q15617994)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q15617994
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q1158446
relation P138
type Q15617994
type Q12737077
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q1158446 property:P138 ?t . { { ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q15617994 } } } } . FILTER ( ?e = ?o ) }
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Smith
relation named after
type designation for an administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Smith property:named_after ?t . { { ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?e = ?o ) }
[]
designation for an administrative territorial entity occupation name
SYSTEM
23
Q23599481 Q16869665 Q1158446 Q1158882 Q11231408 Q24699545 Q15785531 Q5352294 Q813701 Q23783070 Q23995126 Q21501910 Q24451619 Q1260304 Q21493520 Q1882407 Q16860286 Q16865812 Q1755217 Q24689291 Q16148136 Q19899706 Q24229341
(c(Q82799),P138,c(Q15617994)|c(Q12737077))
action count
action approx
action union
action find_tuple_counts
relation P138
type Q82799
type Q15617994
action find_tuple_counts
relation P138
type Q82799
type Q12737077
action count
action filter_multi_types
action find
entity Q1158446
relation P138
type Q15617994
type Q12737077
[ANSWER]
[{'concept': 'Q82799'}, 'P138', [{'concept': 'Q15617994'}, {'concept': 'Q12737077'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:Q12737077 ) ( ontology:Q15617994 ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q1158446 property:P138 ?t . { { ?t rdf:type ontology:Q12737077 } UNION { ?t rdf:type ontology:Q15617994 } } } } . FILTER ( ?e = ?o ) }
Bouvier Draper Smith Fisher Fischer Saunier Barber Fisichella Becker Potier Mercier Boulanger Métivier Berger Bergmann MacGowan Boucher Couture Magowan Vigneron Archer Sawyer Toscano
23
action count
action approx
action union
action find_tuple_counts
relation named after
type name
type designation for an administrative territorial entity
action find_tuple_counts
relation named after
type name
type occupation
action count
action filter_multi_types
action find
entity Smith
relation named after
type designation for an administrative territorial entity
type occupation
[{'concept': 'name'}, 'named after', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'occupation'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?e ) WHERE { ?w rdf:type ?u . VALUES ( ?u ) { ( ontology:occupation ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Smith property:named_after ?t . { { ?t rdf:type ontology:occupation } UNION { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?e = ?o ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q8752
P407
Q34770 Q82799
USER
Which languages are less number of names in than Basque ?
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?y rdf:type ontology:Q34770 . ?h rdf:type ontology:Q82799 . ?h property:P407 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P407 resource:Q8752 . ?d rdf:type ontology:Q82799 } } . FILTER ( ?i < ?f ) }
Basque
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?y rdf:type ontology:language . ?h rdf:type ontology:name . ?h property:language_of_work_or_name ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:language_of_work_or_name resource:Basque . ?d rdf:type ontology:name } } . FILTER ( ?i < ?f ) }
[]
language name
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q33976 Q33879 Q10498031 Q397 Q37041 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q82799),P407,c(Q34770))
action less
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
action count
action filter_type
action find_reverse
entity Q8752
relation P407
type Q82799
[ANSWERS] are less number of names in than Basque
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?y rdf:type ontology:Q34770 . ?h rdf:type ontology:Q82799 . ?h property:P407 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:P407 resource:Q8752 . ?d rdf:type ontology:Q82799 } } . FILTER ( ?i < ?f ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Sardinian language Pangasinan language Old East Norse Latin classical Chinese Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are less number of names in than Basque
Old Egyptian Old Church Slavonic Etruscan
action less
action find_reverse_tuple_counts
relation language of work or name
type language
type name
action count
action filter_type
action find_reverse
entity Basque
relation language of work or name
type name
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?h ) AS ?i ) WHERE { ?y rdf:type ontology:language . ?h rdf:type ontology:name . ?h property:language_of_work_or_name ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?f ) WHERE { ?d property:language_of_work_or_name resource:Basque . ?d rdf:type ontology:name } } . FILTER ( ?i < ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q8192 Q2001982 Q34770
USER
How many languages are around 1 writing systems or notations the writing system of ?
(c(Q34770),P282,c(Q8192)|c(Q2001982))
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 Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 . ?h property:P282 ?f } UNION { ?h property:P282 ?f . ?h rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?h } }
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 notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h rdf:type ontology:language . ?f rdf:type ontology:writing_system . ?h property:writing_system ?f } UNION { ?h property:writing_system ?f . ?h rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?h } }
[]
writing system notation language
SYSTEM
7
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q8192)|c(Q2001982))
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 Q2001982
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q8192'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h rdf:type ontology:Q34770 . ?f rdf:type ontology:Q8192 . ?h property:P282 ?f } UNION { ?h property:P282 ?f . ?h rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?h } }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
7
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 notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'writing system'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { FILTER ( ?p = 1 ) . { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?p ) WHERE { { ?h rdf:type ontology:language . ?f rdf:type ontology:writing_system . ?h property:writing_system ?f } UNION { ?h property:writing_system ?f . ?h rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?h } }
[]