Simple Question (Direct)
Simple Question
Q23661525
P7
Q502895
USER
Which person is the brother of John Blake ?
(Q23661525,P7,c(Q502895))
action filter_type
action find
entity Q23661525
relation P7
type Q502895
['Q23661525', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q23661525 property:P7 ?d . ?d rdf:type ontology:Q502895 }
John Blake
action filter_type
action find
entity John Blake
relation brother
type common name
['John Blake', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:John_Blake property:brother ?d . ?d rdf:type ontology:common_name }
[]
common name
Q41513
SYSTEM
William Blake
Q41513
(Q23661525,P7,c(Q502895))
action filter_type
action find
entity Q23661525
relation P7
type Q502895
The [ANSWER] is the brother of John Blake
['Q23661525', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q23661525 property:P7 ?d . ?d rdf:type ontology:Q502895 }
William Blake
The William Blake is the brother of John Blake
William Blake
action filter_type
action find
entity John Blake
relation brother
type common name
['John Blake', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:John_Blake property:brother ?d . ?d rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41513
P921
Q191067
USER
Which articles have that person as their main topic ?
(c(Q191067),P921,Q41513)
action filter_type
action find_reverse
entity Q41513
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q41513']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q41513 . ?o rdf:type ontology:Q191067 }
William Blake
action filter_type
action find_reverse
entity William Blake
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Blake']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:William_Blake . ?o rdf:type ontology:article }
[]
article
Q21091998 Q21092048 Q19079499
SYSTEM
Blake, EB-11 / Blake, William, Blake, William (1757-1827) (DNB00)
Q21092048 Q19079499 Q22976347 Q21091998
(c(Q191067),P921,Q41513)
action filter_type
action find_reverse
entity Q41513
relation P921
type Q191067
[ANSWERS]
[{'concept': 'Q191067'}, 'P921', 'Q41513']
SELECT DISTINCT ?o WHERE { ?o property:P921 resource:Q41513 . ?o rdf:type ontology:Q191067 }
EB-11 / Blake, William Blake, William (1757-1827) (DNB00) NIE / Blake, William Blake
Blake, EB-11 / Blake, William and Blake, William (1757-1827) (DNB00) have that person as their main topic
Blake EB-11 / Blake, William Blake, William (1757-1827) (DNB00)
action filter_type
action find_reverse
entity William Blake
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'William Blake']
SELECT DISTINCT ?o WHERE { ?o property:main_subject resource:William_Blake . ?o rdf:type ontology:article }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q21091998 Q21092048 Q19079499
P921
Q502895
USER
What were the main subjects in the work Blake, EB-11 / Blake, William and Blake, William (1757-1827) (DNB00) ?
(Q21091998,P921,c(Q502895)) (Q21092048,P921,c(Q502895)) (Q19079499,P921,c(Q502895))
action union
action filter_type
action find
entity Q21091998
relation P921
type Q502895
action filter_type
action find
entity Q21092048
relation P921
type Q502895
action filter_type
action find
entity Q19079499
relation P921
type Q502895
['Q21091998', 'P921', {'concept': 'Q502895'}] ['Q21092048', 'P921', {'concept': 'Q502895'}] ['Q19079499', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q21091998 property:P921 ?n . ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q502895 . resource:Q21092048 property:P921 ?n } }
Blake EB-11 / Blake, William Blake, William (1757-1827) (DNB00)
action union
action filter_type
action find
entity Blake
relation main subject
type common name
action filter_type
action find
entity EB-11 / Blake, William
relation main subject
type common name
action filter_type
action find
entity Blake, William (1757-1827) (DNB00)
relation main subject
type common name
['Blake', 'main subject', {'concept': 'common name'}] ['EB-11 / Blake, William', 'main subject', {'concept': 'common name'}] ['Blake, William (1757-1827) (DNB00)', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Blake property:main_subject ?n . ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:common_name . resource:EB-11_/_Blake,_William property:main_subject ?n } }
[]
common name
Q41513 Q41513 Q41513
SYSTEM
William Blake
Q320959 Q41513 Q1397722 Q41513 Q41513
(Q21091998,P921,c(Q502895)) (Q21092048,P921,c(Q502895)) (Q19079499,P921,c(Q502895))
action union
action filter_type
action find
entity Q21091998
relation P921
type Q502895
action filter_type
action find
entity Q21092048
relation P921
type Q502895
action filter_type
action find
entity Q19079499
relation P921
type Q502895
The main subjects in the work Blake , EB-11 / Blake , William and Blake , William ( 1757-1827 ) ( DNB 00 ) were [ANSWER], [ANSWER] and [ANSWER]
['Q21091998', 'P921', {'concept': 'Q502895'}] ['Q21092048', 'P921', {'concept': 'Q502895'}] ['Q19079499', 'P921', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { { resource:Q21091998 property:P921 ?n . ?n rdf:type ontology:Q502895 } UNION { ?n rdf:type ontology:Q502895 . resource:Q21092048 property:P921 ?n } }
Robert Blake William Blake William Black William Blake William Blake
The main subjects in the work Blake , EB-11 / Blake , William and Blake , William ( 1757-1827 ) ( DNB 00 ) were William Blake, William Blake and William Blake
William Blake William Blake William Blake
action union
action filter_type
action find
entity Blake
relation main subject
type common name
action filter_type
action find
entity EB-11 / Blake, William
relation main subject
type common name
action filter_type
action find
entity Blake, William (1757-1827) (DNB00)
relation main subject
type common name
['Blake', 'main subject', {'concept': 'common name'}] ['EB-11 / Blake, William', 'main subject', {'concept': 'common name'}] ['Blake, William (1757-1827) (DNB00)', 'main subject', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { { resource:Blake property:main_subject ?n . ?n rdf:type ontology:common_name } UNION { ?n rdf:type ontology:common_name . resource:EB-11_/_Blake,_William property:main_subject ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q41513
P793
Q1190554
USER
What event is William Blake associated with ?
(Q41513,P793,c(Q1190554))
action filter_type
action find
entity Q41513
relation P793
type Q1190554
['Q41513', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { resource:Q41513 property:P793 ?v . ?v rdf:type ontology:Q1190554 }
William Blake
action filter_type
action find
entity William Blake
relation significant event
type event
['William Blake', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { resource:William_Blake property:significant_event ?v . ?v rdf:type ontology:event }
[]
event
Q8016240
SYSTEM
trial
Q8016240
(Q41513,P793,c(Q1190554))
action filter_type
action find
entity Q41513
relation P793
type Q1190554
William Blake is associated with [ANSWER]
['Q41513', 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?v WHERE { resource:Q41513 property:P793 ?v . ?v rdf:type ontology:Q1190554 }
trial
William Blake is associated with trial
trial
action filter_type
action find
entity William Blake
relation significant event
type event
['William Blake', 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?v WHERE { resource:William_Blake property:significant_event ?v . ?v rdf:type ontology:event }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q8016240 Q41513
P793
Q502895
USER
Did William Blake have that one as its key event ?
(Q41513,P793,Q8016240)
action is_in
entity Q8016240
action find
entity Q41513
relation P793
['Q41513', 'P793', 'Q8016240']
ASK WHERE { resource:Q41513 property:P793 resource:Q8016240 }
trial William Blake
action is_in
entity trial
action find
entity William Blake
relation significant event
['William Blake', 'significant event', 'trial']
ASK WHERE { resource:William_Blake property:significant_event resource:trial }
[]
common name
SYSTEM
YES
(Q41513,P793,Q8016240)
action is_in
entity Q8016240
action find
entity Q41513
relation P793
[ANSWER]
['Q41513', 'P793', 'Q8016240']
ASK WHERE { resource:Q41513 property:P793 resource:Q8016240 }
Yes
action is_in
entity trial
action find
entity William Blake
relation significant event
['William Blake', 'significant event', 'trial']
ASK WHERE { resource:William_Blake property:significant_event resource:trial }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q630259
P361
Q1190554 Q15619164 Q350604
USER
Which events are greater number of abstract beings and armed conflicts a part of than Byzantine–Ottoman Wars ?
(c(Q15619164)|c(Q350604),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q630259
relation P361
type Q15619164
type Q350604
[[{'concept': 'Q15619164'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) ?p WHERE { { ?u property:P361 ?p . ?p rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?p . ?p rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q350604 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P361 resource:Q630259 . { { ?k rdf:type ontology:Q15619164 } UNION { ?k rdf:type ontology:Q350604 } } } } . FILTER ( ?m > ?t ) }
Byzantine–Ottoman Wars
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Byzantine–Ottoman Wars
relation part of
type abstract being
type armed conflict
[[{'concept': 'abstract being'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) ?p WHERE { { ?u property:part_of ?p . ?p rdf:type ontology:event . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?p . ?p rdf:type ontology:event . ?u rdf:type ontology:armed_conflict } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:part_of resource:Byzantine–Ottoman_Wars . { { ?k rdf:type ontology:abstract_being } UNION { ?k rdf:type ontology:armed_conflict } } } } . FILTER ( ?m > ?t ) }
[]
event abstract being armed conflict
Q789406 Q165725 Q19362030
SYSTEM
Balkans Campaign, Balkan Wars, aftermath of the 2014–15 Yemeni coup d'état
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q640100 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q15619164)|c(Q350604),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q630259
relation P361
type Q15619164
type Q350604
[ANSWERS] are greater number of abstract beings and armed conflicts a part of than Byzantine–Ottoman Wars
[[{'concept': 'Q15619164'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) ?p WHERE { { ?u property:P361 ?p . ?p rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q15619164 } UNION { ?u property:P361 ?p . ?p rdf:type ontology:Q1190554 . ?u rdf:type ontology:Q350604 } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:P361 resource:Q630259 . { { ?k rdf:type ontology:Q15619164 } UNION { ?k rdf:type ontology:Q350604 } } } } . FILTER ( ?m > ?t ) }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign Battles of the Bruch French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
Balkans Campaign, Balkan Wars and aftermath of the 2014–15 Yemeni coup d'état are greater number of abstract beings and armed conflicts a part of than Byzantine–Ottoman Wars
Balkans Campaign Balkan Wars aftermath of the 2014–15 Yemeni coup d'état
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Byzantine–Ottoman Wars
relation part of
type abstract being
type armed conflict
[[{'concept': 'abstract being'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?m ) ?p WHERE { { ?u property:part_of ?p . ?p rdf:type ontology:event . ?u rdf:type ontology:abstract_being } UNION { ?u property:part_of ?p . ?p rdf:type ontology:event . ?u rdf:type ontology:armed_conflict } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { ?k property:part_of resource:Byzantine–Ottoman_Wars . { { ?k rdf:type ontology:abstract_being } UNION { ?k rdf:type ontology:armed_conflict } } } } . FILTER ( ?m > ?t ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q48314
P361
Q1190554 Q15619164 Q350604
USER
And how about Battle of Waterloo?
(c(Q15619164)|c(Q350604),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q48314
relation P361
type Q15619164
type Q350604
[[{'concept': 'Q15619164'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?c ) { ( ontology:Q15619164 ) ( ontology:Q350604 ) } . ?o rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q350604 ) ( ontology:Q15619164 ) } } . ?v property:P361 resource:Q48314 } } . FILTER ( ?g > ?a ) }
Battle of Waterloo
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Battle of Waterloo
relation part of
type abstract being
type armed conflict
[[{'concept': 'abstract being'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?c ) { ( ontology:abstract_being ) ( ontology:armed_conflict ) } . ?o rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:armed_conflict ) ( ontology:abstract_being ) } } . ?v property:part_of resource:Battle_of_Waterloo } } . FILTER ( ?g > ?a ) }
[]
event abstract being armed conflict
Q789406 Q165725 Q19362030
SYSTEM
Balkans Campaign, Balkan Wars, aftermath of the 2014–15 Yemeni coup d'état
Q19870743 Q19362030 Q654006 Q2067876 Q78994 Q1514908 Q8669 Q51662 Q18817 Q789406 Q640100 Q673175 Q1758572 Q1413732 Q165725 Q16918333
(c(Q15619164)|c(Q350604),P361,c(Q1190554))
action greater
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q350604
action count
action filter_multi_types
action find_reverse
entity Q48314
relation P361
type Q15619164
type Q350604
[ANSWERS]
[[{'concept': 'Q15619164'}, {'concept': 'Q350604'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?c ) { ( ontology:Q15619164 ) ( ontology:Q350604 ) } . ?o rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q350604 ) ( ontology:Q15619164 ) } } . ?v property:P361 resource:Q48314 } } . FILTER ( ?g > ?a ) }
Anglo-French war of 1202–14 aftermath of the 2014–15 Yemeni coup d'état Second Northern War Polish–Swedish War (1600-29) Napoleonic Wars Cuban War of Independence Arab–Israeli conflict Northern Crusades War of the First Coalition Balkans Campaign Battles of the Bruch French Wars of Religion Hook and Cod wars Kashmir conflict Balkan Wars Ukrainian crisis
Balkans Campaign Balkan Wars aftermath of the 2014–15 Yemeni coup d'état
action greater
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type armed conflict
action count
action filter_multi_types
action find_reverse
entity Battle of Waterloo
relation part of
type abstract being
type armed conflict
[[{'concept': 'abstract being'}, {'concept': 'armed conflict'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?g ) WHERE { VALUES ( ?c ) { ( ontology:abstract_being ) ( ontology:armed_conflict ) } . ?o rdf:type ?c } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:armed_conflict ) ( ontology:abstract_being ) } } . ?v property:part_of resource:Battle_of_Waterloo } } . FILTER ( ?g > ?a ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q1190554 Q15619164 Q811979
USER
Which events are exactly 1 abstract beings or architectural structures a part of ?
(c(Q15619164)|c(Q811979),P361,c(Q1190554))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q811979
value 1
[[{'concept': 'Q15619164'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?l WHERE { { ?n property:P361 ?l . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q15619164 } UNION { ?n property:P361 ?l . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q811979 } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type architectural structure
value 1
[[{'concept': 'abstract being'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?l WHERE { { ?n property:part_of ?l . ?l rdf:type ontology:event . ?n rdf:type ontology:abstract_being } UNION { ?n property:part_of ?l . ?l rdf:type ontology:event . ?n rdf:type ontology:architectural_structure } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
[]
event abstract being architectural structure
Q1144824 Q640100 Q953045
SYSTEM
Battle of Messines, Battles of the Bruch, metalwork
Q1144824 Q640100 Q953045
(c(Q15619164)|c(Q811979),P361,c(Q1190554))
action equal
action union
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q15619164
action find_reverse_tuple_counts
relation P361
type Q1190554
type Q811979
value 1
[ANSWERS] are exactly 1 abstract beings or architectural structures a part of
[[{'concept': 'Q15619164'}, {'concept': 'Q811979'}], 'P361', {'concept': 'Q1190554'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?l WHERE { { ?n property:P361 ?l . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q15619164 } UNION { ?n property:P361 ?l . ?l rdf:type ontology:Q1190554 . ?n rdf:type ontology:Q811979 } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
Battle of Messines Battles of the Bruch metalwork
Battle of Messines, Battles of the Bruch and metalwork are exactly 1 abstract beings or architectural structures a part of
Battle of Messines Battles of the Bruch metalwork
action equal
action union
action find_reverse_tuple_counts
relation part of
type event
type abstract being
action find_reverse_tuple_counts
relation part of
type event
type architectural structure
value 1
[[{'concept': 'abstract being'}, {'concept': 'architectural structure'}], 'part of', {'concept': 'event'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) ?l WHERE { { ?n property:part_of ?l . ?l rdf:type ontology:event . ?n rdf:type ontology:abstract_being } UNION { ?n property:part_of ?l . ?l rdf:type ontology:event . ?n rdf:type ontology:architectural_structure } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q8016240 Q393188
P361
Q151885
USER
How many concepts are trial or Żubrówka a portion of ?
(Q8016240,P361,c(Q151885)) (Q393188,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q8016240
relation P361
type Q151885
action filter_type
action find
entity Q393188
relation P361
type Q151885
['Q8016240', 'P361', {'concept': 'Q151885'}] ['Q393188', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { resource:Q8016240 property:P361 ?f . ?f rdf:type ontology:Q151885 } UNION { resource:Q393188 property:P361 ?f . ?f rdf:type ontology:Q151885 } }
trial Żubrówka
action count
action union
action filter_type
action find
entity trial
relation part of
type concept
action filter_type
action find
entity Żubrówka
relation part of
type concept
['trial', 'part of', {'concept': 'concept'}] ['Żubrówka', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { resource:trial property:part_of ?f . ?f rdf:type ontology:concept } UNION { resource:Żubrówka property:part_of ?f . ?f rdf:type ontology:concept } }
[]
concept
SYSTEM
2
Q756020 Q1850480
(Q8016240,P361,c(Q151885)) (Q393188,P361,c(Q151885))
action count
action union
action filter_type
action find
entity Q8016240
relation P361
type Q151885
action filter_type
action find
entity Q393188
relation P361
type Q151885
[ANSWER]
['Q8016240', 'P361', {'concept': 'Q151885'}] ['Q393188', 'P361', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { resource:Q8016240 property:P361 ?f . ?f rdf:type ontology:Q151885 } UNION { resource:Q393188 property:P361 ?f . ?f rdf:type ontology:Q151885 } }
Polish cuisine Belarusian cuisine
2
action count
action union
action filter_type
action find
entity trial
relation part of
type concept
action filter_type
action find
entity Żubrówka
relation part of
type concept
['trial', 'part of', {'concept': 'concept'}] ['Żubrówka', 'part of', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { { resource:trial property:part_of ?f . ?f rdf:type ontology:concept } UNION { resource:Żubrówka property:part_of ?f . ?f rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1144824
P607
Q502895
USER
Which people did Battle of Messines participate in ?
(c(Q502895),P607,Q1144824)
action filter_type
action find_reverse
entity Q1144824
relation P607
type Q502895
[{'concept': 'Q502895'}, 'P607', 'Q1144824']
SELECT DISTINCT ?c WHERE { ?c property:P607 resource:Q1144824 . ?c rdf:type ontology:Q502895 }
Battle of Messines
action filter_type
action find_reverse
entity Battle of Messines
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Messines']
SELECT DISTINCT ?c WHERE { ?c property:conflict resource:Battle_of_Messines . ?c rdf:type ontology:common_name }
[]
common name
Q2731333 Q7965606 Q5345352
SYSTEM
John Monash, Walter McNicoll, Edward Smart
Q7344961 Q7365286 Q2731333 Q5075744 Q5345352 Q7965606 Q5342989 Q7298955 Q4719235 Q6225290
(c(Q502895),P607,Q1144824)
action filter_type
action find_reverse
entity Q1144824
relation P607
type Q502895
Battle of Messines participated [ANSWERS]
[{'concept': 'Q502895'}, 'P607', 'Q1144824']
SELECT DISTINCT ?c WHERE { ?c property:P607 resource:Q1144824 . ?c rdf:type ontology:Q502895 }
Robert Grieve Ronald Skirth John Monash Charles Brand Edward Smart Walter McNicoll Edward Francis Lynch Raymond Leane Alexander Jobson John Carroll
Battle of Messines participated John Monash, Walter McNicoll and Edward Smart
John Monash Walter McNicoll Edward Smart
action filter_type
action find_reverse
entity Battle of Messines
relation conflict
type common name
[{'concept': 'common name'}, 'conflict', 'Battle of Messines']
SELECT DISTINCT ?c WHERE { ?c property:conflict resource:Battle_of_Messines . ?c rdf:type ontology:common_name }
[]