Simple Question (Direct)
Simple Question
Q1246273
P512
Q189533
USER
Which academic degree does Dorothea Schäfer hold ?
(Q1246273,P512,c(Q189533))
action filter_type
action find
entity Q1246273
relation P512
type Q189533
['Q1246273', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?u WHERE { resource:Q1246273 property:P512 ?u . ?u rdf:type ontology:Q189533 }
Dorothea Schäfer
action filter_type
action find
entity Dorothea Schäfer
relation academic degree
type academic degree
['Dorothea Schäfer', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?u WHERE { resource:Dorothea_Schäfer property:academic_degree ?u . ?u rdf:type ontology:academic_degree }
[]
academic degree
Q1884145
SYSTEM
Magister Artium
Q1884145
(Q1246273,P512,c(Q189533))
action filter_type
action find
entity Q1246273
relation P512
type Q189533
Dorothea Schäfer holds the [ANSWER]
['Q1246273', 'P512', {'concept': 'Q189533'}]
SELECT DISTINCT ?u WHERE { resource:Q1246273 property:P512 ?u . ?u rdf:type ontology:Q189533 }
Magister Artium
Dorothea Schäfer holds the Magister Artium
Magister Artium
action filter_type
action find
entity Dorothea Schäfer
relation academic degree
type academic degree
['Dorothea Schäfer', 'academic degree', {'concept': 'academic degree'}]
SELECT DISTINCT ?u WHERE { resource:Dorothea_Schäfer property:academic_degree ?u . ?u rdf:type ontology:academic_degree }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q18546655
P248
Q4894405 Q223393 Q502895
USER
How many people have been referred in greater number of journalism genres and literary genres than John Williams ?
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q18546655
relation P248
type Q4894405
type Q223393
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q4894405 ) ( ontology:Q223393 ) } } . resource:Q18546655 property:P248 ?f } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:P248 ?h . ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4894405 } UNION { ?j property:P248 ?h . ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q223393 } } GROUP BY ?j } }
John Williams
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity John Williams
relation stated in
type journalism genre
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:journalism_genre ) ( ontology:literary_genre ) } } . resource:John_Williams property:stated_in ?f } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:stated_in ?h . ?j rdf:type ontology:common_name . ?h rdf:type ontology:journalism_genre } UNION { ?j property:stated_in ?h . ?j rdf:type ontology:common_name . ?h rdf:type ontology:literary_genre } } GROUP BY ?j } }
[]
journalism genre literary genre common name
SYSTEM
53
Q5239879 Q16013737 Q6237329 Q16011002 Q6262994 Q15996304 Q16225368 Q6221407 Q7351119 Q16026267 Q10978488 Q661947 Q16023331 Q5241202 Q6130313 Q6255174 Q6255172 Q16060029 Q7351121 Q6237337 Q6255426 Q5232850 Q8018834 Q16015315 Q8004402 Q5537303 Q11154564 Q5606271 Q5606273 Q5144956 Q6221420 Q6221434 Q16062311 Q15995818 Q6228730 Q16194812 Q15485947 Q6246958 Q16027113 Q16043626 Q6255177 Q6221432 Q5144950 Q6255170 Q5239886 Q5233458 Q6255179 Q6262982 Q6262980 Q6244744 Q16095641 Q5233469 Q8019367
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q18546655
relation P248
type Q4894405
type Q223393
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:Q4894405 ) ( ontology:Q223393 ) } } . resource:Q18546655 property:P248 ?f } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:P248 ?h . ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4894405 } UNION { ?j property:P248 ?h . ?j rdf:type ontology:Q502895 . ?h rdf:type ontology:Q223393 } } GROUP BY ?j } }
David Smith John Roberts John Hall John Parker John Ward John Martin John Rogers John Bell Robert Williams John Rogers John Jackson John Davies William Walker David Wilson James Brown John Roberts John Roberts David Davies Robert Williams John Hall John Rogers David Davies William Stewart David Thomas William Anderson George Brown David Evans Greg Smith Greg Smith Colin Campbell John Bell John Bell John Martin John Thompson John Davies David Smith John Walker John Martin John Roberts William Thompson John Roberts John Bell Colin Campbell John Roberts David Smith David Evans John Roberts John Ward John Ward John Lewis John Hall David Evans William Thompson
53
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity John Williams
relation stated in
type journalism genre
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { FILTER ( ?k > ?s ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?s ) WHERE { { ?f rdf:type ?b . VALUES ( ?b ) { ( ontology:journalism_genre ) ( ontology:literary_genre ) } } . resource:John_Williams property:stated_in ?f } } . { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?k ) WHERE { { ?j property:stated_in ?h . ?j rdf:type ontology:common_name . ?h rdf:type ontology:journalism_genre } UNION { ?j property:stated_in ?h . ?j rdf:type ontology:common_name . ?h rdf:type ontology:literary_genre } } GROUP BY ?j } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7342713
P248
Q4894405 Q223393 Q502895
USER
And what about Robert Campbell?
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q7342713
relation P248
type Q4894405
type Q223393
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?k WHERE { { ?k property:P248 ?h . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4894405 } UNION { ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q223393 . ?k property:P248 ?h } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q7342713 property:P248 ?j . { { ?j rdf:type ontology:Q4894405 } UNION { ?j rdf:type ontology:Q223393 } } } } . FILTER ( ?u > ?m ) }
Robert Campbell
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity Robert Campbell
relation stated in
type journalism genre
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?k WHERE { { ?k property:stated_in ?h . ?k rdf:type ontology:common_name . ?h rdf:type ontology:journalism_genre } UNION { ?k rdf:type ontology:common_name . ?h rdf:type ontology:literary_genre . ?k property:stated_in ?h } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Robert_Campbell property:stated_in ?j . { { ?j rdf:type ontology:journalism_genre } UNION { ?j rdf:type ontology:literary_genre } } } } . FILTER ( ?u > ?m ) }
[]
journalism genre literary genre common name
SYSTEM
53
Q5239879 Q16013737 Q6237329 Q16011002 Q6262994 Q15996304 Q16225368 Q6221407 Q7351119 Q16026267 Q10978488 Q661947 Q16023331 Q5241202 Q6130313 Q6255174 Q6255172 Q16060029 Q7351121 Q6237337 Q6255426 Q5232850 Q8018834 Q16015315 Q8004402 Q5537303 Q11154564 Q5606271 Q5606273 Q5144956 Q6221420 Q6221434 Q16062311 Q15995818 Q6228730 Q16194812 Q15485947 Q6246958 Q16027113 Q16043626 Q6255177 Q6221432 Q5144950 Q6255170 Q5239886 Q5233458 Q6255179 Q6262982 Q6262980 Q6244744 Q16095641 Q5233469 Q8019367
(c(Q502895),P248,c(Q4894405)|c(Q223393))
action count
action greater
action union
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action find_tuple_counts
relation P248
type Q502895
type Q223393
action count
action filter_multi_types
action find
entity Q7342713
relation P248
type Q4894405
type Q223393
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q4894405'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?k WHERE { { ?k property:P248 ?h . ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q4894405 } UNION { ?k rdf:type ontology:Q502895 . ?h rdf:type ontology:Q223393 . ?k property:P248 ?h } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Q7342713 property:P248 ?j . { { ?j rdf:type ontology:Q4894405 } UNION { ?j rdf:type ontology:Q223393 } } } } . FILTER ( ?u > ?m ) }
David Smith John Roberts John Hall John Parker John Ward John Martin John Rogers John Bell Robert Williams John Rogers John Jackson John Davies William Walker David Wilson James Brown John Roberts John Roberts David Davies Robert Williams John Hall John Rogers David Davies William Stewart David Thomas William Anderson George Brown David Evans Greg Smith Greg Smith Colin Campbell John Bell John Bell John Martin John Thompson John Davies David Smith John Walker John Martin John Roberts William Thompson John Roberts John Bell Colin Campbell John Roberts David Smith David Evans John Roberts John Ward John Ward John Lewis John Hall David Evans William Thompson
53
action count
action greater
action union
action find_tuple_counts
relation stated in
type common name
type journalism genre
action find_tuple_counts
relation stated in
type common name
type literary genre
action count
action filter_multi_types
action find
entity Robert Campbell
relation stated in
type journalism genre
type literary genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'journalism genre'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) ?k WHERE { { ?k property:stated_in ?h . ?k rdf:type ontology:common_name . ?h rdf:type ontology:journalism_genre } UNION { ?k rdf:type ontology:common_name . ?h rdf:type ontology:literary_genre . ?k property:stated_in ?h } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { resource:Robert_Campbell property:stated_in ?j . { { ?j rdf:type ontology:journalism_genre } UNION { ?j rdf:type ontology:literary_genre } } } } . FILTER ( ?u > ?m ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11546486 Q18546655
P734
Q82799
USER
Which names are associated with John Williams or Takashi Mutō ?
OR((Q18546655,P734,c(Q82799)), (Q11546486,P734,c(Q82799)))
action filter_type
action union
action find
entity Q18546655
relation P734
action find
entity Q11546486
relation P734
type Q82799
{'OR': [['Q18546655', 'P734', {'concept': 'Q82799'}], ['Q11546486', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18546655 property:P734 ?m } UNION { resource:Q11546486 property:P734 ?m } } . ?m rdf:type ontology:Q82799 }
Takashi Mutō John Williams
action filter_type
action union
action find
entity John Williams
relation family name
action find
entity Takashi Mutō
relation family name
type name
{'OR': [['John Williams', 'family name', {'concept': 'name'}], ['Takashi Mutō', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:John_Williams property:family_name ?m } UNION { resource:Takashi_Mutō property:family_name ?m } } . ?m rdf:type ontology:name }
[]
name
Q23306307 Q1688722
SYSTEM
Mutō, Williams
Q23306307 Q1688722
OR((Q18546655,P734,c(Q82799)), (Q11546486,P734,c(Q82799)))
action filter_type
action union
action find
entity Q18546655
relation P734
action find
entity Q11546486
relation P734
type Q82799
As [ANSWERS] are associated with John Williams or Takashi Mutō
{'OR': [['Q18546655', 'P734', {'concept': 'Q82799'}], ['Q11546486', 'P734', {'concept': 'Q82799'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q18546655 property:P734 ?m } UNION { resource:Q11546486 property:P734 ?m } } . ?m rdf:type ontology:Q82799 }
Mutō Williams
As Mutō and Williams are associated with John Williams or Takashi Mutō
Mutō Williams
action filter_type
action union
action find
entity John Williams
relation family name
action find
entity Takashi Mutō
relation family name
type name
{'OR': [['John Williams', 'family name', {'concept': 'name'}], ['Takashi Mutō', 'family name', {'concept': 'name'}]]}
SELECT DISTINCT ?m WHERE { { { resource:John_Williams property:family_name ?m } UNION { resource:Takashi_Mutō property:family_name ?m } } . ?m rdf:type ontology:name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1688722
P734
Q937228 Q6619679
USER
How many properties and fictional humanoids have Williams as surname ?
(c(Q937228),P734,Q1688722) (c(Q6619679),P734,Q1688722)
action count
action union
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q937228
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q6619679
[{'concept': 'Q937228'}, 'P734', 'Q1688722'] [{'concept': 'Q6619679'}, 'P734', 'Q1688722']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?i ) { ( ontology:Q937228 ) ( ontology:Q6619679 ) } . ?x rdf:type ?i }
Williams
action count
action union
action filter_type
action find_reverse
entity Williams
relation family name
type property
action filter_type
action find_reverse
entity Williams
relation family name
type fictional humanoid
[{'concept': 'property'}, 'family name', 'Williams'] [{'concept': 'fictional humanoid'}, 'family name', 'Williams']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?i ) { ( ontology:property ) ( ontology:fictional_humanoid ) } . ?x rdf:type ?i }
[]
property fictional humanoid
SYSTEM
1 properties and 18 fictional humanoids
Q4667722 Q19650559 Q3370175 Q7544236 Q27183185 Q2145578 Q3704391 Q2552758 Q5108610 Q4886700 Q6012918 Q21282890 Q7493845 Q5247441 Q6968512 Q5162634 Q1880547 Q2553064 Q16968584
(c(Q937228),P734,Q1688722) (c(Q6619679),P734,Q1688722)
action count
action union
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q937228
action filter_type
action find_reverse
entity Q1688722
relation P734
type Q6619679
[ANSWER]
[{'concept': 'Q937228'}, 'P734', 'Q1688722'] [{'concept': 'Q6619679'}, 'P734', 'Q1688722']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?i ) { ( ontology:Q937228 ) ( ontology:Q6619679 ) } . ?x rdf:type ?i }
Abigail Williams Cindy Williams Patty Williams Smash Williams Chase Williams Julie Olson Williams Deborah Ann Williams Ash Williams Chrissie Williams Ben Williams Michael Williams Jamie Williams Shelley Williams Death of Gareth Williams Natasha Williams Conrad Williams Doug Williams Mutt Williams Ricky Williams
1 properties and 18 fictional humanoids
action count
action union
action filter_type
action find_reverse
entity Williams
relation family name
type property
action filter_type
action find_reverse
entity Williams
relation family name
type fictional humanoid
[{'concept': 'property'}, 'family name', 'Williams'] [{'concept': 'fictional humanoid'}, 'family name', 'Williams']
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { VALUES ( ?i ) { ( ontology:property ) ( ontology:fictional_humanoid ) } . ?x rdf:type ?i }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q18534214 Q18546655
P248
Q5633421
USER
Which scientific journals are John Williams and John Taylor mentioned first ?
AND((Q18546655,P248,c(Q5633421)), (Q18534214,P248,c(Q5633421)))
action filter_type
action intersection
action find
entity Q18546655
relation P248
action find
entity Q18534214
relation P248
type Q5633421
{'AND': [['Q18546655', 'P248', {'concept': 'Q5633421'}], ['Q18534214', 'P248', {'concept': 'Q5633421'}]]}
SELECT DISTINCT ?e WHERE { resource:Q18534214 property:P248 ?e . resource:Q18546655 property:P248 ?e . ?e rdf:type ontology:Q5633421 }
John Taylor John Williams
action filter_type
action intersection
action find
entity John Williams
relation stated in
action find
entity John Taylor
relation stated in
type scientific journal
{'AND': [['John Williams', 'stated in', {'concept': 'scientific journal'}], ['John Taylor', 'stated in', {'concept': 'scientific journal'}]]}
SELECT DISTINCT ?e WHERE { resource:John_Taylor property:stated_in ?e . resource:John_Williams property:stated_in ?e . ?e rdf:type ontology:scientific_journal }
[]
scientific journal
Q17037575
SYSTEM
Oxford Biography Index
Q17037575
AND((Q18546655,P248,c(Q5633421)), (Q18534214,P248,c(Q5633421)))
action filter_type
action intersection
action find
entity Q18546655
relation P248
action find
entity Q18534214
relation P248
type Q5633421
First John Williams and John Taylor are mentioned in [ANSWER]
{'AND': [['Q18546655', 'P248', {'concept': 'Q5633421'}], ['Q18534214', 'P248', {'concept': 'Q5633421'}]]}
SELECT DISTINCT ?e WHERE { resource:Q18534214 property:P248 ?e . resource:Q18546655 property:P248 ?e . ?e rdf:type ontology:Q5633421 }
Oxford Biography Index
First John Williams and John Taylor are mentioned in Oxford Biography Index
Oxford Biography Index
action filter_type
action intersection
action find
entity John Williams
relation stated in
action find
entity John Taylor
relation stated in
type scientific journal
{'AND': [['John Williams', 'stated in', {'concept': 'scientific journal'}], ['John Taylor', 'stated in', {'concept': 'scientific journal'}]]}
SELECT DISTINCT ?e WHERE { resource:John_Taylor property:stated_in ?e . resource:John_Williams property:stated_in ?e . ?e rdf:type ontology:scientific_journal }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1884145 Q101333
P512
Q502895
USER
How many people have the diploma Magister Artium or mechanical engineering ?
(c(Q502895),P512,Q1884145) (c(Q502895),P512,Q101333)
action count
action union
action filter_type
action find_reverse
entity Q1884145
relation P512
type Q502895
action filter_type
action find_reverse
entity Q101333
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q1884145'] [{'concept': 'Q502895'}, 'P512', 'Q101333']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { VALUES ( ?o ) { ( resource:Q1884145 ) ( resource:Q101333 ) } . ?l property:P512 ?o }
Magister Artium mechanical engineering
action count
action union
action filter_type
action find_reverse
entity Magister Artium
relation academic degree
type common name
action filter_type
action find_reverse
entity mechanical engineering
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'Magister Artium'] [{'concept': 'common name'}, 'academic degree', 'mechanical engineering']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { VALUES ( ?o ) { ( resource:Magister_Artium ) ( resource:mechanical_engineering ) } . ?l property:academic_degree ?o }
[]
common name
SYSTEM
18
Q18002429 Q2475969 Q26736154 Q102430 Q73500 Q15842048 Q25727684 Q19475869 Q65520 Q109433 Q1488138 Q1246273 Q792859 Q2433630 Q1584629 Q95515 Q26162501 Q112835
(c(Q502895),P512,Q1884145) (c(Q502895),P512,Q101333)
action count
action union
action filter_type
action find_reverse
entity Q1884145
relation P512
type Q502895
action filter_type
action find_reverse
entity Q101333
relation P512
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P512', 'Q1884145'] [{'concept': 'Q502895'}, 'P512', 'Q101333']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { VALUES ( ?o ) { ( resource:Q1884145 ) ( resource:Q101333 ) } . ?l property:P512 ?o }
Markus Kaim Ulrich Heyden Kai Lämmerhirt Sonia Mikich Philipp Mißfelder Reiner Holznagel Rima Varzhapetyan-Feller Ansgar Sebastian Klein Daniela Schadt Doris Ahnen Nikolaus Blome Dorothea Schäfer Aydan Özoğuz Tilman Mayer Harald Meller Klaus Barthel Meret Strothmann Frank Schirrmacher
18
action count
action union
action filter_type
action find_reverse
entity Magister Artium
relation academic degree
type common name
action filter_type
action find_reverse
entity mechanical engineering
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'Magister Artium'] [{'concept': 'common name'}, 'academic degree', 'mechanical engineering']
SELECT DISTINCT ( COUNT ( ?l ) AS ?e ) WHERE { VALUES ( ?o ) { ( resource:Magister_Artium ) ( resource:mechanical_engineering ) } . ?l property:academic_degree ?o }
[]
Logical Reasoning (All)
Logical|Difference|Multiple_Relation
Q362 Q23306307
P734 P607
Q502895
USER
Which people have Mutō as surname and were not consumed in World War II ?
AND((c(Q502895),P734,Q23306307), NOT((c(Q502895),P607,Q362)))
action filter_type
action difference
action find_reverse
entity Q23306307
relation P734
action find_reverse
entity Q362
relation P607
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q23306307'], {'NOT': [[{'concept': 'Q502895'}, 'P607', 'Q362']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P734 resource:Q23306307 . FILTER NOT EXISTS { ?n property:P607 resource:Q362 } . ?n rdf:type ontology:Q502895 }
World War II Mutō
action filter_type
action difference
action find_reverse
entity Mutō
relation family name
action find_reverse
entity World War II
relation conflict
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Mutō'], {'NOT': [[{'concept': 'common name'}, 'conflict', 'World War II']]}]}
SELECT DISTINCT ?n WHERE { ?n property:family_name resource:Mutō . FILTER NOT EXISTS { ?n property:conflict resource:World_War_II } . ?n rdf:type ontology:common_name }
[]
common name
Q17217229 Q11546525 Q15121214 Q11546537 Q11546516 Q11546510 Q11546496 Q927964 Q11546472 Q11546518
SYSTEM
Some of them are Kazuko Mutō, Hideaki Mutō, Mutō Hiromi, Shizuka Mutō, Akira Mutō, Izumi Muto, Takayuki Mutō, Keiji Mutoh, Mitsurō Mutō, Itoji Mutō
Q11567502 Q2445302 Q15121214 Q11546467 Q15401668 Q11546466 Q11546477 Q11546528 Q6139397 Q11546518 Q11546489 Q11546488 Q11546465 Q11546464 Q11546539 Q11546482 Q11546537 Q11546510 Q11546481 Q11546512 Q11546487 Q11546514 Q11546485 Q11546516 Q11546480 Q11546495 Q17217213 Q1150962 Q11546486 Q11546473 Q11546526 Q9009823 Q17217268 Q11546468 Q9009848 Q11546505 Q3070821 Q704507 Q11546458 Q8062054 Q1254778 Q15059210 Q278832 Q8054534 Q7461657 Q11546520 Q11546521 Q17217264 Q17217229 Q11546498 Q11546499 Q11546540 Q11546527 Q11546502 Q11546503 Q11546496 Q11546497 Q11546490 Q11546491 Q11546492 Q11546493 Q11546536 Q11546472 Q11546460 Q11546478 Q11546522 Q17231457 Q11546515 Q927964 Q17230506 Q11546471 Q17217254 Q9010428 Q11546531 Q11546476 Q2805226 Q11546524 Q11546525 Q11546529 Q11546535 Q939576
AND((c(Q502895),P734,Q23306307), NOT((c(Q502895),P607,Q362)))
action filter_type
action difference
action find_reverse
entity Q23306307
relation P734
action find_reverse
entity Q362
relation P607
type Q502895
[ANSWERS] have Mutō as surname and were not consumed in World War II
{'AND': [[{'concept': 'Q502895'}, 'P734', 'Q23306307'], {'NOT': [[{'concept': 'Q502895'}, 'P607', 'Q362']]}]}
SELECT DISTINCT ?n WHERE { ?n property:P734 resource:Q23306307 . FILTER NOT EXISTS { ?n property:P607 resource:Q362 } . ?n rdf:type ontology:Q502895 }
Takashi Mutō Toshirō Mutō Mutō Hiromi Noriko Mutō Yoshinori Muto Yoshinori Mutō Tomoki Mutō Takaya Mutō Sakae Mutō Itoji Mutō Kan'ichi Mutō Shuichi Mutō Kazukuni Mutō Kazuo Mutō Takeo Mutō Kaichi Mutō Shizuka Mutō Izumi Muto Yoshinori Mutō Yasuaki Mutō Takayuki Mutō Yūko Mutō Yoshitaka Mutō Akira Mutō Tetsuhiro Mutō Sanji Mutō Ichiyō Mutō Nobuyoshi Mutō Takashi Mutō Kōichi Mutō Hiroyo Mutō Hiromu Mutō Yasunosuke Mutō Nobuaki Mutō Ayami Mutō Shōhei Mutō Kiyoshi Mutō Kaneyoshi Muto Sayaka Mutō Yuta Muto Shinichi Muto Tomu Mutō Hideki Mutoh Yoji Muto Masatoshi Mutō Ayako Mutō Shūji Mutō Tsugumi Mutō Kazuko Mutō Tsunesuke Mutō Kōji Mutō Asami Mutō Norio Mutō Yasushi Mutō Emi Mutō Takayuki Mutō Takayuki Mutō Masao Mutō Sumi Mutō Tomio Mutō Shōgo Mutō Junkyū Mutō Mitsurō Mutō Nami Mutō Hiroshi Mutō Shōichi Mutō Seiji Mutō Sadao Mutō Keiji Mutoh Chiharu Mutō Takeshi Mutō Shinsuke Mutō Jun'ichirō Mutō Unjūrō Mutō Katsutoshi Mutō Yuki Muto Hideo Mutō Hideaki Mutō Teruhito Mutō Ryūichi Mutō Kabun Mutō
Kazuko Mutō, Hideaki Mutō, Mutō Hiromi, Shizuka Mutō, Akira Mutō, Izumi Muto, Takayuki Mutō, Keiji Mutoh, Mitsurō Mutō and Itoji Mutō have Mutō as surname and were not consumed in World War II
Kazuko Mutō Hideaki Mutō Mutō Hiromi Shizuka Mutō Akira Mutō Izumi Muto Takayuki Mutō Keiji Mutoh Mitsurō Mutō Itoji Mutō
action filter_type
action difference
action find_reverse
entity Mutō
relation family name
action find_reverse
entity World War II
relation conflict
type common name
{'AND': [[{'concept': 'common name'}, 'family name', 'Mutō'], {'NOT': [[{'concept': 'common name'}, 'conflict', 'World War II']]}]}
SELECT DISTINCT ?n WHERE { ?n property:family_name resource:Mutō . FILTER NOT EXISTS { ?n property:conflict resource:World_War_II } . ?n rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3565743 Q11546510
P39 P106
Q12737077
USER
Which occupations are the professions of Izumi Muto or were the positions held by Walter Edward Foster ?
OR((Q11546510,P106,c(Q12737077)), (Q3565743,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q11546510
relation P106
action find
entity Q3565743
relation P39
type Q12737077
{'OR': [['Q11546510', 'P106', {'concept': 'Q12737077'}], ['Q3565743', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q11546510 property:P106 ?s } UNION { resource:Q3565743 property:P39 ?s } } . ?s rdf:type ontology:Q12737077 }
Walter Edward Foster Izumi Muto
action filter_type
action union
action find
entity Izumi Muto
relation occupation
action find
entity Walter Edward Foster
relation position held
type occupation
{'OR': [['Izumi Muto', 'occupation', {'concept': 'occupation'}], ['Walter Edward Foster', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Izumi_Muto property:occupation ?s } UNION { resource:Walter_Edward_Foster property:position_held ?s } } . ?s rdf:type ontology:occupation }
[]
occupation
Q18984329 Q81096 Q12270252 Q18524027
SYSTEM
member of the Legislative Assembly of New Brunswick, engineer, Premier of New Brunswick, Member of the Senate of Canada
Q18984329 Q81096 Q12270252 Q18524027
OR((Q11546510,P106,c(Q12737077)), (Q3565743,P39,c(Q12737077)))
action filter_type
action union
action find
entity Q11546510
relation P106
action find
entity Q3565743
relation P39
type Q12737077
[ANSWERS] are the professions of Izumi Muto or were the positions held by Walter Edward Foster
{'OR': [['Q11546510', 'P106', {'concept': 'Q12737077'}], ['Q3565743', 'P39', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q11546510 property:P106 ?s } UNION { resource:Q3565743 property:P39 ?s } } . ?s rdf:type ontology:Q12737077 }
member of the Legislative Assembly of New Brunswick engineer Premier of New Brunswick Member of the Senate of Canada
Member of the Legislative Assembly of New Brunswick, engineer, Premier of New Brunswick and Member of the Senate of Canada are the professions of Izumi Muto or were the positions held by Walter Edward Foster
member of the Legislative Assembly of New Brunswick engineer Premier of New Brunswick Member of the Senate of Canada
action filter_type
action union
action find
entity Izumi Muto
relation occupation
action find
entity Walter Edward Foster
relation position held
type occupation
{'OR': [['Izumi Muto', 'occupation', {'concept': 'occupation'}], ['Walter Edward Foster', 'position held', {'concept': 'occupation'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Izumi_Muto property:occupation ?s } UNION { resource:Walter_Edward_Foster property:position_held ?s } } . ?s rdf:type ontology:occupation }
[]