Simple Question (Direct)
Simple Question
Q1679187
P21
Q290
USER
Which sex does Jakob Kõrv have ?
(Q1679187,P21,c(Q290))
action filter_type
action find
entity Q1679187
relation P21
type Q290
['Q1679187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1679187 property:P21 ?k . ?k rdf:type ontology:Q290 }
Jakob Kõrv
action filter_type
action find
entity Jakob Kõrv
relation gender
type sex
['Jakob Kõrv', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jakob_Kõrv property:gender ?k . ?k rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1679187,P21,c(Q290))
action filter_type
action find
entity Q1679187
relation P21
type Q290
Jakob Kõrv has s [ANSWER]
['Q1679187', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { resource:Q1679187 property:P21 ?k . ?k rdf:type ontology:Q290 }
male
Jakob Kõrv has s male
male
action filter_type
action find
entity Jakob Kõrv
relation gender
type sex
['Jakob Kõrv', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { resource:Jakob_Kõrv property:gender ?k . ?k rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P138
Q7946
USER
Which minerals have that sex as their namesake ?
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q6581097 . ?t rdf:type ontology:Q7946 }
male
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:male . ?t rdf:type ontology:mineral }
[]
mineral
Q19861020 Q19861231 Q4006570
SYSTEM
mendeleevite-(Ce), reynoldsite, urusovite
Q19861020 Q18375263 Q19862060 Q19861231 Q4006570 Q3565842 Q19833301
(c(Q7946),P138,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[ANSWERS] have that sex as their namesake
[{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ?t WHERE { ?t property:P138 resource:Q6581097 . ?t rdf:type ontology:Q7946 }
mendeleevite-(Ce) billwiseite witzkeite reynoldsite urusovite zirkelite carlosbarbosaite
Mendeleevite-(Ce), reynoldsite and urusovite have that sex as their namesake
mendeleevite-(Ce) reynoldsite urusovite
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ?t WHERE { ?t property:named_after resource:male . ?t rdf:type ontology:mineral }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19861020
P2695
Q15324
USER
Which body of water is the locality where mendeleevite-(Ce) is found ?
(Q19861020,P2695,c(Q15324))
action filter_type
action find
entity Q19861020
relation P2695
type Q15324
['Q19861020', 'P2695', {'concept': 'Q15324'}]
SELECT DISTINCT ?o WHERE { resource:Q19861020 property:P2695 ?o . ?o rdf:type ontology:Q15324 }
mendeleevite-(Ce)
action filter_type
action find
entity mendeleevite-(Ce)
relation type locality
type body of water
['mendeleevite-(Ce)', 'type locality', {'concept': 'body of water'}]
SELECT DISTINCT ?o WHERE { resource:mendeleevite-(Ce) property:type_locality ?o . ?o rdf:type ontology:body_of_water }
[]
body of water
Q23803396
SYSTEM
Darai-Pioz glacier
Q23803396
(Q19861020,P2695,c(Q15324))
action filter_type
action find
entity Q19861020
relation P2695
type Q15324
[ANSWER] is the locality where mendeleevite-(Ce) is found
['Q19861020', 'P2695', {'concept': 'Q15324'}]
SELECT DISTINCT ?o WHERE { resource:Q19861020 property:P2695 ?o . ?o rdf:type ontology:Q15324 }
Darai-Pioz glacier
Darai-Pioz glacier is the locality where mendeleevite-(Ce) is found
Darai-Pioz glacier
action filter_type
action find
entity mendeleevite-(Ce)
relation type locality
type body of water
['mendeleevite-(Ce)', 'type locality', {'concept': 'body of water'}]
SELECT DISTINCT ?o WHERE { resource:mendeleevite-(Ce) property:type_locality ?o . ?o rdf:type ontology:body_of_water }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P2695
Q8063 Q271669 Q7946
USER
How many minerals are found naturally occuring in approximately 1 rocks or landforms ?
(c(Q7946),P2695,c(Q8063)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q7946
type Q8063
action find_tuple_counts
relation P2695
type Q7946
type Q271669
value 1
[{'concept': 'Q7946'}, 'P2695', [{'concept': 'Q8063'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?f ) WHERE { { ?y property:P2695 ?d . ?d rdf:type ontology:Q271669 . ?y rdf:type ontology:Q7946 } UNION { ?y rdf:type ontology:Q7946 . ?d rdf:type ontology:Q8063 . ?y property:P2695 ?d } } GROUP BY ?y } . FILTER ( ?f = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral
type rock
action find_tuple_counts
relation type locality
type mineral
type landform
value 1
[{'concept': 'mineral'}, 'type locality', [{'concept': 'rock'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?f ) WHERE { { ?y property:type_locality ?d . ?d rdf:type ontology:landform . ?y rdf:type ontology:mineral } UNION { ?y rdf:type ontology:mineral . ?d rdf:type ontology:rock . ?y property:type_locality ?d } } GROUP BY ?y } . FILTER ( ?f = 1 ) }
[]
rock landform mineral
SYSTEM
65
Q19860940 Q1123536 Q20725285 Q3840566 Q19861233 Q19833333 Q3786844 Q5285790 Q430121 Q19861167 Q3641428 Q2896182 Q19810708 Q19862084 Q2235552 Q3898814 Q3896126 Q3979101 Q3985309 Q19861080 Q3941909 Q3893220 Q19862072 Q413857 Q20821468 Q19860925 Q1656448 Q3787801 Q4015995 Q3968163 Q3862539 Q20829898 Q19861173 Q19861246 Q430065 Q3855102 Q409419 Q2160725 Q19862064 Q19861042 Q7795558 Q4019730 Q19861292 Q19860936 Q19861291 Q19799664 Q3866720 Q3959350 Q5381929 Q19861226 Q19833359 Q19833527 Q26980863 Q26980862 Q3856368 Q19862053 Q19860874 Q21680719 Q3944302 Q3870024 Q3899416 Q23894782 Q3817313 Q3906779 Q411587
(c(Q7946),P2695,c(Q8063)|c(Q271669))
action count
action approx
action union
action find_tuple_counts
relation P2695
type Q7946
type Q8063
action find_tuple_counts
relation P2695
type Q7946
type Q271669
value 1
[ANSWER]
[{'concept': 'Q7946'}, 'P2695', [{'concept': 'Q8063'}, {'concept': 'Q271669'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?f ) WHERE { { ?y property:P2695 ?d . ?d rdf:type ontology:Q271669 . ?y rdf:type ontology:Q7946 } UNION { ?y rdf:type ontology:Q7946 . ?d rdf:type ontology:Q8063 . ?y property:P2695 ?d } } GROUP BY ?y } . FILTER ( ?f = 1 ) }
lecoqite-(Y) reederite-(Y) nolzeite lukechangite-(Ce) rickturnerite chukanovite horváthite-(Y) dmitryivanovite krotite peatite-(Y) bobkingite grossite bussyite-(Y) znamenskyite adamsite-(Y) peisleyite parkinsonite symesite tetrataenite niveolanite rouvilleite panethite yeomanite brianite decagonite laachite icosahedrite hydrodresserite voggite stanfieldite montroyalite czochralskiite peterandresenite rumseyite cupalite mereheadite khatyrkite wassonite xenophyllite moraskoite thomasclarkite-(Y) wightmanite steinhardtite laurentianite steedeite arisite-(La) moydite-(Y) sheldrickite eosphorite ramikite-(Y) cuprokalininite ellingsenite stolperite hollisterite micheelsenite wernerkrauseite kapundaite charleshatchettite sabinaite nalipoite peprossiite-(Ce) hansesmarkite kukharenkoite-(Ce) plumbonacrite rheniite
65
action count
action approx
action union
action find_tuple_counts
relation type locality
type mineral
type rock
action find_tuple_counts
relation type locality
type mineral
type landform
value 1
[{'concept': 'mineral'}, 'type locality', [{'concept': 'rock'}, {'concept': 'landform'}]]
SELECT DISTINCT ( COUNT ( ?y ) AS ?c ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?f ) WHERE { { ?y property:type_locality ?d . ?d rdf:type ontology:landform . ?y rdf:type ontology:mineral } UNION { ?y rdf:type ontology:mineral . ?d rdf:type ontology:rock . ?y property:type_locality ?d } } GROUP BY ?y } . FILTER ( ?f = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q19861231
P138
Q290 Q502895
USER
How many sexes or people are the etymology of reynoldsite ?
(Q19861231,P138,c(Q290)) (Q19861231,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q19861231
relation P138
type Q290
action filter_type
action find
entity Q19861231
relation P138
type Q502895
['Q19861231', 'P138', {'concept': 'Q290'}] ['Q19861231', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q290 ) ( ontology:Q502895 ) } }
reynoldsite
action count
action union
action filter_type
action find
entity reynoldsite
relation named after
type sex
action filter_type
action find
entity reynoldsite
relation named after
type common name
['reynoldsite', 'named after', {'concept': 'sex'}] ['reynoldsite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:sex ) ( ontology:common_name ) } }
[]
sex common name
SYSTEM
2
Q6581097 Q24445136
(Q19861231,P138,c(Q290)) (Q19861231,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q19861231
relation P138
type Q290
action filter_type
action find
entity Q19861231
relation P138
type Q502895
[ANSWER]
['Q19861231', 'P138', {'concept': 'Q290'}] ['Q19861231', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:Q290 ) ( ontology:Q502895 ) } }
male Robert E. Reynolds
2
action count
action union
action filter_type
action find
entity reynoldsite
relation named after
type sex
action filter_type
action find
entity reynoldsite
relation named after
type common name
['reynoldsite', 'named after', {'concept': 'sex'}] ['reynoldsite', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { ?t rdf:type ?z . VALUES ( ?z ) { ( ontology:sex ) ( ontology:common_name ) } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q35
P706
Q1048835 Q15324
USER
How many political territories are approximately the same number of bodies of water located on as Denmark ?
(c(Q15324),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_type
action find
entity Q35
relation P706
type Q1048835
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?q ) WHERE { ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15324 . ?l property:P706 ?a } GROUP BY ?a } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Q35 property:P706 ?j . ?j rdf:type ontology:Q1048835 } } }
Denmark
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_type
action find
entity Denmark
relation located on terrain feature
type political territorial entity
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?q ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:body_of_water . ?l property:located_on_terrain_feature ?a } GROUP BY ?a } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Denmark property:located_on_terrain_feature ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity body of water
SYSTEM
25
Q2012050 Q1747689 Q188399 Q183 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q35 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q15324),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_type
action find
entity Q35
relation P706
type Q1048835
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?q ) WHERE { ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15324 . ?l property:P706 ?a } GROUP BY ?a } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Q35 property:P706 ?j . ?j rdf:type ontology:Q1048835 } } }
Donetsk Oblast Ancient Rome Central Bohemian Region Germany Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Denmark Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
25
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_type
action find
entity Denmark
relation located on terrain feature
type political territorial entity
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?l ) AS ?q ) WHERE { ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:body_of_water . ?l property:located_on_terrain_feature ?a } GROUP BY ?a } . FILTER ( ?q = ?y ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?y ) WHERE { resource:Denmark property:located_on_terrain_feature ?j . ?j rdf:type ontology:political_territorial_entity } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q5783
P706
Q1048835 Q15324
USER
And also tell me about Andalusia?
(c(Q15324),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_type
action find
entity Q5783
relation P706
type Q1048835
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?l ) WHERE { ?j rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15324 . ?s property:P706 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q5783 property:P706 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?w ) }
Andalusia
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_type
action find
entity Andalusia
relation located on terrain feature
type political territorial entity
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?l ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:body_of_water . ?s property:located_on_terrain_feature ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Andalusia property:located_on_terrain_feature ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?w ) }
[]
political territorial entity body of water
SYSTEM
25
Q2012050 Q1747689 Q188399 Q183 Q47134 Q13769 Q202023 Q9676 Q10557 Q5705 Q15434 Q7166 Q5783 Q168159 Q35 Q80967 Q11266977 Q109128 Q190930 Q100166 Q234 Q40 Q3908 Q23635 Q25228
(c(Q15324),P706,c(Q1048835))
action count
action approx
action find_reverse_tuple_counts
relation P706
type Q1048835
type Q15324
action count
action filter_type
action find
entity Q5783
relation P706
type Q1048835
[ANSWER]
[{'concept': 'Q15324'}, 'P706', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?l ) WHERE { ?j rdf:type ontology:Q1048835 . ?s rdf:type ontology:Q15324 . ?s property:P706 ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Q5783 property:P706 ?b . ?b rdf:type ontology:Q1048835 } } . FILTER ( ?l = ?w ) }
Donetsk Oblast Ancient Rome Central Bohemian Region Germany Shetland Camiguin Herm Isle of Man Swabia Catalonia Montseny Heilbronn Andalusia Anglesey Denmark Outer Hebrides Epirus Gwynedd Vysočina Region Orkney Islands Flemish Region Austria Galicia Bermuda Anguilla
25
action count
action approx
action find_reverse_tuple_counts
relation located on terrain feature
type political territorial entity
type body of water
action count
action filter_type
action find
entity Andalusia
relation located on terrain feature
type political territorial entity
[{'concept': 'body of water'}, 'located on terrain feature', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?l ) WHERE { ?j rdf:type ontology:political_territorial_entity . ?s rdf:type ontology:body_of_water . ?s property:located_on_terrain_feature ?j } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?w ) WHERE { resource:Andalusia property:located_on_terrain_feature ?b . ?b rdf:type ontology:political_territorial_entity } } . FILTER ( ?l = ?w ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q15910043 Q4006570
P9 P138
Q502895
USER
Which people are urusovite named after or are the sisters of princess Eyi ?
OR((Q4006570,P138,c(Q502895)), (Q15910043,P9,c(Q502895)))
action filter_type
action union
action find
entity Q4006570
relation P138
action find
entity Q15910043
relation P9
type Q502895
{'OR': [['Q4006570', 'P138', {'concept': 'Q502895'}], ['Q15910043', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4006570 property:P138 ?e } UNION { resource:Q15910043 property:P9 ?e } } . ?e rdf:type ontology:Q502895 }
princess Eyi urusovite
action filter_type
action union
action find
entity urusovite
relation named after
action find
entity princess Eyi
relation sister
type common name
{'OR': [['urusovite', 'named after', {'concept': 'common name'}], ['princess Eyi', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:urusovite property:named_after ?e } UNION { resource:princess_Eyi property:sister ?e } } . ?e rdf:type ontology:common_name }
[]
common name
Q20738549 Q16603546 Q16603633 Q10910298 Q15915130 Q10942053
SYSTEM
Vadim S. Urusov, princess Shiyi, princess Zhuyi, princess Weichang, princess Yangshi, princess Yian
Q20738549 Q16603546 Q16603633 Q10910298 Q15915130 Q10942053
OR((Q4006570,P138,c(Q502895)), (Q15910043,P9,c(Q502895)))
action filter_type
action union
action find
entity Q4006570
relation P138
action find
entity Q15910043
relation P9
type Q502895
[ANSWERS] are urusovite named after or are the sisters of princess Eyi
{'OR': [['Q4006570', 'P138', {'concept': 'Q502895'}], ['Q15910043', 'P9', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q4006570 property:P138 ?e } UNION { resource:Q15910043 property:P9 ?e } } . ?e rdf:type ontology:Q502895 }
Vadim S. Urusov princess Shiyi princess Zhuyi princess Weichang princess Yangshi princess Yian
Vadim S. Urusov, princess Shiyi, princess Zhuyi, princess Weichang, princess Yangshi and princess Yian are urusovite named after or are the sisters of princess Eyi
Vadim S. Urusov princess Shiyi princess Zhuyi princess Weichang princess Yangshi princess Yian
action filter_type
action union
action find
entity urusovite
relation named after
action find
entity princess Eyi
relation sister
type common name
{'OR': [['urusovite', 'named after', {'concept': 'common name'}], ['princess Eyi', 'sister', {'concept': 'common name'}]]}
SELECT DISTINCT ?e WHERE { { { resource:urusovite property:named_after ?e } UNION { resource:princess_Eyi property:sister ?e } } . ?e rdf:type ontology:common_name }
[]