Simple Question (Direct)
Simple Question
Q6021211
P102
Q7210356
USER
Which political organization is Frode Nør Christensen a member of ?
(Q6021211,P102,c(Q7210356))
action filter_type
action find
entity Q6021211
relation P102
type Q7210356
['Q6021211', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q6021211 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Frode Nør Christensen
action filter_type
action find
entity Frode Nør Christensen
relation member of political party
type political organization
['Frode Nør Christensen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Frode_Nør_Christensen property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
political organization
Q1054386
SYSTEM
Centre Democrats
Q1054386
(Q6021211,P102,c(Q7210356))
action filter_type
action find
entity Q6021211
relation P102
type Q7210356
Party [ANSWER] is Frode Nør Christensen a member of
['Q6021211', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?n WHERE { resource:Q6021211 property:P102 ?n . ?n rdf:type ontology:Q7210356 }
Centre Democrats
Party Centre Democrats is Frode Nør Christensen a member of
Centre Democrats
action filter_type
action find
entity Frode Nør Christensen
relation member of political party
type political organization
['Frode Nør Christensen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?n WHERE { resource:Frode_Nør_Christensen property:member_of_political_party ?n . ?n rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6021211
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q1054386,P27,c(Q1048835))
action filter_type
action find
entity Q6021211
relation P27
type Q1048835
['Q1054386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q6021211 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Frode Nør Christensen
action filter_type
action find
entity Frode Nør Christensen
relation country of citizenship
type political territorial entity
['Centre Democrats', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Frode_Nør_Christensen property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q1054386,P27,c(Q1048835))
action filter_type
action find
entity Q6021211
relation P27
type Q1048835
That person belongs to a [ANSWER]
['Q1054386', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q6021211 property:P27 ?q . ?q rdf:type ontology:Q1048835 }
Denmark
That person belongs to a Denmark
Denmark
action filter_type
action find
entity Frode Nør Christensen
relation country of citizenship
type political territorial entity
['Centre Democrats', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Frode_Nør_Christensen property:country_of_citizenship ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q35 Q458
P530
Q15617994
USER
How many administrative territories have ambassadorial relations with Denmark and European Union ?
(c(Q15617994),P530,Q35) (c(Q15617994),P530,Q458)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', 'Q35'] [{'concept': 'Q15617994'}, 'P530', 'Q458']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q458 . ?p property:P530 resource:Q35 . ?p rdf:type ontology:Q15617994 }
Denmark European Union
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'European Union']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:European_Union . ?p property:diplomatic_relation resource:Denmark . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q184
(c(Q15617994),P530,Q35) (c(Q15617994),P530,Q458)
action count
action intersection
action filter_type
action find_reverse
entity Q35
relation P530
type Q15617994
action filter_type
action find_reverse
entity Q458
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', 'Q35'] [{'concept': 'Q15617994'}, 'P530', 'Q458']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p rdf:type ontology:Q15617994 . ?p property:P530 resource:Q458 . ?p property:P530 resource:Q35 . ?p rdf:type ontology:Q15617994 }
Brazil Belarus
2
action count
action intersection
action filter_type
action find_reverse
entity Denmark
relation diplomatic relation
type designation for an administrative territorial entity
action filter_type
action find_reverse
entity European Union
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Denmark'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'European Union']
SELECT DISTINCT ( COUNT ( ?p ) AS ?v ) WHERE { ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation resource:European_Union . ?p property:diplomatic_relation resource:Denmark . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]