Simple Question (Direct)
Simple Question
Q876168
P735
Q82799
USER
What is the firstname of Max Weiss ?
(Q876168,P735,c(Q82799))
action filter_type
action find
entity Q876168
relation P735
type Q82799
['Q876168', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q876168 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Max Weiss
action filter_type
action find
entity Max Weiss
relation given name
type name
['Max Weiss', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Max_Weiss property:given_name ?a . ?a rdf:type ontology:name }
[]
name
Q657436
SYSTEM
Miksa
Q657436
(Q876168,P735,c(Q82799))
action filter_type
action find
entity Q876168
relation P735
type Q82799
The firstname of Max Weiss is the [ANSWER]
['Q876168', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q876168 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Miksa
The firstname of Max Weiss is the Miksa
Miksa
action filter_type
action find
entity Max Weiss
relation given name
type name
['Max Weiss', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Max_Weiss property:given_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q876168
P20
Q56061
USER
Where did Max Weiss expire ?
(Q876168,P20,c(Q56061))
action filter_type
action find
entity Q876168
relation P20
type Q56061
['Q876168', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q876168 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Max Weiss
action filter_type
action find
entity Max Weiss
relation place of death
type administrative territorial entity
['Max Weiss', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Max_Weiss property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q876168,P20,c(Q56061))
action filter_type
action find
entity Q876168
relation P20
type Q56061
Max Weiss expired [ANSWER]
['Q876168', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q876168 property:P20 ?c . ?c rdf:type ontology:Q56061 }
Vienna
Max Weiss expired Vienna
Vienna
action filter_type
action find
entity Max Weiss
relation place of death
type administrative territorial entity
['Max Weiss', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Max_Weiss property:place_of_death ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P276
Q841509
USER
Which significant other is situated at that administrative territory ?
(c(Q841509),P276,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P276
type Q841509
[{'concept': 'Q841509'}, 'P276', 'Q1741']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q1741 . ?x rdf:type ontology:Q841509 }
Vienna
action filter_type
action find_reverse
entity Vienna
relation location
type significant other
[{'concept': 'significant other'}, 'location', 'Vienna']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Vienna . ?x rdf:type ontology:significant_other }
[]
significant other
Q18684484
SYSTEM
Marriage of Franz Joseph I of Austria and Elisabeth of Bavaria
Q18684484
(c(Q841509),P276,Q1741)
action filter_type
action find_reverse
entity Q1741
relation P276
type Q841509
[ANSWER] is situated at that administrative territory
[{'concept': 'Q841509'}, 'P276', 'Q1741']
SELECT DISTINCT ?x WHERE { ?x property:P276 resource:Q1741 . ?x rdf:type ontology:Q841509 }
Marriage of Franz Joseph I of Austria and Elisabeth of Bavaria
Marriage of Franz Joseph I of Austria and Elisabeth of Bavaria is situated at that administrative territory
Marriage of Franz Joseph I of Austria and Elisabeth of Bavaria
action filter_type
action find_reverse
entity Vienna
relation location
type significant other
[{'concept': 'significant other'}, 'location', 'Vienna']
SELECT DISTINCT ?x WHERE { ?x property:location resource:Vienna . ?x rdf:type ontology:significant_other }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1741
P166
Q618779
USER
What was awarded to Vienna ?
(Q1741,P166,c(Q618779))
action filter_type
action find
entity Q1741
relation P166
type Q618779
['Q1741', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q1741 property:P166 ?v . ?v rdf:type ontology:Q618779 }
Vienna
action filter_type
action find
entity Vienna
relation award received
type award
['Vienna', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Vienna property:award_received ?v . ?v rdf:type ontology:award }
[]
award
Q20828891
SYSTEM
European City of the Reformation
Q20828891
(Q1741,P166,c(Q618779))
action filter_type
action find
entity Q1741
relation P166
type Q618779
[ANSWER] was awarded to Vienna
['Q1741', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?v WHERE { resource:Q1741 property:P166 ?v . ?v rdf:type ontology:Q618779 }
European City of the Reformation
European City of the Reformation was awarded to Vienna
European City of the Reformation
action filter_type
action find
entity Vienna
relation award received
type award
['Vienna', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?v WHERE { resource:Vienna property:award_received ?v . ?v rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11981292
Q618779
USER
And what about Knut Flåthen?
(Q11981292,P166,c(Q618779))
action filter_type
action find
entity Q11981292
relation P166
type Q618779
['Q11981292', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q11981292 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Knut Flåthen
action filter_type
action find
entity Knut Flåthen
relation award received
type award
['Knut Flåthen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Knut_Flåthen property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q1890947
SYSTEM
Order of the Lion of Finland
Q1890947
(Q11981292,P166,c(Q618779))
action filter_type
action find
entity Q11981292
relation P166
type Q618779
[ANSWER]
['Q11981292', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q11981292 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Order of the Lion of Finland
Order of the Lion of Finland
action filter_type
action find
entity Knut Flåthen
relation award received
type award
['Knut Flåthen', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Knut_Flåthen property:award_received ?u . ?u rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that award present in ?
(Q1890947,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1890947
relation P17
type Q15617994
['Q1890947', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q1890947 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Order of the Lion of Finland
relation country
type designation for an administrative territorial entity
['Order of the Lion of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Order_of_the_Lion_of_Finland property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q33
(Q1890947,P17,c(Q15617994))
action count
action filter_type
action find
entity Q1890947
relation P17
type Q15617994
[ANSWER]
['Q1890947', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Q1890947 property:P17 ?i . ?i rdf:type ontology:Q15617994 }
Finland
1
action count
action filter_type
action find
entity Order of the Lion of Finland
relation country
type designation for an administrative territorial entity
['Order of the Lion of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?v ) WHERE { resource:Order_of_the_Lion_of_Finland property:country ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16214505 Q1890947
P27 P17
Q15617994
USER
Which administrative territories do Order of the Lion of Finland belong to or do Armen Martirosyan belong to ?
OR((Q1890947,P17,c(Q15617994)), (Q16214505,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1890947
relation P17
action find
entity Q16214505
relation P27
type Q15617994
{'OR': [['Q1890947', 'P17', {'concept': 'Q15617994'}], ['Q16214505', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1890947 property:P17 ?d } UNION { resource:Q16214505 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Armen Martirosyan Order of the Lion of Finland
action filter_type
action union
action find
entity Order of the Lion of Finland
relation country
action find
entity Armen Martirosyan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Order of the Lion of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armen Martirosyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Order_of_the_Lion_of_Finland property:country ?d } UNION { resource:Armen_Martirosyan property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33 Q399
SYSTEM
Finland, Armenia
Q33 Q399
OR((Q1890947,P17,c(Q15617994)), (Q16214505,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1890947
relation P17
action find
entity Q16214505
relation P27
type Q15617994
Order of the Lion of Finland belong to the [ANSWERS]
{'OR': [['Q1890947', 'P17', {'concept': 'Q15617994'}], ['Q16214505', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q1890947 property:P17 ?d } UNION { resource:Q16214505 property:P27 ?d } } . ?d rdf:type ontology:Q15617994 }
Finland Armenia
Order of the Lion of Finland belong to the Finland and Armenia
Finland Armenia
action filter_type
action union
action find
entity Order of the Lion of Finland
relation country
action find
entity Armen Martirosyan
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Order of the Lion of Finland', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Armen Martirosyan', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Order_of_the_Lion_of_Finland property:country ?d } UNION { resource:Armen_Martirosyan property:country_of_citizenship ?d } } . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories holds diplomatic relationship with max number of administrative territories ?
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?g ) WHERE { ?r property:P530 ?s . ?r rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?y ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?y = ?z ) }
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?g ) WHERE { ?r property:diplomatic_relation ?s . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?y ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?y = ?z ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(c(Q15617994),P530,Q953)
action argmax
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
[ANSWER] holds diplomatic relationship with max number of administrative territories
[{'concept': 'Q15617994'}, 'P530', 'Q953']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?g ) WHERE { ?r property:P530 ?s . ?r rdf:type ontology:Q15617994 . ?s rdf:type ontology:Q15617994 } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?y ) WHERE { ?l property:P530 ?d . ?l rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?l } . FILTER ( ?y = ?z ) }
Italy
Italy holds diplomatic relationship with max number of administrative territories
Italy
action argmax
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Zambia']
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?z ) { SELECT DISTINCT ?r ( COUNT ( ?s ) AS ?g ) WHERE { ?r property:diplomatic_relation ?s . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } } . { SELECT DISTINCT ?l ( COUNT ( ?d ) AS ?y ) WHERE { ?l property:diplomatic_relation ?d . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?y = ?z ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q38 Q599432
P495
Q838948
USER
Did Nutty Professor II: The Klumps originate in that administrative territory ?
(Q599432,P495,Q38)
action is_in
entity Q599432
action find
entity Q38
relation P495
['Q599432', 'P495', 'Q38']
ASK WHERE { resource:Q38 property:P495 resource:Q599432 }
Italy Nutty Professor II: The Klumps
action is_in
entity Nutty Professor II: The Klumps
action find
entity Italy
relation country of origin
['Nutty Professor II: The Klumps', 'country of origin', 'Italy']
ASK WHERE { resource:Italy property:country_of_origin resource:Nutty_Professor_II:_The_Klumps }
[]
work of art
SYSTEM
NO
(Q599432,P495,Q38)
action is_in
entity Q599432
action find
entity Q38
relation P495
[ANSWER]
['Q599432', 'P495', 'Q38']
ASK WHERE { resource:Q38 property:P495 resource:Q599432 }
No
action is_in
entity Nutty Professor II: The Klumps
action find
entity Italy
relation country of origin
['Nutty Professor II: The Klumps', 'country of origin', 'Italy']
ASK WHERE { resource:Italy property:country_of_origin resource:Nutty_Professor_II:_The_Klumps }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q971363
P1027
Q48204 Q19335303 Q618779
USER
How many awards are awarded by more number of voluntary associations or German business organizations than Guardian Children's Fiction Prize ?
(c(Q618779),P1027,c(Q48204)|c(Q19335303))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q48204
action find_tuple_counts
relation P1027
type Q618779
type Q19335303
action count
action filter_multi_types
action find
entity Q971363
relation P1027
type Q48204
type Q19335303
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q48204'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q48204 ) ( ontology:Q19335303 ) } . ?b rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:Q48204 } UNION { ?w rdf:type ontology:Q19335303 } } . resource:Q971363 property:P1027 ?w } } . FILTER ( ?z > ?k ) }
Guardian Children's Fiction Prize
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type voluntary association
action find_tuple_counts
relation conferred by
type award
type type of business entity in Germany
action count
action filter_multi_types
action find
entity Guardian Children's Fiction Prize
relation conferred by
type voluntary association
type type of business entity in Germany
[{'concept': 'award'}, 'conferred by', [{'concept': 'voluntary association'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:voluntary_association ) ( ontology:type_of_business_entity_in_Germany ) } . ?b rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:voluntary_association } UNION { ?w rdf:type ontology:type_of_business_entity_in_Germany } } . resource:Guardian_Children's_Fiction_Prize property:conferred_by ?w } } . FILTER ( ?z > ?k ) }
[]
voluntary association type of business entity in Germany award
SYSTEM
17
Q622813 Q3405510 Q5375541 Q1386242 Q22074510 Q17010358 Q1472266 Q1120501 Q531586 Q1320666 Q1046023 Q1026417 Q1043985 Q19539391 Q1529156 Q548088 Q1171511
(c(Q618779),P1027,c(Q48204)|c(Q19335303))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q48204
action find_tuple_counts
relation P1027
type Q618779
type Q19335303
action count
action filter_multi_types
action find
entity Q971363
relation P1027
type Q48204
type Q19335303
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q48204'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:Q48204 ) ( ontology:Q19335303 ) } . ?b rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:Q48204 } UNION { ?w rdf:type ontology:Q19335303 } } . resource:Q971363 property:P1027 ?w } } . FILTER ( ?z > ?k ) }
Newbery Medal Prix de l'essai Encore Award F.-C.-Weiskopf-Preis Leo Strauss Prize Producers Guild of America Award for Best Episodic Drama Kate Greenaway Medal Communicator Award of DFG Alex-Wedding-Preis Frisch Medal Carus medal Caldecott Medal Carnegie Medal Music Award of the Association of Arts and Culture of the German Economy at the Federation of German Industries Konrad Wolf Prize Heinrich Mann Prize Das politische Buch
17
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type voluntary association
action find_tuple_counts
relation conferred by
type award
type type of business entity in Germany
action count
action filter_multi_types
action find
entity Guardian Children's Fiction Prize
relation conferred by
type voluntary association
type type of business entity in Germany
[{'concept': 'award'}, 'conferred by', [{'concept': 'voluntary association'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?t ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?b ) AS ?z ) WHERE { VALUES ( ?m ) { ( ontology:voluntary_association ) ( ontology:type_of_business_entity_in_Germany ) } . ?b rdf:type ?m } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { { { ?w rdf:type ontology:voluntary_association } UNION { ?w rdf:type ontology:type_of_business_entity_in_Germany } } . resource:Guardian_Children's_Fiction_Prize property:conferred_by ?w } } . FILTER ( ?z > ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q1383983
P1027
Q48204 Q19335303 Q618779
USER
And what about Michael Faraday Prize?
(c(Q618779),P1027,c(Q48204)|c(Q19335303))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q48204
action find_tuple_counts
relation P1027
type Q618779
type Q19335303
action count
action filter_multi_types
action find
entity Q1383983
relation P1027
type Q48204
type Q19335303
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q48204'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?v WHERE { { ?v property:P1027 ?z . ?z rdf:type ontology:Q48204 . ?v rdf:type ontology:Q618779 } UNION { ?v property:P1027 ?z . ?v rdf:type ontology:Q618779 . ?z rdf:type ontology:Q19335303 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q1383983 property:P1027 ?m . { { ?m rdf:type ontology:Q48204 } UNION { ?m rdf:type ontology:Q19335303 } } } } . FILTER ( ?a > ?h ) }
Michael Faraday Prize
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type voluntary association
action find_tuple_counts
relation conferred by
type award
type type of business entity in Germany
action count
action filter_multi_types
action find
entity Michael Faraday Prize
relation conferred by
type voluntary association
type type of business entity in Germany
[{'concept': 'award'}, 'conferred by', [{'concept': 'voluntary association'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?v WHERE { { ?v property:conferred_by ?z . ?z rdf:type ontology:voluntary_association . ?v rdf:type ontology:award } UNION { ?v property:conferred_by ?z . ?v rdf:type ontology:award . ?z rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Michael_Faraday_Prize property:conferred_by ?m . { { ?m rdf:type ontology:voluntary_association } UNION { ?m rdf:type ontology:type_of_business_entity_in_Germany } } } } . FILTER ( ?a > ?h ) }
[]
voluntary association type of business entity in Germany award
SYSTEM
17
Q622813 Q3405510 Q5375541 Q1386242 Q22074510 Q17010358 Q1472266 Q1120501 Q531586 Q1320666 Q1046023 Q1026417 Q1043985 Q19539391 Q1529156 Q548088 Q1171511
(c(Q618779),P1027,c(Q48204)|c(Q19335303))
action count
action greater
action union
action find_tuple_counts
relation P1027
type Q618779
type Q48204
action find_tuple_counts
relation P1027
type Q618779
type Q19335303
action count
action filter_multi_types
action find
entity Q1383983
relation P1027
type Q48204
type Q19335303
[ANSWER]
[{'concept': 'Q618779'}, 'P1027', [{'concept': 'Q48204'}, {'concept': 'Q19335303'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?v WHERE { { ?v property:P1027 ?z . ?z rdf:type ontology:Q48204 . ?v rdf:type ontology:Q618779 } UNION { ?v property:P1027 ?z . ?v rdf:type ontology:Q618779 . ?z rdf:type ontology:Q19335303 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Q1383983 property:P1027 ?m . { { ?m rdf:type ontology:Q48204 } UNION { ?m rdf:type ontology:Q19335303 } } } } . FILTER ( ?a > ?h ) }
Newbery Medal Prix de l'essai Encore Award F.-C.-Weiskopf-Preis Leo Strauss Prize Producers Guild of America Award for Best Episodic Drama Kate Greenaway Medal Communicator Award of DFG Alex-Wedding-Preis Frisch Medal Carus medal Caldecott Medal Carnegie Medal Music Award of the Association of Arts and Culture of the German Economy at the Federation of German Industries Konrad Wolf Prize Heinrich Mann Prize Das politische Buch
17
action count
action greater
action union
action find_tuple_counts
relation conferred by
type award
type voluntary association
action find_tuple_counts
relation conferred by
type award
type type of business entity in Germany
action count
action filter_multi_types
action find
entity Michael Faraday Prize
relation conferred by
type voluntary association
type type of business entity in Germany
[{'concept': 'award'}, 'conferred by', [{'concept': 'voluntary association'}, {'concept': 'type of business entity in Germany'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) ?v WHERE { { ?v property:conferred_by ?z . ?z rdf:type ontology:voluntary_association . ?v rdf:type ontology:award } UNION { ?v property:conferred_by ?z . ?v rdf:type ontology:award . ?z rdf:type ontology:type_of_business_entity_in_Germany } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { resource:Michael_Faraday_Prize property:conferred_by ?m . { { ?m rdf:type ontology:voluntary_association } UNION { ?m rdf:type ontology:type_of_business_entity_in_Germany } } } } . FILTER ( ?a > ?h ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P530
Q5589178 Q15617994
USER
How many regimes or administrative territories have a diplomatic relationship with Italy ?
(Q38,P530,c(Q5589178)) (Q38,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q5589178
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q5589178'}] ['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q5589178 } UNION { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 } }
Italy
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type regime
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'regime'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:regime } UNION { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
regime designation for an administrative territorial entity
SYSTEM
75
Q805 Q219 Q801 Q189 Q843 Q184 Q948 Q822 Q419 Q668 Q228 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q31 Q229 Q347 Q33 Q32 Q17 Q30 Q37 Q36 Q79 Q34 Q928 Q39 Q733 Q739 Q227 Q423 Q191 Q1016 Q1246 Q77 Q298 Q211 Q252 Q114 Q399 Q41 Q403 Q159 Q258 Q217 Q212 Q213 Q236 Q45 Q230 Q43 Q214 Q215 Q155 Q218 Q233 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q869 Q29 Q884 Q28 Q881
(Q38,P530,c(Q5589178)) (Q38,P530,c(Q15617994))
action count
action union
action filter_type
action find
entity Q38
relation P530
type Q5589178
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q5589178'}] ['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q5589178 } UNION { resource:Q38 property:P530 ?z . ?z rdf:type ontology:Q15617994 } }
Yemen Bulgaria Israel Iceland Pakistan Belarus Tunisia Lebanon Peru India Andorra Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Belgium Cyprus Liechtenstein Finland Luxembourg Japan United States of America Lithuania Poland Egypt Sweden Philippines Switzerland Paraguay Colombia Azerbaijan North Korea Estonia Libya Kosovo Uruguay Chile Latvia Indonesia Kenya Armenia Greece Serbia Russia South Africa Republic of Moldova Ukraine Czech Republic Montenegro Portugal Georgia Turkey Slovakia Slovenia Brazil Romania Malta San Marino Iraq Iran Norway Somalia Afghanistan Ireland Thailand Spain South Korea Hungary Vietnam
75
action count
action union
action filter_type
action find
entity Italy
relation diplomatic relation
type regime
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'regime'}] ['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?p ) WHERE { { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:regime } UNION { resource:Italy property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q29999 Q38
P27
Q502895
USER
Which people are a citizen of Italy and Kingdom of the Netherlands ?
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q38 . ?g property:P27 resource:Q29999 . ?g rdf:type ontology:Q502895 }
Kingdom of the Netherlands Italy
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Italy . ?g property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?g rdf:type ontology:common_name }
[]
common name
Q240527 Q2014379
SYSTEM
Laura Gemser, Mino Raiola
Q240527 Q2014379
AND((c(Q502895),P27,Q38), (c(Q502895),P27,Q29999))
action filter_type
action intersection
action find_reverse
entity Q38
relation P27
action find_reverse
entity Q29999
relation P27
type Q502895
[ANSWERS] are a citizen of Italy and Kingdom of the Netherlands
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q38'], [{'concept': 'Q502895'}, 'P27', 'Q29999']]}
SELECT DISTINCT ?g WHERE { ?g property:P27 resource:Q38 . ?g property:P27 resource:Q29999 . ?g rdf:type ontology:Q502895 }
Laura Gemser Mino Raiola
Laura Gemser and Mino Raiola are a citizen of Italy and Kingdom of the Netherlands
Laura Gemser Mino Raiola
action filter_type
action intersection
action find_reverse
entity Italy
relation country of citizenship
action find_reverse
entity Kingdom of the Netherlands
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Italy'], [{'concept': 'common name'}, 'country of citizenship', 'Kingdom of the Netherlands']]}
SELECT DISTINCT ?g WHERE { ?g property:country_of_citizenship resource:Italy . ?g property:country_of_citizenship resource:Kingdom_of_the_Netherlands . ?g rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2014379
P21
Q290
USER
Which sex does that person have ?
(Q2014379,P21,c(Q290))
action filter_type
action find
entity Q2014379
relation P21
type Q290
['Q2014379', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2014379 property:P21 ?g . ?g rdf:type ontology:Q290 }
Mino Raiola
action filter_type
action find
entity Mino Raiola
relation gender
type sex
['Mino Raiola', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Mino_Raiola property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Clarification for simple ques.
Q240527
SYSTEM
Did you mean Laura Gemser ?
Q240527 Q2014379
(Q240527,P21,c(Q290)) (Q2014379,P21,c(Q290))
[ANSWER]
['Q240527', 'P21', {'concept': 'Q290'}] ['Q2014379', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2014379 property:P21 ?g . ?g rdf:type ontology:Q290 }
Laura Gemser Mino Raiola
Did you mean Laura Gemser ?
Laura Gemser
['Laura Gemser', 'gender', {'concept': 'sex'}] ['Mino Raiola', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Mino_Raiola property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
USER
No, I meant Mino Raiola. Could you tell me the answer for that?
(Q2014379,P21,c(Q290))
Q2014379
['Q2014379', 'P21', {'concept': 'Q290'}]
['Mino Raiola', 'gender', {'concept': 'sex'}]
[]
Q6581097
SYSTEM
male
Q6581097
(Q2014379,P21,c(Q290))
action filter_type
action find
entity Q2014379
relation P21
type Q290
That person has a [ANSWER]
['Q2014379', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q2014379 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Mino Raiola
relation gender
type sex
['Mino Raiola', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Mino_Raiola property:gender ?g . ?g rdf:type ontology:sex }
[]