Simple Question (Direct)
Simple Question
Q6766353
P734
Q101352
USER
Who has the surname Marjorie Yang ?
(Q6766353,P734,c(Q101352))
action filter_type
action find
entity Q6766353
relation P734
type Q101352
['Q6766353', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?x WHERE { resource:Q6766353 property:P734 ?x . ?x rdf:type ontology:Q101352 }
Marjorie Yang
action filter_type
action find
entity Marjorie Yang
relation family name
type family name
['Marjorie Yang', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?x WHERE { resource:Marjorie_Yang property:family_name ?x . ?x rdf:type ontology:family_name }
[]
family name
Q845069
SYSTEM
Yang
Q845069
(Q6766353,P734,c(Q101352))
action filter_type
action find
entity Q6766353
relation P734
type Q101352
[ANSWER] has the surname Marjorie [ANSWER]
['Q6766353', 'P734', {'concept': 'Q101352'}]
SELECT DISTINCT ?x WHERE { resource:Q6766353 property:P734 ?x . ?x rdf:type ontology:Q101352 }
Yang
Yang has the surname Marjorie Yang
Yang
action filter_type
action find
entity Marjorie Yang
relation family name
type family name
['Marjorie Yang', 'family name', {'concept': 'family name'}]
SELECT DISTINCT ?x WHERE { resource:Marjorie_Yang property:family_name ?x . ?x rdf:type ontology:family_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6766353
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q845069,P106,c(Q12737077))
action filter_type
action find
entity Q6766353
relation P106
type Q12737077
['Q845069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6766353 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Marjorie Yang
action filter_type
action find
entity Marjorie Yang
relation occupation
type occupation
['Yang', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marjorie_Yang property:occupation ?p . ?p rdf:type ontology:occupation }
[]
occupation
Q329455
SYSTEM
Justice of the Peace
Q329455
(Q845069,P106,c(Q12737077))
action filter_type
action find
entity Q6766353
relation P106
type Q12737077
The [ANSWER] has that person as his/her 's career
['Q845069', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?p WHERE { resource:Q6766353 property:P106 ?p . ?p rdf:type ontology:Q12737077 }
Justice of the Peace
The Justice of the Peace has that person as his/her 's career
Justice of the Peace
action filter_type
action find
entity Marjorie Yang
relation occupation
type occupation
['Yang', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?p WHERE { resource:Marjorie_Yang property:occupation ?p . ?p rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q329455
P17
Q15617994
USER
Which administrative territory is that occupation situated in ?
(Q329455,P17,c(Q15617994))
action filter_type
action find
entity Q329455
relation P17
type Q15617994
['Q329455', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q329455 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Justice of the Peace
action filter_type
action find
entity Justice of the Peace
relation country
type designation for an administrative territorial entity
['Justice of the Peace', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Justice_of_the_Peace property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q928
SYSTEM
Philippines
Q928
(Q329455,P17,c(Q15617994))
action filter_type
action find
entity Q329455
relation P17
type Q15617994
That occupation is situated in [ANSWER]
['Q329455', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q329455 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Philippines
That occupation is situated in Philippines
Philippines
action filter_type
action find
entity Justice of the Peace
relation country
type designation for an administrative territorial entity
['Justice of the Peace', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Justice_of_the_Peace property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q928
P1001
Q12737077
USER
Which occupations have jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q928)
action filter_type
action find_reverse
entity Q928
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q928']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?n property:P1001 resource:Q928 }
Philippines
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Philippines']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?n property:applies_to_jurisdiction resource:Philippines }
[]
occupation
Q7444305 Q18579098 Q4809128
SYSTEM
Secretary of Finance, Member of the Senate of the Philippines, Associate Justice of the Supreme Court of the Philippines
Q7444312 Q18579098 Q7444314 Q7444305 Q7444316 Q4809128 Q7444318 Q1209571 Q7241402 Q3409782 Q7444298 Q1139938 Q2723485 Q7444421 Q7444401 Q3409778 Q3410551 Q18002923 Q7444323 Q1542521 Q17088037
(c(Q12737077),P1001,Q928)
action filter_type
action find_reverse
entity Q928
relation P1001
type Q12737077
[ANSWERS] have jurisdiction over that administrative territory
[{'concept': 'Q12737077'}, 'P1001', 'Q928']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q12737077 . ?n property:P1001 resource:Q928 }
Secretary of Health Member of the Senate of the Philippines Secretary of Justice Secretary of Finance Secretary of Labor and Employment Associate Justice of the Supreme Court of the Philippines Secretary of National Defense President of the Philippines President pro tempore of the Senate of the Philippines Speaker of the House of Representatives of the Philippines Secretary of Education Prime Minister of the Philippines Vice President of the Philippines Secretary of the Interior and Local Government Secretary of Transportation and Communications Chief Justice of the Supreme Court of the Philippines President of the Senate of the Philippines Member of the House of Representatives of the Philippines Secretary of Social Welfare and Development Governor-General of the Philippines Secretary of Foreign Affairs
Secretary of Finance, Member of the Senate of the Philippines and Associate Justice of the Supreme Court of the Philippines have jurisdiction over that administrative territory
Secretary of Finance Member of the Senate of the Philippines Associate Justice of the Supreme Court of the Philippines
action filter_type
action find_reverse
entity Philippines
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Philippines']
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:occupation . ?n property:applies_to_jurisdiction resource:Philippines }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q928 Q1428
P463
Q43229
USER
How many organizations had Philippines and Georgia as their member ?
(Q928,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q928
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
['Q928', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q928 property:P463 ?x . ?x rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?x . ?x rdf:type ontology:Q43229 }
Philippines Georgia
action count
action intersection
action filter_type
action find
entity Philippines
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Philippines', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Philippines property:member_of ?x . ?x rdf:type ontology:organization . resource:Georgia property:member_of ?x . ?x rdf:type ontology:organization }
[]
organization
SYSTEM
4
Q191384 Q899770 Q656801 Q827525
(Q928,P463,c(Q43229)) (Q1428,P463,c(Q43229))
action count
action intersection
action filter_type
action find
entity Q928
relation P463
type Q43229
action filter_type
action find
entity Q1428
relation P463
type Q43229
[ANSWER]
['Q928', 'P463', {'concept': 'Q43229'}] ['Q1428', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Q928 property:P463 ?x . ?x rdf:type ontology:Q43229 . resource:Q1428 property:P463 ?x . ?x rdf:type ontology:Q43229 }
International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes International Finance Corporation International Development Association
4
action count
action intersection
action filter_type
action find
entity Philippines
relation member of
type organization
action filter_type
action find
entity Georgia
relation member of
type organization
['Philippines', 'member of', {'concept': 'organization'}] ['Georgia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { resource:Philippines property:member_of ?x . ?x rdf:type ontology:organization . resource:Georgia property:member_of ?x . ?x rdf:type ontology:organization }
[]