Simple Question (Direct)
Simple Question
Q1600664
P106
Q12737077
USER
What do Heinz Moog do for a living ?
(Q1600664,P106,c(Q12737077))
action filter_type
action find
entity Q1600664
relation P106
type Q12737077
['Q1600664', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1600664 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Heinz Moog
action filter_type
action find
entity Heinz Moog
relation occupation
type occupation
['Heinz Moog', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Heinz_Moog property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q33999 Q2259451
SYSTEM
actor, stage actor
Q33999 Q2259451
(Q1600664,P106,c(Q12737077))
action filter_type
action find
entity Q1600664
relation P106
type Q12737077
[ANSWERS] Heinz Moog do for a living
['Q1600664', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q1600664 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
actor stage actor
Actor and stage actor Heinz Moog do for a living
actor stage actor
action filter_type
action find
entity Heinz Moog
relation occupation
type occupation
['Heinz Moog', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Heinz_Moog property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1600664
P166
Q618779
USER
What was won by that person ?
(Q33999,P166,c(Q618779)) (Q2259451,P166,c(Q618779))
action filter_type
action find
entity Q1600664
relation P166
type Q618779
['Q33999', 'P166', {'concept': 'Q618779'}] ['Q2259451', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1600664 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Heinz Moog
action filter_type
action find
entity Heinz Moog
relation award received
type award
['actor', 'award received', {'concept': 'award'}] ['stage actor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Heinz_Moog property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q1450895
SYSTEM
Kainz Medal
Q1450895
(Q33999,P166,c(Q618779)) (Q2259451,P166,c(Q618779))
action filter_type
action find
entity Q1600664
relation P166
type Q618779
The [ANSWER] was won by that person
['Q33999', 'P166', {'concept': 'Q618779'}] ['Q2259451', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q1600664 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Kainz Medal
The Kainz Medal was won by that person
Kainz Medal
action filter_type
action find
entity Heinz Moog
relation award received
type award
['actor', 'award received', {'concept': 'award'}] ['stage actor', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Heinz_Moog property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1600664
P20
Q56061
USER
Which administrative territory is the place of death of Heinz Moog ?
(Q1600664,P20,c(Q56061))
action filter_type
action find
entity Q1600664
relation P20
type Q56061
['Q1600664', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1600664 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Heinz Moog
action filter_type
action find
entity Heinz Moog
relation place of death
type administrative territorial entity
['Heinz Moog', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Heinz_Moog property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q1600664,P20,c(Q56061))
action filter_type
action find
entity Q1600664
relation P20
type Q56061
[ANSWER] is the place of death of Heinz Moog
['Q1600664', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q1600664 property:P20 ?h . ?h rdf:type ontology:Q56061 }
Vienna
Vienna is the place of death of Heinz Moog
Vienna
action filter_type
action find
entity Heinz Moog
relation place of death
type administrative territorial entity
['Heinz Moog', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Heinz_Moog property:place_of_death ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1600664
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q1741,P27,c(Q1048835))
action filter_type
action find
entity Q1600664
relation P27
type Q1048835
['Q1741', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q1600664 property:P27 ?g }
Heinz Moog
action filter_type
action find
entity Heinz Moog
relation country of citizenship
type political territorial entity
['Vienna', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Heinz_Moog property:country_of_citizenship ?g }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1741,P27,c(Q1048835))
action filter_type
action find
entity Q1600664
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q1741', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1048835 . resource:Q1600664 property:P27 ?g }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Heinz Moog
relation country of citizenship
type political territorial entity
['Vienna', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:political_territorial_entity . resource:Heinz_Moog property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1600664
P161
Q838948
USER
Which works of art stars that person as actor ?
(c(Q838948),P161,Q183)
action filter_type
action find_reverse
entity Q1600664
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q183']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P161 resource:Q1600664 }
Heinz Moog
action filter_type
action find_reverse
entity Heinz Moog
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Germany']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:cast_member resource:Heinz_Moog }
[]
work of art
Q161700 Q700765 Q1732325
SYSTEM
1. April 2000, Ludwig, Karl May
Q3488219 Q1328227 Q700765 Q430944 Q1732325 Q17034973 Q3955490 Q161700 Q20814770 Q698320 Q649600 Q20814769
(c(Q838948),P161,Q183)
action filter_type
action find_reverse
entity Q1600664
relation P161
type Q838948
[ANSWERS] star that person as actor
[{'concept': 'Q838948'}, 'P161', 'Q183']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . ?z property:P161 resource:Q1600664 }
Mahuliena, Golden Maiden The Secret Ways Ludwig Sebastian Kneipp Karl May Tramps Senza bandiera 1. April 2000 The Spendthrift The Trial Senso The Spendthrift
1. April 2000, Ludwig and Karl May star that person as actor
1. April 2000 Ludwig Karl May
action filter_type
action find_reverse
entity Heinz Moog
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Germany']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . ?z property:cast_member resource:Heinz_Moog }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q752633
P2079
Q2695280 Q838948
USER
Which technicss are used to assemble approximately the same number of works of art as linocut technique ?
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q752633
relation P2079
type Q2695280
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q752633 property:P2079 ?e . ?e rdf:type ontology:Q2695280 } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P2079 ?r . ?r rdf:type ontology:Q2695280 . ?q rdf:type ontology:Q838948 } GROUP BY ?r } }
linocut technique
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity linocut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:linocut_technique property:fabrication_method ?e . ?e rdf:type ontology:technics } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:fabrication_method ?r . ?r rdf:type ontology:technics . ?q rdf:type ontology:work_of_art } GROUP BY ?r } }
[]
technics work of art
Q173242 Q26265824 Q139106
SYSTEM
woodcut technique, chasing, engraving
Q11750728 Q9363879 Q173242 Q204867 Q192047 Q752633 Q26265824 Q139106 Q133036 Q2657271
(c(Q838948),P2079,c(Q2695280))
action approx
action find_reverse_tuple_counts
relation P2079
type Q2695280
type Q838948
action count
action filter_type
action find
entity Q752633
relation P2079
type Q2695280
[ANSWERS] are used to assemble approximately the same number of works of art as linocut technique
[{'concept': 'Q838948'}, 'P2079', {'concept': 'Q2695280'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q752633 property:P2079 ?e . ?e rdf:type ontology:Q2695280 } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:P2079 ?r . ?r rdf:type ontology:Q2695280 . ?q rdf:type ontology:Q838948 } GROUP BY ?r } }
Punching stamping woodcut technique zincography machining linocut technique chasing engraving lithography silvering
Woodcut technique, chasing and engraving are used to assemble approximately the same number of works of art as linocut technique
woodcut technique chasing engraving
action approx
action find_reverse_tuple_counts
relation fabrication method
type technics
type work of art
action count
action filter_type
action find
entity linocut technique
relation fabrication method
type technics
[{'concept': 'work of art'}, 'fabrication method', {'concept': 'technics'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:linocut_technique property:fabrication_method ?e . ?e rdf:type ontology:technics } } . FILTER ( ?h = ?t ) . { SELECT DISTINCT ?r ( COUNT ( ?q ) AS ?h ) WHERE { ?q property:fabrication_method ?r . ?r rdf:type ontology:technics . ?q rdf:type ontology:work_of_art } GROUP BY ?r } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q502895 Q874405
USER
How many people and social groups have a job as that technics ?
(c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106) (c(Q502895),P106,Q173242) (c(Q874405),P106,Q173242) (c(Q502895),P106,Q26265824) (c(Q874405),P106,Q26265824) (c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106)
[{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106'] [{'concept': 'Q502895'}, 'P106', 'Q173242'] [{'concept': 'Q874405'}, 'P106', 'Q173242'] [{'concept': 'Q502895'}, 'P106', 'Q26265824'] [{'concept': 'Q874405'}, 'P106', 'Q26265824'] [{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } UNION { ?z property:Q528892 resource:Q173242 } UNION { ?y property:Q528892 resource:Q173242 } UNION { ?z property:Q528892 resource:Q26265824 } UNION { ?y property:Q528892 resource:Q26265824 } UNION { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
[{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving'] [{'concept': 'common name'}, 'occupation', 'woodcut technique'] [{'concept': 'social group'}, 'occupation', 'woodcut technique'] [{'concept': 'common name'}, 'occupation', 'chasing'] [{'concept': 'social group'}, 'occupation', 'chasing'] [{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } UNION { ?z property:occupation resource:woodcut_technique } UNION { ?y property:occupation resource:woodcut_technique } UNION { ?z property:occupation resource:chasing } UNION { ?y property:occupation resource:chasing } UNION { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
common name social group
Quantitative|Count|Mult. entity type|Clarification
Q173242
SYSTEM
Did you mean woodcut technique ?
[ANSWER]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } UNION { ?z property:Q528892 resource:Q173242 } UNION { ?y property:Q528892 resource:Q173242 } UNION { ?z property:Q528892 resource:Q26265824 } UNION { ?y property:Q528892 resource:Q26265824 } UNION { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
Did you mean woodcut technique ?
woodcut technique
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } UNION { ?z property:occupation resource:woodcut_technique } UNION { ?y property:occupation resource:woodcut_technique } UNION { ?z property:occupation resource:chasing } UNION { ?y property:occupation resource:chasing } UNION { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant engraving. Could you tell me the answer for that?
(c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106) (c(Q502895),P106,Q173242) (c(Q874405),P106,Q173242) (c(Q502895),P106,Q26265824) (c(Q874405),P106,Q26265824) (c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106)
Q139106
[{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106'] [{'concept': 'Q502895'}, 'P106', 'Q173242'] [{'concept': 'Q874405'}, 'P106', 'Q173242'] [{'concept': 'Q502895'}, 'P106', 'Q26265824'] [{'concept': 'Q874405'}, 'P106', 'Q26265824'] [{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106']
[{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving'] [{'concept': 'common name'}, 'occupation', 'woodcut technique'] [{'concept': 'social group'}, 'occupation', 'woodcut technique'] [{'concept': 'common name'}, 'occupation', 'chasing'] [{'concept': 'social group'}, 'occupation', 'chasing'] [{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving']
[]
SYSTEM
12 people and 1 social groups
Q19587077 Q15140381 Q3263118 Q2834121 Q4285443 Q4167905 Q18644368 Q3173447 Q6170405 Q18578054 Q16369208 Q18123317 Q3439378
(c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106) (c(Q502895),P106,Q173242) (c(Q874405),P106,Q173242) (c(Q502895),P106,Q26265824) (c(Q874405),P106,Q26265824) (c(Q502895),P106,Q139106) (c(Q874405),P106,Q139106)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106'] [{'concept': 'Q502895'}, 'P106', 'Q173242'] [{'concept': 'Q874405'}, 'P106', 'Q173242'] [{'concept': 'Q502895'}, 'P106', 'Q26265824'] [{'concept': 'Q874405'}, 'P106', 'Q26265824'] [{'concept': 'Q502895'}, 'P106', 'Q139106'] [{'concept': 'Q874405'}, 'P106', 'Q139106']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } UNION { ?z property:Q528892 resource:Q173242 } UNION { ?y property:Q528892 resource:Q173242 } UNION { ?z property:Q528892 resource:Q26265824 } UNION { ?y property:Q528892 resource:Q26265824 } UNION { ?z property:Q528892 resource:Q22669429 } UNION { ?y property:Q528892 resource:Q22669429 } } . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q874405 }
Stanley Anderson Angelo Bottigelli Louis Simonneau Alexandre Vincent Sixdeniers Vasily Mate Gaspard Duchange Bouttats family Jean Massard Jean Charles Baquoy Pierre Michel Adam Charles Inselin Antoine-Jean Duclos Roger Portalis
12 people and 1 social groups
[{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving'] [{'concept': 'common name'}, 'occupation', 'woodcut technique'] [{'concept': 'social group'}, 'occupation', 'woodcut technique'] [{'concept': 'common name'}, 'occupation', 'chasing'] [{'concept': 'social group'}, 'occupation', 'chasing'] [{'concept': 'common name'}, 'occupation', 'engraving'] [{'concept': 'social group'}, 'occupation', 'engraving']
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { { { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } UNION { ?z property:occupation resource:woodcut_technique } UNION { ?y property:occupation resource:woodcut_technique } UNION { ?z property:occupation resource:chasing } UNION { ?y property:occupation resource:chasing } UNION { ?z property:occupation resource:engraving } UNION { ?y property:occupation resource:engraving } } . ?z rdf:type ontology:common_name . ?y rdf:type ontology:social_group }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6655 Q183
P17 P421
Q15617994
USER
Which administrative territories are present in Germany and are UTC+01:00 a time zone for ?
AND((c(Q15617994),P17,Q183), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q6655
relation P421
type Q15617994
{'AND': [[{'concept': 'Q15617994'}, 'P17', 'Q183'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?s WHERE { ?s property:P17 resource:Q183 . ?s property:P421 resource:Q6655 . ?s rdf:type ontology:Q15617994 }
UTC+01:00 Germany
action filter_type
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Germany'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?s WHERE { ?s property:country resource:Germany . ?s property:located_in_time_zone resource:UTC+01:00 . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q427153 Q550275 Q6998 Q161729 Q681112 Q6968 Q2871 Q258978 Q2838 Q6823
SYSTEM
Some of them are Heilsbronn, Ranis, Freising, Wülfrath, Scheid, Erkrath, Hagen, Hinterschmiding, Oberhausen, Frechen
Q2107 Q2769 Q505785 Q473259 Q522992 Q158893 Q14926 Q2765 Q266230 Q2789 Q252884 Q161729 Q503970 Q257831 Q165934 Q603392 Q2899 Q2871 Q550767 Q2904 Q3952 Q487328 Q550275 Q6823 Q2742 Q504093 Q681112 Q2942 Q427153 Q2838 Q6968 Q547819 Q505232 Q14917 Q258978 Q14936 Q3758 Q502869 Q3097 Q6910 Q490398 Q104192 Q153969 Q46789 Q503684 Q489932 Q437200 Q2938 Q6998 Q46773 Q2805 Q7077 Q3923
AND((c(Q15617994),P17,Q183), (c(Q15617994),P421,Q6655))
action filter_type
action intersection
action find_reverse
entity Q183
relation P17
action find_reverse
entity Q6655
relation P421
type Q15617994
[ANSWERS] are present in Germany and are UTC+01:00 a time zone for
{'AND': [[{'concept': 'Q15617994'}, 'P17', 'Q183'], [{'concept': 'Q15617994'}, 'P421', 'Q6655']]}
SELECT DISTINCT ?s WHERE { ?s property:P17 resource:Q183 . ?s property:P421 resource:Q6655 . ?s rdf:type ontology:Q15617994 }
Wuppertal Warendorf Pförring Ammerthal Braunlage Friedrichshain-Kreuzberg Senden Gelsenkirchen Oberstdorf Telgte Burgkirchen an der Alz Wülfrath Helvesiek Übersee Bokensdorf Schönwalde Mülheim an der Ruhr Hagen Meißenheim Herne Plauen Marktl Ranis Frechen Münster Lauenbrück Scheid Solingen Heilsbronn Oberhausen Erkrath Markt Wald Vahlde Greven Hinterschmiding Emsdetten Kaiserslautern Stemmen Remscheid Dülmen Peenemünde Kleinmachnow Lindau Pöhl Fintel Allstedt Altenhausen Leverkusen Freising Neuensalz Krefeld Dachau Bayreuth
Heilsbronn, Ranis, Freising, Wülfrath, Scheid, Erkrath, Hagen, Hinterschmiding, Oberhausen and Frechen are present in Germany and are UTC+01:00 a time zone for
Heilsbronn Ranis Freising Wülfrath Scheid Erkrath Hagen Hinterschmiding Oberhausen Frechen
action filter_type
action intersection
action find_reverse
entity Germany
relation country
action find_reverse
entity UTC+01:00
relation located in time zone
type designation for an administrative territorial entity
{'AND': [[{'concept': 'designation for an administrative territorial entity'}, 'country', 'Germany'], [{'concept': 'designation for an administrative territorial entity'}, 'located in time zone', 'UTC+01:00']]}
SELECT DISTINCT ?s WHERE { ?s property:country resource:Germany . ?s property:located_in_time_zone resource:UTC+01:00 . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q2838
P159
Q43229 Q19335303
USER
How many organizations and German business organizations have their head office location at Oberhausen ?
(c(Q43229),P159,Q2838) (c(Q19335303),P159,Q2838)
action count
action union
action filter_type
action find_reverse
entity Q2838
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2838
relation P159
type Q19335303
[{'concept': 'Q43229'}, 'P159', 'Q2838'] [{'concept': 'Q19335303'}, 'P159', 'Q2838']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P159 resource:Q2838 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P159 resource:Q2838 . ?o rdf:type ontology:Q19335303 } }
Oberhausen
action count
action union
action filter_type
action find_reverse
entity Oberhausen
relation headquarters location
type organization
action filter_type
action find_reverse
entity Oberhausen
relation headquarters location
type type of business entity in Germany
[{'concept': 'organization'}, 'headquarters location', 'Oberhausen'] [{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Oberhausen']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:headquarters_location resource:Oberhausen . ?o rdf:type ontology:organization } UNION { ?o property:headquarters_location resource:Oberhausen . ?o rdf:type ontology:type_of_business_entity_in_Germany } }
[]
organization type of business entity in Germany
SYSTEM
3 organizations and 2 German business organizations
Q5427414 Q797606 Q443992 Q1689556 Q321805
(c(Q43229),P159,Q2838) (c(Q19335303),P159,Q2838)
action count
action union
action filter_type
action find_reverse
entity Q2838
relation P159
type Q43229
action filter_type
action find_reverse
entity Q2838
relation P159
type Q19335303
[ANSWER]
[{'concept': 'Q43229'}, 'P159', 'Q2838'] [{'concept': 'Q19335303'}, 'P159', 'Q2838']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P159 resource:Q2838 . ?o rdf:type ontology:Q43229 } UNION { ?o property:P159 resource:Q2838 . ?o rdf:type ontology:Q19335303 } }
FXdirekt Bank Deutsche Babcock Bilfinger Power Systems GmbH MAN Turbo AG Babcock Borsig Service
3 organizations and 2 German business organizations
action count
action union
action filter_type
action find_reverse
entity Oberhausen
relation headquarters location
type organization
action filter_type
action find_reverse
entity Oberhausen
relation headquarters location
type type of business entity in Germany
[{'concept': 'organization'}, 'headquarters location', 'Oberhausen'] [{'concept': 'type of business entity in Germany'}, 'headquarters location', 'Oberhausen']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:headquarters_location resource:Oberhausen . ?o rdf:type ontology:organization } UNION { ?o property:headquarters_location resource:Oberhausen . ?o rdf:type ontology:type_of_business_entity_in_Germany } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q474639 Q161729
P17
Q1048835
USER
Which political territories are Wülfrath or Rotorua International Stadium situated in ?
OR((Q161729,P17,c(Q1048835)), (Q474639,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q161729
relation P17
action find
entity Q474639
relation P17
type Q1048835
{'OR': [['Q161729', 'P17', {'concept': 'Q1048835'}], ['Q474639', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q474639 property:P17 ?c } UNION { resource:Q161729 property:P17 ?c } } . ?c rdf:type ontology:Q1048835 }
Rotorua International Stadium Wülfrath
action filter_type
action union
action find
entity Wülfrath
relation country
action find
entity Rotorua International Stadium
relation country
type political territorial entity
{'OR': [['Wülfrath', 'country', {'concept': 'political territorial entity'}], ['Rotorua International Stadium', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Rotorua_International_Stadium property:country ?c } UNION { resource:Wülfrath property:country ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q664 Q183
SYSTEM
New Zealand, Germany
Q664 Q183
OR((Q161729,P17,c(Q1048835)), (Q474639,P17,c(Q1048835)))
action filter_type
action union
action find
entity Q161729
relation P17
action find
entity Q474639
relation P17
type Q1048835
[ANSWERS]
{'OR': [['Q161729', 'P17', {'concept': 'Q1048835'}], ['Q474639', 'P17', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q474639 property:P17 ?c } UNION { resource:Q161729 property:P17 ?c } } . ?c rdf:type ontology:Q1048835 }
New Zealand Germany
Which political territories are Wülfrath or Rotorua International Stadium situated in
New Zealand Germany
action filter_type
action union
action find
entity Wülfrath
relation country
action find
entity Rotorua International Stadium
relation country
type political territorial entity
{'OR': [['Wülfrath', 'country', {'concept': 'political territorial entity'}], ['Rotorua International Stadium', 'country', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Rotorua_International_Stadium property:country ?c } UNION { resource:Wülfrath property:country ?c } } . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q664 Q183
P530
Q1048835
USER
Who holds diplomatic relationship with New Zealand and Germany ?
(Q664,P530,c(Q1048835)) (Q183,P530,c(Q1048835))
action union
action filter_type
action find
entity Q664
relation P530
type Q1048835
action filter_type
action find
entity Q183
relation P530
type Q1048835
['Q664', 'P530', {'concept': 'Q1048835'}] ['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { resource:Q664 property:P530 ?s . ?s rdf:type ontology:Q1048835 } UNION { resource:Q183 property:P530 ?s . ?s rdf:type ontology:Q1048835 } }
New Zealand Germany
action union
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:New_Zealand property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } UNION { resource:Germany property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } }
[]
political territorial entity
Q183 Q408 Q408
SYSTEM
Australia for 2nd, 3rd, Germany for 1st
Q408 Q16 Q183 Q664 Q408 Q40 Q35 Q16 Q1000
(Q664,P530,c(Q1048835)) (Q183,P530,c(Q1048835))
action union
action filter_type
action find
entity Q664
relation P530
type Q1048835
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWERS]
['Q664', 'P530', {'concept': 'Q1048835'}] ['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?s WHERE { { resource:Q664 property:P530 ?s . ?s rdf:type ontology:Q1048835 } UNION { resource:Q183 property:P530 ?s . ?s rdf:type ontology:Q1048835 } }
Australia Canada Germany New Zealand Australia Austria Denmark Canada Gabon
Germany, Australia and Australia hold diplomatic relationship with New Zealand and Germany
Germany Australia Australia
action union
action filter_type
action find
entity New Zealand
relation diplomatic relation
type political territorial entity
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['New Zealand', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?s WHERE { { resource:New_Zealand property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } UNION { resource:Germany property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity } }
[]