Simple Question (Direct)
Simple Question
Q555891
P7
Q502895
USER
Which person is the brother of Charles II, Lord of Monaco ?
(Q555891,P7,c(Q502895))
action filter_type
action find
entity Q555891
relation P7
type Q502895
['Q555891', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q555891 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Charles II, Lord of Monaco
action filter_type
action find
entity Charles II, Lord of Monaco
relation brother
type common name
['Charles II, Lord of Monaco', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Charles_II,_Lord_of_Monaco property:brother ?p . ?p rdf:type ontology:common_name }
[]
common name
Q1342608
SYSTEM
Hercule, Lord of Monaco
Q1342608
(Q555891,P7,c(Q502895))
action filter_type
action find
entity Q555891
relation P7
type Q502895
[ANSWER] is the brother of Charles II, Lord of Monaco
['Q555891', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q555891 property:P7 ?p . ?p rdf:type ontology:Q502895 }
Hercule, Lord of Monaco
Hercule, Lord of Monaco is the brother of Charles II, Lord of Monaco
Hercule, Lord of Monaco
action filter_type
action find
entity Charles II, Lord of Monaco
relation brother
type common name
['Charles II, Lord of Monaco', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Charles_II,_Lord_of_Monaco property:brother ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1342608
P1196
Q1914636
USER
Which activity best describes with type of death of that person ?
(Q1342608,P1196,c(Q1914636))
action filter_type
action find
entity Q1342608
relation P1196
type Q1914636
['Q1342608', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?r WHERE { resource:Q1342608 property:P1196 ?r . ?r rdf:type ontology:Q1914636 }
Hercule, Lord of Monaco
action filter_type
action find
entity Hercule, Lord of Monaco
relation manner of death
type activity
['Hercule, Lord of Monaco', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?r WHERE { resource:Hercule,_Lord_of_Monaco property:manner_of_death ?r . ?r rdf:type ontology:activity }
[]
activity
Q149086
SYSTEM
homicide
Q149086
(Q1342608,P1196,c(Q1914636))
action filter_type
action find
entity Q1342608
relation P1196
type Q1914636
The [ANSWER] best describes with type of death of that person
['Q1342608', 'P1196', {'concept': 'Q1914636'}]
SELECT DISTINCT ?r WHERE { resource:Q1342608 property:P1196 ?r . ?r rdf:type ontology:Q1914636 }
homicide
The homicide best describes with type of death of that person
homicide
action filter_type
action find
entity Hercule, Lord of Monaco
relation manner of death
type activity
['Hercule, Lord of Monaco', 'manner of death', {'concept': 'activity'}]
SELECT DISTINCT ?r WHERE { resource:Hercule,_Lord_of_Monaco property:manner_of_death ?r . ?r rdf:type ontology:activity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q127418 Q1342608
P1196 P366
Q1914636
USER
Which activities best describe with type of death of Hercule, Lord of Monaco or are the main uses of ink ?
OR((Q1342608,P1196,c(Q1914636)), (Q127418,P366,c(Q1914636)))
action filter_type
action union
action find
entity Q1342608
relation P1196
action find
entity Q127418
relation P366
type Q1914636
{'OR': [['Q1342608', 'P1196', {'concept': 'Q1914636'}], ['Q127418', 'P366', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1342608 property:P1196 ?j } UNION { resource:Q127418 property:P366 ?j } } . ?j rdf:type ontology:Q1914636 }
ink Hercule, Lord of Monaco
action filter_type
action union
action find
entity Hercule, Lord of Monaco
relation manner of death
action find
entity ink
relation use
type activity
{'OR': [['Hercule, Lord of Monaco', 'manner of death', {'concept': 'activity'}], ['ink', 'use', {'concept': 'activity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Hercule,_Lord_of_Monaco property:manner_of_death ?j } UNION { resource:ink property:use ?j } } . ?j rdf:type ontology:activity }
[]
activity
Q149086 Q11034
SYSTEM
homicide, printing
Q149086 Q11034
OR((Q1342608,P1196,c(Q1914636)), (Q127418,P366,c(Q1914636)))
action filter_type
action union
action find
entity Q1342608
relation P1196
action find
entity Q127418
relation P366
type Q1914636
[ANSWERS] best describe with type of death of Hercule, Lord of Monaco or are the main uses of ink
{'OR': [['Q1342608', 'P1196', {'concept': 'Q1914636'}], ['Q127418', 'P366', {'concept': 'Q1914636'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q1342608 property:P1196 ?j } UNION { resource:Q127418 property:P366 ?j } } . ?j rdf:type ontology:Q1914636 }
homicide printing
Homicide and printing best describe with type of death of Hercule, Lord of Monaco or are the main uses of ink
homicide printing
action filter_type
action union
action find
entity Hercule, Lord of Monaco
relation manner of death
action find
entity ink
relation use
type activity
{'OR': [['Hercule, Lord of Monaco', 'manner of death', {'concept': 'activity'}], ['ink', 'use', {'concept': 'activity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Hercule,_Lord_of_Monaco property:manner_of_death ?j } UNION { resource:ink property:use ?j } } . ?j rdf:type ontology:activity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q1914636 Q43229 Q502895
USER
Which activities are the fields of work of lesser number of organizations or people than that activity ?
(c(Q43229)|c(Q502895),P101,c(Q1914636))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity . ?x rdf:type ontology:common_name }
[]
activity organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q11034
SYSTEM
Did you mean printing ?
(c(Q43229)|c(Q502895),P101,c(Q1914636))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 . ?x rdf:type ontology:Q502895 }
Did you mean printing ?
printing
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q43229)|c(Q502895),P101,c(Q1914636))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
[]
Q43114 Q7205 Q49389
SYSTEM
aikido, paleontology, tourism
Q309823 Q15991269 Q5569949 Q914395 Q7572553 Q1196009 Q7205 Q10566551 Q27997 Q2485457 Q206814 Q159964 Q2144042 Q10979515 Q190149 Q83267 Q159595 Q27908 Q1235196 Q22826122 Q12015335 Q185727 Q1392782 Q928357 Q12969198 Q300920 Q3046459 Q835153 Q49389 Q1587903 Q63100 Q337935 Q897511 Q5367 Q124946 Q16861871 Q853077 Q1562096 Q1046801 Q7173 Q2138622 Q10737 Q41923 Q36389 Q83357 Q843601 Q193210 Q1261491 Q857102 Q160398 Q177777 Q43114 Q627716 Q9350 Q862072 Q243606 Q212105 Q836610 Q8789 Q189594 Q192386 Q602507 Q494452 Q373557 Q5567091 Q131683 Q781492 Q1369650 Q3764113 Q52109 Q931309
(c(Q43229)|c(Q502895),P101,c(Q1914636))
[ANSWERS] are the fields of work of lesser number of organizations or people than that activity
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q423229 . ?x rdf:type ontology:Q502895 }
open science amateur sport Glitch art Celtic art Space advocacy Big Science paleontology safety Celtic studies science education civil aviation typography Process engineering general economics photogrammetry crime distance education music education documentation science commentary engineering disciplines amateur service gnomonics bronze sculpture Paper cutting eSports Earth system science medical examination tourism human science urban design necromancy cryptanalysis motorsport gardening job training mathematics education ironwork turntablism marine biology nutrition suicide yodeling taekwondo origami health science skydiving male prostitution software design crystallography logistics aikido military aviation yoga conchology industrial design special education signals intelligence cryptography Islamic art military science hand-to-hand combat blazonry aerobatics glass art embryology Optogenetics professional sport choreography geomorphology medical imaging
Aikido, paleontology and tourism are the fields of work of lesser number of organizations or people than that activity
aikido paleontology tourism
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:activity . ?x rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q56061 Q350604 Q1914636
USER
How many activities are parts of around 1 administrative territories or armed conflicts ?
(c(Q1914636),P361,c(Q56061)|c(Q350604))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action find_tuple_counts
relation P361
type Q1914636
type Q350604
value 1
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?t WHERE { VALUES ( ?y ) { ( ontology:Q350604 ) ( ontology:Q56061 ) } . ?j rdf:type ?y } GROUP BY ?t } . FILTER ( ?s = 1 ) }
action count
action approx
action union
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action find_tuple_counts
relation part of
type activity
type armed conflict
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?t WHERE { VALUES ( ?y ) { ( ontology:armed_conflict ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?y } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
administrative territorial entity armed conflict activity
SYSTEM
3
Q3500162 Q3438698 Q31728
(c(Q1914636),P361,c(Q56061)|c(Q350604))
action count
action approx
action union
action find_tuple_counts
relation P361
type Q1914636
type Q56061
action find_tuple_counts
relation P361
type Q1914636
type Q350604
value 1
[ANSWER]
[{'concept': 'Q1914636'}, 'P361', [{'concept': 'Q56061'}, {'concept': 'Q350604'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?t WHERE { VALUES ( ?y ) { ( ontology:Q350604 ) ( ontology:Q56061 ) } . ?j rdf:type ?y } GROUP BY ?t } . FILTER ( ?s = 1 ) }
Bijeljina massacre Sijekovac killings public administration
3
action count
action approx
action union
action find_tuple_counts
relation part of
type activity
type administrative territorial entity
action find_tuple_counts
relation part of
type activity
type armed conflict
value 1
[{'concept': 'activity'}, 'part of', [{'concept': 'administrative territorial entity'}, {'concept': 'armed conflict'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?s ) ?t WHERE { VALUES ( ?y ) { ( ontology:armed_conflict ) ( ontology:administrative_territorial_entity ) } . ?j rdf:type ?y } GROUP BY ?t } . FILTER ( ?s = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P921
Q1914636 Q838948 Q386724
USER
Which activities were the main subjects of min number of works of art and works 's work ?
(c(Q838948)|c(Q386724),P921,c(Q1914636))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q838948
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q386724
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?p ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P921 ?n . ?e rdf:type ontology:Q838948 . ?n rdf:type ontology:Q1914636 } UNION { ?e property:P921 ?n . ?n rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q386724 } } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { { ?z property:P921 ?u . ?u rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q838948 } UNION { ?z property:P921 ?u . ?u rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q386724 } } GROUP BY ?u } . FILTER ( ?d = ?p ) }
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type activity
type work of art
action find_reverse_tuple_counts
relation main subject
type activity
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?p ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:main_subject ?n . ?e rdf:type ontology:work_of_art . ?n rdf:type ontology:activity } UNION { ?e property:main_subject ?n . ?n rdf:type ontology:activity . ?e rdf:type ontology:work } } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { { ?z property:main_subject ?u . ?u rdf:type ontology:activity . ?z rdf:type ontology:work_of_art } UNION { ?z property:main_subject ?u . ?u rdf:type ontology:activity . ?z rdf:type ontology:work } } GROUP BY ?u } . FILTER ( ?d = ?p ) }
[]
activity work of art work
Q4636259 Q49389 Q16861871
SYSTEM
3DA, tourism, job training
Q1069 Q4636259 Q309823 Q8236 Q11650 Q3326857 Q4652509 Q7202 Q206814 Q12271 Q159964 Q23679946 Q2190667 Q366301 Q175331 Q244783 Q11372 Q367664 Q185727 Q3705105 Q20047041 Q184485 Q300920 Q19899872 Q50675 Q36649 Q49389 Q12014035 Q1760612 Q1330176 Q11625220 Q16387 Q127050 Q939103 Q1648418 Q5367 Q916412 Q124946 Q16861871 Q8162 Q254615 Q7173 Q2138622 Q752021 Q1964546 Q484591 Q2003646 Q7206 Q210005 Q7205 Q514 Q2667359 Q19963028 Q40283 Q7168 Q160398 Q177777 Q864928 Q149086 Q9350 Q944932 Q4168000 Q862072 Q124757 Q925667 Q80993 Q212105 Q211011 Q5775114 Q686876 Q1093434 Q1194492 Q83371 Q5246046 Q631931 Q861654 Q31728 Q25261 Q257758
(c(Q838948)|c(Q386724),P921,c(Q1914636))
action argmin
action union
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q838948
action find_reverse_tuple_counts
relation P921
type Q1914636
type Q386724
[ANSWERS] were the main subjects of min number of works of art and works 's work
[[{'concept': 'Q838948'}, {'concept': 'Q386724'}], 'P921', {'concept': 'Q1914636'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?p ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:P921 ?n . ?e rdf:type ontology:Q838948 . ?n rdf:type ontology:Q1914636 } UNION { ?e property:P921 ?n . ?n rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q386724 } } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { { ?z property:P921 ?u . ?u rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q838948 } UNION { ?z property:P921 ?u . ?u rdf:type ontology:Q1914636 . ?z rdf:type ontology:Q386724 } } GROUP BY ?u } . FILTER ( ?d = ?p ) }
geology 3DA open science literacy electronics 2010 UK student protests AM1* molecular biology civil aviation architecture typography Online shaming collections care research expedition demonstration exegesis physical chemistry Data modeling amateur service Chinese martial arts Hyacinth fever performing arts eSports Greek vase historiography visual arts tourism hiking storm chasing judicial activism resuscitation information science Manhattan Project Occupy movement Vaticanology motorsport infanticide gardening job training linguistics gleaning marine biology nutrition Budō garden design natural history mosquito control paleoanthropology 2011 Yemeni revolution paleontology anatomy forced prostitution press-politics self-defence histology crystallography logistics life sciences homicide yoga Sport in Canada military intelligence conchology riot computer simulation software engineering special education falconry history of Australia space colonization citizen science angling seismology academic publishing decorative arts education in the United States public administration meteorology Protests of 1968
3DA, tourism and job training were the main subjects of min number of works of art and works 's work
3DA tourism job training
action argmin
action union
action find_reverse_tuple_counts
relation main subject
type activity
type work of art
action find_reverse_tuple_counts
relation main subject
type activity
type work
[[{'concept': 'work of art'}, {'concept': 'work'}], 'main subject', {'concept': 'activity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( MIN ( ?m ) AS ?p ) { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?m ) WHERE { { ?e property:main_subject ?n . ?e rdf:type ontology:work_of_art . ?n rdf:type ontology:activity } UNION { ?e property:main_subject ?n . ?n rdf:type ontology:activity . ?e rdf:type ontology:work } } GROUP BY ?n } } . { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?d ) WHERE { { ?z property:main_subject ?u . ?u rdf:type ontology:activity . ?z rdf:type ontology:work_of_art } UNION { ?z property:main_subject ?u . ?u rdf:type ontology:activity . ?z rdf:type ontology:work } } GROUP BY ?u } . FILTER ( ?d = ?p ) }
[]