Simple Question (Direct)
Simple Question
Q1362993
P53
Q13417114
USER
What dynasty does David Soslan belong to ?
(Q1362993,P53,c(Q13417114))
action filter_type
action find
entity Q1362993
relation P53
type Q13417114
['Q1362993', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?j WHERE { resource:Q1362993 property:P53 ?j . ?j rdf:type ontology:Q13417114 }
David Soslan
action filter_type
action find
entity David Soslan
relation noble family
type noble family
['David Soslan', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?j WHERE { resource:David_Soslan property:noble_family ?j . ?j rdf:type ontology:noble_family }
[]
noble family
Q187525
SYSTEM
Bagrationi dynasty
Q187525
(Q1362993,P53,c(Q13417114))
action filter_type
action find
entity Q1362993
relation P53
type Q13417114
David Soslan belongs to [ANSWER]
['Q1362993', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?j WHERE { resource:Q1362993 property:P53 ?j . ?j rdf:type ontology:Q13417114 }
Bagrationi dynasty
David Soslan belongs to Bagrationi dynasty
Bagrationi dynasty
action filter_type
action find
entity David Soslan
relation noble family
type noble family
['David Soslan', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?j WHERE { resource:David_Soslan property:noble_family ?j . ?j rdf:type ontology:noble_family }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1362993
P26
Q502895
USER
Who is married to David Soslan ?
(c(Q502895),P26,Q1362993)
action filter_type
action find
entity Q1362993
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q1362993']
SELECT DISTINCT ?o WHERE { resource:Q1362993 property:P26 ?o . ?o rdf:type ontology:Q502895 }
David Soslan
action filter_type
action find
entity David Soslan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Soslan']
SELECT DISTINCT ?o WHERE { resource:David_Soslan property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q244007
SYSTEM
Tamar of Georgia
Q244007
(c(Q502895),P26,Q1362993)
action filter_type
action find
entity Q1362993
relation P26
type Q502895
[ANSWER] is married to David Soslan
[{'concept': 'Q502895'}, 'P26', 'Q1362993']
SELECT DISTINCT ?o WHERE { resource:Q1362993 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Tamar of Georgia
Tamar of Georgia is married to David Soslan
Tamar of Georgia
action filter_type
action find
entity David Soslan
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'David Soslan']
SELECT DISTINCT ?o WHERE { resource:David_Soslan property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q244007
P40
Q502895
USER
Whose child are that one ?
(c(Q502895),P40,Q244007)
action filter_type
action find_reverse
entity Q244007
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q244007']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q244007 . ?h rdf:type ontology:Q502895 }
Tamar of Georgia
action filter_type
action find_reverse
entity Tamar of Georgia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tamar of Georgia']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Tamar_of_Georgia . ?h rdf:type ontology:common_name }
[]
common name
Q542017 Q3651713
SYSTEM
George III of Georgia, Burdukhan of Alania
Q542017 Q3651713
(c(Q502895),P40,Q244007)
action filter_type
action find_reverse
entity Q244007
relation P40
type Q502895
[ANSWERS] are that one
[{'concept': 'Q502895'}, 'P40', 'Q244007']
SELECT DISTINCT ?h WHERE { ?h property:P40 resource:Q244007 . ?h rdf:type ontology:Q502895 }
George III of Georgia Burdukhan of Alania
George III of Georgia and Burdukhan of Alania are that one
George III of Georgia Burdukhan of Alania
action filter_type
action find_reverse
entity Tamar of Georgia
relation child
type common name
[{'concept': 'common name'}, 'child', 'Tamar of Georgia']
SELECT DISTINCT ?h WHERE { ?h property:child resource:Tamar_of_Georgia . ?h rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q244007
P138
Q17444909
USER
Which astronomical object type has Tamar of Georgia as its namesake ?
(c(Q17444909),P138,Q244007)
action filter_type
action find_reverse
entity Q244007
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q244007']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q17444909 . ?y property:P138 resource:Q244007 }
Tamar of Georgia
action filter_type
action find_reverse
entity Tamar of Georgia
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Tamar of Georgia']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:astronomical_object_type . ?y property:named_after resource:Tamar_of_Georgia }
[]
astronomical object type
Q151153
SYSTEM
326 Tamara
Q151153
(c(Q17444909),P138,Q244007)
action filter_type
action find_reverse
entity Q244007
relation P138
type Q17444909
[ANSWER] has Tamar of Georgia as its namesake
[{'concept': 'Q17444909'}, 'P138', 'Q244007']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q17444909 . ?y property:P138 resource:Q244007 }
326 Tamara
326 Tamara has Tamar of Georgia as its namesake
326 Tamara
action filter_type
action find_reverse
entity Tamar of Georgia
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Tamar of Georgia']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:astronomical_object_type . ?y property:named_after resource:Tamar_of_Georgia }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q151153
P61
Q502895
USER
Which person was the first person to come up with that astronomical object type ?
(Q151153,P61,c(Q502895))
action filter_type
action find
entity Q151153
relation P61
type Q502895
['Q151153', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q151153 property:P61 ?p . ?p rdf:type ontology:Q502895 }
326 Tamara
action filter_type
action find
entity 326 Tamara
relation discoverer or inventor
type common name
['326 Tamara', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:326_Tamara property:discoverer_or_inventor ?p . ?p rdf:type ontology:common_name }
[]
common name
Q78486
SYSTEM
Johann Palisa
Q78486
(Q151153,P61,c(Q502895))
action filter_type
action find
entity Q151153
relation P61
type Q502895
[ANSWER] was the first person to come up with that astronomical object type
['Q151153', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q151153 property:P61 ?p . ?p rdf:type ontology:Q502895 }
Johann Palisa
Johann Palisa was the first person to come up with that astronomical object type
Johann Palisa
action filter_type
action find
entity 326 Tamara
relation discoverer or inventor
type common name
['326 Tamara', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:326_Tamara property:discoverer_or_inventor ?p . ?p rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P144
Q502895 Q2342494 Q15850590
USER
Which people are max number of collectables and theatrical genres adapted from ?
(c(Q2342494)|c(Q15850590),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?e = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { { ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q2342494 . ?u property:P144 ?n } UNION { ?u property:P144 ?n . ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15850590 } } GROUP BY ?n } } }
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?e = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { { ?n rdf:type ontology:common_name . ?u rdf:type ontology:collectable . ?u property:based_on ?n } UNION { ?u property:based_on ?n . ?n rdf:type ontology:common_name . ?u rdf:type ontology:theatrical_genre } } GROUP BY ?n } } }
[]
common name collectable theatrical genre
Q298920 Q276615 Q184935
SYSTEM
Charles M. Schulz, Gabriela Preissová, Mihai Eminescu
Q298920 Q276615 Q184935
(c(Q2342494)|c(Q15850590),P144,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P144
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P144
type Q502895
type Q15850590
Max number of collectables and theatrical genres are adapted by [ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q15850590'}], 'P144', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?e = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:Q2342494 ) ( ontology:Q15850590 ) } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { { ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q2342494 . ?u property:P144 ?n } UNION { ?u property:P144 ?n . ?n rdf:type ontology:Q502895 . ?u rdf:type ontology:Q15850590 } } GROUP BY ?n } } }
Charles M. Schulz Gabriela Preissová Mihai Eminescu
Max number of collectables and theatrical genres are adapted by Charles M. Schulz, Gabriela Preissová and Mihai Eminescu
Charles M. Schulz Gabriela Preissová Mihai Eminescu
action argmax
action union
action find_reverse_tuple_counts
relation based on
type common name
type collectable
action find_reverse_tuple_counts
relation based on
type common name
type theatrical genre
[[{'concept': 'collectable'}, {'concept': 'theatrical genre'}], 'based on', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { FILTER ( ?e = ?g ) . { SELECT DISTINCT ?w ( COUNT ( ?f ) AS ?e ) WHERE { ?f rdf:type ?h . VALUES ( ?h ) { ( ontology:collectable ) ( ontology:theatrical_genre ) } } GROUP BY ?w } . { SELECT DISTINCT ( MAX ( ?a ) AS ?g ) { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?a ) WHERE { { ?n rdf:type ontology:common_name . ?u rdf:type ontology:collectable . ?u property:based_on ?n } UNION { ?u property:based_on ?n . ?n rdf:type ontology:common_name . ?u rdf:type ontology:theatrical_genre } } GROUP BY ?n } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q298920 Q276615 Q184935
P144
Q15850590
USER
Which theatrical genres are adapted from those people ?
(c(Q15850590),P144,Q298920) (c(Q15850590),P144,Q276615) (c(Q15850590),P144,Q184935)
action filter_type
action find_reverse
entity prev_answer
relation P144
type Q15850590
[{'concept': 'Q15850590'}, 'P144', 'Q298920'] [{'concept': 'Q15850590'}, 'P144', 'Q276615'] [{'concept': 'Q15850590'}, 'P144', 'Q184935']
SELECT DISTINCT ?g WHERE { ?g property:P144 ?x . ?g rdf:type ontology:Q15850590 . VALUES ( ?x ) { ( resource:Q298920 ) ( resource:Q276615 ) ( resource:Q184935 ) } }
Charles M. Schulz Gabriela Preissová Mihai Eminescu
action filter_type
action find_reverse
entity prev_answer
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Charles M. Schulz'] [{'concept': 'theatrical genre'}, 'based on', 'Gabriela Preissová'] [{'concept': 'theatrical genre'}, 'based on', 'Mihai Eminescu']
SELECT DISTINCT ?g WHERE { ?g property:based_on ?x . ?g rdf:type ontology:theatrical_genre . VALUES ( ?x ) { ( resource:Charles_M._Schulz ) ( resource:Gabriela_Preissová ) ( resource:Mihai_Eminescu ) } }
[]
theatrical genre
Q1872685 Q3401137 Q1196783
SYSTEM
Snoopy! The Musical, The Beginning of a Romance, Jenůfa
Q4992002 Q1872685 Q3401137 Q1196783 Q20054376 Q20054373
(c(Q15850590),P144,Q298920) (c(Q15850590),P144,Q276615) (c(Q15850590),P144,Q184935)
action filter_type
action find_reverse
entity prev_answer
relation P144
type Q15850590
[ANSWERS] are adapted from those people
[{'concept': 'Q15850590'}, 'P144', 'Q298920'] [{'concept': 'Q15850590'}, 'P144', 'Q276615'] [{'concept': 'Q15850590'}, 'P144', 'Q184935']
SELECT DISTINCT ?g WHERE { ?g property:P144 ?x . ?g rdf:type ontology:Q15850590 . VALUES ( ?x ) { ( resource:Q298920 ) ( resource:Q276615 ) ( resource:Q184935 ) } }
You're a Good Man, Charlie Brown Snoopy! The Musical The Beginning of a Romance Jenůfa Eroii de la Rovine Arald (opera)
Snoopy! The Musical, The Beginning of a Romance and Jenůfa are adapted from those people
Snoopy! The Musical The Beginning of a Romance Jenůfa
action filter_type
action find_reverse
entity prev_answer
relation based on
type theatrical genre
[{'concept': 'theatrical genre'}, 'based on', 'Charles M. Schulz'] [{'concept': 'theatrical genre'}, 'based on', 'Gabriela Preissová'] [{'concept': 'theatrical genre'}, 'based on', 'Mihai Eminescu']
SELECT DISTINCT ?g WHERE { ?g property:based_on ?x . ?g rdf:type ontology:theatrical_genre . VALUES ( ?x ) { ( resource:Charles_M._Schulz ) ( resource:Gabriela_Preissová ) ( resource:Mihai_Eminescu ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3401137
P364
Q34770
USER
Which language was used originally for the creation of that theatrical genre ?
(Q3401137,P364,c(Q34770))
action filter_type
action find
entity Q3401137
relation P364
type Q34770
['Q3401137', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q3401137 property:P364 ?n }
The Beginning of a Romance
action filter_type
action find
entity The Beginning of a Romance
relation original language of work
type language
['The Beginning of a Romance', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:The_Beginning_of_a_Romance property:original_language_of_work ?n }
[]
language
Clarification for simple ques.
Q3401137
SYSTEM
Did you mean The Beginning of a Romance ?
Q1872685 Q3401137 Q1196783
(Q1872685,P364,c(Q34770)) (Q3401137,P364,c(Q34770)) (Q1196783,P364,c(Q34770))
[ANSWER]
['Q1872685', 'P364', {'concept': 'Q34770'}] ['Q3401137', 'P364', {'concept': 'Q34770'}] ['Q1196783', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q3401137 property:P364 ?n }
Snoopy! The Musical The Beginning of a Romance Jenůfa
Did you mean The Beginning of a Romance ?
The Beginning of a Romance
['Snoopy! The Musical', 'original language of work', {'concept': 'language'}] ['The Beginning of a Romance', 'original language of work', {'concept': 'language'}] ['Jenůfa', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:The_Beginning_of_a_Romance property:original_language_of_work ?n }
[]
Simple Question (Coreferenced)
USER
Yes
(Q3401137,P364,c(Q34770))
['Q3401137', 'P364', {'concept': 'Q34770'}]
['The Beginning of a Romance', 'original language of work', {'concept': 'language'}]
[]
Q9056
SYSTEM
Czech
Q9056
(Q3401137,P364,c(Q34770))
action filter_type
action find
entity Q3401137
relation P364
type Q34770
[ANSWER] was used originally for the creation of that theatrical genre
['Q3401137', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q34770 . resource:Q3401137 property:P364 ?n }
Czech
Czech was used originally for the creation of that theatrical genre
Czech
action filter_type
action find
entity The Beginning of a Romance
relation original language of work
type language
['The Beginning of a Romance', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:language . resource:The_Beginning_of_a_Romance property:original_language_of_work ?n }
[]