Simple Question (Direct)
Simple Question
Q1097758
P463
Q48204
USER
Which voluntary association was Claudia Schindler a member of ?
(Q1097758,P463,c(Q48204))
action filter_type
action find
entity Q1097758
relation P463
type Q48204
['Q1097758', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?p WHERE { resource:Q1097758 property:P463 ?p . ?p rdf:type ontology:Q48204 }
Claudia Schindler
action filter_type
action find
entity Claudia Schindler
relation member of
type voluntary association
['Claudia Schindler', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?p WHERE { resource:Claudia_Schindler property:member_of ?p . ?p rdf:type ontology:voluntary_association }
[]
voluntary association
Q1583587
SYSTEM
Mommsen Society
Q1583587
(Q1097758,P463,c(Q48204))
action filter_type
action find
entity Q1097758
relation P463
type Q48204
[ANSWER] was Claudia Schindler a member of
['Q1097758', 'P463', {'concept': 'Q48204'}]
SELECT DISTINCT ?p WHERE { resource:Q1097758 property:P463 ?p . ?p rdf:type ontology:Q48204 }
Mommsen Society
Mommsen Society was Claudia Schindler a member of
Mommsen Society
action filter_type
action find
entity Claudia Schindler
relation member of
type voluntary association
['Claudia Schindler', 'member of', {'concept': 'voluntary association'}]
SELECT DISTINCT ?p WHERE { resource:Claudia_Schindler property:member_of ?p . ?p rdf:type ontology:voluntary_association }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1583587
P485
Q2668072
USER
Where are the archives of that voluntary association located ?
(Q1583587,P485,c(Q2668072))
action filter_type
action find
entity Q1583587
relation P485
type Q2668072
['Q1583587', 'P485', {'concept': 'Q2668072'}]
SELECT DISTINCT ?f WHERE { resource:Q1583587 property:P485 ?f . ?f rdf:type ontology:Q2668072 }
Mommsen Society
action filter_type
action find
entity Mommsen Society
relation archives at
type collection
['Mommsen Society', 'archives at', {'concept': 'collection'}]
SELECT DISTINCT ?f WHERE { resource:Mommsen_Society property:archives_at ?f . ?f rdf:type ontology:collection }
[]
collection
Q256507
SYSTEM
Bavarian State Library
Q256507
(Q1583587,P485,c(Q2668072))
action filter_type
action find
entity Q1583587
relation P485
type Q2668072
The archives of that voluntary association are located in [ANSWER]
['Q1583587', 'P485', {'concept': 'Q2668072'}]
SELECT DISTINCT ?f WHERE { resource:Q1583587 property:P485 ?f . ?f rdf:type ontology:Q2668072 }
Bavarian State Library
The archives of that voluntary association are located in Bavarian State Library
Bavarian State Library
action filter_type
action find
entity Mommsen Society
relation archives at
type collection
['Mommsen Society', 'archives at', {'concept': 'collection'}]
SELECT DISTINCT ?f WHERE { resource:Mommsen_Society property:archives_at ?f . ?f rdf:type ontology:collection }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1583587
P138
Q502895
USER
What is that voluntary association named after ?
(Q256507,P138,c(Q502895))
action filter_type
action find
entity Q1583587
relation P138
type Q502895
['Q256507', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1583587 property:P138 ?b }
Mommsen Society
action filter_type
action find
entity Mommsen Society
relation named after
type common name
['Bavarian State Library', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Mommsen_Society property:named_after ?b }
[]
common name
Q25351
SYSTEM
Theodor Mommsen
Q25351
(Q256507,P138,c(Q502895))
action filter_type
action find
entity Q1583587
relation P138
type Q502895
That voluntary association named after is the [ANSWER]
['Q256507', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q502895 . resource:Q1583587 property:P138 ?b }
Theodor Mommsen
That voluntary association named after is the Theodor Mommsen
Theodor Mommsen
action filter_type
action find
entity Mommsen Society
relation named after
type common name
['Bavarian State Library', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:common_name . resource:Mommsen_Society property:named_after ?b }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q48204 Q17444909
USER
How many voluntary associations and astronomical object types are named after that person ?
(c(Q48204),P138,Q25351) (c(Q17444909),P138,Q25351) (c(Q48204),P138,Q25351) (c(Q17444909),P138,Q25351)
action count
action union
action filter_type
action find_reverse
entity Q25351
relation P138
type Q48204
action filter_type
action find_reverse
entity Q25351
relation P138
type Q17444909
[{'concept': 'Q48204'}, 'P138', 'Q25351'] [{'concept': 'Q17444909'}, 'P138', 'Q25351'] [{'concept': 'Q48204'}, 'P138', 'Q25351'] [{'concept': 'Q17444909'}, 'P138', 'Q25351']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P138 resource:Q25351 . ?x rdf:type ontology:Q48204 } UNION { ?x rdf:type ontology:Q17444909 . ?x property:P138 resource:Q25351 } }
action count
action union
action filter_type
action find_reverse
entity Theodor Mommsen
relation named after
type voluntary association
action filter_type
action find_reverse
entity Theodor Mommsen
relation named after
type astronomical object type
[{'concept': 'voluntary association'}, 'named after', 'Theodor Mommsen'] [{'concept': 'astronomical object type'}, 'named after', 'Theodor Mommsen'] [{'concept': 'voluntary association'}, 'named after', 'Theodor Mommsen'] [{'concept': 'astronomical object type'}, 'named after', 'Theodor Mommsen']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:named_after resource:Theodor_Mommsen . ?x rdf:type ontology:voluntary_association } UNION { ?x rdf:type ontology:astronomical_object_type . ?x property:named_after resource:Theodor_Mommsen } }
[]
voluntary association astronomical object type
SYSTEM
1 voluntary associations and 1 astronomical object types
Q1583587 Q2710576
(c(Q48204),P138,Q25351) (c(Q17444909),P138,Q25351) (c(Q48204),P138,Q25351) (c(Q17444909),P138,Q25351)
action count
action union
action filter_type
action find_reverse
entity Q25351
relation P138
type Q48204
action filter_type
action find_reverse
entity Q25351
relation P138
type Q17444909
[ANSWER]
[{'concept': 'Q48204'}, 'P138', 'Q25351'] [{'concept': 'Q17444909'}, 'P138', 'Q25351'] [{'concept': 'Q48204'}, 'P138', 'Q25351'] [{'concept': 'Q17444909'}, 'P138', 'Q25351']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P138 resource:Q25351 . ?x rdf:type ontology:Q48204 } UNION { ?x rdf:type ontology:Q17444909 . ?x property:P138 resource:Q25351 } }
Mommsen Society 52293 Mommsen
1 voluntary associations and 1 astronomical object types
action count
action union
action filter_type
action find_reverse
entity Theodor Mommsen
relation named after
type voluntary association
action filter_type
action find_reverse
entity Theodor Mommsen
relation named after
type astronomical object type
[{'concept': 'voluntary association'}, 'named after', 'Theodor Mommsen'] [{'concept': 'astronomical object type'}, 'named after', 'Theodor Mommsen'] [{'concept': 'voluntary association'}, 'named after', 'Theodor Mommsen'] [{'concept': 'astronomical object type'}, 'named after', 'Theodor Mommsen']
SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:named_after resource:Theodor_Mommsen . ?x rdf:type ontology:voluntary_association } UNION { ?x rdf:type ontology:astronomical_object_type . ?x property:named_after resource:Theodor_Mommsen } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q2342494
USER
Which collectables had max number of people as the dubbing artist ?
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?w ) WHERE { ?d property:P725 ?a . ?d rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q502895 } GROUP BY ?d } } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?c ) WHERE { ?s property:P725 ?j . ?s rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?w ) WHERE { ?d property:voice_actor ?a . ?d rdf:type ontology:collectable . ?a rdf:type ontology:common_name } GROUP BY ?d } } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?c ) WHERE { ?s property:voice_actor ?j . ?s rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
common name collectable
Q53351
SYSTEM
Accel World
Q53351
(c(Q2342494),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q2342494
type Q502895
[ANSWER] had max number of people as the dubbing artist
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?w ) WHERE { ?d property:P725 ?a . ?d rdf:type ontology:Q2342494 . ?a rdf:type ontology:Q502895 } GROUP BY ?d } } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?c ) WHERE { ?s property:P725 ?j . ?s rdf:type ontology:Q2342494 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
Accel World
Accel World had max number of people as the dubbing artist
Accel World
action argmax
action find_tuple_counts
relation voice actor
type collectable
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?w ) AS ?i ) { SELECT DISTINCT ?d ( COUNT ( ?a ) AS ?w ) WHERE { ?d property:voice_actor ?a . ?d rdf:type ontology:collectable . ?a rdf:type ontology:common_name } GROUP BY ?d } } . FILTER ( ?c = ?i ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?c ) WHERE { ?s property:voice_actor ?j . ?s rdf:type ontology:collectable . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q25351
P1038 P21
Q502895
USER
Which people are a relative of Theodor Mommsen and have the gender as male ?
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P1038 resource:Q25351 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
male Theodor Mommsen
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:relative resource:Theodor_Mommsen . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
common name
Q97428 Q61863
SYSTEM
Tycho von Wilamowitz-Moellendorff, Ulrich von Wilamowitz-Moellendorff
Q97428 Q61863
AND((c(Q502895),P1038,Q25351), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q25351
relation P1038
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a relative of Theodor Mommsen and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P1038', 'Q25351'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?u WHERE { ?u property:P1038 resource:Q25351 . ?u property:P21 resource:Q6581097 . ?u rdf:type ontology:Q502895 }
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
Tycho von Wilamowitz-Moellendorff and Ulrich von Wilamowitz-Moellendorff are a relative of Theodor Mommsen and have the gender as male
Tycho von Wilamowitz-Moellendorff Ulrich von Wilamowitz-Moellendorff
action filter_type
action intersection
action find_reverse
entity Theodor Mommsen
relation relative
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'relative', 'Theodor Mommsen'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?u WHERE { ?u property:relative resource:Theodor_Mommsen . ?u property:gender resource:male . ?u rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q25351
P1038
Q502895
USER
Are Theodor Mommsen relatives of those ones ?
(Q25351,P1038,Q97428) (Q25351,P1038,Q61863)
action is_in
entity prev_answer
action find
entity Q25351
relation P1038
['Q25351', 'P1038', 'Q97428'] ['Q25351', 'P1038', 'Q61863']
ASK WHERE { VALUES ( ?p ) { ( resource:Q97428 ) ( resource:Q61863 ) } . resource:Q25351 property:P1038 ?p }
Theodor Mommsen
action is_in
entity prev_answer
action find
entity Theodor Mommsen
relation relative
['Theodor Mommsen', 'relative', 'Tycho von Wilamowitz-Moellendorff'] ['Theodor Mommsen', 'relative', 'Ulrich von Wilamowitz-Moellendorff']
ASK WHERE { VALUES ( ?p ) { ( resource:Tycho_von_Wilamowitz-Moellendorff ) ( resource:Ulrich_von_Wilamowitz-Moellendorff ) } . resource:Theodor_Mommsen property:relative ?p }
[]
common name
SYSTEM
YES
(Q25351,P1038,Q97428) (Q25351,P1038,Q61863)
action is_in
entity prev_answer
action find
entity Q25351
relation P1038
[ANSWER]
['Q25351', 'P1038', 'Q97428'] ['Q25351', 'P1038', 'Q61863']
ASK WHERE { VALUES ( ?p ) { ( resource:Q97428 ) ( resource:Q61863 ) } . resource:Q25351 property:P1038 ?p }
Yes
action is_in
entity prev_answer
action find
entity Theodor Mommsen
relation relative
['Theodor Mommsen', 'relative', 'Tycho von Wilamowitz-Moellendorff'] ['Theodor Mommsen', 'relative', 'Ulrich von Wilamowitz-Moellendorff']
ASK WHERE { VALUES ( ?p ) { ( resource:Tycho_von_Wilamowitz-Moellendorff ) ( resource:Ulrich_von_Wilamowitz-Moellendorff ) } . resource:Theodor_Mommsen property:relative ?p }
[]