Simple Question (Direct)
Simple Question
Q91865
P21
Q290
USER
What is the sex of Julian Nida-Rümelin ?
(Q91865,P21,c(Q290))
action filter_type
action find
entity Q91865
relation P21
type Q290
['Q91865', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q91865 property:P21 ?i }
Julian Nida-Rümelin
action filter_type
action find
entity Julian Nida-Rümelin
relation gender
type sex
['Julian Nida-Rümelin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Julian_Nida-Rümelin property:gender ?i }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q91865,P21,c(Q290))
action filter_type
action find
entity Q91865
relation P21
type Q290
The sex of Julian Nida- Rümelin is the [ANSWER]
['Q91865', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q290 . resource:Q91865 property:P21 ?i }
male
The sex of Julian Nida- Rümelin is the male
male
action filter_type
action find
entity Julian Nida-Rümelin
relation gender
type sex
['Julian Nida-Rümelin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:sex . resource:Julian_Nida-Rümelin property:gender ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q91865
P102
Q7278
USER
Which political party is Julian Nida-Rümelin a member of ?
(Q91865,P102,c(Q7278))
action filter_type
action find
entity Q91865
relation P102
type Q7278
['Q91865', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q91865 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Julian Nida-Rümelin
action filter_type
action find
entity Julian Nida-Rümelin
relation member of political party
type political party
['Julian Nida-Rümelin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Julian_Nida-Rümelin property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
political party
Q49768
SYSTEM
Social Democratic Party of Germany
Q49768
(Q91865,P102,c(Q7278))
action filter_type
action find
entity Q91865
relation P102
type Q7278
[ANSWER] is Julian Nida-Rümelin a member of
['Q91865', 'P102', {'concept': 'Q7278'}]
SELECT DISTINCT ?x WHERE { resource:Q91865 property:P102 ?x . ?x rdf:type ontology:Q7278 }
Social Democratic Party of Germany
Social Democratic Party of Germany is Julian Nida-Rümelin a member of
Social Democratic Party of Germany
action filter_type
action find
entity Julian Nida-Rümelin
relation member of political party
type political party
['Julian Nida-Rümelin', 'member of political party', {'concept': 'political party'}]
SELECT DISTINCT ?x WHERE { resource:Julian_Nida-Rümelin property:member_of_political_party ?x . ?x rdf:type ontology:political_party }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q49768 Q1757704 Q183
P17
Q1048835
USER
Is Social Democratic Party of Germany situated in Carlos Barbosa and Germany ?
(Q49768,P17,Q1757704) (Q49768,P17,Q183)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q1757704
relation P17
action find_reverse
entity Q183
relation P17
['Q49768', 'P17', 'Q1757704'] ['Q49768', 'P17', 'Q183']
ASK WHERE { resource:Q49768 property:P17 resource:Q1757704 . resource:Q49768 property:P17 resource:Q183 }
Social Democratic Party of Germany Carlos Barbosa Germany
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Carlos Barbosa
relation country
action find_reverse
entity Germany
relation country
['Social Democratic Party of Germany', 'country', 'Carlos Barbosa'] ['Social Democratic Party of Germany', 'country', 'Germany']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:country resource:Carlos_Barbosa . resource:Social_Democratic_Party_of_Germany property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q49768,P17,Q1757704) (Q49768,P17,Q183)
action is_in
entity Q49768
action intersection
action find_reverse
entity Q1757704
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q49768', 'P17', 'Q1757704'] ['Q49768', 'P17', 'Q183']
ASK WHERE { resource:Q49768 property:P17 resource:Q1757704 . resource:Q49768 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Social Democratic Party of Germany
action intersection
action find_reverse
entity Carlos Barbosa
relation country
action find_reverse
entity Germany
relation country
['Social Democratic Party of Germany', 'country', 'Carlos Barbosa'] ['Social Democratic Party of Germany', 'country', 'Germany']
ASK WHERE { resource:Social_Democratic_Party_of_Germany property:country resource:Carlos_Barbosa . resource:Social_Democratic_Party_of_Germany property:country resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q91865 Q183
P27
Q1048835
USER
Is Germany the country of citizenship of Julian Nida-Rümelin ?
(Q91865,P27,Q183)
action is_in
entity Q183
action find
entity Q91865
relation P27
['Q91865', 'P27', 'Q183']
ASK WHERE { resource:Q91865 property:P27 resource:Q183 }
Julian Nida-Rümelin Germany
action is_in
entity Germany
action find
entity Julian Nida-Rümelin
relation country of citizenship
['Julian Nida-Rümelin', 'country of citizenship', 'Germany']
ASK WHERE { resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q91865,P27,Q183)
action is_in
entity Q183
action find
entity Q91865
relation P27
[ANSWER]
['Q91865', 'P27', 'Q183']
ASK WHERE { resource:Q91865 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Julian Nida-Rümelin
relation country of citizenship
['Julian Nida-Rümelin', 'country of citizenship', 'Germany']
ASK WHERE { resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Germany }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q5338763 Q183
P530 P19
Q15617994
USER
Which administrative territories have diplomatic relationships with Germany and were Edivaldo Monteiro born in ?
AND((Q183,P530,c(Q15617994)), (Q5338763,P19,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q5338763
relation P19
type Q15617994
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q5338763', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?p . resource:Q5338763 property:P19 ?p }
Edivaldo Monteiro Germany
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Edivaldo Monteiro
relation place of birth
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edivaldo Monteiro', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?p . resource:Edivaldo_Monteiro property:place_of_birth ?p }
[]
designation for an administrative territorial entity
Q1007
SYSTEM
Guinea-Bissau
Q1007
AND((Q183,P530,c(Q15617994)), (Q5338763,P19,c(Q15617994)))
action filter_type
action intersection
action find
entity Q183
relation P530
action find
entity Q5338763
relation P19
type Q15617994
[ANSWER] have diplomatic relationships with Germany and were Edivaldo Monteiro born in
{'AND': [['Q183', 'P530', {'concept': 'Q15617994'}], ['Q5338763', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q15617994 . resource:Q183 property:P530 ?p . resource:Q5338763 property:P19 ?p }
Guinea-Bissau
Guinea-Bissau have diplomatic relationships with Germany and were Edivaldo Monteiro born in
Guinea-Bissau
action filter_type
action intersection
action find
entity Germany
relation diplomatic relation
action find
entity Edivaldo Monteiro
relation place of birth
type designation for an administrative territorial entity
{'AND': [['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Edivaldo Monteiro', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Germany property:diplomatic_relation ?p . resource:Edivaldo_Monteiro property:place_of_birth ?p }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5338763
P106
Q151885
USER
What is the job of that person ?
(Q1007,P106,c(Q151885))
action filter_type
action find
entity Q5338763
relation P106
type Q151885
['Q1007', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q151885 . resource:Q5338763 property:P106 ?y }
Edivaldo Monteiro
action filter_type
action find
entity Edivaldo Monteiro
relation occupation
type concept
['Guinea-Bissau', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:concept . resource:Edivaldo_Monteiro property:occupation ?y }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q1007,P106,c(Q151885))
action filter_type
action find
entity Q5338763
relation P106
type Q151885
The job of that person is an [ANSWER]
['Q1007', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q151885 . resource:Q5338763 property:P106 ?y }
athletics competitor
The job of that person is an athletics competitor
athletics competitor
action filter_type
action find
entity Edivaldo Monteiro
relation occupation
type concept
['Guinea-Bissau', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:concept . resource:Edivaldo_Monteiro property:occupation ?y }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q537470 Q5338763
P106
Q151885
USER
Or Michelle Jenneke?
OR((Q5338763,P106,c(Q151885)), (Q537470,P106,c(Q151885)))
action filter_type
action union
action find
entity Q5338763
relation P106
action find
entity Q537470
relation P106
type Q151885
{'OR': [['Q5338763', 'P106', {'concept': 'Q151885'}], ['Q537470', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?j ) { ( resource:Q537470 ) ( resource:Q5338763 ) } . ?j property:P106 ?z } . ?z rdf:type ontology:Q151885 }
Michelle Jenneke Edivaldo Monteiro
action filter_type
action union
action find
entity Edivaldo Monteiro
relation occupation
action find
entity Michelle Jenneke
relation occupation
type concept
{'OR': [['Edivaldo Monteiro', 'occupation', {'concept': 'concept'}], ['Michelle Jenneke', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?j ) { ( resource:Michelle_Jenneke ) ( resource:Edivaldo_Monteiro ) } . ?j property:occupation ?z } . ?z rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
OR((Q5338763,P106,c(Q151885)), (Q537470,P106,c(Q151885)))
action filter_type
action union
action find
entity Q5338763
relation P106
action find
entity Q537470
relation P106
type Q151885
[ANSWER]
{'OR': [['Q5338763', 'P106', {'concept': 'Q151885'}], ['Q537470', 'P106', {'concept': 'Q151885'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?j ) { ( resource:Q537470 ) ( resource:Q5338763 ) } . ?j property:P106 ?z } . ?z rdf:type ontology:Q151885 }
athletics competitor
athletics competitor
action filter_type
action union
action find
entity Edivaldo Monteiro
relation occupation
action find
entity Michelle Jenneke
relation occupation
type concept
{'OR': [['Edivaldo Monteiro', 'occupation', {'concept': 'concept'}], ['Michelle Jenneke', 'occupation', {'concept': 'concept'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?j ) { ( resource:Michelle_Jenneke ) ( resource:Edivaldo_Monteiro ) } . ?j property:occupation ?z } . ?z rdf:type ontology:concept }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11513337 Q8001694
P106
Q502895
USER
Does Wilf Wedmann have that concept as his/her means of employment ?
(Q8001694,P106,Q11513337)
action is_in
entity Q11513337
action find
entity Q8001694
relation P106
['Q8001694', 'P106', 'Q11513337']
ASK WHERE { resource:Q8001694 property:P106 resource:Q11513337 }
athletics competitor Wilf Wedmann
action is_in
entity athletics competitor
action find
entity Wilf Wedmann
relation occupation
['Wilf Wedmann', 'occupation', 'athletics competitor']
ASK WHERE { resource:Wilf_Wedmann property:occupation resource:athletics_competitor }
[]
common name
SYSTEM
YES
(Q8001694,P106,Q11513337)
action is_in
entity Q11513337
action find
entity Q8001694
relation P106
[ANSWER]
['Q8001694', 'P106', 'Q11513337']
ASK WHERE { resource:Q8001694 property:P106 resource:Q11513337 }
Yes
action is_in
entity athletics competitor
action find
entity Wilf Wedmann
relation occupation
['Wilf Wedmann', 'occupation', 'athletics competitor']
ASK WHERE { resource:Wilf_Wedmann property:occupation resource:athletics_competitor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q91865 Q181205 Q592652
P27
Q1048835
USER
Is Julian Nida-Rümelin a native of Albendiego and Imbé ?
(Q91865,P27,Q181205) (Q91865,P27,Q592652)
action is_in
entity Q91865
action intersection
action find_reverse
entity Q181205
relation P27
action find_reverse
entity Q592652
relation P27
['Q91865', 'P27', 'Q181205'] ['Q91865', 'P27', 'Q592652']
ASK WHERE { resource:Q91865 property:P27 resource:Q181205 . resource:Q91865 property:P27 resource:Q592652 }
Julian Nida-Rümelin Albendiego Imbé
action is_in
entity Julian Nida-Rümelin
action intersection
action find_reverse
entity Albendiego
relation country of citizenship
action find_reverse
entity Imbé
relation country of citizenship
['Julian Nida-Rümelin', 'country of citizenship', 'Albendiego'] ['Julian Nida-Rümelin', 'country of citizenship', 'Imbé']
ASK WHERE { resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Albendiego . resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Imbé }
[]
political territorial entity
SYSTEM
NO
(Q91865,P27,Q181205) (Q91865,P27,Q592652)
action is_in
entity Q91865
action intersection
action find_reverse
entity Q181205
relation P27
action find_reverse
entity Q592652
relation P27
[ANSWER]
['Q91865', 'P27', 'Q181205'] ['Q91865', 'P27', 'Q592652']
ASK WHERE { resource:Q91865 property:P27 resource:Q181205 . resource:Q91865 property:P27 resource:Q592652 }
No
action is_in
entity Julian Nida-Rümelin
action intersection
action find_reverse
entity Albendiego
relation country of citizenship
action find_reverse
entity Imbé
relation country of citizenship
['Julian Nida-Rümelin', 'country of citizenship', 'Albendiego'] ['Julian Nida-Rümelin', 'country of citizenship', 'Imbé']
ASK WHERE { resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Albendiego . resource:Julian_Nida-Rümelin property:country_of_citizenship resource:Imbé }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q12652
P138
Q1190554 Q20667921 Q15617994
USER
How many administrative territories come from more number of events or french administrative divisions than Moselle ?
(c(Q15617994),P138,c(Q1190554)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q12652
relation P138
type Q1190554
type Q20667921
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?d WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1190554 ) ( ontology:Q20667921 ) } } GROUP BY ?d } . FILTER ( ?k > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q12652 property:P138 ?y . { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1190554 ) ( ontology:Q20667921 ) } } } } }
Moselle
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Moselle
relation named after
type event
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?d WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:event ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?d } . FILTER ( ?k > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Moselle property:named_after ?y . { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:event ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
event type of french administrative division designation for an administrative territorial entity
SYSTEM
10
Q2998020 Q1508919 Q1452646 Q12792 Q3336 Q3334 Q27495866 Q12782 Q12761 Q1393469
(c(Q15617994),P138,c(Q1190554)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q12652
relation P138
type Q1190554
type Q20667921
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?d WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:Q1190554 ) ( ontology:Q20667921 ) } } GROUP BY ?d } . FILTER ( ?k > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q12652 property:P138 ?y . { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1190554 ) ( ontology:Q20667921 ) } } } } }
Corse Marengo Montenotte Vaucluse Corse-du-Sud Haute-Corse Corse Territoire de Belfort Seine-Saint-Denis Jemmapes
10
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Moselle
relation named after
type event
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) ?d WHERE { ?n rdf:type ?c . VALUES ( ?c ) { ( ontology:event ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?d } . FILTER ( ?k > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Moselle property:named_after ?y . { ?y rdf:type ?b . VALUES ( ?b ) { ( ontology:event ) ( ontology:type_of_french_administrative_division ) } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q3278
P138
Q1190554 Q20667921 Q15617994
USER
And also tell me about Charente-Maritime?
(c(Q15617994),P138,c(Q1190554)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q3278
relation P138
type Q1190554
type Q20667921
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q3278 property:P138 ?u . { { ?u rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q20667921 } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?h WHERE { { ?h property:P138 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1190554 } UNION { ?h property:P138 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q20667921 } } GROUP BY ?h } }
Charente-Maritime
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Charente-Maritime
relation named after
type event
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Charente-Maritime property:named_after ?u . { { ?u rdf:type ontology:event } UNION { ?u rdf:type ontology:type_of_french_administrative_division } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?h WHERE { { ?h property:named_after ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:event } UNION { ?h property:named_after ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?h } }
[]
event type of french administrative division designation for an administrative territorial entity
SYSTEM
10
Q2998020 Q1508919 Q1452646 Q12792 Q3336 Q3334 Q27495866 Q12782 Q12761 Q1393469
(c(Q15617994),P138,c(Q1190554)|c(Q20667921))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q15617994
type Q1190554
action find_tuple_counts
relation P138
type Q15617994
type Q20667921
action count
action filter_multi_types
action find
entity Q3278
relation P138
type Q1190554
type Q20667921
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Q3278 property:P138 ?u . { { ?u rdf:type ontology:Q1190554 } UNION { ?u rdf:type ontology:Q20667921 } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?h WHERE { { ?h property:P138 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q1190554 } UNION { ?h property:P138 ?t . ?h rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q20667921 } } GROUP BY ?h } }
Corse Marengo Montenotte Vaucluse Corse-du-Sud Haute-Corse Corse Territoire de Belfort Seine-Saint-Denis Jemmapes
10
action count
action greater
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type event
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type type of french administrative division
action count
action filter_multi_types
action find
entity Charente-Maritime
relation named after
type event
type type of french administrative division
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'event'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { FILTER ( ?d > ?c ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { resource:Charente-Maritime property:named_after ?u . { { ?u rdf:type ontology:event } UNION { ?u rdf:type ontology:type_of_french_administrative_division } } } } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) ?h WHERE { { ?h property:named_after ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:event } UNION { ?h property:named_after ?t . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1007
P163
Q14660
USER
Which flag is associated with Guinea-Bissau ?
(Q1007,P163,c(Q14660))
action filter_type
action find
entity Q1007
relation P163
type Q14660
['Q1007', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14660 . resource:Q1007 property:P163 ?k }
Guinea-Bissau
action filter_type
action find
entity Guinea-Bissau
relation flag
type flag
['Guinea-Bissau', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag . resource:Guinea-Bissau property:flag ?k }
[]
flag
Q102953
SYSTEM
Flag of Guinea-Bissau
Q102953
(Q1007,P163,c(Q14660))
action filter_type
action find
entity Q1007
relation P163
type Q14660
Guinea [ANSWER] is associated with Guinea-Bissau
['Q1007', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14660 . resource:Q1007 property:P163 ?k }
Flag of Guinea-Bissau
Guinea Flag of Guinea-Bissau is associated with Guinea-Bissau
Flag of Guinea-Bissau
action filter_type
action find
entity Guinea-Bissau
relation flag
type flag
['Guinea-Bissau', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag . resource:Guinea-Bissau property:flag ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1007
P1376
Q56061
USER
What is the capital of that administrative territory ?
(c(Q56061),P1376,Q102953)
action filter_type
action find_reverse
entity Q1007
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q102953']
SELECT DISTINCT ?b WHERE { ?b property:P1376 resource:Q1007 . ?b rdf:type ontology:Q56061 }
Guinea-Bissau
action filter_type
action find_reverse
entity Guinea-Bissau
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Flag of Guinea-Bissau']
SELECT DISTINCT ?b WHERE { ?b property:capital_of resource:Guinea-Bissau . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3739
SYSTEM
Bissau
Q3739
(c(Q56061),P1376,Q102953)
action filter_type
action find_reverse
entity Q1007
relation P1376
type Q56061
The capital of that administrative territory is [ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q102953']
SELECT DISTINCT ?b WHERE { ?b property:P1376 resource:Q1007 . ?b rdf:type ontology:Q56061 }
Bissau
The capital of that administrative territory is Bissau
Bissau
action filter_type
action find_reverse
entity Guinea-Bissau
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Flag of Guinea-Bissau']
SELECT DISTINCT ?b WHERE { ?b property:capital_of resource:Guinea-Bissau . ?b rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3739 Q4713419
P19
Q502895
USER
Does Aldair Adulai Djaló Baldé have location of birth at that administrative territory ?
(Q4713419,P19,Q3739)
action is_in
entity Q3739
action find
entity Q4713419
relation P19
['Q4713419', 'P19', 'Q3739']
ASK WHERE { resource:Q4713419 property:P19 resource:Q3739 }
Bissau Aldair Adulai Djaló Baldé
action is_in
entity Bissau
action find
entity Aldair Adulai Djaló Baldé
relation place of birth
['Aldair Adulai Djaló Baldé', 'place of birth', 'Bissau']
ASK WHERE { resource:Aldair_Adulai_Djaló_Baldé property:place_of_birth resource:Bissau }
[]
common name
SYSTEM
YES
(Q4713419,P19,Q3739)
action is_in
entity Q3739
action find
entity Q4713419
relation P19
[ANSWER]
['Q4713419', 'P19', 'Q3739']
ASK WHERE { resource:Q4713419 property:P19 resource:Q3739 }
Yes
action is_in
entity Bissau
action find
entity Aldair Adulai Djaló Baldé
relation place of birth
['Aldair Adulai Djaló Baldé', 'place of birth', 'Bissau']
ASK WHERE { resource:Aldair_Adulai_Djaló_Baldé property:place_of_birth resource:Bissau }
[]